ixgbevf: add function for checking if we can reuse page
authorEmil Tantilov <emil.s.tantilov@intel.com>
Mon, 11 Dec 2017 18:36:49 +0000 (10:36 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 26 Jan 2018 15:46:50 +0000 (07:46 -0800)
commita355fd9a1bc078e1cdf99e97c8b8c2d977b05f94
tree6d46758481684c03f5e4cfeadcb9c1bdab2ec6cd
parent9515a2e082f91457db0ecff4b65371d0fb5d9aad
ixgbevf: add function for checking if we can reuse page

Introduce ixgbevf_can_reuse_page() similar to the change in ixgbe from
commit af43da0dba0b
("ixgbe: Add function for checking to see if we can reuse page")

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c