]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Pull out page reuse checks onto separate function
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>
Wed, 13 Feb 2019 18:51:02 +0000 (10:51 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 25 Mar 2019 15:00:14 +0000 (08:00 -0700)
commit6612990fdcc82acbe4e82d5a3393414acb7228bc
tree25e05a1642fab0c84f52703fda4c3652c47e3cc9
parenta8976adae98f08e7c31c54c4c2a527fc58b9bb19
ice: Pull out page reuse checks onto separate function

Introduce ice_can_reuse_rx_page which will verify whether the page can
be reused and return the boolean result to caller.

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