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 3DA40A00C5; Thu, 30 Apr 2020 13:58:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A5CF81DB7D; Thu, 30 Apr 2020 13:58:15 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2051.outbound.protection.outlook.com [40.107.21.51]) by dpdk.org (Postfix) with ESMTP id A1BBC1DB69; Thu, 30 Apr 2020 13:58:14 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mr+zC1XT0YQKatV5Smp02wIHqrnySYOU+3xxGSCftBs5JXxkpuW9eWiDqePcgXM61CnHt96KTVlG/j0NHgHjVbByD8dD1vMHrGoLxD1O5qaymNyv9f6OpX5x35ao4VI0CUfLwMiyZvQtCoZV9lFwt/blnD0y8YmJWm+Dkn0ETQ4xshLL+IYH4iCxGOcVzZzRqL+I8iXPwj2Hj/vMzJOtQgJ7JRPWQku1vX+UeMise3AYmcKH5/VE02AmAyXONSfZZ36crM48PH5FagF/8Yo/WxLjRmCAn54JMPlNFSynaV830A04BxoDZXLnNtOYJIGMEnv/OB8QP/Jt9vh3aXAQlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4TyEtAX+60eNRYKwZ9XE5uPw/m9oaIbXlJXqpxRF/FE=; b=hcETDIj+mAAuqJqc0QNfE3vRGHK5VA9KrtRTCcRRGNWiyzkueauExBekwTAf+nsL6AysckmPSEwiaLX6LchwZBt0q9vhEPylKPWGAlqaxEFfFv6/nto+HEttO6Gf48ChtsJr4JZi8Th1GWfcNGHLbczbVVaz3vbBOQi++saBLmcSSuDXcUYgu9E6I6p3mnLx6PDLsFavyGECQZlB1MhlpnUlOawhsKvEvc/lBD11vEXdVrcrO5ySbbZgl767SJFaAbPIp3wvszSyv20EIA0B+SMKu7n0o+gsZT+KNhmaGSHZJjkHc5gvnBzp/y7gFiqIUwZBw5U25gVlcr/G50N0Jw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4TyEtAX+60eNRYKwZ9XE5uPw/m9oaIbXlJXqpxRF/FE=; b=TMTGG0Xe0dgcCgLkj8qZWoScosqhe0EIJz/an0xLOonbmrxF3uNckyV1Jrv+cReeapeRTSTLQzQQN9I3ngLeVwDwYelaYm5HTmoNUum57oi7CLDfhUBZTmCpD96j6ZpgC1kUvfHZZqgYrA6fMKmekKTq8kR0fpI9DG7VKDrh/wY= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (2603:10a6:208:f::11) by AM0PR0502MB3682.eurprd05.prod.outlook.com (2603:10a6:208:18::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.22; Thu, 30 Apr 2020 11:58:13 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::a564:a117:9022:1fee]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::a564:a117:9022:1fee%7]) with mapi id 15.20.2958.019; Thu, 30 Apr 2020 11:58:13 +0000 From: Matan Azrad To: Slava Ovsiienko , Jack Min , Shahaf Shuler CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix default rule do RSS regardless rxmode Thread-Index: AQHWHiY2vk1KyaP8pEu8qWl5AyIHMKiRXOuAgAAAk4CAADNToA== Date: Thu, 30 Apr 2020 11:58:13 +0000 Message-ID: References: <208bd4b9828bf89cba4d546f9091e2807d478502.1588164500.git.jackmin@mellanox.com> In-Reply-To: Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [77.126.88.104] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: ed1450e1-b32f-4fb6-e8d4-08d7ecfdc2c6 x-ms-traffictypediagnostic: AM0PR0502MB3682:|AM0PR0502MB3682: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 0389EDA07F x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(136003)(376002)(39860400002)(346002)(396003)(52536014)(76116006)(6636002)(53546011)(66446008)(71200400001)(5660300002)(66556008)(66946007)(478600001)(64756008)(66476007)(8676002)(2906002)(55016002)(7696005)(9686003)(316002)(6506007)(26005)(4326008)(86362001)(450100002)(110136005)(33656002)(186003)(54906003)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ktCZMCT1SIg2rFfg1oQuI2IZSljDS/6OzvqambbMX0lyCM8hFLBG7QnTlwqY5ZloPkDFYqLxnFCrhSHXbhosg9QLaZY7jirgemrbFtJtPHjW8Nhlr1BnpwlLIiQW8c/RxQ6H7+xsu6mKIFO06Ya+FbQ2+/tvd0qZlC47NtR0H94qBlpwdtF9yRtwYSsDDUAbdvssUIAR7rX8v9wITlYU3SygvmRqMMH50KHldHsrapXz/NO9TdpMpiXA5hG5dgx7xoriUN97sSF8pyu/rfuWEb1iXocFb3AbjchdMkb2oKmVtuPtVEE8XeEPn6FSMp4OSiIw2B4VtfR3vRyXV4Xv0nDhic30ZGnkL3IdJawdz4pPADBqXPZy912ftmgKEyfSa2aVr0Z2zBHCyNzSCCeDQWJWRez4KtcfglDtfEmslZLbcMGAbQxjpOXDkhS23oUQ x-ms-exchange-antispam-messagedata: t0xe9CffTuBvDH2tcHujTFCN6mtRGyuq023574JcpL/KtYyeGsFv0XBU/8QScrkNGYfNrOkr2p7EsQf7K9BgvTk3KVuY431LjnEm6VsM38EJTIFtYloQ0CngOY2TUPIsq5tiqZU5ck9c5xQa9nvdCIrEj1gWzz34soskrzpszc2lErH09JsRv+HY0TNZhVR/+Nho55ajiasnHcgXIYY8MNzVhzsEM8vRSTwj/EnJscY6V22iMq7RIqgQxgGESyiF4uOE96PEth7gHUzPkUEQWli8+Jqe7PPU7iZ5HOks0nfw8+iUT2HOuyYHfV5PWSgaZapsfVSeCJL7tMfuiUAeyN660UzsNsL4w8b7VHdNy2zBGmDW9oelGHcRo1gRqXDkqv573ey1xRdauel5q8IBqn/3zwb7tLJmFfBb48R6zI6YUyvh4rjMHk/vZAVTM6k5ksoiU8tOXPlfxvL0wa1gdHLlTLl2r3UajpM+Hv/8zpWytHuzvtzxMjNyF+gq2thYlB5vPAWNMMsvOknPLMZQoaiBNlwSirkkMAaYBGSQGOgSEbdhpfcSXpGnRDPleaj5DHwiN/Z8yS75wg95usFCzvVyjX99MkC3C1Kh0igjXQe8AVczkj43A9cfH9aaIOT/yB5r+lkmFuSki/c+Rl/LODneYc8CkLEAHFO94NB8HTJWT4WRu0dFEX+vLZofxcijQZ1tTqoppVC3geO8qVKrzn+jFh8h+pH5K4vo13CIoj9ymn0ypCvAvxA0E7BJAjNUROp9wFK+loucTTdmN8zRA61Uhqrc5TVwzoysKJtT/ak= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: ed1450e1-b32f-4fb6-e8d4-08d7ecfdc2c6 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Apr 2020 11:58:13.3443 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lqmx2cqiUuxtkV57la7AElobR2xIk6xt4GwSCawfZl2NTLSKs/WNL0n93kxpNrYfOBg/kwB0DlIsQQ2sP+1Y0A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3682 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix default rule do RSS regardless rxmode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Slava Ovsiienko > > -----Original Message----- > > From: Slava Ovsiienko > > Sent: Thursday, April 30, 2020 11:52 > > To: Xiaoyu Min ; Matan Azrad > > ; Shahaf Shuler > > Cc: dev@dpdk.org; stable@dpdk.org > > Subject: RE: [PATCH] net/mlx5: fix default rule do RSS regardless > > rxmode > > > > > -----Original Message----- > > > From: Xiaoyu Min > > > Sent: Wednesday, April 29, 2020 16:01 > > > To: Matan Azrad ; Shahaf Shuler > > > ; Slava Ovsiienko > > > > Cc: dev@dpdk.org; stable@dpdk.org > > > Subject: [PATCH] net/mlx5: fix default rule do RSS regardless rxmode > > > > > > PMD create some default control rules with RSS action if it's not > > > isolated mode. > > > > > > However whether default control rules need to do RSS or not should > > > be controlled by device configuration, the mq_mode of rxmode > > > configuration in specific. > > > > > > In another word, only when mq_mode is configured with > > > ETH_MQ_RX_RSS_FLAG set, then RSS is needed for default rules. > > > > > > Fixes: c64ccc0eca2f ("mlx5: fix overwritten RSS configuration") > > > Cc: stable@dpdk.org > > > > > > Signed-off-by: Xiaoyu Min > Acked-by: Viacheslav Ovsiienko Acked-by: Matan Azrad