From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40087.outbound.protection.outlook.com [40.107.4.87]) by dpdk.org (Postfix) with ESMTP id 716865F17; Thu, 11 Apr 2019 11:06:04 +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:X-MS-Exchange-SenderADCheck; bh=tX7MVyNzvPKqV2X9g9/7Cc2Nnbl+FL2KeSEV4pyQBsA=; b=Ff5IbRdICQSrfFM3t1+3UiieFJ63YucmhFluS7aqS+mvXb5dykNYb65xFkuC5ZwCOtgbhh88WBXEv6A9wV7MveCSjBe/LRVGxqbnBEj4/qYGu/63UJUoVGUQl3aKXmdZaJEKzemVToe6DsR7y/9Gz9hKC97ZyYUMsS9Y+G+loJo= Received: from AM4PR05MB3425.eurprd05.prod.outlook.com (10.171.190.15) by AM4PR05MB3443.eurprd05.prod.outlook.com (10.170.125.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.15; Thu, 11 Apr 2019 09:06:03 +0000 Received: from AM4PR05MB3425.eurprd05.prod.outlook.com ([fe80::5df0:22de:97f0:3827]) by AM4PR05MB3425.eurprd05.prod.outlook.com ([fe80::5df0:22de:97f0:3827%4]) with mapi id 15.20.1771.014; Thu, 11 Apr 2019 09:06:03 +0000 From: Ori Kam To: Yongseok Koh , Shahaf Shuler CC: "dev@dpdk.org" , Ori Kam , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix RSS validation function Thread-Index: AQHU8EXJpUtiu/pSTkutR82VCSy/Eg== Date: Thu, 11 Apr 2019 09:06:03 +0000 Message-ID: <1554973447-3009-1-git-send-email-orika@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LO2P265CA0414.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a0::18) To AM4PR05MB3425.eurprd05.prod.outlook.com (2603:10a6:205:b::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=orika@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 1.8.3.1 x-originating-ip: [37.142.13.130] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0425e55f-9ef3-468e-c6aa-08d6be5cec1a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM4PR05MB3443; x-ms-traffictypediagnostic: AM4PR05MB3443: x-microsoft-antispam-prvs: x-forefront-prvs: 00046D390F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(376002)(396003)(346002)(136003)(199004)(189003)(106356001)(54906003)(3846002)(6116002)(110136005)(256004)(6436002)(25786009)(99286004)(85306007)(5660300002)(6486002)(66066001)(4326008)(450100002)(53936002)(14444005)(305945005)(6512007)(316002)(71190400001)(71200400001)(4720700003)(6636002)(7736002)(52116002)(36756003)(50226002)(386003)(8936002)(2616005)(476003)(2906002)(186003)(102836004)(81156014)(8676002)(26005)(81166006)(486006)(68736007)(6506007)(478600001)(105586002)(97736004)(86362001)(14454004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB3443; H:AM4PR05MB3425.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: URsebdw2yLcA87egovmIrLS+4WI4vTSSztbgudiFpBfuCUGh40KwHh/zH6OfctsIirEbVubD1btm2G+vB/o8l55yRHDJy59lV/+mQAQVD7GykMmMxoNxfDfEOiiEgZVlBuIlP579shBz13DRnY475y7jeXy4Y0jkYwVxorXFlFsZZ32fQHC5OoECwfsGieEXZLvUrZvtM6qekiZIMFEtXNQfOvAQMQhKrCdiJ1K6qTyOvOeQ5SWhpeQnxRk6TrfmOfw9rb4A9bDGJtByHKNaGA9RESy/ltaldtOAnkw9XDoBidthBF6fFe90c67G3QzGyqdF/9ShAnYieeLehxeRha5MWUuV57UU0WJYxjX/bHdBSfJx9SdQMy2Iw2t57OmgKHc3pVh0766BWJVJmFvtoXBsCrAkbwQfcH7vUc/kc5g= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0425e55f-9ef3-468e-c6aa-08d6be5cec1a X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Apr 2019 09:06:03.1553 (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-Transport-CrossTenantHeadersStamped: AM4PR05MB3443 Subject: [dpdk-dev] [PATCH] net/mlx5: fix RSS validation function 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: Thu, 11 Apr 2019 09:06:04 -0000 VGhlIFJTUyB2YWxpZGF0aW9uIGZ1bmN0aW9uIHdhcyBtaXNzaW5nIHRoZSB2ZXJpZmNhdGlvbiB0 aGF0DQppZiBSU1MgaXMgcmVxdWVzdGVkIG9uIGlubmVyIHBhY2tldCwgdGhlIGZsb3cgbXVzdCBo YXZlIHR1bm5lbCBkYXRhLg0KDQpGaXhlczogMjNjMWQ0MmM3MTM4ICgibmV0L21seDU6IHNwbGl0 IGZsb3cgdmFsaWRhdGlvbiB0byBkZWRpY2F0ZWQgZnVuY3Rpb24iKQ0KQ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dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 1CB3AA0096 for ; Thu, 11 Apr 2019 11:06:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8E5665F24; Thu, 11 Apr 2019 11:06:05 +0200 (CEST) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40087.outbound.protection.outlook.com [40.107.4.87]) by dpdk.org (Postfix) with ESMTP id 716865F17; Thu, 11 Apr 2019 11:06:04 +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:X-MS-Exchange-SenderADCheck; bh=tX7MVyNzvPKqV2X9g9/7Cc2Nnbl+FL2KeSEV4pyQBsA=; b=Ff5IbRdICQSrfFM3t1+3UiieFJ63YucmhFluS7aqS+mvXb5dykNYb65xFkuC5ZwCOtgbhh88WBXEv6A9wV7MveCSjBe/LRVGxqbnBEj4/qYGu/63UJUoVGUQl3aKXmdZaJEKzemVToe6DsR7y/9Gz9hKC97ZyYUMsS9Y+G+loJo= Received: from AM4PR05MB3425.eurprd05.prod.outlook.com (10.171.190.15) by AM4PR05MB3443.eurprd05.prod.outlook.com (10.170.125.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.15; Thu, 11 Apr 2019 09:06:03 +0000 Received: from AM4PR05MB3425.eurprd05.prod.outlook.com ([fe80::5df0:22de:97f0:3827]) by AM4PR05MB3425.eurprd05.prod.outlook.com ([fe80::5df0:22de:97f0:3827%4]) with mapi id 15.20.1771.014; Thu, 11 Apr 2019 09:06:03 +0000 From: Ori Kam To: Yongseok Koh , Shahaf Shuler CC: "dev@dpdk.org" , Ori Kam , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix RSS validation function Thread-Index: AQHU8EXJpUtiu/pSTkutR82VCSy/Eg== Date: Thu, 11 Apr 2019 09:06:03 +0000 Message-ID: <1554973447-3009-1-git-send-email-orika@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LO2P265CA0414.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a0::18) To AM4PR05MB3425.eurprd05.prod.outlook.com (2603:10a6:205:b::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=orika@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 1.8.3.1 x-originating-ip: [37.142.13.130] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0425e55f-9ef3-468e-c6aa-08d6be5cec1a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM4PR05MB3443; x-ms-traffictypediagnostic: AM4PR05MB3443: x-microsoft-antispam-prvs: x-forefront-prvs: 00046D390F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(376002)(396003)(346002)(136003)(199004)(189003)(106356001)(54906003)(3846002)(6116002)(110136005)(256004)(6436002)(25786009)(99286004)(85306007)(5660300002)(6486002)(66066001)(4326008)(450100002)(53936002)(14444005)(305945005)(6512007)(316002)(71190400001)(71200400001)(4720700003)(6636002)(7736002)(52116002)(36756003)(50226002)(386003)(8936002)(2616005)(476003)(2906002)(186003)(102836004)(81156014)(8676002)(26005)(81166006)(486006)(68736007)(6506007)(478600001)(105586002)(97736004)(86362001)(14454004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB3443; H:AM4PR05MB3425.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: URsebdw2yLcA87egovmIrLS+4WI4vTSSztbgudiFpBfuCUGh40KwHh/zH6OfctsIirEbVubD1btm2G+vB/o8l55yRHDJy59lV/+mQAQVD7GykMmMxoNxfDfEOiiEgZVlBuIlP579shBz13DRnY475y7jeXy4Y0jkYwVxorXFlFsZZ32fQHC5OoECwfsGieEXZLvUrZvtM6qekiZIMFEtXNQfOvAQMQhKrCdiJ1K6qTyOvOeQ5SWhpeQnxRk6TrfmOfw9rb4A9bDGJtByHKNaGA9RESy/ltaldtOAnkw9XDoBidthBF6fFe90c67G3QzGyqdF/9ShAnYieeLehxeRha5MWUuV57UU0WJYxjX/bHdBSfJx9SdQMy2Iw2t57OmgKHc3pVh0766BWJVJmFvtoXBsCrAkbwQfcH7vUc/kc5g= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0425e55f-9ef3-468e-c6aa-08d6be5cec1a X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Apr 2019 09:06:03.1553 (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-Transport-CrossTenantHeadersStamped: AM4PR05MB3443 Subject: [dpdk-dev] [PATCH] net/mlx5: fix RSS validation function 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" Message-ID: <20190411090603.jrU_5-adOn4BxmocD0iKe1es2xR4G_Yb_-mOtYYBIwY@z> VGhlIFJTUyB2YWxpZGF0aW9uIGZ1bmN0aW9uIHdhcyBtaXNzaW5nIHRoZSB2ZXJpZmNhdGlvbiB0 aGF0DQppZiBSU1MgaX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