From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50052.outbound.protection.outlook.com [40.107.5.52]) by dpdk.org (Postfix) with ESMTP id 9F89F4C57 for ; Fri, 30 Jun 2017 21:23:51 +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=Yl+UMg8oo24iEgt+odcATzbf5mf6ud3zVWc7cBlvjFI=; b=C7VNFLshHjGMtgFBTT7B4EHntvrD4sIEwFWA6wnFXyGb9CMRSjrheN3O+uNi7V5Vz5E0ThscXW1rFXplP02Rhky5fzoi1aIZoqs5xmxftUkxy1xh9U0cf1v5YvZvl8IZbJTe+Z2hpgyMJOj4TwZMYaP2RtgxvP7JvQ3V0eWMxT0= 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 DB6PR0501MB2038.eurprd05.prod.outlook.com (2603:10a6:4:6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Fri, 30 Jun 2017 19:23:48 +0000 From: Yongseok Koh To: ferruh.yigit@intel.com Cc: dev@dpdk.org, adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com, Yongseok Koh Date: Fri, 30 Jun 2017 12:23:32 -0700 Message-Id: <3ba42c1e789e2b930a07ca61517487f8374d37f5.1498850005.git.yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: <20170628230403.10142-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [209.116.155.178] X-ClientProxiedBy: DM5PR06CA0066.namprd06.prod.outlook.com (2603:10b6:3:37::28) To DB6PR0501MB2038.eurprd05.prod.outlook.com (2603:10a6:4:6::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: de6dc217-ba13-42ac-ed95-08d4bfed8954 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DB6PR0501MB2038; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2038; 3:TnLKRJQ/lBitYHqt8ofT0UlKGbJI/MVXB5N2M7N+LB4RP6vKy4qesvfkz+ebcrFub4ymgUOTbFvK6CAwXKM5057aXQMocI/6YvVZGtXs7AiWswTuHZPNhAcLkRZWHWA2w5bS7ZGANMGCRMmFgCjnwTpse4U8XNw+PLwnC4s6qGHPKFK+jPSdmy05yGB1+dPG2vBHP/SUP473oo33cM5DmYYYxgILITmj/5a9Nv5C7wcCpIACMS5IDcIHWbwPQNqe4vD73xfKTqD9PK/Bo1dGu0JJd/oIA5TvFNiW33BWEkTyKBlZhI9RD/xTchNvTB+q8nEDB9t/3k/8XUrZH5Te0TLKThMdOBfSgk5cpo/GKnuHKKr2X+RWOg9lSrl7BW4rE4apn5FjZobLgbDHqH+8tlxaG6yUskZY43ITlg8ww2P8+6kqBM5k6k8/k4SmWENBu+vX9zMTHPH0sfzNiuaTre219BoJn+xX9uuwEgKGpKLqEwC3hhmy7UEB5VGutVtJdBt+rygFF6Ngvddp58aGRcXNeu0VCs087/RPelVO+u3DK+StggMhu9UZq2nSgoMTBCyHg2o7x1T5rCGr0VPT6ZDmRj0pQ1+3PQDdxUSh/160gNznGWJWlw8urR49Sv+id/U88/3IKtqZxsEAhkE4YNx48/piLg5PLABzio8tiBxJBS1x9G0FRwVz7IWiSsW4w3RkQU0CKViFnV8RXZaIFqaHBGx7dayqfYZPPkDCON7yKjN0HAK4hBaCDUnB/j4pYIT/tDJ0nT2u0XBcwT+phA== X-MS-TrafficTypeDiagnostic: DB6PR0501MB2038: X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2038; 25:xb1YIH9WZjS0N6pKoiF7c0CLe0KRH3qv3A6HXKhlbeqlZzicuZDY3UnsIrZT+X4lZ6GLLo1pcFSQVr9Ad7KcgGaONDSDFJaSbBA2gIxdvfqm2++VXGZR5u33okAMgcTnng82sN/B0IQnUndRLpfmc0NnFDYL9rskDDhseBy4nyPrMDp77LjbK4yi7IlFzFR9f0lXsNmQsR/uBn+VB3Ov+4iFb43bObvz9nCHtoWKlFJHkL/WIujPQZAgkgQmd4w1eGsVVahZUd1o839jQVKvAFKQuDS+Io4iArrmLAc8+NML0VUeVCSjT04skO3D/Q/5nEOhunwUbnUiAWrEzhxCm7SRzZBI9eSHjjI7oZRF1QbC7PLS5hmRbQFAJULEKB+8GS4MPEBLJebtGpgR/nR6zh3wevGwagBlGMZC3buRIzPyrJypIqfqBR3qXf2vrrgYrou/lSW9sk2LzgfEFPoCHNOLZPWUOX8M0aG0b4IKNlP1ZrCserbSKHs10nWBTaAlj9TYrLnSmlIiBJ0xBrlULnue5t9C7H3ntPnzqaS/ZJ9po2Zw+mq9camQCuO4te9mIfCDyr9hjOw9V9IZZ1nmSquMIPCWHYzDNV7vUL8t//PpjoYOdIYqZaT/zdCdI1uRCgv/+6K7IpTAbAXiHYmgU6lyFHCbF9kw7uWuiDVjEI0Y7BpM8GfmztcUNEJZMKB3wk5sCaxZTWVzKxJpLRu9nISCgQ4cHbIDgMubl73wjb7mz0cdxRDILW2juCaNYCe2Y10CbyzQhIgefOqzng3fMKzx09FaNiMYPtITPjmmWQg7mj61cHmYy80hv6K3zSjcw/p1lAavOhpasGm2Rw3WwwOC79EXFDD6ICz99myHYJ2WAuKM6GetWsQgYoioDFOt7YQCMmSauRYXhP1Pd4rpOArVxzcTTOOpmQNF2loV3SU= X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; DB6PR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ayq1zuu2efryPn4Y8XgKENt/oygzbK5oaGa5esckdcmBwKKmUM6FlRI7I4arbkiAHSPUB2EDC49HEVsC0f+KIozgrIRUFi+3Gg9AuuEltPYoRsFC628a3zget55Htt0IHKHb8R10WQzGvFiwzYbSAFKhaEw7rNyzCEc4/eapLBKTYyDrO1sNTFRNIM6wN2Iqj9o2JIltqi3H1 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)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(3002001)(6055026)(6041248)(20161123558100)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR0501MB2038; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR0501MB2038; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0501MB2038; 4:Nmu14p3Lt+dziNbGK7mdQ/fuqd3vp/xlsTzNL0ao?= =?us-ascii?Q?GWshIXM/axWE+mUuDqu0ZUPmudG9AfhibRLsgJxcYGvCENsxK7vSvvhG3jCK?= =?us-ascii?Q?QOEeWazOe6tlKsAoCTuBSdu0CWK62X4fpm0gpOlKGmZfHXL1XnesUndPHAwF?= =?us-ascii?Q?bWgw+vk0UCxMS4j/wGFBxuWmTBrLkUluVm2GXW4VvEy5GoI8Sf40G4LVRXSK?= =?us-ascii?Q?hxWB+Qi3MuT5NB3wtPy8grSd7EnkOof6VmMBpnd2pjHESTGy9ZiNFe5rD5Gg?= =?us-ascii?Q?LqkAsCV0tKXiJyghpGq3qvXZ9mHEUgJYh4S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ZuZ23Zf4ymEt354ySGVQit7uV8k391MZkrNgidgNmo5HXB9JQdzjo7u4Toe?= =?us-ascii?Q?c7fawi73osa1qZ0Vd1s=3D?= X-Forefront-PRVS: 0354B4BED2 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39400400002)(39410400002)(39860400002)(39450400003)(39850400002)(39840400002)(50226002)(118296001)(3846002)(6916009)(6116002)(305945005)(2906002)(38730400002)(8676002)(53936002)(48376002)(107886003)(55016002)(33646002)(4326008)(5660300001)(86362001)(50466002)(81166006)(110136004)(5003940100001)(2361001)(2351001)(7736002)(189998001)(25786009)(66066001)(50986999)(76176999)(2950100002)(36756003)(478600001)(6666003)(47776003)(42186005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0501MB2038; H:mellanox.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0501MB2038; 23:LakWqj5xhDs52uHJW/l/Nabz1gcxw5wwhl5to27?= =?us-ascii?Q?PBqO2W61fpa65YFBhzhb0XELD53giSJbxizsPSfjQFMwq00ds1nWH5f3L7re?= =?us-ascii?Q?NRlYEY4t2+vWlzhzlQjst9g61y7PGhAcqhZPoHBcQjepffQ95qjkfXPteXiq?= =?us-ascii?Q?//SqlMDAdNL8lx82wWfWqr0BiFjIxLj8IBijkuVKeiBud9oextOmzcYiXv0a?= =?us-ascii?Q?9r9VmSCrHA7I2Bj+YrQtvKFVlUIqTBOCJlbj8PAMRQ8AfmDYyqzKJ9P+WbNb?= =?us-ascii?Q?bn4Vor8EgWudnexuUo9kRujW1kkPDmv0EZM9p47ctDQkNQWsY7h3s416jZqq?= =?us-ascii?Q?zP1FfjKVRIKyzHScq0vwm7/eHsPWBTVXjgL8xwnyzLtGCz5pZUl5/ZD8T+yX?= =?us-ascii?Q?MGpAjeh5uClkk9jU9ZRNmihkKt6AOkMd/IdVzL+D3A3IuQ8gM94OL2zd232j?= =?us-ascii?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DSViy+8+9/YIQpJHjfCeQsuOZMKFsViMjeWUehjEZu?= =?us-ascii?Q?sjDgoJacdzpCK2GAKgrhrZW2vFWJgPy+RTebN9H+vYPY+CEUPwOjAFWmlJ+4?= =?us-ascii?Q?LTK+mvjwXReYO/NhbWV66LyxbgAUDFWEABFseRgiBUGMNx7dbgbAe8I0+fSR?= =?us-ascii?Q?j59CcCngQUMQ/ODKQOfAOVHzxNxZ4Kx8OdU2fRmzel4NdGcrg5wMnMegFTGy?= =?us-ascii?Q?hF5VXycOEKah83FN69gv4Zo53FFCu4513vkvxtVOs8A8CoTZLpdpLIyBkNvD?= =?us-ascii?Q?uI7pvTBWHqLFxxr0PH8J5YaK5LO3AUcs4Ou2tJXRyvsOUD71Rz38lN+TSN9w?= =?us-ascii?Q?7uKQ3Q851W0kT2eLBoMwx3hDg/Di9jKL3gQC9LDVpnnWlnJgHzgVavCpS2bG?= =?us-ascii?Q?IgcX42O5F4+pah80DOhM/1e1Hc358NfiFFXqi/iXdpTiFmlT+7/OgdECXiDG?= =?us-ascii?Q?n/TXHw4M5777u39rq2QeNFHr1Igkvvi7ZLDrfLuVlzLq+a2jiV+cloAhXrRO?= =?us-ascii?Q?56ENngcAk0JU/z5fLpDZH8QJZEv5RIkkNZfT6lZntdshwVGhYIDM67XD7wAh?= =?us-ascii?Q?Rvp5UBnP48HiRHpe9sHqDOizUql0WqXkg8+NARoVoA94yx0kwuOyk2N5ltAC?= =?us-ascii?Q?J/egVjojU/6QnVmQ5Crj59HTwXfoWJTIORoV46LNKAR5XghqCb8jFCEb3Hew?= =?us-ascii?Q?fxy+Lma/9qTOqNQs6yI0vhdSvY3L+x7mbGtIEaZUNOoIea12gB+BJuMUl6nZ?= =?us-ascii?Q?VhoXHugIHgriT1gyXCqieZz8ynxPpGQf1xK5JKbdbJAdHUHMn15Tcv0gWuwf?= =?us-ascii?Q?2Kjolh5g/SHcex4c0iyJh1Zk?= X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2038; 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ldSjdS1rSLSp4Wwp4pkzPHR5v80B6HRb0Xby9B73TkaQWvjKlR04UmYa4zibnWBJcT/B1SjNwcmukDRmFIXVey63fNHUfit1l8fqE+WuzGvIvsxW7UxEBO4PRSbwqFNga+lFtaMT2Y2sOoUVJWzrhQfTG6Zyw/k+zmHwnTkqFn4k+vXaveZJtybUVcbOwjIDAeFB65NX6HV3Q2QAgYaMaDroM/UpncKFEEPDnkfDcok9yVZnCZt5vyKqtwsk2PFh7qrx2vseY5YiYrb+4LaNsdfii/jPjQeu1kNN0qGaNp0hems+xbjjFa9GJtVXXID147Rx2ji/ZI2LHNwTtee/tc6i9r4y+ZmtwRt+vFcRvIS1pjrpma57ibjWqCjXgxyH+qEws7KcJF8eQ4wpVjAPbvK7VTnW6pISIc/VbAeIU97kBIdlbi94= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jun 2017 19:23:48.7571 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0501MB2038 Subject: [dpdk-dev] [PATCH v2 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: Fri, 30 Jun 2017 19:23:52 -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 ac9dfc5f0..03e23f58d 100644 --- a/drivers/net/mlx5/mlx5_txq.c +++ b/drivers/net/mlx5/mlx5_txq.c @@ -496,8 +496,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