From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dvora Fuxbrumer Date: Thu, 20 May 2021 09:58:52 +0300 Subject: [Intel-wired-lan] [PATCH v6 6/9] igc: Introduce igc_unmap_tx_buffer() helper In-Reply-To: <20210423062555.14972-7-jithu.joseph@intel.com> References: <20210423062555.14972-1-jithu.joseph@intel.com> <20210423062555.14972-7-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 23/04/2021 09:25, Jithu Joseph wrote: > From: Andre Guedes > > In preparation for AF_XDP zero-copy support, encapsulate the code that > unmaps tx buffers into its own local helper so we can reuse it, avoiding > code duplication. > > 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 | 49 +++++++---------------- > 1 file changed, 15 insertions(+), 34 deletions(-) > Tested-by: Dvora Fuxbrumer