From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10082.outbound.protection.outlook.com [40.107.1.82]) by dpdk.org (Postfix) with ESMTP id AEB5F1B6D4 for ; Wed, 25 Oct 2017 18:41:10 +0200 (CEST) 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; bh=/WcFd45FSrqZzwkGpn2IXDLp9N4rsCLqhyzXp+r8M04=; b=I3Zy0bNRiFu9w5KOM0gQ+BQ4gYCfR/P14FQbM9Xyb3RF8t/iqCU91ZYPNLzEdVhJndOO8ehMlSAxufzgK73cx5NPIvZzCYJ68HOVWF0LBxURBjIX16BJVpOT4OY1hr3ACpmgwuY3l8hCel4waeZULPBYf6SxUZiaHv1vRPa75Ps= Received: from VI1PR0501MB2045.eurprd05.prod.outlook.com (10.167.195.147) by VI1SPR8PMB331.eurprd05.prod.outlook.com (10.166.146.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.156.4; Wed, 25 Oct 2017 16:41:08 +0000 Received: from VI1PR0501MB2045.eurprd05.prod.outlook.com ([fe80::9db8:1a11:e640:50c6]) by VI1PR0501MB2045.eurprd05.prod.outlook.com ([fe80::9db8:1a11:e640:50c6%13]) with mapi id 15.20.0156.007; Wed, 25 Oct 2017 16:41:08 +0000 From: Yongseok Koh To: =?iso-8859-1?Q?N=E9lio_Laranjeiro?= CC: "dev@dpdk.org" , Adrien Mazarguil Thread-Topic: [PATCH v2] net/mlx5: fix adjust priority for drop queue Thread-Index: AQHTTWrQgPTo3B5HHECgrcJFwpxP+6L0xUaA Date: Wed, 25 Oct 2017 16:41:08 +0000 Message-ID: References: <8c8fb4394ba85f5bda005119cbfc851a3b728fa6.1508844772.git.nelio.laranjeiro@6wind.com> <5156fd25083e0489e1e3da5d412579ce9a123e0f.1508919813.git.nelio.laranjeiro@6wind.com> In-Reply-To: <5156fd25083e0489e1e3da5d412579ce9a123e0f.1508919813.git.nelio.laranjeiro@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; x-originating-ip: [209.116.155.178] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1SPR8PMB331; 6:ge1abbI+RrzApSOwX5sATRvihxZVhQsAmIFjVjxEr7lHfV56je5etqBml6RCzPkAgzZt2h/2sQh69K/LBFn6yrqyBNJH8ZPHbi84XgI+ZeydMajzmIsUsE3MCSSBp8GeTioDCdssvB2baMgPpNaSPm01ndzu16hWRk5SQ0yQXd2f5x0GIH6EsKh1+8vCI4coxpvVfgKfQR1im8T+xOleK5OybZao9kxGJ3P528yuIWg9HqkBc10BVyVXrNh2xV7ln8qUQPXEFUHuHO/KG78qmr3V+iujljV0jRuMwDcKVZX6tUxqewld8jZ+IaTliu5URv6Wpgapd6JtHfLw5QgAcg==; 5:nmjECoqb5bUXpsy28zJCXm7qAGG9LXN3QdncwofLxj3lW2AcUWU6VWe13vKHldUMBOT5c/XzIKyfB1SywUDvxXum5M/m+7H6cJDqfKbAfa1wi0SpXCkZ1ZXXne3s5qsVT0A5EC+MOrsp8EHPaSlAhg==; 24:f9nwZeP2Kdx3GtptcIAd/WoMkav06P1eH7Xqd7UcGuJAsgu9Idp1TBl9GwbU/Hpsha/2UZi7pDjW1y/a4MrBBnhc/NDLS1q7Q/JuZLcGt7Y=; 7:EogX5Tx6L+NgR7krBelw34fHyi/mPvkb8OqDrY/vlCcjdDFOejwUmNmPmS4yfEYQ0JrX20TT1rZeQtMiPANPnBxDEdYBSAkq0n4MnNePAuba+G+PBRGYWqaKz/LMyaDwMgxGe1JXvjkII/qrpcfxMtIxkrDTCF5F9gjnmgooB5ECQpqho9BrUbLdeF53+aI+wura1Hjpk4/5Zs7xOZxOJDdvniAkVgW+lI4ht/sGlSk= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 29e6ce63-d9f1-4b0a-8e90-08d51bc731ad x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081)(4534020)(4602075)(4627075)(201703031133081)(201702281549075)(2017052603199); SRVR:VI1SPR8PMB331; x-ms-traffictypediagnostic: VI1SPR8PMB331: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-exchange-antispam-report-test: UriScan:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(3231020)(6055026)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1SPR8PMB331; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1SPR8PMB331; x-forefront-prvs: 0471B73328 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(39860400002)(199003)(189002)(24454002)(82746002)(6246003)(6116002)(305945005)(25786009)(7736002)(6512007)(106356001)(66066001)(53936002)(102836003)(105586002)(189998001)(81166006)(8936002)(53546010)(8676002)(86362001)(478600001)(14454004)(36756003)(5660300001)(81156014)(316002)(2900100001)(76176999)(50986999)(6916009)(68736007)(97736004)(54906003)(2906002)(83716003)(3846002)(2950100002)(101416001)(54356999)(5250100002)(4326008)(33656002)(6506006)(99286003)(6486002)(3660700001)(3280700002)(229853002)(6436002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1SPR8PMB331; H:VI1PR0501MB2045.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 29e6ce63-d9f1-4b0a-8e90-08d51bc731ad X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2017 16:41:08.7130 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1SPR8PMB331 Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: fix adjust priority for drop queue 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: , X-List-Received-Date: Wed, 25 Oct 2017 16:41:11 -0000 > On Oct 25, 2017, at 1:25 AM, Nelio Laranjeiro wrote: >=20 > Drop queue should also adjust their priority according the most specific > layer in the pattern they are matching to avoid dropping all the traffic. >=20 > Fixes: 8086cf08b2f0 ("net/mlx5: handle RSS hash configuration in RSS flow= ") >=20 > Signed-off-by: Nelio Laranjeiro >=20 > --- >=20 > Changes in v2: >=20 > * Reorder the if, else if, else statement to improve readability > --- Acked-by: Yongseok Koh =20 Thanks=