From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50082.outbound.protection.outlook.com [40.107.5.82]) by dpdk.org (Postfix) with ESMTP id 4BA101B28A; Wed, 27 Dec 2017 07:13:19 +0100 (CET) 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=DVF/TRXAHiXzS3vLkyxkATFKUH9vjZqDw9TfE59CDKI=; b=ABot++cx+4uAOQbtH7y3UkqxntexyFmspqkqc9MlUFQ5lG8rgHVWT/dX1oX5/TtcaiqmTeGu4Tj7YSHpAb6hlbKUsF+4Mg82WEZHRdmD2Ys2WiblbqvKC3OuTKshhr/YjCwMPMF1OO38ZP1DmAGLYF+inJEx63HDrQZjaKuXc4o= Received: from VI1PR05MB3149.eurprd05.prod.outlook.com (10.170.237.142) by VI1PR05MB3149.eurprd05.prod.outlook.com (10.170.237.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.345.14; Wed, 27 Dec 2017 06:13:18 +0000 Received: from VI1PR05MB3149.eurprd05.prod.outlook.com ([fe80::355f:857b:fdfd:afd9]) by VI1PR05MB3149.eurprd05.prod.outlook.com ([fe80::355f:857b:fdfd:afd9%13]) with mapi id 15.20.0345.017; Wed, 27 Dec 2017 06:13:17 +0000 From: Shahaf Shuler To: Shahaf Shuler , =?iso-8859-1?Q?N=E9lio_Laranjeiro?= , Yongseok Koh , "Adrien Mazarguil" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [dpdk-stable] [PATCH] net/mlx5: fix RSS key configuration Thread-Index: AQHTfhzgrc72VUtGqUqB+aaOtA+claNWtzgQ Date: Wed, 27 Dec 2017 06:13:17 +0000 Message-ID: References: <20171226074041.38030-1-shahafs@mellanox.com> In-Reply-To: <20171226074041.38030-1-shahafs@mellanox.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=shahafs@mellanox.com; x-originating-ip: [31.154.10.107] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR05MB3149; 7:zB1yZUelLpLH7wY9QZxxRiG7ExZScMJ+4EryALWITNAK5MfFrcUrQdAQigRFBUvkp6nx+1y+QKVnSg0JK982wcuH8REwnRLeSty5enyrG2NfXPyu7LM0yH4RO/LU3/JqiiEW8DH7YT5hCjDjrcYIKkmRZw2qChvwP/0rTu/st/qjT3trr1B+LPEw2jN/VoHwjLNYGCrvnokVVtZUEA0i4sbupufGZo7/748gNx1zJkpl+pg+HWf6mWO4TgyUPPbA x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 08d2e17d-e9ce-4632-c7e9-08d54cf0ec1b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(48565401081)(2017052603307)(7153060); SRVR:VI1PR05MB3149; x-ms-traffictypediagnostic: VI1PR05MB3149: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(8121501046)(5005006)(3231023)(944501075)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041268)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:VI1PR05MB3149; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:VI1PR05MB3149; x-forefront-prvs: 0534947130 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39380400002)(39860400002)(376002)(396003)(366004)(189003)(199004)(68736007)(2900100001)(33656002)(106356001)(105586002)(81166006)(74316002)(305945005)(8676002)(7736002)(81156014)(54906003)(25786009)(53936002)(110136005)(6246003)(6436002)(102836004)(97736004)(9686003)(2950100002)(316002)(55016002)(4326008)(229853002)(14454004)(478600001)(3280700002)(3660700001)(5250100002)(8936002)(2906002)(5660300001)(6116002)(3846002)(6506007)(99286004)(7696005)(76176011)(86362001)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB3149; H:VI1PR05MB3149.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 0XUp6LgaI99gmKZuo2FBKmyKjeqMsludycfcFWLhS8yUgEE3erMEfuvszwl5/09QlG8qY6hoXvLf0ZlqTOfCIA== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 08d2e17d-e9ce-4632-c7e9-08d54cf0ec1b X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Dec 2017 06:13:17.8648 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB3149 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] net/mlx5: fix RSS key configuration 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, 27 Dec 2017 06:13:19 -0000 Tuesday, December 26, 2017 9:41 AM, Shahaf Shuler: > The trigger for PMD to use the application RSS configuration should be ba= sed > on the validity of rss_key and not the rss_key_len. Otherwise segmentatio= n > fault can occur if application provide valid RSS key length but without a= ny RSS > key. >=20 > Fixes: 29c1d8bb3e79 ("net/mlx5: handle a single RSS hash key for all > protocols") > Cc: nelio.laranjeiro@6wind.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Shahaf Shuler > Acked-by: Yongseok Koh Applied to next-net-mlx, thanks.=20