]> 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)
commitab30199643835beef3005bc6c881e0feaa5aa730
tree25e05a1642fab0c84f52703fda4c3652c47e3cc9
parent55ff15d08353e1b7bcf73f31ab367fd1fc8877cd
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