DPDK patches and discussions
 help / color / mirror / Atom feed
From: "lihuisong (C)" <lihuisong@huawei.com>
To: Thomas Monjalon <thomas@monjalon.net>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	Ferruh Yigit <ferruh.yigit@intel.com>,
	<andrew.rybchenko@oktetlabs.ru>, <qi.z.zhang@intel.com>,
	<ajit.khaparde@broadcom.com>, <jerinj@marvell.com>,
	<viacheslavo@nvidia.com>
Subject: Re: Question about RSS offload types
Date: Thu, 11 Nov 2021 16:40:30 +0800	[thread overview]
Message-ID: <ee8c4778-8280-c1e5-aeca-d2f120d018e3@huawei.com> (raw)
In-Reply-To: <5547595.6aP3pihIX3@thomas>

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	other threads:[~2021-11-11  8:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-03  1:35 [dpdk-dev] " lihuisong (C)
2021-11-03  8:04 ` Thomas Monjalon
2021-11-11  8:40   ` lihuisong (C) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee8c4778-8280-c1e5-aeca-d2f120d018e3@huawei.com \
    --to=lihuisong@huawei.com \
    --cc=ajit.khaparde@broadcom.com \
    --cc=andrew.rybchenko@oktetlabs.ru \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=jerinj@marvell.com \
    --cc=qi.z.zhang@intel.com \
    --cc=thomas@monjalon.net \
    --cc=viacheslavo@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).