> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-bounces@xxxxxxxxxx> On Behalf Of Maciej > Fijalkowski > Sent: Thursday, September 1, 2022 4:11 PM > To: intel-wired-lan@xxxxxxxxxxxxxxxx > Cc: alasdair.mcwilliam@xxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; > bpf@xxxxxxxxxxxxxxx; Karlsson, Magnus <magnus.karlsson@xxxxxxxxx> > Subject: [Intel-wired-lan] [PATCH v3 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") > CC: Alasdair McWilliam <alasdair.mcwilliam@xxxxxxxxxxx> > Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@xxxxxxxxx> > --- > drivers/net/ethernet/intel/ice/ice_xsk.c | 20 +++++++------------- > 1 file changed, 7 insertions(+), 13 deletions(-) > Tested-by: George Kuruvinakunnel <george.kuruvinakunnel@xxxxxxxxx>