From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dvora Fuxbrumer Date: Thu, 8 Apr 2021 13:09:45 +0300 Subject: [Intel-wired-lan] [PATCH v5 3/9] igc: Refactor igc_clean_rx_ring() In-Reply-To: <20210226002308.2348-4-jithu.joseph@intel.com> References: <20210226002308.2348-1-jithu.joseph@intel.com> <20210226002308.2348-4-jithu.joseph@intel.com> Message-ID: <0b43ffa7-2c02-38b5-cd55-ab4f4b2f80a6@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: On 26/02/2021 02:23, Jithu Joseph wrote: > From: Andre Guedes > > Refactor igc_clean_rx_ring() helper, preparing the code for AF_XDP > zero-copy support which is added by upcoming patches. > > The refactor consists of encapsulating page-shared specific code into > its own helper, leaving common code that will be shared by both > page-shared and xsk pool in igc_clean_rx_ring(). > > Signed-off-by: Andre Guedes > Signed-off-by: Vedang Patel > Signed-off-by: Jithu Joseph > Reviewed-by: Maciej Fijalkowski > --- > drivers/net/ethernet/intel/igc/igc_main.c | 23 ++++++++++++++--------- > 1 file changed, 14 insertions(+), 9 deletions(-) > Tested-by: Dvora Fuxbrumer