From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0078.outbound.protection.outlook.com [157.56.110.78]) by dpdk.org (Postfix) with ESMTP id 38A65D009 for ; Fri, 17 Jun 2016 15:32:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=SmZqgN/GJkHIiusVRKyC+hBaUYS0S5XGtS5sGiu5d/g=; b=hUkQoB01eUz6210VUvJicW0TKcVEKL6uxjbcg0mR5Hys+aNa/PylSjA/OK81B7KJWUx9DmQMkx6q41ML/6q7BSlNuH+9UO5Ro1sJ26+SkXiFYyXmi+vldVxkyxd1IqlEsNdNiD8WZV0z0P6EXy+g4/Ll4DPHWC9+vhZ1rIC/8xM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain.localdomain (171.48.17.70) by BN3PR0701MB1718.namprd07.prod.outlook.com (10.163.39.17) with Microsoft SMTP Server (TLS) id 15.1.517.8; Fri, 17 Jun 2016 13:32:04 +0000 From: Jerin Jacob To: CC: , , , Jerin Jacob , Maciej Czekaj , Kamil Rytarowski , Zyta Szpak , Slawomir Rosek , Radoslaw Biernacki Date: Fri, 17 Jun 2016 18:59:44 +0530 Message-ID: <1466170194-28393-18-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1466170194-28393-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1465931200-23912-1-git-send-email-jerin.jacob@caviumnetworks.com> <1466170194-28393-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [171.48.17.70] X-ClientProxiedBy: BM1PR01CA0028.INDPRD01.PROD.OUTLOOK.COM (10.163.198.163) To BN3PR0701MB1718.namprd07.prod.outlook.com (10.163.39.17) X-MS-Office365-Filtering-Correlation-Id: 486ce417-d2a8-4e49-f1fb-08d396b3c80a X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 2:2qwWzDOPg1ZfGRq6k+HNiDlaOpI4WMQ9bOAGg0/706NXYkK+aA+SiAcdp6wIDWX4i4rCcP0/fjKNKPoK08YezIoBUrq9s8ijYPI8N4JgneveCU5SM+s8ANbhM3gGHZRT49JDu6ay9Izl9fdRUotN+BTKiEDMDDnXU3HRpBk7HVoKr8/4qeCkqtypMkT1X0iY; 3:UFKoTCThsqcymOZdOQ9J7FLESLAFsl01yvzZVz2ZgXJX1bAZgM0X3OEep0ByWV218BqmPm4/57+zOJFwMTZ9QUgjHH3oA4UHRuRmCjRkCgAfBluA+UH6j6R5BaOElaGi; 25:iw6zgejF3jA/S7ApjnOiPv4Zolw7bywCv4iGFIJ9Dfj+TR/w2JTjU1yGrlfREG6pLrKKT6T3M+vXqJmatWZNamSCXcvECHcPEP1vhh22AI4+rMqlrLfbIAgaMQbKxo+ZzZ64a1+n3et6RUcbvDg+yyQYoV/h2iAZlKmrFgANHrcwOBgbxx4wFYgqj3P03Shi0SgcNXIY4VP1YZhgO/xnmVj4XD+HHW2TPb7NHfS2yBwv8rLm9MUmJObAP9jIpSiyJamYrE9QpSkmNSRYY2/dojF0deWTbQwtl9c+C8qwuenRi0vNzpcrTFalrtzKO2l/uoVzWaYw/6guak5QQgUS+S/u15IdR41WuhJcxYVBVdccWOMEw1HKzNJtk0QE3oXBBBfGxU3ZUGdpPfb1xb8/XhFIZ12zlj1C6AxwETmFq3Q= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0701MB1718; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 20:nf+sviqlQDsimskchDxVdOlppJVHOGsM5u/vAM//Amtp3nrpf0+J4/d1x6n5w2MZvqDeRA7FMi3YwcDc7MEbok6NAti86lHWl439QeAU1yXM21k78DICISyp/Mk2ihfm2o4h5y0JwULnV+0HGPCzwk1JTNFYiPUd7zjT5LPgdBsHeAQ3MIXMOJeukK7HnoNSCw3DBquMbZK5Onx6Un1/cVvTbh5nkC/01KOrjDOuv99bhUySDvKzmIFULbsxFFnHbDKNJXrwMb2+4240FWW8tKUN5PVQteE6iDdpxNjmGZ73l3/K1n1dzuGEf+J5+5hJ62bz8Z5gbve/DbeLlIshl9O7JnNepIfBeoJdEhkmul9ickBH2UY8sGFnnyhmSdtjKgEUyob7/0XCjfgqIaOZzPsZsFD53Wlm70bNPn5LSiEDchatxYrCxYbR5oqnqdda9JRQbtKjzbJDSJcMtnOc5X1oN/1niBW32PYHP7IP6tKvDNcXqnmFIuCMmWqoGl43H/oWZ2huqwVUameNSuJPHiDCjt/7P+LD5DIpLcAUxV8CKhjUXoHStQU848HdsW0ud4RiUN5DW5Vacu+ICQ1GjZVqqtD+9iJz6iH8JbWvvuQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:BN3PR0701MB1718; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1718; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 4:ZJ2grZ+pRDonlR6HSYo7W4VwibYB6JWsJQpOTgcKAGbm1KpeNEEgMPPFKI49zjCmtOKORU9IYBxg41AogfKIVhkBdAA7/SOoqSydlG22FTAdS7XG10JnCqGxx1EIfsQ7Pta3nC1tRhl+xGcGRfs1BWMRbiIY9snL8FSegqScvS4e+wDGIizFC9zSbCMD72Yhi5ftuia2q6PznnkhW93iKn8LpZ/tjyNa3ifqls4SU1dK92IxvW2BV1Skye9AbMX8mkdWRr9ibE2MBqkWK9hn60WN+B4Dz2HZc9g0cZslPM+2/Vg1mn8Lux+nzqtNCpFc6V4RhcknjQEsF3CJ5APGh6sb078nFCDHqvh22Nw6+bYb/iQp1ldAaynIdZwYbnHM X-Forefront-PRVS: 09760A0505 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(199003)(189002)(48376002)(19580395003)(68736007)(2351001)(47776003)(229853001)(97736004)(19580405001)(586003)(50986999)(110136002)(36756003)(3846002)(66066001)(92566002)(105586002)(189998001)(76176999)(33646002)(42186005)(81156014)(5004730100002)(101416001)(50466002)(2950100001)(5003940100001)(4326007)(5008740100001)(50226002)(2906002)(6116002)(77096005)(81166006)(8676002)(106356001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1718; H:localhost.localdomain.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; CAT:NONE; LANG:en; CAT:NONE; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1718; 23:ASUY/s7Xui8YI8M6lKkSKWduLWDDPeOQZUhPIGC?= =?us-ascii?Q?E48HhyVV37eWkhX6osuaWppcgPObQxOGrU+7oCuZr/yZ6tlK2TROojQ/UyWp?= =?us-ascii?Q?CzmV8XjrQTJ91+8K3jVDI0Ktu8BrFqDjIQupm1BVACXQgGZrAsr8wYXi+iFU?= =?us-ascii?Q?4Kj2oiPMzztQS/Mrtdb8wpbfXnRvlW+8GJLJjJDgCm0bsZiqu+e3M0NOEjzB?= =?us-ascii?Q?buaG0WZ0NhkCIK5xN7Vbz7oKrt9LZ+5+XW5U186v9F+z8loBcB7ZVNSetit5?= =?us-ascii?Q?MzuXFTrQdOz3s25Nz1Lp+beB6FTzpAoC030UJKHlA2Eu7QvXfaj6XME83AH6?= =?us-ascii?Q?T9WLaVi4notGbxcV/uLtVkbnajGJ1BS9pYKAOmrMHkwV89xWy94F3zwFt45f?= =?us-ascii?Q?yFtb/juVNzFcOYsnSPxVoroZL35FT/Ug734PkqOdVK0x2mOYPafF/PVIvcIU?= =?us-ascii?Q?bWXzC5zNH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O3LFUdTZOz0I=; 5:kLR8cDopgIozrgw5t4ArJqzxg5waI8kmMz6ryoKk5PvIQowcCgwSq1yybDggC0vULXdX9W355BGQduz4nPReF0EqtP9emYjI881NFMryg8qQPt3HDIyurm+FDTF1wmGEWYcMX3XVV8JIxdKHKHOywA==; 24:uTvPs71TlGa3N2RQcmBDK7fdzkfwdPXWWhwTgZv3CxtIcllR3UST9Yx9WRaKFpEMzMGqCY35ab0UhZoo95RgQFmab038XG8XZB6AxUb4Ca0=; 7:1wNKM3jeZ9wreCQxYSv+C383yIBv8PtGlQBT1ifNivwW9iF9XiAsRwA7Oxj9d6zFAQdv+u7BCfZbK9DWI40g85Q/87U9u9P6bTvNmbwCwXxzAq0i7MDEJ5Sq23B0euNEPsIfA8boUx1IEOJrrQMqIfILlfmr+kZHyby39yKvT5KG19Cje0MjH5HP2YCUrzMnt8xyTRXVk8QhVlx6BFv8Vw== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2016 13:32:04.9468 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1718 Subject: [dpdk-dev] [PATCH v6 17/27] net/thunderx: add promiscuous enable support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2016 13:32:10 -0000 Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki --- drivers/net/thunderx/nicvf_ethdev.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/thunderx/nicvf_ethdev.c b/drivers/net/thunderx/nicvf_ethdev.c index 65b14c8..9c95ce8 100644 --- a/drivers/net/thunderx/nicvf_ethdev.c +++ b/drivers/net/thunderx/nicvf_ethdev.c @@ -211,6 +211,12 @@ nicvf_dev_get_regs(struct rte_eth_dev *dev, struct rte_dev_reg_info *regs) return -ENOTSUP; } +/* Promiscuous mode enabled by default in LMAC to VF 1:1 map configuration */ +static void +nicvf_dev_promisc_enable(struct rte_eth_dev *dev __rte_unused) +{ +} + static inline uint64_t nicvf_rss_ethdev_to_nic(struct nicvf *nic, uint64_t ethdev_rss) { @@ -811,6 +817,7 @@ nicvf_dev_configure(struct rte_eth_dev *dev) static const struct eth_dev_ops nicvf_eth_dev_ops = { .dev_configure = nicvf_dev_configure, .link_update = nicvf_dev_link_update, + .promiscuous_enable = nicvf_dev_promisc_enable, .dev_infos_get = nicvf_dev_info_get, .mtu_set = nicvf_dev_set_mtu, .reta_update = nicvf_dev_reta_update, -- 2.5.5