i40e: modify driver for handling offsets
authorKevin Laatz <kevin.laatz@intel.com>
Tue, 27 Aug 2019 02:25:23 +0000 (02:25 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 30 Aug 2019 23:08:26 +0000 (01:08 +0200)
commit2f86c806a8a89f34c463705d00420acf49302162
treeda5176feb3219d489346f3a00473d54f42c8a137
parentc05cd3645814724bdeb32a2b4d953b12bdea5f8c
i40e: modify driver for handling offsets

With the addition of the unaligned chunks option, we need to make sure we
handle the offsets accordingly based on the mode we are currently running
in. This patch modifies the driver to appropriately mask the address for
each case.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
drivers/net/ethernet/intel/i40e/i40e_xsk.c