> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-boun...@osuosl.org> On Behalf Of Li > RongQing > Sent: Wednesday, July 1, 2020 11:38 PM > To: intel-wired-...@lists.osuosl.org; netdev@vger.kernel.org > Subject: [Intel-wired-lan] [PATCH][net-next] i40e: prefetch struct page of rx > buffer conditionally > > page_address() accesses struct page only when WANT_PAGE_VIRTUAL or > HASHED_PAGE_VIRTUAL is defined, otherwise it returns address based on > offset, so we prefetch it conditionally > > Signed-off-by: Li RongQing <lirongq...@baidu.com> > --- > drivers/net/ethernet/intel/i40e/i40e_txrx.c | 2 ++ > 1 file changed, 2 insertions(+)
Tested-by: Andrew Bowers <andrewx.bow...@intel.com>