From: Matan Azrad <matan@nvidia.com>
To: Gerry Wan <gerryw@stanford.edu>
Cc: Alireza Sanaee <sarsanaee@gmail.com>,
Asaf Penso <asafp@nvidia.com>, "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] RSS with VLAN tagged packets
Date: Mon, 26 Oct 2020 07:33:52 +0000 [thread overview]
Message-ID: <MW2PR12MB249293746D230A2A7955E7B5DF190@MW2PR12MB2492.namprd12.prod.outlook.com> (raw)
In-Reply-To: <CAAcwi3_OtCueBbYHFcCStUtrpwdxV8nhO9GZTeRuGdLZn49Hvg@mail.gmail.com>
Yes, I checked with single-tagged and double-tagged.
From: Gerry Wan <gerryw@stanford.edu>
Sent: Monday, October 26, 2020 9:29 AM
To: Matan Azrad <matan@nvidia.com>
Cc: Alireza Sanaee <sarsanaee@gmail.com>; Asaf Penso <asafp@nvidia.com>; users@dpdk.org
Subject: Re: [dpdk-users] RSS with VLAN tagged packets
External email: Use caution opening links or attachments
Thank you. It looks that with this patch (part of v20.11 release?) it is now able to do RSS hash on IP|TCP|UDP fields even in the presence of multiple VLAN tags
On Sun, Oct 25, 2020 at 12:57 PM Matan Azrad <matan@nvidia.com<mailto:matan@nvidia.com>> wrote:
See the reference in the commit log
השג את Outlook עבור Android<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=04%7C01%7Cmatan%40nvidia.com%7C2518ef1633e34e840da908d87980dec4%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637392941688328001%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=hu15JgD1DFCC6yZmgDUbK0YsIk%2BII8BVJXof8XXNPsU%3D&reserved=0>
________________________________
From: Gerry Wan <gerryw@stanford.edu<mailto:gerryw@stanford.edu>>
Sent: Sunday, October 25, 2020 9:14:32 PM
To: Matan Azrad <matan@nvidia.com<mailto:matan@nvidia.com>>
Cc: Alireza Sanaee <sarsanaee@gmail.com<mailto:sarsanaee@gmail.com>>; Asaf Penso <asafp@nvidia.com<mailto:asafp@nvidia.com>>; users@dpdk.org<mailto:users@dpdk.org> <users@dpdk.org<mailto:users@dpdk.org>>
Subject: Re: [dpdk-users] RSS with VLAN tagged packets
External email: Use caution opening links or attachments
I've tried applying the patch to the 20.08 release I have downloaded, but the install fails on
../drivers/net/mlx5/mlx5_flow.c:1363:4: error: ‘const struct rte_flow_item_eth’ has no member named ‘has_vlan’
.has_vlan = ext_vlan_sup ? 1 : 0,
I assume there are other prior contributions that contain the API changes, is there a way I can download and apply them all?
On Sun, Oct 25, 2020 at 10:58 AM Matan Azrad <matan@nvidia.com<mailto:matan@nvidia.com>> wrote:
This one will solve it:
https://patches.dpdk.org/patch/82100/<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatches.dpdk.org%2Fpatch%2F82100%2F&data=04%7C01%7Cmatan%40nvidia.com%7C2518ef1633e34e840da908d87980dec4%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637392941688337992%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=V4sgbun1E76OqwDIuhJRWBdu2s5hyi0BNYJoIcil5Hw%3D&reserved=0>
From: Alireza Sanaee <sarsanaee@gmail.com<mailto:sarsanaee@gmail.com>>
Sent: Sunday, October 25, 2020 5:36 PM
To: Gerry Wan <gerryw@stanford.edu<mailto:gerryw@stanford.edu>>
Cc: Asaf Penso <asafp@nvidia.com<mailto:asafp@nvidia.com>>; users@dpdk.org<mailto:users@dpdk.org>; Matan Azrad <matan@nvidia.com<mailto:matan@nvidia.com>>
Subject: Re: [dpdk-users] RSS with VLAN tagged packets
External email: Use caution opening links or attachments
Hi all,
I think we had the issue with Mellanox NICs. I applied this patch and it got resolved.
http://patches.dpdk.org/patch/69554/<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatches.dpdk.org%2Fpatch%2F69554%2F&data=04%7C01%7Cmatan%40nvidia.com%7C2518ef1633e34e840da908d87980dec4%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637392941688347982%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=5CHCtn74yykD%2BEcPDvwmRut%2BbP%2Be%2Bdcc632oiBhx%2FhE%3D&reserved=0>
Thanks,
Alireza
On Sun, Oct 25, 2020 at 6:01 AM Gerry Wan <gerryw@stanford.edu<mailto:gerryw@stanford.edu>> wrote:
I am using DPDK v20.08
On Sat, Oct 24, 2020 at 10:56 PM Asaf Penso <asafp@nvidia.com<mailto:asafp@nvidia.com>> wrote:
> Hello Gerry,
>
> Thanks for your email.
>
> What version of DPDK are you using?
>
> We are familiar with this issue in our mlx5 pmd in the latest code and are
> working on a fix.
>
> Will let you know as soon as we have it.
>
> Thanks,
> Asaf Penso
>
> Regards,
> Asaf Penso
>
>
> ------------------------------
> *From:* users <users-bounces@dpdk.org<mailto:users-bounces@dpdk.org>> on behalf of Gerry Wan <
> gerryw@stanford.edu<mailto:gerryw@stanford.edu>>
> *Sent:* Sunday, October 25, 2020, 00:05
> *To:* users@dpdk.org<mailto:users@dpdk.org>
> *Subject:* [dpdk-users] RSS with VLAN tagged packets
>
> Hello,
>
> I am configuring RSS through through rte_eth_dev_configure using
> rte_eth_conf with mq_ mode = ETH_MQ_RSS and specifying rss_hf = ETH_RSS_IP
> | ETH_RSS_TCP | ETH_RSS_UDP. I've noticed that even single VLAN tagged
> packets do not get hashed.
>
> Is there a flag I am missing to do this? Is RSS possible on tagged packets?
>
> I am using a connectx-5 with the mlx5 PMD
>
> Thanks,
>
>
prev parent reply other threads:[~2020-10-26 7:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-24 21:04 Gerry Wan
2020-10-25 5:56 ` Asaf Penso
2020-10-25 6:00 ` Gerry Wan
2020-10-25 15:35 ` Alireza Sanaee
2020-10-25 17:58 ` Matan Azrad
2020-10-25 19:14 ` Gerry Wan
2020-10-25 19:57 ` Matan Azrad
2020-10-26 7:29 ` Gerry Wan
2020-10-26 7:33 ` Matan Azrad [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=MW2PR12MB249293746D230A2A7955E7B5DF190@MW2PR12MB2492.namprd12.prod.outlook.com \
--to=matan@nvidia.com \
--cc=asafp@nvidia.com \
--cc=gerryw@stanford.edu \
--cc=sarsanaee@gmail.com \
--cc=users@dpdk.org \
/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).