Re: [dpdk-dev] [PATCH v3] ethdev: add IPv4 and L4 checksum RSS offload types
From: Zhang, AlvinX <hidden>
Date: 2021-07-06 06:14:27
From: Zhang, AlvinX <hidden>
Date: 2021-07-06 06:14:27
quoted
diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h indexfaf3bd9..1268729 100644--- a/lib/ethdev/rte_ethdev.h +++ b/lib/ethdev/rte_ethdev.h@@ -537,6 +537,8 @@ struct rte_eth_rss_conf { #define ETH_RSS_PPPOE (1ULL << 31) #define ETH_RSS_ECPRI (1ULL << 32) #define ETH_RSS_MPLS (1ULL << 33) +#define ETH_RSS_IPV4_CHKSUM (1ULL << 34) +#define ETH_RSS_L4_CHKSUM (1ULL << 35)What does efine which L4 protocols are supported? How user will know?
I think TCP/UDP/SCTP can be supported, but this is determined by PMD, here we only provide a general interface. BRs, Alvin