DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] RSS with VLAN tagged packets
@ 2020-10-24 21:04 Gerry Wan
  2020-10-25  5:56 ` Asaf Penso
  0 siblings, 1 reply; 9+ messages in thread
From: Gerry Wan @ 2020-10-24 21:04 UTC (permalink / raw)
  To: users

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,

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

* Re: [dpdk-users] RSS with VLAN tagged packets
  2020-10-24 21:04 [dpdk-users] RSS with VLAN tagged packets Gerry Wan
@ 2020-10-25  5:56 ` Asaf Penso
  2020-10-25  6:00   ` Gerry Wan
  0 siblings, 1 reply; 9+ messages in thread
From: Asaf Penso @ 2020-10-25  5:56 UTC (permalink / raw)
  To: users, Gerry Wan, Matan Azrad

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> on behalf of Gerry Wan <gerryw@stanford.edu>
Sent: Sunday, October 25, 2020, 00:05
To: 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,


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

* Re: [dpdk-users] RSS with VLAN tagged packets
  2020-10-25  5:56 ` Asaf Penso
@ 2020-10-25  6:00   ` Gerry Wan
  2020-10-25 15:35     ` Alireza Sanaee
  0 siblings, 1 reply; 9+ messages in thread
From: Gerry Wan @ 2020-10-25  6:00 UTC (permalink / raw)
  To: Asaf Penso; +Cc: users, Matan Azrad

I am using DPDK v20.08

On Sat, Oct 24, 2020 at 10:56 PM Asaf Penso <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> on behalf of Gerry Wan <
> gerryw@stanford.edu>
> *Sent:* Sunday, October 25, 2020, 00:05
> *To:* 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,
>
>

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

* Re: [dpdk-users] RSS with VLAN tagged packets
  2020-10-25  6:00   ` Gerry Wan
@ 2020-10-25 15:35     ` Alireza Sanaee
  2020-10-25 17:58       ` Matan Azrad
  0 siblings, 1 reply; 9+ messages in thread
From: Alireza Sanaee @ 2020-10-25 15:35 UTC (permalink / raw)
  To: Gerry Wan; +Cc: Asaf Penso, users, Matan Azrad

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/

Thanks,
Alireza

On Sun, Oct 25, 2020 at 6:01 AM Gerry Wan <gerryw@stanford.edu> wrote:

> I am using DPDK v20.08
>
> On Sat, Oct 24, 2020 at 10:56 PM Asaf Penso <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> on behalf of Gerry Wan <
> > gerryw@stanford.edu>
> > *Sent:* Sunday, October 25, 2020, 00:05
> > *To:* 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,
> >
> >
>

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

* Re: [dpdk-users] RSS with VLAN tagged packets
  2020-10-25 15:35     ` Alireza Sanaee
@ 2020-10-25 17:58       ` Matan Azrad
  2020-10-25 19:14         ` Gerry Wan
  0 siblings, 1 reply; 9+ messages in thread
From: Matan Azrad @ 2020-10-25 17:58 UTC (permalink / raw)
  To: Alireza Sanaee, Gerry Wan; +Cc: Asaf Penso, users

This one will solve it:
https://patches.dpdk.org/patch/82100/

From: Alireza Sanaee <sarsanaee@gmail.com>
Sent: Sunday, October 25, 2020 5:36 PM
To: Gerry Wan <gerryw@stanford.edu>
Cc: Asaf Penso <asafp@nvidia.com>; users@dpdk.org; Matan Azrad <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%7C9bc6564bf75848d8c6ce08d878fbb143%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637392369690566112%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=UXfnK%2BLIzE7MP2Fjn3f80ovVMVM0eFnr1Tl9rKW%2BBhA%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,
>
>

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

* Re: [dpdk-users] RSS with VLAN tagged packets
  2020-10-25 17:58       ` Matan Azrad
@ 2020-10-25 19:14         ` Gerry Wan
  2020-10-25 19:57           ` Matan Azrad
  0 siblings, 1 reply; 9+ messages in thread
From: Gerry Wan @ 2020-10-25 19:14 UTC (permalink / raw)
  To: Matan Azrad; +Cc: Alireza Sanaee, Asaf Penso, users

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> wrote:

> This one will solve it:
>
> https://patches.dpdk.org/patch/82100/
>
>
>
> *From:* Alireza Sanaee <sarsanaee@gmail.com>
> *Sent:* Sunday, October 25, 2020 5:36 PM
> *To:* Gerry Wan <gerryw@stanford.edu>
> *Cc:* Asaf Penso <asafp@nvidia.com>; users@dpdk.org; Matan Azrad <
> 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%7C9bc6564bf75848d8c6ce08d878fbb143%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637392369690566112%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=UXfnK%2BLIzE7MP2Fjn3f80ovVMVM0eFnr1Tl9rKW%2BBhA%3D&reserved=0>
>
>
>
> Thanks,
> Alireza
>
>
>
> On Sun, Oct 25, 2020 at 6:01 AM Gerry Wan <gerryw@stanford.edu> wrote:
>
> I am using DPDK v20.08
>
> On Sat, Oct 24, 2020 at 10:56 PM Asaf Penso <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> on behalf of Gerry Wan <
> > gerryw@stanford.edu>
> > *Sent:* Sunday, October 25, 2020, 00:05
> > *To:* 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,
> >
> >
>
>

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

* Re: [dpdk-users] RSS with VLAN tagged packets
  2020-10-25 19:14         ` Gerry Wan
