* |WARNING| pw111595 [PATCH 3/6] net/bonding: move testpmd commands
[not found] <20220523071031.1868862-4-david.marchand@redhat.com>
@ 2022-05-23 7:12 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-05-23 7:12 UTC (permalink / raw)
To: test-report; +Cc: David Marchand
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/111595
_coding style issues_
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1204: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:518:
+add bonding slave
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1209: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:523:
+ testpmd> add bonding slave (slave id) (port id)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1209: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:523:
+ testpmd> add bonding slave (slave id) (port id)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1213: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:527:
+ testpmd> add bonding slave 6 10
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1216: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:530:
+remove bonding slave
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1219: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:533:
+Removes an Ethernet slave device from a Link Bonding device::
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1221: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:535:
+ testpmd> remove bonding slave (slave id) (port id)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1221: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:535:
+ testpmd> remove bonding slave (slave id) (port id)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1223: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:537:
+For example, to remove Ethernet slave device (port 6) to a Link Bonding device (port 10)::
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1225: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:539:
+ testpmd> remove bonding slave 6 10
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1241: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:555:
+Set an Ethernet slave device as the primary device on a Link Bonding device::
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1243: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:557:
+ testpmd> set bonding primary (slave id) (port id)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1245: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:559:
+For example, to set the Ethernet slave device (port 6) as the primary port of a Link Bonding device (port 10)::
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1277: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:591:
+This adds support for PMD slave devices which do not support link status interrupts.
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1291: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:605:
+Enable dedicated tx/rx queues on bonding devices slaves to handle LACP control plane traffic
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1313: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:627:
+to show the configuration a Link Bonding device (port 9) with 3 slave devices (1, 3, 4)
WARNING:TYPO_SPELLING: 'Slaves' may be misspelled - perhaps 'Secondaries'?
#1319: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:633:
+ Slaves (3): [1 3 4]
WARNING:TYPO_SPELLING: 'Slaves' may be misspelled - perhaps 'Secondaries'?
#1320: FILE: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:634:
+ Active Slaves (3): [1 3 4]
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1735: FILE: drivers/net/bonding/bonding_testpmd.c:246:
+static void lacp_slave_info_show(struct rte_eth_bond_8023ad_slave_info *info)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1735: FILE: drivers/net/bonding/bonding_testpmd.c:246:
+static void lacp_slave_info_show(struct rte_eth_bond_8023ad_slave_info *info)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1814: FILE: drivers/net/bonding/bonding_testpmd.c:325:
+ struct rte_eth_bond_8023ad_slave_info slave_info;
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1814: FILE: drivers/net/bonding/bonding_testpmd.c:325:
+ struct rte_eth_bond_8023ad_slave_info slave_info;
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1816: FILE: drivers/net/bonding/bonding_testpmd.c:327:
+ portid_t slaves[RTE_MAX_ETHPORTS];
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1818: FILE: drivers/net/bonding/bonding_testpmd.c:329:
+ int num_active_slaves;
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1829: FILE: drivers/net/bonding/bonding_testpmd.c:340:
+ num_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves,
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1829: FILE: drivers/net/bonding/bonding_testpmd.c:340:
+ num_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves,
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1829: FILE: drivers/net/bonding/bonding_testpmd.c:340:
+ num_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves,
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1831: FILE: drivers/net/bonding/bonding_testpmd.c:342:
+ if (num_active_slaves < 0) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1832: FILE: drivers/net/bonding/bonding_testpmd.c:343:
+ fprintf(stderr, " Failed to get active slave list for port = %u
",
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1836: FILE: drivers/net/bonding/bonding_testpmd.c:347:
+ if (num_active_slaves == 0)
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1837: FILE: drivers/net/bonding/bonding_testpmd.c:348:
+ fprintf(stderr, " IEEE802.3 port %u has no active slave
",
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1849: FILE: drivers/net/bonding/bonding_testpmd.c:360:
+ for (i = 0; i < num_active_slaves; i++) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1850: FILE: drivers/net/bonding/bonding_testpmd.c:361:
+ ret = rte_eth_bond_8023ad_slave_info(port_id, slaves[i],
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1850: FILE: drivers/net/bonding/bonding_testpmd.c:361:
+ ret = rte_eth_bond_8023ad_slave_info(port_id, slaves[i],
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1851: FILE: drivers/net/bonding/bonding_testpmd.c:362:
+ &slave_info);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1853: FILE: drivers/net/bonding/bonding_testpmd.c:364:
+ fprintf(stderr, " Get slave device %u info failed
",
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1854: FILE: drivers/net/bonding/bonding_testpmd.c:365:
+ slaves[i]);
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1857: FILE: drivers/net/bonding/bonding_testpmd.c:368:
+ printf(" Slave Port: %u
", slaves[i]);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1858: FILE: drivers/net/bonding/bonding_testpmd.c:369:
+ lacp_slave_info_show(&slave_info);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1858: FILE: drivers/net/bonding/bonding_testpmd.c:369:
+ lacp_slave_info_show(&slave_info);
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1906: FILE: drivers/net/bonding/bonding_testpmd.c:417:
+ portid_t slaves[RTE_MAX_ETHPORTS];
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1907: FILE: drivers/net/bonding/bonding_testpmd.c:418:
+ int num_slaves, num_active_slaves;
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1907: FILE: drivers/net/bonding/bonding_testpmd.c:418:
+ int num_slaves, num_active_slaves;
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1965: FILE: drivers/net/bonding/bonding_testpmd.c:476:
+ num_slaves = rte_eth_bond_slaves_get(port_id, slaves, RTE_MAX_ETHPORTS);
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1965: FILE: drivers/net/bonding/bonding_testpmd.c:476:
+ num_slaves = rte_eth_bond_slaves_get(port_id, slaves, RTE_MAX_ETHPORTS);
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1965: FILE: drivers/net/bonding/bonding_testpmd.c:476:
+ num_slaves = rte_eth_bond_slaves_get(port_id, slaves, RTE_MAX_ETHPORTS);
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1967: FILE: drivers/net/bonding/bonding_testpmd.c:478:
+ if (num_slaves < 0) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1968: FILE: drivers/net/bonding/bonding_testpmd.c:479:
+ fprintf(stderr, " Failed to get slave list for port = %d
",
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1972: FILE: drivers/net/bonding/bonding_testpmd.c:483:
+ if (num_slaves > 0) {
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1973: FILE: drivers/net/bonding/bonding_testpmd.c:484:
+ printf(" Slaves (%d): [", num_slaves);
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1974: FILE: drivers/net/bonding/bonding_testpmd.c:485:
+ for (i = 0; i < num_slaves - 1; i++)
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1975: FILE: drivers/net/bonding/bonding_testpmd.c:486:
+ printf("%d ", slaves[i]);
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1977: FILE: drivers/net/bonding/bonding_testpmd.c:488:
+ printf("%d]
", slaves[num_slaves - 1]);
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1977: FILE: drivers/net/bonding/bonding_testpmd.c:488:
+ printf("%d]
", slaves[num_slaves - 1]);
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1982: FILE: drivers/net/bonding/bonding_testpmd.c:493:
+ num_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves,
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1982: FILE: drivers/net/bonding/bonding_testpmd.c:493:
+ num_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves,
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1982: FILE: drivers/net/bonding/bonding_testpmd.c:493:
+ num_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves,
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1985: FILE: drivers/net/bonding/bonding_testpmd.c:496:
+ if (num_active_slaves < 0) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1987: FILE: drivers/net/bonding/bonding_testpmd.c:498:
+ " Failed to get active slave list for port = %d
",
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1991: FILE: drivers/net/bonding/bonding_testpmd.c:502:
+ if (num_active_slaves > 0) {
WARNING:TYPO_SPELLING: 'Slaves' may be misspelled - perhaps 'Secondaries'?
#1992: FILE: drivers/net/bonding/bonding_testpmd.c:503:
+ printf(" Active Slaves (%d): [", num_active_slaves);
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1992: FILE: drivers/net/bonding/bonding_testpmd.c:503:
+ printf(" Active Slaves (%d): [", num_active_slaves);
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1993: FILE: drivers/net/bonding/bonding_testpmd.c:504:
+ for (i = 0; i < num_active_slaves - 1; i++)
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1994: FILE: drivers/net/bonding/bonding_testpmd.c:505:
+ printf("%d ", slaves[i]);
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1996: FILE: drivers/net/bonding/bonding_testpmd.c:507:
+ printf("%d]
", slaves[num_active_slaves - 1]);
WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#1996: FILE: drivers/net/bonding/bonding_testpmd.c:507:
+ printf("%d]
", slaves[num_active_slaves - 1]);
WARNING:TYPO_SPELLING: 'Slaves' may be misspelled - perhaps 'Secondaries'?
#1999: FILE: drivers/net/bonding/bonding_testpmd.c:510:
+ printf(" Active Slaves: []
");
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2004: FILE: drivers/net/bonding/bonding_testpmd.c:515:
+ fprintf(stderr, " Failed to get primary slave for port = %d
",
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2043: FILE: drivers/net/bonding/bonding_testpmd.c:554:
+ portid_t slave_id;
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2051: FILE: drivers/net/bonding/bonding_testpmd.c:562:
+ portid_t master_port_id = res->port_id;
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2052: FILE: drivers/net/bonding/bonding_testpmd.c:563:
+ portid_t slave_port_id = res->slave_id;
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2052: FILE: drivers/net/bonding/bonding_testpmd.c:563:
+ portid_t slave_port_id = res->slave_id;
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2054: FILE: drivers/net/bonding/bonding_testpmd.c:565:
+ /* Set the primary slave for a bonded device. */
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2055: FILE: drivers/net/bonding/bonding_testpmd.c:566:
+ if (rte_eth_bond_primary_set(master_port_id, slave_port_id) != 0) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2055: FILE: drivers/net/bonding/bonding_testpmd.c:566:
+ if (rte_eth_bond_primary_set(master_port_id, slave_port_id) != 0) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2056: FILE: drivers/net/bonding/bonding_testpmd.c:567:
+ fprintf(stderr, " Failed to set primary slave for port = %d.
",
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2057: FILE: drivers/net/bonding/bonding_testpmd.c:568:
+ master_port_id);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2072: FILE: drivers/net/bonding/bonding_testpmd.c:583:
+static cmdline_parse_token_num_t cmd_setbonding_primary_slave =
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2074: FILE: drivers/net/bonding/bonding_testpmd.c:585:
+ slave_id, RTE_UINT16);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2081: FILE: drivers/net/bonding/bonding_testpmd.c:592:
+ .help_str = "set bonding primary <slave_id> <port_id>: "
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2082: FILE: drivers/net/bonding/bonding_testpmd.c:593:
+ "Set the primary slave for port_id",
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2088: FILE: drivers/net/bonding/bonding_testpmd.c:599:
+ (void *)&cmd_setbonding_primary_slave,
WARNING:TYPO_SPELLING: 'SLAVE' may be misspelled - perhaps 'SECONDARY'?
#2094: FILE: drivers/net/bonding/bonding_testpmd.c:605:
+/* *** ADD SLAVE *** */
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2095: FILE: drivers/net/bonding/bonding_testpmd.c:606:
+struct cmd_add_bonding_slave_result {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2098: FILE: drivers/net/bonding/bonding_testpmd.c:609:
+ cmdline_fixed_string_t slave;
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2099: FILE: drivers/net/bonding/bonding_testpmd.c:610:
+ portid_t slave_id;
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2103: FILE: drivers/net/bonding/bonding_testpmd.c:614:
+static void cmd_add_bonding_slave_parsed(void *parsed_result,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2106: FILE: drivers/net/bonding/bonding_testpmd.c:617:
+ struct cmd_add_bonding_slave_result *res = parsed_result;
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2107: FILE: drivers/net/bonding/bonding_testpmd.c:618:
+ portid_t master_port_id = res->port_id;
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2108: FILE: drivers/net/bonding/bonding_testpmd.c:619:
+ portid_t slave_port_id = res->slave_id;
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2108: FILE: drivers/net/bonding/bonding_testpmd.c:619:
+ portid_t slave_port_id = res->slave_id;
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2110: FILE: drivers/net/bonding/bonding_testpmd.c:621:
+ /* add the slave for a bonded device. */
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2111: FILE: drivers/net/bonding/bonding_testpmd.c:622:
+ if (rte_eth_bond_slave_add(master_port_id, slave_port_id) != 0) {
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2111: FILE: drivers/net/bonding/bonding_testpmd.c:622:
+ if (rte_eth_bond_slave_add(master_port_id, slave_port_id) != 0) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2111: FILE: drivers/net/bonding/bonding_testpmd.c:622:
+ if (rte_eth_bond_slave_add(master_port_id, slave_port_id) != 0) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2113: FILE: drivers/net/bonding/bonding_testpmd.c:624:
+ " Failed to add slave %d to master port = %d.
",
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2113: FILE: drivers/net/bonding/bonding_testpmd.c:624:
+ " Failed to add slave %d to master port = %d.
",
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2114: FILE: drivers/net/bonding/bonding_testpmd.c:625:
+ slave_port_id, master_port_id);
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2114: FILE: drivers/net/bonding/bonding_testpmd.c:625:
+ slave_port_id, master_port_id);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2118: FILE: drivers/net/bonding/bonding_testpmd.c:629:
+ set_port_slave_flag(slave_port_id);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2118: FILE: drivers/net/bonding/bonding_testpmd.c:629:
+ set_port_slave_flag(slave_port_id);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2121: FILE: drivers/net/bonding/bonding_testpmd.c:632:
+static cmdline_parse_token_string_t cmd_addbonding_slave_add =
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2122: FILE: drivers/net/bonding/bonding_testpmd.c:633:
+ TOKEN_STRING_INITIALIZER(struct cmd_add_bonding_slave_result,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2124: FILE: drivers/net/bonding/bonding_testpmd.c:635:
+static cmdline_parse_token_string_t cmd_addbonding_slave_bonding =
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2125: FILE: drivers/net/bonding/bonding_testpmd.c:636:
+ TOKEN_STRING_INITIALIZER(struct cmd_add_bonding_slave_result,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2127: FILE: drivers/net/bonding/bonding_testpmd.c:638:
+static cmdline_parse_token_string_t cmd_addbonding_slave_slave =
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2128: FILE: drivers/net/bonding/bonding_testpmd.c:639:
+ TOKEN_STRING_INITIALIZER(struct cmd_add_bonding_slave_result,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2129: FILE: drivers/net/bonding/bonding_testpmd.c:640:
+ slave, "slave");
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2129: FILE: drivers/net/bonding/bonding_testpmd.c:640:
+ slave, "slave");
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2130: FILE: drivers/net/bonding/bonding_testpmd.c:641:
+static cmdline_parse_token_num_t cmd_addbonding_slave_slaveid =
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2131: FILE: drivers/net/bonding/bonding_testpmd.c:642:
+ TOKEN_NUM_INITIALIZER(struct cmd_add_bonding_slave_result,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2132: FILE: drivers/net/bonding/bonding_testpmd.c:643:
+ slave_id, RTE_UINT16);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2133: FILE: drivers/net/bonding/bonding_testpmd.c:644:
+static cmdline_parse_token_num_t cmd_addbonding_slave_port =
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2134: FILE: drivers/net/bonding/bonding_testpmd.c:645:
+ TOKEN_NUM_INITIALIZER(struct cmd_add_bonding_slave_result,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2137: FILE: drivers/net/bonding/bonding_testpmd.c:648:
+static cmdline_parse_inst_t cmd_add_bonding_slave = {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2138: FILE: drivers/net/bonding/bonding_testpmd.c:649:
+ .f = cmd_add_bonding_slave_parsed,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2139: FILE: drivers/net/bonding/bonding_testpmd.c:650:
+ .help_str = "add bonding slave <slave_id> <port_id>: "
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2139: FILE: drivers/net/bonding/bonding_testpmd.c:650:
+ .help_str = "add bonding slave <slave_id> <port_id>: "
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2140: FILE: drivers/net/bonding/bonding_testpmd.c:651:
+ "Add a slave device to a bonded device",
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2143: FILE: drivers/net/bonding/bonding_testpmd.c:654:
+ (void *)&cmd_addbonding_slave_add,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2144: FILE: drivers/net/bonding/bonding_testpmd.c:655:
+ (void *)&cmd_addbonding_slave_bonding,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2145: FILE: drivers/net/bonding/bonding_testpmd.c:656:
+ (void *)&cmd_addbonding_slave_slave,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2146: FILE: drivers/net/bonding/bonding_testpmd.c:657:
+ (void *)&cmd_addbonding_slave_slaveid,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2147: FILE: drivers/net/bonding/bonding_testpmd.c:658:
+ (void *)&cmd_addbonding_slave_port,
WARNING:TYPO_SPELLING: 'SLAVE' may be misspelled - perhaps 'SECONDARY'?
#2152: FILE: drivers/net/bonding/bonding_testpmd.c:663:
+/* *** REMOVE SLAVE *** */
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2153: FILE: drivers/net/bonding/bonding_testpmd.c:664:
+struct cmd_remove_bonding_slave_result {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2156: FILE: drivers/net/bonding/bonding_testpmd.c:667:
+ cmdline_fixed_string_t slave;
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2157: FILE: drivers/net/bonding/bonding_testpmd.c:668:
+ portid_t slave_id;
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2161: FILE: drivers/net/bonding/bonding_testpmd.c:672:
+static void cmd_remove_bonding_slave_parsed(void *parsed_result,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2164: FILE: drivers/net/bonding/bonding_testpmd.c:675:
+ struct cmd_remove_bonding_slave_result *res = parsed_result;
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2165: FILE: drivers/net/bonding/bonding_testpmd.c:676:
+ portid_t master_port_id = res->port_id;
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2166: FILE: drivers/net/bonding/bonding_testpmd.c:677:
+ portid_t slave_port_id = res->slave_id;
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2166: FILE: drivers/net/bonding/bonding_testpmd.c:677:
+ portid_t slave_port_id = res->slave_id;
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2168: FILE: drivers/net/bonding/bonding_testpmd.c:679:
+ /* remove the slave from a bonded device. */
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2169: FILE: drivers/net/bonding/bonding_testpmd.c:680:
+ if (rte_eth_bond_slave_remove(master_port_id, slave_port_id) != 0) {
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2169: FILE: drivers/net/bonding/bonding_testpmd.c:680:
+ if (rte_eth_bond_slave_remove(master_port_id, slave_port_id) != 0) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2169: FILE: drivers/net/bonding/bonding_testpmd.c:680:
+ if (rte_eth_bond_slave_remove(master_port_id, slave_port_id) != 0) {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2171: FILE: drivers/net/bonding/bonding_testpmd.c:682:
+ " Failed to remove slave %d from master port = %d.
",
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2171: FILE: drivers/net/bonding/bonding_testpmd.c:682:
+ " Failed to remove slave %d from master port = %d.
",
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2172: FILE: drivers/net/bonding/bonding_testpmd.c:683:
+ slave_port_id, master_port_id);
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2172: FILE: drivers/net/bonding/bonding_testpmd.c:683:
+ slave_port_id, master_port_id);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2176: FILE: drivers/net/bonding/bonding_testpmd.c:687:
+ clear_port_slave_flag(slave_port_id);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2176: FILE: drivers/net/bonding/bonding_testpmd.c:687:
+ clear_port_slave_flag(slave_port_id);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2179: FILE: drivers/net/bonding/bonding_testpmd.c:690:
+static cmdline_parse_token_string_t cmd_removebonding_slave_remove =
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2180: FILE: drivers/net/bonding/bonding_testpmd.c:691:
+ TOKEN_STRING_INITIALIZER(struct cmd_remove_bonding_slave_result,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2182: FILE: drivers/net/bonding/bonding_testpmd.c:693:
+static cmdline_parse_token_string_t cmd_removebonding_slave_bonding =
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2183: FILE: drivers/net/bonding/bonding_testpmd.c:694:
+ TOKEN_STRING_INITIALIZER(struct cmd_remove_bonding_slave_result,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2185: FILE: drivers/net/bonding/bonding_testpmd.c:696:
+static cmdline_parse_token_string_t cmd_removebonding_slave_slave =
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2186: FILE: drivers/net/bonding/bonding_testpmd.c:697:
+ TOKEN_STRING_INITIALIZER(struct cmd_remove_bonding_slave_result,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2187: FILE: drivers/net/bonding/bonding_testpmd.c:698:
+ slave, "slave");
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2187: FILE: drivers/net/bonding/bonding_testpmd.c:698:
+ slave, "slave");
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2188: FILE: drivers/net/bonding/bonding_testpmd.c:699:
+static cmdline_parse_token_num_t cmd_removebonding_slave_slaveid =
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2189: FILE: drivers/net/bonding/bonding_testpmd.c:700:
+ TOKEN_NUM_INITIALIZER(struct cmd_remove_bonding_slave_result,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2190: FILE: drivers/net/bonding/bonding_testpmd.c:701:
+ slave_id, RTE_UINT16);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2191: FILE: drivers/net/bonding/bonding_testpmd.c:702:
+static cmdline_parse_token_num_t cmd_removebonding_slave_port =
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2192: FILE: drivers/net/bonding/bonding_testpmd.c:703:
+ TOKEN_NUM_INITIALIZER(struct cmd_remove_bonding_slave_result,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2195: FILE: drivers/net/bonding/bonding_testpmd.c:706:
+static cmdline_parse_inst_t cmd_remove_bonding_slave = {
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2196: FILE: drivers/net/bonding/bonding_testpmd.c:707:
+ .f = cmd_remove_bonding_slave_parsed,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2197: FILE: drivers/net/bonding/bonding_testpmd.c:708:
+ .help_str = "remove bonding slave <slave_id> <port_id>: "
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2197: FILE: drivers/net/bonding/bonding_testpmd.c:708:
+ .help_str = "remove bonding slave <slave_id> <port_id>: "
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2198: FILE: drivers/net/bonding/bonding_testpmd.c:709:
+ "Remove a slave device from a bonded device",
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2201: FILE: drivers/net/bonding/bonding_testpmd.c:712:
+ (void *)&cmd_removebonding_slave_remove,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2202: FILE: drivers/net/bonding/bonding_testpmd.c:713:
+ (void *)&cmd_removebonding_slave_bonding,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2203: FILE: drivers/net/bonding/bonding_testpmd.c:714:
+ (void *)&cmd_removebonding_slave_slave,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2204: FILE: drivers/net/bonding/bonding_testpmd.c:715:
+ (void *)&cmd_removebonding_slave_slaveid,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2205: FILE: drivers/net/bonding/bonding_testpmd.c:716:
+ (void *)&cmd_removebonding_slave_port,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2472: FILE: drivers/net/bonding/bonding_testpmd.c:983:
+ "set bonding primary (slave_id) (port_id)
"
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2473: FILE: drivers/net/bonding/bonding_testpmd.c:984:
+ " Set the primary slave for a bonded device.
",
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2476: FILE: drivers/net/bonding/bonding_testpmd.c:987:
+ &cmd_add_bonding_slave,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2477: FILE: drivers/net/bonding/bonding_testpmd.c:988:
+ "add bonding slave (slave_id) (port_id)
"
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2477: FILE: drivers/net/bonding/bonding_testpmd.c:988:
+ "add bonding slave (slave_id) (port_id)
"
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2478: FILE: drivers/net/bonding/bonding_testpmd.c:989:
+ " Add a slave device to a bonded device.
",
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2481: FILE: drivers/net/bonding/bonding_testpmd.c:992:
+ &cmd_remove_bonding_slave,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2482: FILE: drivers/net/bonding/bonding_testpmd.c:993:
+ "remove bonding slave (slave_id) (port_id)
"
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2482: FILE: drivers/net/bonding/bonding_testpmd.c:993:
+ "remove bonding slave (slave_id) (port_id)
"
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2483: FILE: drivers/net/bonding/bonding_testpmd.c:994:
+ " Remove a slave device from a bonded device.
",
total: 0 errors, 176 warnings, 0 checks, 2399 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-23 7:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20220523071031.1868862-4-david.marchand@redhat.com>
2022-05-23 7:12 ` |WARNING| pw111595 [PATCH 3/6] net/bonding: move testpmd commands checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).