From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30068.outbound.protection.outlook.com [40.107.3.68]) by dpdk.org (Postfix) with ESMTP id 6F3EC5323 for ; Thu, 29 Jun 2017 01:05:23 +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; bh=31jDXmjvFsD+/naFTcVwOSElwJ9RbU4EvssYjs+eD2Y=; b=jFeUA4zzOJkoo8yDaGKeOIVk7gMBbrGpqQMGaqBeClHqFahcDxONjE5aI7vlwmLxTEUYUrtIBxpmmAJXqZH3VxRntOSBuiGieSSTrtR0hR9quZM/9qXPKxhHGiy/ksH0EESOqIYE1fQS6SxQ4C97w1xJZSRbXDSvyomerEx8hkE= 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 (209.116.155.178) by AM5PR0501MB2035.eurprd05.prod.outlook.com (2603:10a6:203:1a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Wed, 28 Jun 2017 23:05:21 +0000 From: Yongseok Koh To: ferruh.yigit@intel.com Cc: dev@dpdk.org, adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com, Yongseok Koh Date: Wed, 28 Jun 2017 16:04:02 -0700 Message-Id: <20170628230403.10142-5-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170628230403.10142-1-yskoh@mellanox.com> References: <20170628230403.10142-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [209.116.155.178] X-ClientProxiedBy: DM5PR21CA0024.namprd21.prod.outlook.com (2603:10b6:3:ac::34) To AM5PR0501MB2035.eurprd05.prod.outlook.com (2603:10a6:203:1a::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5ecfad64-ee2a-4d09-f5bb-08d4be7a2780 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(48565401081)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM5PR0501MB2035; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0501MB2035; 3:sme+3pGNmv2zKScB06B9rIE54675haLzoUUvD77ZC/ZfcuhjEUkRApsX3LHMmu9oF43sgL3kEPOJV2gLwu8fbIqeaR/ZsPXFTolSMvFb0AGFAHiNdPSAz1OKLB9CZRyFALY+XsQU8IXMN+eVq7trwIsLfyWGorc+MLZ4xC/pgvLZ86rgBby+rH0DMp6wDMS7gRHPEo2oKPFGV6DZDwNA9NjDDwZgf0UhMKVB5pqWjiOCHjriu3XbtC/JX7ETdneTXJKp3b2Z717RHUZaTa/eNfrME24A/9CYa0Dya8vU6mHOmActUMmIKNaQbdSy8n50cAXk2Pr/Wf/r+FNzEbGWOU6Wmn350pS4prTl6uFh6AR+djEYogg6r4evk+bIJVzYtmcjPAXS7Va2QW+1F7p4W6vlMnhHcTk9HHslc7HhVj//+e/eIfGr2wduFZsQwwNR+pMw3DsK9Pw0U02MSh7rdp3yjdLlFoaYaC00pWN61r5ZcpFjeWuCDGzdERsQ2KJ22BJ5kYFxMzqYtbYggydMCInkYMVpDx0sqoOZ+bbiMEk0Z8auSvfyu1IH7k+mH1l/RJrZCN5sYi604w/Rwln1i+6eP3FmIf9bIhSpV8rIOMfzhNV6bJJYCrgY+gHScPCnqOpknU+doD8DT5+GDjoOyDzJXuf7402cc8aYQT0rUihAQkQqeDKKm579CInG4+O3wfuGQqaawv1u93hV6Npd8JaBpHPeGlg99lehJhc00tTRo4wZZpyKNpNHO/D+GOScDPRtlNuwQBHjY+Uo3Q2CQg== X-MS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JMM7nEN5cdjQ9PIDBU6jJbjyF2H1+seSXSqVkcMcfLcKHHA27xER2eUevd2hA3CiSIkffOfFT7FOQ9vofGK7oI4HMKnHanY6vtguijQQE+v+u1cBJd6JyLQSq1PkMhCLhrHVI0+fCFK+6Vn1Ve1AFYYvm7fMYgdQT6+ZADpyVNCsJAL/3WMvGff+e/ZKvW4iM+tPk4WpTpLE/9StNbXzWX X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(167848164394848); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(3002001)(6055026)(6041248)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(20161123558100)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM5PR0501MB2035; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM5PR0501MB2035; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR0501MB2035; 4:q6W/If+ukBzCkYIMmLhCjmomrwzAimExndJOOT/7?= =?us-ascii?Q?7XIFrILKMRDXhkyq0jJGxggHx7UZ6ry70pbAgFVK3ltMCSOuuTB3HPTkuhur?= =?us-ascii?Q?MILLpjAUoO5izn5GEXelh/qP0LB3G4Ux1WDzSNFgSYvezDtE4TOlO7XdT75h?= =?us-ascii?Q?6LW1DzouzTqbHhCg9M9+2OYorQ9OpLwh0U25Bx02PnQEVZtfsEDxTsPi84Et?= =?us-ascii?Q?HTZjxGPjkYuVbNu3gMo8CkkjFvmMLKy/hkg2tC9/nSfnc/7Nd6BAxL8dNdsK?= =?us-ascii?Q?nrbDpmfT51tCmX2yJa5RMBnxb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-ascii?Q?qu2XVg6mS7H3QFJazk7V3L8TCEgn1XECRvR1DVN8nZfMsvAGkCFohUc96I/8?= =?us-ascii?Q?3KzlY7iDwXtYxlYBym8=3D?= X-Forefront-PRVS: 03524FBD26 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39450400003)(39410400002)(39400400002)(39840400002)(39860400002)(107886003)(38730400002)(50226002)(1076002)(3846002)(6116002)(7736002)(478600001)(4326008)(2906002)(6916009)(2950100002)(55016002)(50466002)(42186005)(6666003)(53936002)(5003940100001)(48376002)(33646002)(110136004)(2351001)(2361001)(189998001)(86362001)(50986999)(36756003)(81166006)(8676002)(305945005)(76176999)(47776003)(25786009)(5660300001)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0501MB2035; H:mellanox.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR0501MB2035; 23:2WPsxCYQafQT8MR1VG0nBW1vZk8MemrqVO/4UX+?= =?us-ascii?Q?z4jzV5VtTsxqumsuAcRdHNY3PsGPsAPNqYUIuJvXpLVRo0FTQ03Mal2ksZqn?= =?us-ascii?Q?4Z+G7r9DBO8kCUROUg61Lk5HZBpFv/vopstCbO/RbzdWywezRet8C1UcSL/g?= =?us-ascii?Q?NBADJV5bgv4envc5Pv1iZTNBPU+xC4W/WKEavJFV29h/rMuTNfpim5CdgmNT?= =?us-ascii?Q?nlxK8vUKqUMYWxgzxe5IBT+xS27Ekc6LKQB+X36D+ZNW6/iMH+1LWcEtotXR?= =?us-ascii?Q?OWwLYKFn9qXMm1pMUzSXoxUY/Vb1epjvPb9cOGKtEOIi8WipPgD1yEqtzl4A?= =?us-ascii?Q?ewSELojWRekwklAHfabOLKgC4yAkLSpYyjs8DVMT2aiBppKCtnAWHyHyGt+S?= =?us-ascii?Q?SSE5Je7T6nMDY0U4+VW4WVi/yKqAAsMOTAA5J1jURM0qVvEkZKCEQw0o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yK8eerdFiNzfLzTkCGBhItFYySAY2O0xopcWfWd2Ekf9oSzlQc0J?= =?us-ascii?Q?W8u7mSaSHLRDs9FBjEwiZ8fI1mfusimuRIleRD+H5wWGEH5G3TETRFUvjaOT?= =?us-ascii?Q?JtWb9dr6EdtuKBxJ6az8Snl3VihCkievYfocbVxubdI/ZrfU3gql/LIaHyXt?= =?us-ascii?Q?1geE9BP/p77jLEjOFV73VfXV85OrvvVv8bhf6S/b5jpqrcvl8v3XScbIZVfx?= =?us-ascii?Q?TkHQbl6AwpCjirNZMS1x7gy68k4cFKSFcDHG7bWjLYJH3kYY9SLVafTJvYcz?= =?us-ascii?Q?koziLVvlKc8HtRsXaVuTihChhNuIOZQibsKVuO9WQPC8eKXeU/JWz4D9DYPP?= =?us-ascii?Q?TD8K4nKClwjO/sHiptTWRfkAjPU987LC0XV14jbs75+8iVYqQjSS1vKQ1uRX?= =?us-ascii?Q?opv0at+jStQpxX2f7HhpbT2iNzZavYzhxafAnfL0TjKD8bauYZnK0ZkwBOgo?= =?us-ascii?Q?T2BGcRr7/BDiFNEjQFGK8vbxCgj/O4ExZ8Xdeu53osIvG+FUdE+47IMalmuk?= =?us-ascii?Q?yOhLVo/nZgb2NgsqoWjOvFc5UAFDMPAJ78tt4U6SnoDsQkTU0FaI6YpJClig?= =?us-ascii?Q?CItwyatqnkKLFRoqBOyelSJsWq0Y6IpTWcI8QVFK6V+KeykOheUfaA2opBla?= =?us-ascii?Q?LgquuOYpUvICyc3sMSbmLFCYSNcR6KTWBI6dwbW2O8I+5WVVZG5PBUnw+OiN?= =?us-ascii?Q?uMi8wyfV687XY3xn3arW+BSoC/cI7t+UuYABwwbBEOr9IYM7kffqCvkQxXBp?= =?us-ascii?Q?4GHgd+s27lYeZbC/fOy+VsAnxLZRKvwg2QvtTo0tcXgfX7St7Is65bcdpp/r?= =?us-ascii?Q?/O25NqNQWgloxvACrtJte8uJ?= X-Microsoft-Exchange-Diagnostics: 1; AM5PR0501MB2035; 5:MZm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tkf4GXjCGOGqxS/NvUzQN4liLNy+4TLcgOKhArFYk1x+xykk/qDJ1tH7cm3EC9nQq12QqaPNxf4DT3GssxNLs3thUl1ikg66p89AXmuPkFABScYwf3NnSLMbvmLYyi1Xb7H50WJBampkjTlG3ROfqaWFiLP/H+E2mFouVVGoz6tEheFa/Sgxi/WJkiiTlLOelsLoijdCw9n/9dOYnusTJ1dGid04ePp5ZCTwu3ypRMFxPyxkhuyFDGjNAx6ZnRWVBShXtPO97xhxQWqrYmW3jvzLPNG/4aU7C6v/anI0YX5joh/WMbW8DmCNjdAL/go6sMwYEgPwv38LS1giCOGuxRGCQHxIe9wpqUMrz3bIVcvUIwcs8pW5h7YUTvcl9paz/MGaXu2pCq0PjHTAGgnNgZ4IBRykgYv2mlmnPI94HQ6sktseU= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2017 23:05:21.3038 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0501MB2035 Subject: [dpdk-dev] [PATCH 4/5] net/mlx5: select Rx/Tx callbacks when starting device 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: Wed, 28 Jun 2017 23:05:24 -0000 The callbacks are global to a device but the seletion is made every queue configuration, which is redundant. Signed-off-by: Yongseok Koh --- drivers/net/mlx5/mlx5_rxq.c | 2 -- drivers/net/mlx5/mlx5_trigger.c | 3 +++ drivers/net/mlx5/mlx5_txq.c | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c index 22be999e8..98b20eb92 100644 --- a/drivers/net/mlx5/mlx5_rxq.c +++ b/drivers/net/mlx5/mlx5_rxq.c @@ -1226,8 +1226,6 @@ mlx5_rx_queue_setup(struct rte_eth_dev *dev, uint16_t idx, uint16_t desc, DEBUG("%p: adding RX queue %p to list", (void *)dev, (void *)rxq_ctrl); (*priv->rxqs)[idx] = &rxq_ctrl->rxq; - /* Update receive callback. */ - priv_select_rx_function(priv); } priv_unlock(priv); return -ret; diff --git a/drivers/net/mlx5/mlx5_trigger.c b/drivers/net/mlx5/mlx5_trigger.c index 40f23da93..595a9e064 100644 --- a/drivers/net/mlx5/mlx5_trigger.c +++ b/drivers/net/mlx5/mlx5_trigger.c @@ -72,6 +72,9 @@ mlx5_dev_start(struct rte_eth_dev *dev) priv_unlock(priv); return 0; } + /* Update Rx/Tx callback. */ + priv_select_tx_function(priv); + priv_select_rx_function(priv); DEBUG("%p: allocating and configuring hash RX queues", (void *)dev); err = priv_create_hash_rxqs(priv); if (!err) diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c index f0729a2a8..c2d6c303d 100644 --- a/drivers/net/mlx5/mlx5_txq.c +++ b/drivers/net/mlx5/mlx5_txq.c @@ -497,8 +497,6 @@ mlx5_tx_queue_setup(struct rte_eth_dev *dev, uint16_t idx, uint16_t desc, DEBUG("%p: adding TX queue %p to list", (void *)dev, (void *)txq_ctrl); (*priv->txqs)[idx] = &txq_ctrl->txq; - /* Update send callback. */ - priv_select_tx_function(priv); } priv_unlock(priv); return -ret; -- 2.11.0