From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dvora Fuxbrumer Date: Thu, 8 Apr 2021 13:11:20 +0300 Subject: [Intel-wired-lan] [PATCH v5 5/9] igc: Introduce TX/RX stats helpers In-Reply-To: <20210226002308.2348-6-jithu.joseph@intel.com> References: <20210226002308.2348-1-jithu.joseph@intel.com> <20210226002308.2348-6-jithu.joseph@intel.com> Message-ID: 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 > > In preparation for AF_XDP zero-copy support, encapsulate the code that > updates the driver RX stats in its own local helper so it can be reused > in the zero-copy path. Likewise, encapsulate TX stats code as well. > > 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 | 43 ++++++++++++++++------- > 1 file changed, 31 insertions(+), 12 deletions(-) > Tested-by: Dvora Fuxbrumer