DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Question about RSS offload types
@ 2021-11-03  1:35 lihuisong (C)
  2021-11-03  8:04 ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: lihuisong (C) @ 2021-11-03  1:35 UTC (permalink / raw)
  To: dev; +Cc: Thomas Monjalon, Ferruh Yigit

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] Question about RSS offload types
  2021-11-03  1:35 [dpdk-dev] Question about RSS offload types lihuisong (C)
@ 2021-11-03  8:04 ` Thomas Monjalon
  2021-11-11  8:40   ` lihuisong (C)
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2021-11-03  8:04 UTC (permalink / raw)
  To: lihuisong (C)
  Cc: dev, Ferruh Yigit, andrew.rybchenko, qi.z.zhang, ajit.khaparde,
	jerinj, viacheslavo

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?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Question about RSS offload types
  2021-11-03  8:04 ` Thomas Monjalon
@ 2021-11-11  8:40   ` lihuisong (C)
  0 siblings, 0 replies; 3+ messages in thread
From: lihuisong (C) @ 2021-11-11  8:40 UTC (permalink / raw)
  To: Thomas Monjalon
  Cc: dev, Ferruh Yigit, andrew.rybchenko, qi.z.zhang, ajit.khaparde,
	jerinj, viacheslavo

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?
>
>
> .

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-11  8:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03  1:35 [dpdk-dev] Question about RSS offload types lihuisong (C)
2021-11-03  8:04 ` Thomas Monjalon
2021-11-11  8:40   ` lihuisong (C)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).