[dpdk-dev] Question about RSS offload types

Thomas Monjalon thomas at monjalon.net
Wed Nov 3 09:04:44 CET 2021


03/11/2021 02:35, lihuisong (C):
> Below macros are defined for RSS offload types in rte_ethdev.h.
> 
> #define *ETH_RSS_IPV4 *              (1ULL << 2)
> #define ETH_RSS_FRAG_IPV4          (1ULL << 3)
> #define ETH_RSS_NONFRAG_IPV4_TCP   (1ULL << 4)
> #define ETH_RSS_NONFRAG_IPV4_UDP   (1ULL << 5)
> #define ETH_RSS_NONFRAG_IPV4_SCTP  (1ULL << 6)
> #define *ETH_RSS_NONFRAG_IPV4_OTHER* (1ULL << 7)
> 
> What types of packets do ETH_RSS_IPV4 and ETH_RSS_NONFRAG_IPV4_OTHER refer
> to respectively, and what are the differences between them?

I understand why you have this question,
but we should not have this kind of basic question if the API
was properly documented.
Please let's check all PMDs have the same expectation regarding
these values and let's document it with Doxygen comments.

PMD maintainers, how do you understand and implement these values?




More information about the dev mailing list