[Intel-wired-lan] [PATCH v5 3/9] igc: Refactor igc_clean_rx_ring()

Dvora Fuxbrumer dvorax.fuxbrumer at linux.intel.com
Thu Apr 8 10:09:45 UTC 2021


On 26/02/2021 02:23, Jithu Joseph wrote:
> From: Andre Guedes <andre.guedes at intel.com>
> 
> 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 <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 | 23 ++++++++++++++---------
>   1 file changed, 14 insertions(+), 9 deletions(-)
> 
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer at linux.intel.com>


More information about the Intel-wired-lan mailing list