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 <ma...@nvidia.com> wrote: > See the reference in the commit log > > השג את Outlook עבור Android <https://aka.ms/ghei36> > > ------------------------------ > *From:* Gerry Wan <ger...@stanford.edu> > *Sent:* Sunday, October 25, 2020 9:14:32 PM > *To:* Matan Azrad <ma...@nvidia.com> > *Cc:* Alireza Sanaee <sarsan...@gmail.com>; Asaf Penso <as...@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 <ma...@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 <sarsan...@gmail.com> > *Sent:* Sunday, October 25, 2020 5:36 PM > *To:* Gerry Wan <ger...@stanford.edu> > *Cc:* Asaf Penso <as...@nvidia.com>; users@dpdk.org; Matan Azrad < > ma...@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 <ger...@stanford.edu> wrote: > > I am using DPDK v20.08 > > On Sat, Oct 24, 2020 at 10:56 PM Asaf Penso <as...@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-boun...@dpdk.org> on behalf of Gerry Wan < > > ger...@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, > > > > > >