Re: [EXT] Re: [PATCH v3 1/4] ethdev: introduce IP reassembly offload

2022-02-02 Thread Ferruh Yigit
On 2/2/2022 10:57 AM, Akhil Goyal wrote: +/* Flag to offload IP reassembly for IPv4 packets. */ +#define RTE_ETH_DEV_REASSEMBLY_F_IPV4 (RTE_BIT32(0)) +/* Flag to offload IP reassembly for IPv6 packets. */ +#define RTE_ETH_DEV_REASSEMBLY_F_IPV6 (RTE_BIT32(1)) +/** + * A structure used to get/set I

RE: [EXT] Re: [PATCH v3 1/4] ethdev: introduce IP reassembly offload

2022-02-02 Thread Akhil Goyal
> > +/* Flag to offload IP reassembly for IPv4 packets. */ > > +#define RTE_ETH_DEV_REASSEMBLY_F_IPV4 (RTE_BIT32(0)) > > +/* Flag to offload IP reassembly for IPv6 packets. */ > > +#define RTE_ETH_DEV_REASSEMBLY_F_IPV6 (RTE_BIT32(1)) > > +/** > > + * A structure used to get/set IP reassembly config

Re: [PATCH v3 1/4] ethdev: introduce IP reassembly offload

2022-02-01 Thread Ferruh Yigit
On 1/30/2022 5:59 PM, Akhil Goyal wrote: IP Reassembly is a costly operation if it is done in software. The operation becomes even more costlier if IP fragments are encrypted. However, if it is offloaded to HW, it can considerably save application cycles. Hence, a new offload RTE_ETH_RX_OFFLOAD_

[PATCH v3 1/4] ethdev: introduce IP reassembly offload

2022-01-30 Thread Akhil Goyal
IP Reassembly is a costly operation if it is done in software. The operation becomes even more costlier if IP fragments are encrypted. However, if it is offloaded to HW, it can considerably save application cycles. Hence, a new offload RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY is introduced in ethdev for d