ice, xsk: Avoid refilling single Rx descriptors
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>
Wed, 13 Apr 2022 15:30:14 +0000 (17:30 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 15 Apr 2022 19:11:13 +0000 (21:11 +0200)
commit4efad196163f4302c5cdc020899074b174eaf956
treeabc469706d1a9aeb9eebaaf08be3a04eadf05d18
parenta817ead4154d86c74bf98936f3a385e8a21974ff
ice, xsk: Avoid refilling single Rx descriptors

Call alloc Rx routine for ZC driver only when the amount of unallocated
descriptors exceeds given threshold.

Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220413153015.453864-14-maciej.fijalkowski@intel.com
drivers/net/ethernet/intel/ice/ice_xsk.c