> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Mateusz Polchlopek > Sent: Tuesday, October 22, 2024 1:41 PM > To: [email protected] > Cc: [email protected]; Polchlopek, Mateusz > <[email protected]>; Lobakin, Aleksander > <[email protected]> > 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 <[email protected]> > Signed-off-by: Mateusz Polchlopek <[email protected]> > --- > .../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 <[email protected]>
