On Fri, Feb 06, 2026 at 11:37:07AM +0000, Loftus, Ciara wrote: > > Subject: [PATCH v3 11/36] net/intel: create common checksum Tx offload > > function > > > > Since i40e and ice have the same checksum offload logic, merge their > > functions into one. Future rework should enable this to be used by more > > drivers also. > > > > Signed-off-by: Bruce Richardson <[email protected]> > > --- > > drivers/net/intel/common/tx_scalar_fns.h | 58 > > +++++++++++++++++++++++ > > drivers/net/intel/i40e/i40e_rxtx.c | 52 +------------------- > > drivers/net/intel/ice/ice_rxtx.c | 60 +----------------------- > > 3 files changed, 60 insertions(+), 110 deletions(-) > > > > <snip> > > > - > > /* Construct the tx flags */ > > static inline uint64_t > > i40e_build_ctob(uint32_t td_cmd, > > @@ -1167,7 +1117,7 @@ i40e_xmit_pkts(void *tx_queue, struct rte_mbuf > > **tx_pkts, uint16_t nb_pkts) > > > > /* Enable checksum offloading */ > > if (ol_flags & CI_TX_CKSUM_OFFLOAD_MASK) > > - i40e_txd_enable_checksum(ol_flags, &td_cmd, > > + ci_txd_enable_checksum(ol_flags, &td_cmd, > > &td_offset, tx_offload); > > Now that it uses the common function which handles > RTE_MBUF_F_TX_UDP_SEG this means the scalar path now supports the > offload RTE_ETH_TX_OFFLOAD_UDP_TSO so I think it should be added to > the I40E_TX_SCALAR_OFFLOADS. It seems to be missing from the device > capabilities too. Same for ice. > Ack.
- Re: [PATCH v3 07/36] net/ice: refactor context d... Bruce Richardson
- [PATCH v3 09/36] net/idpf: refactor context descriptor ha... Bruce Richardson
- RE: [PATCH v3 09/36] net/idpf: refactor context desc... Loftus, Ciara
- [PATCH v3 08/36] net/i40e: refactor context descriptor ha... Bruce Richardson
- RE: [PATCH v3 08/36] net/i40e: refactor context desc... Loftus, Ciara
- [PATCH v3 10/36] net/intel: consolidate checksum mask def... Bruce Richardson
- RE: [PATCH v3 10/36] net/intel: consolidate checksum... Loftus, Ciara
- Re: [PATCH v3 10/36] net/intel: consolidate chec... Bruce Richardson
- [PATCH v3 11/36] net/intel: create common checksum Tx off... Bruce Richardson
- RE: [PATCH v3 11/36] net/intel: create common checks... Loftus, Ciara
- Re: [PATCH v3 11/36] net/intel: create common ch... Bruce Richardson
- [PATCH v3 12/36] net/intel: create a common scalar Tx fun... Bruce Richardson
- RE: [PATCH v3 12/36] net/intel: create a common scal... Loftus, Ciara
- Re: [PATCH v3 12/36] net/intel: create a common ... Bruce Richardson
- [PATCH v3 14/36] net/intel: add IPsec hooks to common Tx ... Bruce Richardson
- [PATCH v3 13/36] net/i40e: use common scalar Tx function Bruce Richardson
- [PATCH v3 15/36] net/intel: support configurable VLAN tag... Bruce Richardson
- [PATCH v3 17/36] net/i40e: document requirement for QinQ ... Bruce Richardson
- [PATCH v3 16/36] net/iavf: use common scalar Tx function Bruce Richardson
- [PATCH v3 18/36] net/idpf: use common scalar Tx function Bruce Richardson
- [PATCH v3 19/36] net/intel: avoid writing the final pkt d... Bruce Richardson

