From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0040.outbound.protection.outlook.com [104.47.0.40]) by dpdk.org (Postfix) with ESMTP id E94D57D52 for ; Tue, 12 Dec 2017 13:53:42 +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=/ZxL71r7ukewpCAT6jzXp6MzUFYuzJnWWhEZdWW3N2A=; b=ZEzfQ8r6LV7MgZjcOqG3tf2hm01ZU9j16vQjJU1e9VRvfQqdMP17Nd4PaSg2Hfnp4AIcKOqbYNpLDT+oLwCLmc0D1DpeaQfaYbqV8ileDYK4dmc0bi05bUr5FEWujiO0L8xlKXWfC2cHxkdkP6m9CpxAhuTYzg5lPqxs6ZiwEAs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; Received: from mellanox.com (82.166.227.17) by VI1PR05MB3150.eurprd05.prod.outlook.com (2603:10a6:802:1b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.9; Tue, 12 Dec 2017 12:53:41 +0000 From: Shahaf Shuler To: ferruh.yigit@intel.com, jingjing.wu@intel.com Cc: dev@dpdk.org Date: Tue, 12 Dec 2017 14:52:52 +0200 Message-Id: <70fc132c4eacfd82df9db10a00a3eccccea3264d.1513082773.git.shahafs@mellanox.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: References: <20171123120804.143897-1-shahafs@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [82.166.227.17] X-ClientProxiedBy: DB6PR1001CA0037.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:55::23) To VI1PR05MB3150.eurprd05.prod.outlook.com (2603:10a6:802:1b::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5e885bd5-7c5f-48b9-70e8-08d5415f5f5e X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603307); SRVR:VI1PR05MB3150; X-Microsoft-Exchange-Diagnostics: 1; VI1PR05MB3150; 3:WQq49jZn2LdyB1OOp56v07ewUeSyloArQWV3D7IQVTSzCdARt0zAcb2M5DG2bZueYoUALGYCnoVYIoVvLYjl7SAo7Hwj/iED0retvGRmgJMz62L9XVKdH8ERxwIrRhq0lO26kC/SmpuhoZjihRJdeoLXPaWvPMY9af9j2PfJpVuUMWusemRxDaUtRKPzlC4Q2SsICu2x/XzqCvnTOxHSEa4rAxyDm6nMPBIR+BIhXG1RhgfOdq9glvUcD0F2/l3e; 25:7rf8vqtF2bZgsuMXU05VGVZFaLsC85Q1ueaJ313J7vcDU4VhG1hWrbguMUpSL9CzrRmubc0ActRIhNGVr9rytO/0uyXtwlxrH5KPSilS1NSOFgwMAc8u4v0XXRSQGKA0bqkDGJ/rkhRz9oeltHefBnRUN/aQVVlT75hpNOkxSjkmOWrEu3Td+bVpZ3SdD6HsBVbdnlBjXT3oW+uIHuxPOqM+pntEL238013Qlyw4pcCzZkWPe2Z6qKDJXw6oGtUs8Ucjd0jSJBE7UP27jr+ks2zlgb/+fckptsHUs7A53BUBDEQueJBsgW5iN6lpE0niYfK07otyGAbSIWmsW2nUfXXRzv0qlKiKWOMOFGx/Ymw=; 31:r02vlo9Sdt0xJ56PZw8DDoISvMwflpzE2seOEoIMXxDRde2VKUAhqlMB2VAM2oOt4Uhi7HCPPvM0JXmePCYnWEUNIPaiGv8CTtmlEKkA4CQrAehUI2EdGB31WWaAX9bnoF40SLd4OSC3WcU5kVe4/WgNBbZkzjcncGt/tOa3HgD8h/4ARJlvkU0doKXDNig4/xXLBLHxUFGCFkz1XhQMhQMnjZQqIeCKEdVD1PEKeso= X-MS-TrafficTypeDiagnostic: VI1PR05MB3150: X-Microsoft-Exchange-Diagnostics: 1; VI1PR05MB3150; 20:GB01lM89j3RRLXAx1jqL75owUZ1Rec2qhbmzBz5wBHr+rtQR+66IkkGCUAh3NpbQv0EFoaSjx22/73F+2sVziTTXwsDpuEeXIgEoH13MYDKBCYgRZCeeRtT8FjCD/EO3M+EzPe0cuCKx5VIguxnO8uNJ+fc3Bvn1yoi6hXWLiAwkA+ScG7Neu7tLmFIeWZSkj8VXj+mVaKjUmOdSOEr0A0pfL5upYK3dmj8qxgj6qe9d43nBrIAYdCsBxWQCny83l6HIXSxfoW2CIGPgdtzkND1LyOutG4APQ/4y8zU08gdv+PHH2Uh7ggJecpO9eO0KwaogfZd8DMrynbe6EyOj8J1kOhdoh0eKGJ5LWH/lgWBaVmuok9JdkmSJXoQTSNNCT1pjyKOugjeNlQeF0TVF5/eRCRaGg6L9KC3p0TJUgNc434WXmPkXpc6+X6v2gzhF+Po2Xv8psIOtlZ221DpNg5QVFZ+xeaQO2TbvvsBBO5K2hRuaWOTLgOhDbK2zICLY; 4:+ug9uOJ5UpAjJxgW4ig/oQblvuYaW6grEcmyaht2dTFQaDiUgodnrgcfQe1myKTMYdZpmBEHajVcy9bkb9q3luzLg8qYRlmjx9qT4Gi4GV4tMOQe/IgZY2x8toyKI4HYuXx+13+rPpl1/ZN/vUZeDA3Gu7mOuLoPyQUJ82EJkkbTm7JYm2DWgbRG9roD17PXr7wldwIGuu5kBttR6F8pZAje8ahGFK/8MJrjtqIyl90QjF+uwAgKdrh11hBd1iPF6r9DXeLG2UqkR0XDU/PApw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231023)(6055026)(6041248)(20161123564025)(20161123558100)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(6072148)(201708071742011); SRVR:VI1PR05MB3150; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:VI1PR05MB3150; X-Forefront-PRVS: 051900244E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(346002)(376002)(199004)(189003)(55016002)(81166006)(106356001)(7736002)(81156014)(47776003)(8676002)(305945005)(105586002)(66066001)(36756003)(4326008)(118296001)(53936002)(16586007)(50466002)(48376002)(7696005)(33026002)(69596002)(52116002)(51416003)(478600001)(5660300001)(16526018)(97736004)(21086003)(316002)(6116002)(76176011)(3846002)(50226002)(6666003)(2906002)(2950100002)(8936002)(86362001)(59450400001)(68736007)(25786009)(129583001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB3150; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR05MB3150; 23:LD6d4MkkmVeCZSAJD/a0XvMGMYZGM0VJ4VYiWBcaM?= =?us-ascii?Q?kPo9jBei7c5uJxy+lgwsTEiZ89STEsIY1YlNCQ0xA+s22cEBBabTgFb3yy7L?= =?us-ascii?Q?5ojGgWgInir9ZRK7kHELjipIUdhgjV7midIC1x0eK+PHORz35ZkFtp6bXyL8?= =?us-ascii?Q?3utkcYPfvOeklGh/ouoPAqjjOZORn7faHI8e4AGGlSz98IbGBSoNYsSfeG8v?= =?us-ascii?Q?N9Lqfw8KMyyGhjQA+I3I+JMHkk5MdXLTuDrGEn7VAE4N3X4Ta7XaxmKhUYvk?= =?us-ascii?Q?hcE5SrSh5PQFUC3YSlwiSINpNyge6M0YBRy419sOGkSxPdyks1IMDJyMke0Q?= =?us-ascii?Q?IIf0kS3OmG36B2h4FOHrX3VHzRNUK4zJ2yZESmHO9Sn6jxeULDDwtnsIsmRC?= =?us-ascii?Q?tVTPgMkrWXXxysz7kws81zfLzt7f86Vetd273JLiPM2FZiWUb5DFoLwiSohB?= =?us-ascii?Q?id6ZbFpNt9ynhNM/MrgjcaWl6uWjcipNNO57ltzl+2b+VCUpkwv5AmB92V0x?= =?us-ascii?Q?PLja0ErPQw1wegf09W6AaR3h5UtnI+onQC97wcWlNMYyfeFvu9csvTTJ9SWm?= =?us-ascii?Q?7a4IJ7qTIXTUzEu3QnZKRlG2LqLL6Imz5z+dh+SFU/Nx3/pt2fQfzZs9y08b?= =?us-ascii?Q?iMf/rNzMlImOctE/2MX411QEjuEGjxYxnFVop0oVY1dIPmLB8WRNPxyWDUhN?= =?us-ascii?Q?bfFBoWesP/vMdSWVPYMpVDlCkxVS6v+NEQphgv+k2+qGysUv4s4Ksfy1GdVt?= =?us-ascii?Q?DYObnMWZ+QQ1cJLZJT5D8JYODEruQmaFlosE6gax01MSp6QoU3EsWJxhg5uA?= =?us-ascii?Q?uTU4n430G8yypI4Y1tt9iXoNDoFo0AA5QARXyH9zOrLCWQK58gPLzefVXObB?= =?us-ascii?Q?ssmiHHoZXM1lowH6EyHwlKC8psFH/iLKRWCMRZxdv9u5SR3gWLGKAgKKIYXt?= =?us-ascii?Q?KgJ7WAJ74j+qhK/djjMETzEMFzurJEkQTAerBfWutbdFJwMxsE/RwPqkJU/r?= =?us-ascii?Q?DAWBlyJmBSdJj7/FoyKOi+MWcPDcAAj+uHVfB2aib2AOZSFlZLvAgguAkwVR?= =?us-ascii?Q?6o+4pSOagvVACv8dSLYy/+nAPsKZBzAcOseH7YlycPWh5ZM/XOqEleTxcYrj?= =?us-ascii?Q?FFeQyJDmnc=3D?= X-Microsoft-Exchange-Diagnostics: 1; VI1PR05MB3150; 6:LQq9RvlmTCkzgE+oJKZ20cuxp9WS8Zcgt7Hjkd+jsCLAPWkrIUAs8VMmVCqBh2hFOR3cmhOlLXRAdOZCG/SQiMCk8f23MTVFVeDGJ4KYx01JdxMXhk+d/VqWn9iOI0JSv9SmjV6UuO/T8ODVFZ4GMapEK5B9poJg+nebVVuHNpgFeBfVkFepoksRVTPXIW1XNlXzB7XMGVrygh/71d0564sxjtEn/gqdIuWLWxRiGCf+2Nft2ZAQgfpU5s1c0hd20HjegRumGdT1zTeEorOwmCFlqyZIO7faCJrKvnzS4i0m0HpDz4sn9eub5dokvqvalLxAUDvTHLcDgmRfOJif19K96toJu1c4RvplI1pMXiU=; 5:2QSuVklNoewMbrj1/YMYEmzOrKcUq2N3JReW+wG3nBiShqriRbP72SQzBigbE5Pe3chATGer7XyePyCWFzRM3ElVDemSKS1Nz5wj4LaNz1A41X/dGc9YzQBKe4DF69djgBXcp+gM0jd5A7mGcxRs2t9NbGL0VMT6znaK/xrRbFU=; 24:si4P91dFwy4o7ykH7fV537mL/+k66LKXcCmcM1d+G0tt9zhlik23m+kDBQIwkHQ9drf6zF4lVAxRjUFsb1+d72pp8aDJLVKJuz5gNSM/zjo=; 7:6t88GylLjwFwOBTxfuCvLJBncdbsZJtC6cuV8pEHEylAiVpRy3BKyXslqEykiwUmkfJyGI9kKMAAA8f0jMwyF4WdvgluulIGCvT/QC71XD/dFlUjiSyNYxFqrsm7GZIp9oeQixouRazCdLz8ukN1ejKGUHxSqIpL7+LnsWwTFoG3vCqymk+CD7FgwpCrQYmv10gzi92iiDpjvx5W2lLE90/Ii45tXWopTIUr0bttG9JDgzOPRz5gIIPf0FSsVxs5 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Dec 2017 12:53:41.4110 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5e885bd5-7c5f-48b9-70e8-08d5415f5f5e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB3150 Subject: [dpdk-dev] [PATCH v2 08/10] app/testpmd: remove txqflags 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: Tue, 12 Dec 2017 12:53:43 -0000 Since testpmd is now using the new Ethdev offloads API and there is a way configure each of the tx offloads from CLI or command line, there is no need for the txqflags configuration anymore. Signed-off-by: Shahaf Shuler Acked-by: Nelio Laranjeiro --- app/test-pmd/cmdline.c | 69 ------------------------ app/test-pmd/config.c | 7 +-- app/test-pmd/parameters.c | 14 +---- app/test-pmd/testpmd.c | 8 --- app/test-pmd/testpmd.h | 1 - doc/guides/testpmd_app_ug/run_app.rst | 12 ----- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 11 ---- 7 files changed, 3 insertions(+), 119 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 8584821..b4ef1d0 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -3092,74 +3092,6 @@ struct cmd_set_txsplit_result { }, }; -/* *** CONFIG TX QUEUE FLAGS *** */ - -struct cmd_config_txqflags_result { - cmdline_fixed_string_t port; - cmdline_fixed_string_t config; - cmdline_fixed_string_t all; - cmdline_fixed_string_t what; - int32_t hexvalue; -}; - -static void cmd_config_txqflags_parsed(void *parsed_result, - __attribute__((unused)) struct cmdline *cl, - __attribute__((unused)) void *data) -{ - struct cmd_config_txqflags_result *res = parsed_result; - - if (!all_ports_stopped()) { - printf("Please stop all ports first\n"); - return; - } - - if (strcmp(res->what, "txqflags")) { - printf("Unknown parameter\n"); - return; - } - - if (res->hexvalue >= 0) { - txq_flags = res->hexvalue; - } else { - printf("txqflags must be >= 0\n"); - return; - } - - init_port_config(); - - cmd_reconfig_device_queue(RTE_PORT_ALL, 1, 1); -} - -cmdline_parse_token_string_t cmd_config_txqflags_port = - TOKEN_STRING_INITIALIZER(struct cmd_config_txqflags_result, port, - "port"); -cmdline_parse_token_string_t cmd_config_txqflags_config = - TOKEN_STRING_INITIALIZER(struct cmd_config_txqflags_result, config, - "config"); -cmdline_parse_token_string_t cmd_config_txqflags_all = - TOKEN_STRING_INITIALIZER(struct cmd_config_txqflags_result, all, - "all"); -cmdline_parse_token_string_t cmd_config_txqflags_what = - TOKEN_STRING_INITIALIZER(struct cmd_config_txqflags_result, what, - "txqflags"); -cmdline_parse_token_num_t cmd_config_txqflags_value = - TOKEN_NUM_INITIALIZER(struct cmd_config_txqflags_result, - hexvalue, INT32); - -cmdline_parse_inst_t cmd_config_txqflags = { - .f = cmd_config_txqflags_parsed, - .data = NULL, - .help_str = "port config all txqflags ", - .tokens = { - (void *)&cmd_config_txqflags_port, - (void *)&cmd_config_txqflags_config, - (void *)&cmd_config_txqflags_all, - (void *)&cmd_config_txqflags_what, - (void *)&cmd_config_txqflags_value, - NULL, - }, -}; - /* *** ADD/REMOVE ALL VLAN IDENTIFIERS TO/FROM A PORT VLAN RX FILTER *** */ struct cmd_rx_vlan_filter_all_result { cmdline_fixed_string_t rx_vlan; @@ -15709,7 +15641,6 @@ struct cmd_cmdfile_result { (cmdline_parse_inst_t *)&cmd_config_rx_mode_flag, (cmdline_parse_inst_t *)&cmd_config_rss, (cmdline_parse_inst_t *)&cmd_config_rxtx_queue, - (cmdline_parse_inst_t *)&cmd_config_txqflags, (cmdline_parse_inst_t *)&cmd_config_rss_reta, (cmdline_parse_inst_t *)&cmd_showport_reta, (cmdline_parse_inst_t *)&cmd_config_burst, diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 57d73aa..41855ab 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -417,7 +417,6 @@ struct rss_type_info { printf("\nTX writeback threshold: %hhu", qinfo.conf.tx_thresh.wthresh); printf("\nTX RS threshold: %hu", qinfo.conf.tx_rs_thresh); printf("\nTX free threshold: %hu", qinfo.conf.tx_free_thresh); - printf("\nTX flags: %#x", qinfo.conf.txq_flags); printf("\nTX deferred start: %s", (qinfo.conf.tx_deferred_start != 0) ? "on" : "off"); printf("\nNumber of TXDs: %hu", qinfo.nb_desc); @@ -1713,10 +1712,8 @@ struct igb_ring_desc_16_bytes { tx_conf->tx_thresh.pthresh, tx_conf->tx_thresh.hthresh, tx_conf->tx_thresh.wthresh); - printf(" TX RS bit threshold=%d - TXQ flags=0x%"PRIx32"" - " - TXQ offloads=0x%"PRIx64"\n", - tx_conf->tx_rs_thresh, tx_conf->txq_flags, - tx_conf->offloads); + printf(" TX RS bit threshold=%d - TXQ offloads=0x%"PRIx64"\n", + tx_conf->tx_rs_thresh, tx_conf->offloads); } } diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c index 5888942..fa547df 100644 --- a/app/test-pmd/parameters.c +++ b/app/test-pmd/parameters.c @@ -99,7 +99,7 @@ "--rss-ip | --rss-udp | " "--rxpt= | --rxht= | --rxwt= | --rxfreet= | " "--txpt= | --txht= | --txwt= | --txfreet= | " - "--txrst= | --txqflags= | --tx-offloads ]\n", + "--txrst= | --tx-offloads ]\n", progname); #ifdef RTE_LIBRTE_CMDLINE printf(" --interactive: run in interactive mode.\n"); @@ -192,8 +192,6 @@ "(0 <= N <= value of txd).\n"); printf(" --txrst=N: set the transmit RS bit threshold of TX rings to N " "(0 <= N <= value of txd).\n"); - printf(" --txqflags=0xXXXXXXXX: hexadecimal bitmask of TX queue flags " - "(0 <= N <= 0x7FFFFFFF).\n"); printf(" --tx-queue-stats-mapping=(port,queue,mapping)[,(port,queue,mapping]: " "tx queues statistics counters mapping " "(0 <= mapping <= %d).\n", RTE_ETHDEV_QUEUE_STAT_CNTRS - 1); @@ -632,7 +630,6 @@ { "txwt", 1, 0, 0 }, { "txfreet", 1, 0, 0 }, { "txrst", 1, 0, 0 }, - { "txqflags", 1, 0, 0 }, { "rxpt", 1, 0, 0 }, { "rxht", 1, 0, 0 }, { "rxwt", 1, 0, 0 }, @@ -1006,15 +1003,6 @@ else rte_exit(EXIT_FAILURE, "txrst must be >= 0\n"); } - if (!strcmp(lgopts[opt_idx].name, "txqflags")) { - char *end = NULL; - n = strtoul(optarg, &end, 16); - if (n >= 0) - txq_flags = (int32_t)n; - else - rte_exit(EXIT_FAILURE, - "txqflags must be >= 0\n"); - } if (!strcmp(lgopts[opt_idx].name, "rxd")) { n = atoi(optarg); if (n > 0) { diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 8065481..91dcb31 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@ -259,11 +259,6 @@ struct fwd_engine * fwd_engines[] = { int16_t tx_rs_thresh = RTE_PMD_PARAM_UNSET; /* - * Configurable value of TX queue flags. - */ -int32_t txq_flags = RTE_PMD_PARAM_UNSET; - -/* * Receive Side Scaling (RSS) configuration. */ uint64_t rss_hf = ETH_RSS_IP; /* RSS IP by default. */ @@ -2084,9 +2079,6 @@ struct pmd_test_command { if (tx_free_thresh != RTE_PMD_PARAM_UNSET) port->tx_conf.tx_free_thresh = tx_free_thresh; - - if (txq_flags != RTE_PMD_PARAM_UNSET) - port->tx_conf.txq_flags = txq_flags; } void diff --git a/app/test-pmd/testpmd.h b/app/test-pmd/testpmd.h index 3e63edf..c9af41c 100644 --- a/app/test-pmd/testpmd.h +++ b/app/test-pmd/testpmd.h @@ -409,7 +409,6 @@ struct queue_stats_mappings { extern int8_t rx_drop_en; extern int16_t tx_free_thresh; extern int16_t tx_rs_thresh; -extern int32_t txq_flags; extern uint8_t dcb_config; extern uint8_t dcb_test; diff --git a/doc/guides/testpmd_app_ug/run_app.rst b/doc/guides/testpmd_app_ug/run_app.rst index fface6f..be9a2cd 100644 --- a/doc/guides/testpmd_app_ug/run_app.rst +++ b/doc/guides/testpmd_app_ug/run_app.rst @@ -447,18 +447,6 @@ The commandline options are: Set the transmit RS bit threshold of TX rings to N, where 0 <= N <= value of ``--txd``. The default value is 0. -* ``--txqflags=0xXXXXXXXX`` - - Set the hexadecimal bitmask of TX queue flags, where 0 <= N <= 0x7FFFFFFF. - The default value is 0. - - .. note:: - - When using hardware offload functions such as vlan or checksum - add ``txqflags=0`` to force the full-featured TX code path. - In some PMDs this may already be the default. - - * ``--rx-queue-stats-mapping=(port,queue,mapping)[,(port,queue,mapping)]`` Set the RX queues statistics counters mapping 0 <= mapping <= 15. diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 9789139..8e73519 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -354,8 +354,6 @@ The available information categories are: also modify the default hierarchy or specify the new hierarchy through CLI for implementing QoS scheduler. Requires ``CONFIG_RTE_LIBRTE_PMD_SOFTNIC=y`` ``CONFIG_RTE_LIBRTE_SCHED=y``. -Note: TX timestamping is only available in the "Full Featured" TX path. To force ``testpmd`` into this mode set ``--txqflags=0``. - Example:: testpmd> set fwd rxonly @@ -1681,15 +1679,6 @@ RX scatter mode is off by default. The ``on`` option is equivalent to the ``--enable-scatter`` command-line option. -port config - TX queue flags -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Set a hexadecimal bitmap of TX queue flags for all ports:: - - testpmd> port config all txqflags value - -This command is equivalent to the ``--txqflags`` command-line option. - port config - RX Checksum ~~~~~~~~~~~~~~~~~~~~~~~~~ -- 1.8.3.1