[Intel-wired-lan] [PATCH v3 2/2] i40e: DRY rx_ptype handling code

Bowers, AndrewX andrewx.bowers at intel.com
Thu Dec 6 22:47:41 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Michal Miroslaw
> Sent: Tuesday, December 4, 2018 9:31 AM
> To: netdev at vger.kernel.org; intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH v3 2/2] i40e: DRY rx_ptype handling code
> 
> Move rx_ptype extracting to i40e_process_skb_fields() to avoid duplicating
> the code.
> 
> Signed-off-by: Michał Mirosław <michal.miroslaw at atendesoftware.pl>
> Signed-off-by: Michał Mirosław <mirq-linux at rere.qmqm.pl>
> ---
> v3:
>  * no changes
> v2:
>  * fix prototype in i40e_txrx_common.h
> ---
>  drivers/net/ethernet/intel/i40e/i40e_txrx.c        | 12 ++++--------
>  drivers/net/ethernet/intel/i40e/i40e_txrx_common.h |  3 +--
>  drivers/net/ethernet/intel/i40e/i40e_xsk.c         |  6 +-----
>  3 files changed, 6 insertions(+), 15 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list