[PATCH v5 03/14] net/sxe: add tx rx setup and data path
Stephen Hemminger
stephen at networkplumber.org
Thu Jul 17 20:03:26 CEST 2025
On Wed, 9 Jul 2025 21:20:10 -0400
Jie Liu <liujie5 at 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
More information about the dev
mailing list