[Intel-wired-lan] [PATCH iwl-next v12 09/14] libeth: move idpf_rx_csum_decoded and idpf_rx_extracted
Romanowski, Rafal
rafal.romanowski at intel.com
Mon Nov 4 11:02:31 UTC 2024
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Mateusz Polchlopek
> Sent: Tuesday, October 22, 2024 1:41 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: netdev at vger.kernel.org; Polchlopek, Mateusz
> <mateusz.polchlopek at intel.com>; Lobakin, Aleksander
> <aleksander.lobakin at intel.com>
> Subject: [Intel-wired-lan] [PATCH iwl-next v12 09/14] libeth: move
> idpf_rx_csum_decoded and idpf_rx_extracted
>
> Structs idpf_rx_csum_decoded and idpf_rx_extracted are used both in idpf and
> iavf Intel drivers. Change the prefix from idpf_* to libeth_* and move mentioned
> structs to libeth's rx.h header file.
>
> Adjust usage in idpf driver.
>
> Suggested-by: Alexander Lobakin <aleksander.lobakin at intel.com>
> Signed-off-by: Mateusz Polchlopek <mateusz.polchlopek at intel.com>
> ---
> .../ethernet/intel/idpf/idpf_singleq_txrx.c | 51 ++++++++++---------
> drivers/net/ethernet/intel/idpf/idpf_txrx.c | 16 +++---
> drivers/net/ethernet/intel/idpf/idpf_txrx.h | 19 -------
> include/net/libeth/rx.h | 47 +++++++++++++++++
> 4 files changed, 82 insertions(+), 51 deletions(-)
>
> diff --git a/drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c
> b/drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c
> index dfd7cf1d9aa0..eae1b6f474e6 100644
> --- a/drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c
> +++ b/drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c
> @@ -595,7 +595,7 @@ static bool idpf_rx_singleq_is_non_eop(const union
Tested-by: Rafal Romanowski <rafal.romanowski at intel.com>
More information about the Intel-wired-lan
mailing list