From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E09F9A04B5 for ; Mon, 26 Oct 2020 08:29:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3A3941D9E; Mon, 26 Oct 2020 08:29:22 +0100 (CET) Received: from mx0a-00000d04.pphosted.com (mx0a-00000d04.pphosted.com [148.163.149.245]) by dpdk.org (Postfix) with ESMTP id 858B7100C for ; Mon, 26 Oct 2020 08:29:20 +0100 (CET) Received: from pps.filterd (m0102885.ppops.net [127.0.0.1]) by mx0a-00000d04.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 09Q7M4KL013170 for ; Mon, 26 Oct 2020 00:29:18 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stanford.edu; h=mime-version : references : in-reply-to : from : date : message-id : subject : to : cc : content-type; s=pps05272020; bh=8K51ZFDvivQ0P5AjuZeJ9bEHXLZ9lX8DjH7tyVV9BfY=; b=kHDTfdSNHpzPi/ekixVwH94odvR9aEpUH84PrJkwUNycaV5gf1JnGNEojx75TlYSkjKi s+w/Mkf6WHs/7GarFkNPtyljEEuPgS8MBXhIr+9jRcFxMu1u1f5rSKfD3mouV67Xgo1v zUOgxgnUCAFTi1wS8DPbiDWyJySSgy6ZBXj9PJWe7ywKvT6ExBr5mFsW5Ap/guoLOJ6O nuE94ek+eNzLEtZSmfIm1Zq3LW0YVXR/MIPfyGr9G6NrFBSb97iH/3fySZs3Cl0bLX9j F17W5ldf3k1vVhgqiunU0gR5yfeAPkNNvQ1NBHt7bzB83vpg9C09WpG2siH77/LKTG+t fw== Received: from mx0a-00000d03.pphosted.com (mx0a-00000d03.pphosted.com [148.163.149.244]) by mx0a-00000d04.pphosted.com with ESMTP id 34cgdsw8q5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 26 Oct 2020 00:29:18 -0700 Received: from pps.filterd (m0190089.ppops.net [127.0.0.1]) by mx0a-00000d03.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 09Q7RxUa001607 for ; Mon, 26 Oct 2020 00:29:18 -0700 Received: from mx0a-00000d06.pphosted.com (mx0a-00000d06.pphosted.com [148.163.135.119]) by mx0a-00000d03.pphosted.com with ESMTP id 34cjsmx0ub-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 26 Oct 2020 00:29:18 -0700 Received: from pps.filterd (m0167935.ppops.net [127.0.0.1]) by mx0a-00000d06.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 09Q7SXrD009569 for ; Mon, 26 Oct 2020 00:29:17 -0700 Received: from smtp.stanford.edu (smtp4.stanford.edu [171.67.219.72]) by mx0a-00000d06.pphosted.com with ESMTP id 34cgmhsf65-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 26 Oct 2020 00:29:17 -0700 Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: gerryw) by smtp.stanford.edu (Postfix) with ESMTPSA id 441371C3EF0 for ; Mon, 26 Oct 2020 00:29:17 -0700 (PDT) Received: by mail-oi1-f171.google.com with SMTP id y186so2504827oia.3 for ; Mon, 26 Oct 2020 00:29:17 -0700 (PDT) X-Gm-Message-State: AOAM532QmI5TuUW1Tyq1UcOUlFXUjd4PeiRN5QHcaTcp1l5qfEvCyaoj crMhDmdPrIhcVSjKfCJ5mTrA3mHrbjobs3jORu8= X-Google-Smtp-Source: ABdhPJwF4qsWynw0OagKyn2H2wy7o4Vl5Y3vKFbUj+fnP26363jAoOURRpd2FjMTxAY+ze42GjoVpo6EnMmZgqzAGyo= X-Received: by 2002:aca:38c6:: with SMTP id f189mr763308oia.27.1603697356130; Mon, 26 Oct 2020 00:29:16 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Gerry Wan Date: Mon, 26 Oct 2020 00:29:05 -0700 X-Gmail-Original-Message-ID: Message-ID: To: Matan Azrad Cc: Alireza Sanaee , Asaf Penso , "users@dpdk.org" x-proofpoint-stanford-dir: outbound X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.737 definitions=2020-10-26_04:2020-10-26, 2020-10-26 signatures=0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.737 definitions=2020-10-26_04:2020-10-26, 2020-10-26 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=100 clxscore=1015 phishscore=0 spamscore=0 mlxscore=0 malwarescore=0 mlxlogscore=999 bulkscore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010260051 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] RSS with VLAN tagged packets X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "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 wrote: > See the reference in the commit log > > =D7=94=D7=A9=D7=92 =D7=90=D7=AA Outlook =D7=A2=D7=91=D7=95=D7=A8 Android = > > ------------------------------ > *From:* Gerry Wan > *Sent:* Sunday, October 25, 2020 9:14:32 PM > *To:* Matan Azrad > *Cc:* Alireza Sanaee ; Asaf Penso = ; > 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: =E2=80=98const struct > rte_flow_item_eth=E2=80=99 has no member named =E2=80=98has_vlan=E2=80=99 > .has_vlan =3D 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 wrote: > > This one will solve it: > > https://patches.dpdk.org/patch/82100/ > > > > > *From:* Alireza Sanaee > *Sent:* Sunday, October 25, 2020 5:36 PM > *To:* Gerry Wan > *Cc:* Asaf Penso ; 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/ > > > > > Thanks, > Alireza > > > > On Sun, Oct 25, 2020 at 6:01 AM Gerry Wan wrote: > > I am using DPDK v20.08 > > On Sat, Oct 24, 2020 at 10:56 PM Asaf Penso 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 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 =3D ETH_MQ_RSS and specifying rss_hf =3D > 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, > > > > > >