RE: [PATCH v9 09/14] net/idpf: add support for Rx/Tx offloading

2022-10-24 Thread Xing, Beilei
> > + > > +/* Translate the rx descriptor status and error fields to pkt flags > > +*/ static inline uint64_t idpf_rxd_to_pkt_flags(uint16_t > > +status_error) { > > + uint64_t flags = 0; > > + > > + if (unlikely(!(status_error & > BIT(VIRTCHNL2_RX_FLEX_DESC_STATUS0_L3L4P_S > > +

Re: [PATCH v9 09/14] net/idpf: add support for Rx/Tx offloading

2022-10-21 Thread Andrew Rybchenko
On 10/21/22 08:18, Junfeng Guo wrote: Add Rx/Tx offloading support, including TSO and CHKSUM. Typically code path for Rx and Tx offload are absolutely different. So, I'm wondering why both are implemented in one patch. If they are really independent, please, split it into Rx and Tx patches to m

[PATCH v9 09/14] net/idpf: add support for Rx/Tx offloading

2022-10-20 Thread Junfeng Guo
Add Rx/Tx offloading support, including TSO and CHKSUM. Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 3 + drivers/net/idpf/idpf_ethdev.c| 10 ++ drivers/net/idpf/idpf_rxtx.c | 212 +++