]> git.baikalelectronics.ru Git - kernel.git/commit
ice: xsk: drop power of 2 ring size restriction for AF_XDP
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>
Thu, 1 Sep 2022 10:40:40 +0000 (12:40 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 27 Sep 2022 16:01:01 +0000 (09:01 -0700)
commitc1f651f32d10848448824b8cbea7bcb35737c9ef
tree12bed1da7950ccc5cda023358170b6747097d668
parent0a8f59cf392d13c1c285aae8612b2d1215153fa5
ice: xsk: drop power of 2 ring size restriction for AF_XDP

We had multiple customers in the past months that reported commit
3093f60adba0 ("ice: xsk: Force rings to be sized to power of 2")
makes them unable to use ring size of 8160 in conjunction with AF_XDP.
Remove this restriction.

Fixes: 3093f60adba0 ("ice: xsk: Force rings to be sized to power of 2")
CC: Alasdair McWilliam <alasdair.mcwilliam@outlook.com>
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Tested-by: George Kuruvinakunnel <george.kuruvinakunnel@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_xsk.c