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 8FA69A0564; Tue, 24 Mar 2020 11:17:59 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8198E1C0C3; Tue, 24 Mar 2020 11:17:58 +0100 (CET) Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-eopbgr690047.outbound.protection.outlook.com [40.107.69.47]) by dpdk.org (Postfix) with ESMTP id E410F1C0C2 for ; Tue, 24 Mar 2020 11:17:55 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bj7XoscTYMfAgu8ZDzWjws3OTy0vfcmo7GxWNoYv5xX0hV5G9X1tkgdq5OM3Cxa082zYmwYD7oktwqasIqJ5SQu8z7G6F7sjnqzLe6uQqbf7JvFe5FS3E8CuamWO/86sx05t5AxOV79sumxYGQuO9TgxFbdKXHynmdE6F3BrGfL0UraLg1dM/+jYQzusKWbU6FxN63t94rXuE4KaNUgV/J/ptC71Oq2s6UC4k/kot8+B7NTNRjRkRxnw2PJPAxN0jD4rI5kbP68K2dS+rrxn8tJnKBm01/kDG4msQFS06ql+zspnxaVi+jHqxGnKq+nYjVE88BVGX7D54iWG966R+Q== 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=fYuoNpMIwJzfMrYbjRuMH/iY7Ys01NyMs7La42j4ryg=; b=cu38JKUkF+U7SMLYZfNlR83dEq3c9fEIQL+XUFKJ6ODpN+QVxmYHwTTFLYJUAsl7FjgkNGHIX3EA2FEkt4iTlL1RZjYYKvzMv63Ik/wLOccN/i116fcliiRUwwfzELeVtvAie4NVtHpv6f77cVcaOBV3eyz8es80m8SbUFJWoMOFVyJO6owKKasPFhcDzkYKzRNll2roq8UYlIMQKkKh5yd/XLVi7l3BYKhqG78DtQmhN5iHYawnXlZ0ZrPQBU5cMCyge7NbEz3Lv5C85LlN97IBl/fipB3fdVBtHehoPHCBv5CKAlSAp6UGvDCkRoGJ2sHhlQkRfSrt5oswlE57SA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fYuoNpMIwJzfMrYbjRuMH/iY7Ys01NyMs7La42j4ryg=; b=AYT1E/vRA6B/68ENjcNNbxpES3uEtu4cd68JFgoIJaVl7CgAEHOQPh117mIT7SWi6RZ2yDc/cNLg5yMAwL5sxULeXTzY0XTSodLVnmqMhOUdPuFnTwCYmN5W0Ux5c7NeQVUV2h5lronTUDem5ivrVqJ8zcCi+EPIJc1+CuIZkD4= Received: from MN2PR12MB3021.namprd12.prod.outlook.com (2603:10b6:208:c2::30) by MN2PR12MB3680.namprd12.prod.outlook.com (2603:10b6:208:169::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.20; Tue, 24 Mar 2020 10:17:53 +0000 Received: from MN2PR12MB3021.namprd12.prod.outlook.com ([fe80::31ea:b07d:eb37:203]) by MN2PR12MB3021.namprd12.prod.outlook.com ([fe80::31ea:b07d:eb37:203%7]) with mapi id 15.20.2835.021; Tue, 24 Mar 2020 10:17:53 +0000 From: "Namburu, Chandu-babu" To: Andrew Rybchenko , "dev@dpdk.org" CC: "Kumar, Ravi1" , "Somalapuram, Amaranath" Thread-Topic: [dpdk-dev] [PATCH v1] net/axgbe: add RSS reta/hash query and update Thread-Index: AQHV/qrUVRdh8H+fL0ytSI11UV8Mk6hXhywAgAAFfNA= Date: Tue, 24 Mar 2020 10:17:53 +0000 Message-ID: References: <20200320112914.18620-1-chandu@amd.com> <7eb245ed-5920-5e05-cc1c-63a5e92c8a04@solarflare.com> In-Reply-To: <7eb245ed-5920-5e05-cc1c-63a5e92c8a04@solarflare.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_Enabled=true; MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_SetDate=2020-03-24T10:17:48Z; MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_Method=Standard; MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_Name=Internal Use Only - Unrestricted; MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_ActionId=b20d49d1-2ea2-4aa5-a3dd-000056fdb446; MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_ContentBits=1 msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_enabled: true msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_setdate: 2020-03-24T10:17:48Z msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_method: Standard msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_name: Internal Use Only - Unrestricted msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_siteid: 3dd8961f-e488-4e60-8e11-a82d994e183d msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_actionid: add0051f-6d78-4bb0-89d9-000052cf2130 msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_contentbits: 0 authentication-results: spf=none (sender IP is ) smtp.mailfrom=chandu@amd.com; x-originating-ip: [27.59.147.219] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: e0ff740b-1093-4bda-44b7-08d7cfdc9d68 x-ms-traffictypediagnostic: MN2PR12MB3680:|MN2PR12MB3680: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 03524FBD26 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(366004)(136003)(39860400002)(346002)(376002)(81166006)(8676002)(81156014)(316002)(71200400001)(2906002)(966005)(9686003)(45080400002)(55016002)(5660300002)(15650500001)(54906003)(7696005)(110136005)(6506007)(53546011)(186003)(8936002)(26005)(76116006)(66946007)(33656002)(478600001)(66476007)(52536014)(66556008)(4326008)(86362001)(64756008)(66446008); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR12MB3680; H:MN2PR12MB3021.namprd12.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yiq3bXpQJmdW4zLsmIeJ2C/8aLWKil/zN8IbU5SyuPTLF39kb/s+dlitvHO9du6khnHdAby+sBF554wp5T0uZEoYfgi0NZRgd1tQYvqAs/PBm+Ny7p4eIbShKEh8jKY2FDxDncpjVRm0CopIGSjVVSyXiTTIGfcRCIs/jLwsIutKUUkuOvZUpQ+MOIJxcCk5Zsc83SjHfYkgko2HaLj568kQ8Sw6SAACeneauXUJXA6+K2GwsUBdXEtnE0hvvWrUQyDpnc9wUef4NQU2yhtuhvbPoUZg/zd4o22E8jAlFVNpNEulOa36nBNzszd/s262kLpQqCDxi0hVPlU8dPxeBXyki0SgArTTLBVasGFbjc6dGNkd4Mn2FOnmg8wu25bQd91M3UeGek4cDafvsCzQkwsyIWAhbvnqzikBeZAKTW1VVy+A7bz4Aluj4RLT7GtzGMv7DSh8mF0yOQ77q8AGWDaTBqNb5CT52OYgRSFF14d2GISsiIay76VUHyGEu9gPVBEmBKyHDk4GtrYNM2j0vg== x-ms-exchange-antispam-messagedata: gDyDzMlA2dZp2HpMypykkWY3mvNQXqfG1rov54SHYbPGGSW4UnqWytCEUNKVZpDDZ4DdYYc6wmbprxTRW8XGczaYHCF10+26nQk3GordqPlgBiM6jnFYWPEwV91az1bMeI8C/TvMQODiEJANhhWNbA== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: e0ff740b-1093-4bda-44b7-08d7cfdc9d68 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Mar 2020 10:17:53.4906 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6wKQWLF8jS+A/6FSuk+PM6twZmuRIaavzAk2MMKbsoFk9fq+VdU8QNdIENhBq9qlCpIzEXN9rpEDU880fugDJQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3680 Subject: Re: [dpdk-dev] [PATCH v1] net/axgbe: add RSS reta/hash query and update 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" W0FNRCBPZmZpY2lhbCBVc2UgT25seSAtIEludGVybmFsIERpc3RyaWJ1dGlvbiBPbmx5XQ0KDQpS U1MgZnVuY3Rpb25hbGl0eSBpcyBhbHJlYWR5IHN1cHBvcnRlZCBieSBBWEdCRSBhbmQgaXQgaXMg dXBkYXRlZCBpbiBkb2MvZ3VpZGVzL25pY3MvZmVhdHVyZXMvYXhnYmUuaW5pIGFjY29yZGluZ2x5 LiANClRoaXMgcGF0Y2ggYWRkcyBzdXBwb3J0IHRvIHVwZGF0ZSBSU1MgSGFzaCBrZXkgYW5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