Hi, PMD maintainers

How do you understand and implement these values?

Looking forward to your reply.

Thanks.


在 2021/11/3 16:04, Thomas Monjalon 写道:
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?


.

Reply via email to