@ 2020-10-25 19:57           ` Matan Azrad
  2020-10-26  7:29             ` Gerry Wan
  0 siblings, 1 reply; 9+ messages in thread
From: Matan Azrad @ 2020-10-25 19:57 UTC (permalink / raw)
  To: Gerry Wan; +Cc: Alireza Sanaee, Asaf Penso, users

See the reference in the commit log

השג את Outlook עבור Android<https://aka.ms/ghei36>

________________________________
From: Gerry Wan <gerryw@stanford.edu>
Sent: Sunday, October 25, 2020 9:14:32 PM
To: Matan Azrad <matan@nvidia.com>
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

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%7C294f18c0e2ad4c10d31908d8791a432d%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637392501008368760%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=w3Y8g%2BGCxbkwmnkjEHQtQ%2F4N80bMSdNInKD3M0QcOdg%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%7C294f18c0e2ad4c10d31908d8791a432d%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637392501008378757%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=AWS1Xkd0REIz%2FmTz7bjWAX4eTCmd2KoAnQZEYNnOUJA%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,
>
>

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

* Re: [dpdk-users] RSS with VLAN tagged packets
  2020-10-25 19:57           ` Matan Azrad
@ 2020-10-26  7:29             ` Gerry Wan
  2020-10-26  7:33               ` Matan Azrad
  0 siblings, 1 reply; 9+ messages in thread
From: Gerry Wan @ 2020-10-26  7:29 UTC (permalink / raw)
  To: Matan Azrad; +Cc: Alireza Sanaee, Asaf Penso, users

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> wrote:

> See the reference in the commit log
>
> השג את Outlook עבור Android <https://aka.ms/ghei36>
>
> ------------------------------
> *From:* Gerry Wan <gerryw@stanford.edu>
> *Sent:* Sunday, October 25, 2020 9:14:32 PM
> *To:* Matan Azrad <matan@nvidia.com>
> *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
>
> *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> 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%7C294f18c0e2ad4c10d31908d8791a432d%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637392501008368760%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=w3Y8g%2BGCxbkwmnkjEHQtQ%2F4N80bMSdNInKD3M0QcOdg%3D&reserved=0>
>
>
>
> *From:* Alireza Sanaee <sarsanaee@gmail.com>
> *Sent:* Sunday, October 25, 2020 5:36 PM
> *To:* Gerry Wan <gerryw@stanford.edu>
> *Cc:* Asaf Penso <asafp@nvidia.com>; users@dpdk.org; Matan Azrad <
> 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%7C294f18c0e2ad4c10d31908d8791a432d%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637392501008378757%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=AWS1Xkd0REIz%2FmTz7bjWAX4eTCmd2KoAnQZEYNnOUJA%3D&reserved=0>
>
>
>
> Thanks,
> Alireza
>
>
>
> On Sun, Oct 25, 2020 at 6:01 AM Gerry Wan <gerryw@stanford.edu> wrote:
>
> I am using DPDK v20.08
>
> On Sat, Oct 24, 2020 at 10:56 PM Asaf Penso <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> on behalf of Gerry Wan <
> > gerryw@stanford.edu>
> > *Sent:* Sunday, October 25, 2020, 00:05
> > *To:* 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,
> >
> >
>
>

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

* Re: [dpdk-users] RSS with VLAN tagged packets
  2020-10-26  7:29             ` Gerry Wan
@ 2020-10-26  7:33               ` Matan Azrad
  0 siblings, 0 replies; 9+ messages in thread
From: Matan Azrad @ 2020-10-26  7:33 UTC (permalink / raw)
  To: Gerry Wan; +Cc: Alireza Sanaee, Asaf Penso, users

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,
>
>

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

end of thread, other threads:[~2020-10-26  7:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-24 21:04 [dpdk-users] RSS with VLAN tagged packets 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 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).