Re: [dpdk-dev] [EXT] Re: [PATCH] RFC: ethdev: add reassembly offload
From: Thomas Monjalon <hidden>
Date: 2021-09-21 19:59:41
29/08/2021 15:14, Akhil Goyal:
quoted
On 8/23/21 1:02 PM, Akhil Goyal wrote:quoted
+#define DEV_RX_OFFLOAD_REASSEMBLY 0x00001000I think it should be: RTE_ETH_RX_OFFLOAD_IPV4_REASSEMBLY i.e. have correct prefix similar to RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT and mention IPv4. If we'd like to cover IPv6 as well, it could be RTE_ETH_RX_OFFLOAD_IP_REASSEMBLY and have IPv4/6 support bits in the offload capabilities below.Intention is to update spec for both. Will update the capabilities accordingly to have both IPv4 and IPv6.quoted
quoted
#define DEV_RX_OFFLOAD_SCATTER 0x00002000 /** * Timestamp is set by the driver inRTE_MBUF_DYNFIELD_TIMESTAMP_NAMEquoted
@@ -1477,6 +1478,20 @@ struct rte_eth_dev_portconf { */ #define RTE_ETH_DEV_SWITCH_DOMAIN_ID_INVALID(UINT16_MAX)quoted
+/** + * Reassembly capabilities that a device can support. + * The device which can support reassembly offload should set + * DEV_RX_OFFLOAD_REASSEMBLY + */ +struct rte_eth_reass_capa {
Please add "IP" in flags, struct and comments.