> From: Intel-wired-lan <intel-wired-lan-bounces@xxxxxxxxxx> On Behalf Of Maciej > Fijalkowski > Sent: Tuesday, August 30, 2022 6:08 PM > To: intel-wired-lan@xxxxxxxxxxxxxxxx > Cc: netdev@xxxxxxxxxxxxxxx; bpf@xxxxxxxxxxxxxxx; Karlsson, Magnus > <magnus.karlsson@xxxxxxxxx> > Subject: [Intel-wired-lan] [PATCH intel-net 2/2] ice: xsk: drop power of 2 ring size > restriction for AF_XDP > > We had multiple customers in the past months that reported commit > 296f13ff3854 ("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: 296f13ff3854 ("ice: xsk: Force rings to be sized to power of 2") > Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@xxxxxxxxx> > --- > drivers/net/ethernet/intel/ice/ice_xsk.c | 22 ++++++++-------------- > 1 file changed, 8 insertions(+), 14 deletions(-) > Tested-by: George Kuruvinakunnel <george.kuruvinakunnel@xxxxxxxxx>