]> 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)
commit4baa41d1cb3ec335fbe5cad5f4008bb7f68ae542
tree12bed1da7950ccc5cda023358170b6747097d668
parentfe26487d914c2cd80a06da1250a7cca86992975d
ice: xsk: drop power of 2 ring size restriction for AF_XDP

We had multiple customers in the past months that reported commit
7031328cd2c6 ("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: 7031328cd2c6 ("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