[Intel-wired-lan] [PATCH v6 6/9] igc: Introduce igc_unmap_tx_buffer() helper

Dvora Fuxbrumer dvorax.fuxbrumer at linux.intel.com
Thu May 20 06:58:52 UTC 2021


On 23/04/2021 09:25, Jithu Joseph wrote:
> From: Andre Guedes <andre.guedes at intel.com>
> 
> 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 <andre.guedes at intel.com>
> Signed-off-by: Vedang Patel <vedang.patel at intel.com>
> Signed-off-by: Jithu Joseph <jithu.joseph at intel.com>
> Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski at intel.com>
> ---
>   drivers/net/ethernet/intel/igc/igc_main.c | 49 +++++++----------------
>   1 file changed, 15 insertions(+), 34 deletions(-)
> 
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer at linux.intel.com>


More information about the Intel-wired-lan mailing list