Re: [PATCH v5 03/14] net/sxe: add tx rx setup and data path

Stephen Hemminger
2025-07-17T18:17:19Z

On Wed, 9 Jul 2025 21:20:10 -0400
Jie Liu <liujie5@linkdatatechnology.com> wrote:

> +u64 __sxe_rx_port_offload_capa_get(struct rte_eth_dev *dev)
> +{
> + u64 rx_offload_capa;
> +
> + rx_offload_capa = RTE_ETH_RX_OFFLOAD_IPV4_CKSUM |
> + RTE_ETH_RX_OFFLOAD_UDP_CKSUM |
> + RTE_ETH_RX_OFFLOAD_TCP_CKSUM |
> + RTE_ETH_RX_OFFLOAD_KEEP_CRC |
> +#ifdef DEV_RX_JUMBO_FRAME
> + DEV_RX_OFFLOAD_JUMBO_FRAME |
> +#endif

That was true in old DPDK version. No longer needed. Please remove #ifdef