From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0072.outbound.protection.outlook.com [104.47.2.72]) by dpdk.org (Postfix) with ESMTP id C5948133F for ; Tue, 21 Mar 2017 00:04:50 +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=cPhJBZ1s45zfN8OpltsPby8v/Xd7U5yK3hZojUtBhjA=; b=f1pj3OyvCnu0w39ayf20Qx35VZo2YBUO4giooA1vUa7ZPbpLMyYMzF4ElXNgyK7ptPg72FMf+9+fzoLLf43kYVWfYZhfj8ews8ac4ZerqRQBj/o/9pcoUCLUd9hUmsYYBKvkbkn+9BXkau0TNm3Vnt81+vSKebToQvkAoryNebA= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=mellanox.com; Received: from mellanox.com (12.250.235.110) by VI1PR0501MB2462.eurprd05.prod.outlook.com (10.168.136.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.977.11; Mon, 20 Mar 2017 23:04:47 +0000 From: Yongseok Koh To: , CC: , , , Yongseok Koh Date: Mon, 20 Mar 2017 16:04:32 -0700 Message-ID: X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170316224056.19685-1-yskoh@mellanox.com> References: <20170316224056.19685-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [12.250.235.110] X-ClientProxiedBy: BN6PR1301CA0021.namprd13.prod.outlook.com (10.174.84.162) To VI1PR0501MB2462.eurprd05.prod.outlook.com (10.168.136.13) X-MS-Office365-Filtering-Correlation-Id: 0990683f-ced8-4222-8fe7-08d46fe5823b X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:VI1PR0501MB2462; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2462; 3:dZwcHor0vtuYaKBv0ybq+B3FQRauBZQnHDuzmIzBjWmvG8gjpQbGyUdcZrDCoE/tdFlR9MzJG5pNUovaolalYArblJrWCF/+PZSm0P5nad3Ne2sinlSDLuboexxpZ2w4vkttXjDCxMqLCuU59+f4/qiaC2vJ7radJ62bnlPJXAdZ7LT1ZdaR5DAwEpZAQ7MOluiLbkab6lm3cQb9pAkjJ36niXAqacVfKTfalF7SWj7UGbLt6xPlvGrOOtewp7UwrhM+B+x2qkt9d9OMgWyQJ+pl+mXGoj0+wIWAoxxLnkk=; 25:8lB1EZdCwccxz4ptqJqq/ZIb1vi1EA6SdTUvIyCzWrBNGJW/MbSu0ochp5vIllEYlVLS3Xe6+OApAjpcFI7yeiSAkmhvjZX23TZH2lPlAP2UNm/+xwFMrw2R78nhFv3lXaiaygHAFNgVZpmBoLwlKbIhPNGAt4p5kvgkBEEaQcfttqYD5LkWCrogAPDZS1JaPnxOVGRGzW+Pm7+8yercNHUROwGMy08jMhinkSBqYWAedIW8q2SboxZA4QvBUUZHbnF6QLYySwbjBha5qzpF38BPEdf8dXK6f6SV7sfuh7KLLW66cbAS/Y+ECkC+6Wpo1fxt2Y19br+eGGqVLAaZfY5qdZrkxwBg1G6mVnHExINaVMgFH/Ljs+3VZnYKmrG6gJX856aG6t1c6b/k/VpA3cVHV/L4S+eRBVHYPlDfKx9oVvD3h8CuHc3rvvDn2Xxvj/TIZewg54+Am9RAbcQqeA== X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2462; 31:tQAr/6foW2/+eeVYXBdKUPs4o8aiX2rIafQFWtn/2xFGGDuJztNcxQuoTlyPqcu2FkBYLQyBW0jtj1WLlAnpBHmfg/QdeetZTcxJf7FQSu2eqHwPLPI1dS5DtyKTnEJRNlT+C/IPeL7eV9e3YRWQ8I24i2YolmcWeo6qVoDscly/Jx4eJ4pv4tKN/fTko4e7daMINvVrg+Q3cxaIV7MH6nVgFYAkybxDlsLNNHJLrEnldvtTbvK3UO8E1hh3vdd4X92jdJ8+kmVr1lETNSTH5Q==; 20:u+OUMrJoYXY2rzhhSriWpCedUoUhMVHe97Zt2i3DJU/VHaTIPT58T/J1bfGRoQ+DMywwdfNC6i7NtTCE2eIKFvBnbszyKBoQ6zloDjU5S4PZuhKtQW4PnvGyafUFhzjwB53tqG8/bIP/k/ttl4i7jPEaKzqN7LptwS7ZzOjcoVSl+HKnx+BJI2pZ5QYGtKnT66lJ1ajfct7xIurMs1Tb7X8aYkA2fVmpmpvsUIejvO8/cVyjWwGW2gHyF0feqqOVtSqYka0y/GJpWOUFn93YY549fBBlSC96JQufeX3dOv5cgs+Hg7+HSH2WClKbQRHx5bN9YB66XKqWPfenZTqoVpd/WtEFLdGPesFhI01BFWCf0MYHYJZGjn+2mbW4fAJf8OjcDbjTnKIJ3YtJAzb/rcYyW6fjJ8D3ofIAtMTIMx2ulAOeWbMCFCAGmDvOgjDoZCcG3NhY+czphMK3VF7XIdG8t+46KZcF7p3AJ44yrzxNM01yZ/Feu99vOJDVbo3n X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(20161123564025)(20161123555025)(20161123562025)(20161123558025)(6072148); SRVR:VI1PR0501MB2462; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0501MB2462; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2462; 4:l1Z6HcPtdmmgko1GGS5a0vEeqneJWbg4WbspJX2Xu21WlAeM3DFBV5Yeu7KMObZR1aQncbo8yI4ifcK/0Dm2YGlVRP3lVDye3PGyR+CFqYJ2osDMEyqX3j9tEshkZSo5bH34mvxrdLpJQ+03jmYmonYpw4jLOOBcOrXtbvo7CYQSIfIrs59ZWeSZuFeZHQR8FcqVKDLCb+Mo6apK16GxSyLS09gZ3bDAkq9GOX4a4qr80QrrBJ8Np/x/iwxaTqGLKrGfdcLeIouS8XVu2qeTRhF3iFqJrNGtr0m26jZ4qq8rZ+s1Pjtp2ACzesi72Fsd3WOjlnZy9gBvcNlWrZwiV7BSaPnifXAz4Sw9YTOpnjWL1p9woCugecQDexwV9OGjl3ZyJVC5JG73KyD+nV22s2jb8DIHpMF2awfFs5JZ0XzVmaMc1XpBppsIkoA/cyImhDj4dRzOhl4C38KxjkZocKD9Bso5HIdQpI9eyCVZm7IvYT6/WpiIsE5ACquxn+8PlXPqctfyCtAOlO0+AKLLS13WhwPLhq2CmzaFqzcK7rED3yPC4hGuTuNwaVeb0OjLr9T+v3mK3tKnol6sw9y1Dwd4uhcZsuxw5AvCGnm1ctkaMW3AD3ci0mADPxaRuTn3 X-Forefront-PRVS: 02524402D6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39840400002)(39860400002)(39410400002)(39850400002)(39450400003)(305945005)(47776003)(33026002)(7736002)(5003940100001)(5660300001)(66066001)(86362001)(81166006)(6116002)(2906002)(8676002)(107886003)(4326008)(3846002)(50226002)(38730400002)(53936002)(189998001)(6666003)(2950100002)(36756003)(54906002)(55016002)(48376002)(50466002)(33646002)(50986999)(76176999)(42186005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB2462; H:mellanox.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0501MB2462; 23:RvvBvfgN0patfqVswuZbHkr2emfYHGVe7JgIqMb?= =?us-ascii?Q?GtLOBFcpMyy1CEZSwj2vogFI1Zi24bRGVHy36+tqtoyewT0bkEdmo98VdM/M?= =?us-ascii?Q?zrt7OEIIZFVqP/B4nMX7Zr8u3TcxFs6F/3AhoKSl/6VZ1y9YK6Mqpko8QgJq?= =?us-ascii?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RjEzYUOO9ICwh0sucnIZFLZFw0Up6zaKqPiwb7/disUJk2nRrBOrYPnpj8JyKH8ifXyexP167A/Jzc6kgiVePCGD95D+ZRwLyal1hHPQIt+uPJn9wTjI8I3IE5BZ+3rC5AlMo64L3cL+D/oQ3g77imZYVTzrYq19c76eK3XTIVexkAGamwOuKO40t0+dzFKterpzU5LafHWKJZz6YAYgO5XMB2T/seFLGiFF5iBU3zpxxerLFox6AEv0ig44txxT2jdc4WnlACr48ewH9h5bLcds2nF6ryI6aZGaI2Se9HYSQAs6BJ9GWC1lODof29H2/LZR1UWGpiVPoqbgmbU5TzW79fGqtLlPPv9dUQC6iKGpuoPrqKFDsyt863fmCvade1rVlZBVhR1mYdbCuVhHFl4lGkgvnoUPyoE=; 5:F76DS0fBH2dgYZaJ7acMqLF2bqlptarmwOrmTHVVWn6/vZgajdW3C2lhOxdB0nVOy2h3GHW7OO2+8wkhn1biv2OCJfczJ1W8yRHeFHg82CJK2EHkeiFRifn0Fey89g+YwV/MdWtczjKw7W0D4L+h6Q==; 24:325LSNKKWNagb0R52VXBJPqhHStGrg3rHyEtTAuCWeT1bQkCt9WYtAyUT06CXOkOKwEiupxc1svHPl/9VGRWfoS9/QnK+1woMSImTxilDjk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2462; 7:2s+jK6GVKXfP0jj6Z9uPcW0ghyE4nOVmljnwIZP3GVsVYkHVE4bji036ORIJuLEumTVSJ11YYcC1OUKtC4nJC0+44aEjTGGma4PWgHh47jvvRhOUk3FX0uuPhIDl0OTVld1pCmoDhptR5Z8ytuaaig3UY3haqXQraUUnErgSEed/S5ynCtcEFs6sdCsDaXOgLbzxJVXt1qOIW6Vw22qqRjhWLaMiLbUgUKL8GXHIk94jBHtgQGoywGC9xMoplOPjLauft3+N8sqdF5uF9mP1GNviQSN2qCzqA50qpnCjnhQvATMeYjkyBt0SRTYI9zH63OD+2mlUOu6oqI9cgkO6Kg== X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2017 23:04:47.5436 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2462 Subject: [dpdk-dev] [PATCH v2 0/3] net/mlx5: fix updating RETA 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: Mon, 20 Mar 2017 23:04:51 -0000 Currently rte_eth_dev_rss_reta_update() doesn't work properly for mlx5 PMD. This patchset fixes the issue. This also enables testing the API with testpmd. v2: * Minor code change by review. Yongseok Koh (3): lib/librte_ether: remove requirement of aligned RETA size net/mlx5: use correct RETA table size net/mlx5: rebuild flows on updating RETA app/test-pmd/cmdline.c | 4 +++- drivers/net/mlx5/mlx5_ethdev.c | 8 ++------ drivers/net/mlx5/mlx5_rss.c | 18 +++++++++--------- lib/librte_ether/rte_ethdev.c | 8 +------- 4 files changed, 15 insertions(+), 23 deletions(-) -- 2.11.0