From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0064.outbound.protection.outlook.com [104.47.0.64]) by dpdk.org (Postfix) with ESMTP id 2BA343B5 for ; Thu, 16 Mar 2017 23:41:11 +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=iNwv3lttgBnoFMaoBExoiyiiWgpSK6DPySca29uhQ/Q=; b=wdkt4PgNcA0Wa1bAkPVmDcT4XYmjO2wdcZXmtR83gBuizyWbbM3FgWO4h7C6mw+6li9H36Xr6792apFoWKOXcxqu0Vj8Y9ukhfQCFxsgRqO0IHNCe2wo1gsiZZRlMsy1dQ6C65hUSnVAzfxpg0qUKYZ8AJDSQrMSXJt0AqsaH44= 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.961.17; Thu, 16 Mar 2017 22:41:08 +0000 From: Yongseok Koh To: CC: , , , Yongseok Koh Date: Thu, 16 Mar 2017 15:40:53 -0700 Message-ID: <20170316224056.19685-1-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [12.250.235.110] X-ClientProxiedBy: MWHPR01CA0023.prod.exchangelabs.com (10.168.201.161) To VI1PR0501MB2462.eurprd05.prod.outlook.com (10.168.136.13) X-MS-Office365-Filtering-Correlation-Id: cc725530-f94b-43f7-5d1b-08d46cbd8ae9 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:VI1PR0501MB2462; X-Microsoft-Exchange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6Pa9eqrcmz5ScPoLwP88lyXmnfY8Solug+givK/k+HhJcwOtuXNvM=; 20:JJetkUnNBXxu0WnPd914mmsE+fe4CJhVO3VVX+O9Ic2q6au/cUq0ps//nULg9RYGSaX0SPJ8fbGeMye7kSGq4eLG4b+MT0/8iL+WPPVa11FFh9u44wEcLXn2MIvSf3D+5RyLkG4ehXGZs50QqF8e1qaixVulWMH6aVnouaURQ4umUDnNiVkqzt23nEvDSpaMdnPpaPqpLB/xQMqxA43UydFgS0BFkeb526wCSTj99C4X2qWAeLgvqTUFvWPFZvGSTMueMiXR7+ltCNPd93WNjioQiQHAGmSK5fn5WZHZUyCvLDIzqKpf7l7YowxOBdaHmKBWS8IEhgF8y+LkXBBB11B1aMNCtDQeb56tKYJO2rsvRv6BFzrPExLhSX/nqEufCHWiQait/dA75ojRGPY3S1/a7uV1Fi8V/it0yZFTk/eyxl/NgjhIPVX9HDEVKndM/k1KDf+PyiDdBW2wb+t/fmJsiJ4xmE4KQ42nE7zJjRlgOYu221WLA0mXM2VDhSWJ 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)(3002001)(10201501046)(6055026)(6041248)(20161123558025)(20161123564025)(20161123560025)(20161123562025)(20161123555025)(6072148); SRVR:VI1PR0501MB2462; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0501MB2462; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2462; 4:a8ZZTeIQxR0GmjfYFIPSlme/JE2F+x6Yjfg327/esK+kLY534hGzaCRpgnWkVXs37wbAZvHlT4QVP+QgBLDCSXDfJYfzYnDEVkLNm1DIKDQYYvSs+aaLlpbGKBWe4pgRvSMbSyQW8OwDArKRBjBae2hw/x2jrIF9bbGaGiNNXdEfWLbqPpgR2OPqPtAv8qU0g9gJ4K67PE2wp+jAY2RzNiWouH/i1jj8HfSeFCmMPw9ar4Ih9/EnAJAbLFw7Nx943lmvOgF9fU2Pp3wBt0sS0ir/t5q4gjeiDltwazvavFh9hLnXkb5QlyKp5ZQ5uNvXr7hneLHIYAac6XEsuyswYTa7KMOzRbk9Gur0/DTEmdJwlLe43ku8nTjY9PmF8Ci3QXI7Pe/PZl1Llz2n/mjildxyzmVaH3KFwwmFeDRiu71i12p/+PU0e8cg4fA9q5BPixvdEJXL1UcMyFcWU7uQI9O+tsPpY70ws8wbfAbEQW4sRVlHOm1ZVHAA+A6h98Dljs2WxkmJhPngSJ6Psg44zUyEMSpQsutBY0BO7LXFzGGtM+yxDPmrDlZ3idwN7uDjfzuaGln5JHNIbJ2C1JcNbDphgA+F6p49IP/2XMgKKHpqrdgPfY5h/BDXR7zrmk0i X-Forefront-PRVS: 024847EE92 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39860400002)(39450400003)(39840400002)(66066001)(6116002)(5660300001)(6666003)(4326008)(54906002)(107886003)(50466002)(110136004)(2906002)(38730400002)(53936002)(81166006)(33646002)(1076002)(55016002)(8676002)(86362001)(7736002)(33026002)(50226002)(50986999)(189998001)(25786008)(42186005)(305945005)(47776003)(36756003)(6916009)(5003940100001)(2351001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB2462; H:mellanox.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2462; 23:ZJ3VBFEoV0ht/MP3Eimc56grpV8DemAgrIdY9UBPM+/CDgy2RcmhKZBLEI8ZUZ2uQNRBPrVDgheSYjI/BkUzWAEgXvdTyfiVS7+4eB4whD9qYtd7hiNQkSrtS4NSuNnJBtwdlEbKvxNnKAzWp9OqHZ3E/drNL9LEtGwrJ8BWWJ5o7wc1bWedLRHPzEdSuOt9erVwSs5aONGrWDaNW+Afov6A8W21tJRQr7dsQ4gke5o8GHGt2eW28ZVmLI9lafy3+o6ZMJZ7T0rjGzpQN2blo+v3P1ITJpyD+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h8cJKF6dykCODyxbBq9gDd7S3vDA=; 5:6wQOjVUDWFyq/VsDIjLfXpq7dSrQYosrGSFoIliAJ/5xn2N+TKlam5z8qt+v1lh7aAYwcuh6up+/JlVV21PD+qZdKbfi+CD9YCTrybYjFiypAG1rQksnFX0IRuAk6+DKfePPNu5Z1TjgQV1s9CdAMw==; 24:++d/FzIiL2lfjrJ/URYbQ3DX6CHqadkyUf2HSDA/AS+7NsfMYpajExVaeUvcGyW97s5xlNiQpCWSUA0mtEMaUt40HLqrXNPAk0Nk5bdbMZ8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2462; 7:WzlGB72uKPikcC/LOhhwUP9Mo15WDttOT2JQWDZfv9zs+zDEVO/xN3eJU1YY4jtAlx0dRpGOHI2bbczMlRKvsHB9+jeujjM9n1WT/p2Cs0op058XHuurEKe/aVafxq+YiE0cLMVpfjho0W8zy7HjcUjY9iX65ZdJfAf4s31kn9o3z20Y5R5skvqhKWEiaWeGOZJcosCHfrG2WVx62/dAmn9G5PccdA7LRtQ2qj2Z7wos6pY/7yL2BY5IGWCUgYLv5ncz9c0jANEcpmc1jscz9U12WO6DdtbkrafY2FH7QWotr0kp5vlNB+71bRyKVtBq8rNd8+qIfZSJQTdEjaTnrg== X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Mar 2017 22:41:08.8199 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2462 Subject: [dpdk-dev] [PATCH 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: Thu, 16 Mar 2017 22:41:11 -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. 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 | 16 ++++++++-------- lib/librte_ether/rte_ethdev.c | 8 +------- 4 files changed, 14 insertions(+), 22 deletions(-) -- 2.11.0