]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ice: Gather the rx buf clean-up logic for better reuse
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>
Wed, 13 Feb 2019 18:51:05 +0000 (10:51 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 25 Mar 2019 16:45:07 +0000 (09:45 -0700)
commit1d032bc77bb8f85d8adfd14a1a8c67c12b07eece
tree123cdfce5c5200d38cac1fdd4db5debf98da3652
parent03c66a1376616015b04b6783feadfcf02ba37c3f
ice: Gather the rx buf clean-up logic for better reuse

Pull out the code responsible for page counting and buffer recycling so
that it will be possible to clean up the Rx buffers in cases where we
won't allocate skb (ex. XDP)

Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_txrx.c