From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0494245DB9 for ; Wed, 27 Nov 2024 18:21:10 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ED3CC4066F; Wed, 27 Nov 2024 18:21:09 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 64329402DE for ; Wed, 27 Nov 2024 18:21:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732728068; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2CoIWYKrYyVJSZYSLa4pIi5Eh5J4eVPMGLJm3HMqh4I=; b=f293V6EhSjBhQKKKwF+GgeK7gD6jtnWMe6P0nL52d7WYpdCTo+DEr88a0JNVwzESpkwFIY fNoEHjN/7wnXNmuEJL6zdcBVDQjcD5pjz43KwS8K+aDobaYRBZZkP2OuSM/crN2ibTpmSX 6umbEltRwj4+C7Fs+AG/gfbOZ+1XnUc= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-554-yhfziD-1N_6dISbAF7O-sQ-1; Wed, 27 Nov 2024 12:21:04 -0500 X-MC-Unique: yhfziD-1N_6dISbAF7O-sQ-1 X-Mimecast-MFC-AGG-ID: yhfziD-1N_6dISbAF7O-sQ Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 6F9F01955D58; Wed, 27 Nov 2024 17:21:03 +0000 (UTC) Received: from rh.redhat.com (unknown [10.39.192.52]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 767483003B71; Wed, 27 Nov 2024 17:21:01 +0000 (UTC) From: Kevin Traynor To: Stephen Hemminger Cc: Ferruh Yigit , dpdk stable Subject: patch 'app/testpmd: remove unnecessary cast' has been queued to stable release 21.11.9 Date: Wed, 27 Nov 2024 17:17:50 +0000 Message-ID: <20241127171916.690404-43-ktraynor@redhat.com> In-Reply-To: <20241127171916.690404-1-ktraynor@redhat.com> References: <20241127171916.690404-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: YbHjK2kz9G4krUIyjJQ0LSYm0LkU4nOmJoLLB7c6d9E_1732728063 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 21.11.9 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/02/24. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/3040238e3559462e81ab6c6ef6d25cf0a5b20fa8 Thanks. Kevin --- >From 3040238e3559462e81ab6c6ef6d25cf0a5b20fa8 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 23 Aug 2024 09:26:01 -0700 Subject: [PATCH] app/testpmd: remove unnecessary cast [ upstream commit 0a3901aa624a690faa49ca081c468320d4edcb7a ] The list of builtin cmdline commands has unnecessary cast which blocks compiler type checking. Fixes: af75078fece3 ("first public release") Signed-off-by: Stephen Hemminger Acked-by: Ferruh Yigit --- app/test-pmd/cmdline.c | 544 ++++++++++++++++++++--------------------- 1 file changed, 272 insertions(+), 272 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 781b7ce0db..aa4acdcab5 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -17734,287 +17734,287 @@ cmdline_parse_inst_t cmd_show_port_flow_transfer_proxy = { /* list of instructions */ cmdline_parse_ctx_t main_ctx[] = { - (cmdline_parse_inst_t *)&cmd_help_brief, - (cmdline_parse_inst_t *)&cmd_help_long, - (cmdline_parse_inst_t *)&cmd_quit, - (cmdline_parse_inst_t *)&cmd_load_from_file, - (cmdline_parse_inst_t *)&cmd_showport, - (cmdline_parse_inst_t *)&cmd_showqueue, - (cmdline_parse_inst_t *)&cmd_showeeprom, - (cmdline_parse_inst_t *)&cmd_showportall, - (cmdline_parse_inst_t *)&cmd_representor_info, - (cmdline_parse_inst_t *)&cmd_showdevice, - (cmdline_parse_inst_t *)&cmd_showcfg, - (cmdline_parse_inst_t *)&cmd_showfwdall, - (cmdline_parse_inst_t *)&cmd_start, - (cmdline_parse_inst_t *)&cmd_start_tx_first, - (cmdline_parse_inst_t *)&cmd_start_tx_first_n, - (cmdline_parse_inst_t *)&cmd_set_link_up, - (cmdline_parse_inst_t *)&cmd_set_link_down, - (cmdline_parse_inst_t *)&cmd_reset, - (cmdline_parse_inst_t *)&cmd_set_numbers, - (cmdline_parse_inst_t *)&cmd_set_log, - (cmdline_parse_inst_t *)&cmd_set_rxoffs, - (cmdline_parse_inst_t *)&cmd_set_rxpkts, - (cmdline_parse_inst_t *)&cmd_set_txpkts, - (cmdline_parse_inst_t *)&cmd_set_txsplit, - (cmdline_parse_inst_t *)&cmd_set_txtimes, - (cmdline_parse_inst_t *)&cmd_set_fwd_list, - (cmdline_parse_inst_t *)&cmd_set_fwd_mask, - (cmdline_parse_inst_t *)&cmd_set_fwd_mode, - (cmdline_parse_inst_t *)&cmd_set_fwd_retry_mode, - (cmdline_parse_inst_t *)&cmd_set_burst_tx_retry, - (cmdline_parse_inst_t *)&cmd_set_promisc_mode_one, - (cmdline_parse_inst_t *)&cmd_set_promisc_mode_all, - (cmdline_parse_inst_t *)&cmd_set_allmulti_mode_one, - (cmdline_parse_inst_t *)&cmd_set_allmulti_mode_all, - (cmdline_parse_inst_t *)&cmd_set_flush_rx, - (cmdline_parse_inst_t *)&cmd_set_link_check, - (cmdline_parse_inst_t *)&cmd_set_bypass_mode, - (cmdline_parse_inst_t *)&cmd_set_bypass_event, - (cmdline_parse_inst_t *)&cmd_set_bypass_timeout, - (cmdline_parse_inst_t *)&cmd_show_bypass_config, + &cmd_help_brief, + &cmd_help_long, + &cmd_quit, + &cmd_load_from_file, + &cmd_showport, + &cmd_showqueue, + &cmd_showeeprom, + &cmd_showportall, + &cmd_representor_info, + &cmd_showdevice, + &cmd_showcfg, + &cmd_showfwdall, + &cmd_start, + &cmd_start_tx_first, + &cmd_start_tx_first_n, + &cmd_set_link_up, + &cmd_set_link_down, + &cmd_reset, + &cmd_set_numbers, + &cmd_set_log, + &cmd_set_rxoffs, + &cmd_set_rxpkts, + &cmd_set_txpkts, + &cmd_set_txsplit, + &cmd_set_txtimes, + &cmd_set_fwd_list, + &cmd_set_fwd_mask, + &cmd_set_fwd_mode, + &cmd_set_fwd_retry_mode, + &cmd_set_burst_tx_retry, + &cmd_set_promisc_mode_one, + &cmd_set_promisc_mode_all, + &cmd_set_allmulti_mode_one, + &cmd_set_allmulti_mode_all, + &cmd_set_flush_rx, + &cmd_set_link_check, + &cmd_set_bypass_mode, + &cmd_set_bypass_event, + &cmd_set_bypass_timeout, + &cmd_show_bypass_config, #ifdef RTE_NET_BOND - (cmdline_parse_inst_t *) &cmd_set_bonding_mode, - (cmdline_parse_inst_t *) &cmd_show_bonding_config, - (cmdline_parse_inst_t *) &cmd_show_bonding_lacp_info, - (cmdline_parse_inst_t *) &cmd_set_bonding_primary, - (cmdline_parse_inst_t *) &cmd_add_bonding_slave, - (cmdline_parse_inst_t *) &cmd_remove_bonding_slave, - (cmdline_parse_inst_t *) &cmd_create_bonded_device, - (cmdline_parse_inst_t *) &cmd_set_bond_mac_addr, - (cmdline_parse_inst_t *) &cmd_set_balance_xmit_policy, - (cmdline_parse_inst_t *) &cmd_set_bond_mon_period, - (cmdline_parse_inst_t *) &cmd_set_lacp_dedicated_queues, - (cmdline_parse_inst_t *) &cmd_set_bonding_agg_mode_policy, + &cmd_set_bonding_mode, + &cmd_show_bonding_config, + &cmd_show_bonding_lacp_info, + &cmd_set_bonding_primary, + &cmd_add_bonding_slave, + &cmd_remove_bonding_slave, + &cmd_create_bonded_device, + &cmd_set_bond_mac_addr, + &cmd_set_balance_xmit_policy, + &cmd_set_bond_mon_period, + &cmd_set_lacp_dedicated_queues, + &cmd_set_bonding_agg_mode_policy, #endif - (cmdline_parse_inst_t *)&cmd_vlan_offload, - (cmdline_parse_inst_t *)&cmd_vlan_tpid, - (cmdline_parse_inst_t *)&cmd_rx_vlan_filter_all, - (cmdline_parse_inst_t *)&cmd_rx_vlan_filter, - (cmdline_parse_inst_t *)&cmd_tx_vlan_set, - (cmdline_parse_inst_t *)&cmd_tx_vlan_set_qinq, - (cmdline_parse_inst_t *)&cmd_tx_vlan_reset, - (cmdline_parse_inst_t *)&cmd_tx_vlan_set_pvid, - (cmdline_parse_inst_t *)&cmd_csum_set, - (cmdline_parse_inst_t *)&cmd_csum_show, - (cmdline_parse_inst_t *)&cmd_csum_tunnel, - (cmdline_parse_inst_t *)&cmd_csum_mac_swap, - (cmdline_parse_inst_t *)&cmd_tso_set, - (cmdline_parse_inst_t *)&cmd_tso_show, - (cmdline_parse_inst_t *)&cmd_tunnel_tso_set, - (cmdline_parse_inst_t *)&cmd_tunnel_tso_show, + &cmd_vlan_offload, + &cmd_vlan_tpid, + &cmd_rx_vlan_filter_all, + &cmd_rx_vlan_filter, + &cmd_tx_vlan_set, + &cmd_tx_vlan_set_qinq, + &cmd_tx_vlan_reset, + &cmd_tx_vlan_set_pvid, + &cmd_csum_set, + &cmd_csum_show, + &cmd_csum_tunnel, + &cmd_csum_mac_swap, + &cmd_tso_set, + &cmd_tso_show, + &cmd_tunnel_tso_set, + &cmd_tunnel_tso_show, #ifdef RTE_LIB_GRO - (cmdline_parse_inst_t *)&cmd_gro_enable, - (cmdline_parse_inst_t *)&cmd_gro_flush, - (cmdline_parse_inst_t *)&cmd_gro_show, + &cmd_gro_enable, + &cmd_gro_flush, + &cmd_gro_show, #endif #ifdef RTE_LIB_GSO - (cmdline_parse_inst_t *)&cmd_gso_enable, - (cmdline_parse_inst_t *)&cmd_gso_size, - (cmdline_parse_inst_t *)&cmd_gso_show, + &cmd_gso_enable, + &cmd_gso_size, + &cmd_gso_show, #endif - (cmdline_parse_inst_t *)&cmd_link_flow_control_set, - (cmdline_parse_inst_t *)&cmd_link_flow_control_set_rx, - (cmdline_parse_inst_t *)&cmd_link_flow_control_set_tx, - (cmdline_parse_inst_t *)&cmd_link_flow_control_set_hw, - (cmdline_parse_inst_t *)&cmd_link_flow_control_set_lw, - (cmdline_parse_inst_t *)&cmd_link_flow_control_set_pt, - (cmdline_parse_inst_t *)&cmd_link_flow_control_set_xon, - (cmdline_parse_inst_t *)&cmd_link_flow_control_set_macfwd, - (cmdline_parse_inst_t *)&cmd_link_flow_control_set_autoneg, - (cmdline_parse_inst_t *)&cmd_link_flow_control_show, - (cmdline_parse_inst_t *)&cmd_priority_flow_control_set, - (cmdline_parse_inst_t *)&cmd_config_dcb, - (cmdline_parse_inst_t *)&cmd_read_reg, - (cmdline_parse_inst_t *)&cmd_read_reg_bit_field, - (cmdline_parse_inst_t *)&cmd_read_reg_bit, - (cmdline_parse_inst_t *)&cmd_write_reg, - (cmdline_parse_inst_t *)&cmd_write_reg_bit_field, - (cmdline_parse_inst_t *)&cmd_write_reg_bit, - (cmdline_parse_inst_t *)&cmd_read_rxd_txd, - (cmdline_parse_inst_t *)&cmd_stop, - (cmdline_parse_inst_t *)&cmd_mac_addr, - (cmdline_parse_inst_t *)&cmd_set_fwd_eth_peer, - (cmdline_parse_inst_t *)&cmd_set_qmap, - (cmdline_parse_inst_t *)&cmd_set_xstats_hide_zero, - (cmdline_parse_inst_t *)&cmd_set_record_core_cycles, - (cmdline_parse_inst_t *)&cmd_set_record_burst_stats, - (cmdline_parse_inst_t *)&cmd_operate_port, - (cmdline_parse_inst_t *)&cmd_operate_specific_port, - (cmdline_parse_inst_t *)&cmd_operate_attach_port, - (cmdline_parse_inst_t *)&cmd_operate_detach_port, - (cmdline_parse_inst_t *)&cmd_operate_detach_device, - (cmdline_parse_inst_t *)&cmd_set_port_setup_on, - (cmdline_parse_inst_t *)&cmd_config_speed_all, - (cmdline_parse_inst_t *)&cmd_config_speed_specific, - (cmdline_parse_inst_t *)&cmd_config_loopback_all, - (cmdline_parse_inst_t *)&cmd_config_loopback_specific, - (cmdline_parse_inst_t *)&cmd_config_rx_tx, - (cmdline_parse_inst_t *)&cmd_config_mtu, - (cmdline_parse_inst_t *)&cmd_config_max_pkt_len, - (cmdline_parse_inst_t *)&cmd_config_max_lro_pkt_size, - (cmdline_parse_inst_t *)&cmd_config_rx_mode_flag, - (cmdline_parse_inst_t *)&cmd_config_rss, - (cmdline_parse_inst_t *)&cmd_config_rxtx_ring_size, - (cmdline_parse_inst_t *)&cmd_config_rxtx_queue, - (cmdline_parse_inst_t *)&cmd_config_deferred_start_rxtx_queue, - (cmdline_parse_inst_t *)&cmd_setup_rxtx_queue, - (cmdline_parse_inst_t *)&cmd_config_rss_reta, - (cmdline_parse_inst_t *)&cmd_showport_reta, - (cmdline_parse_inst_t *)&cmd_showport_macs, - (cmdline_parse_inst_t *)&cmd_show_port_flow_transfer_proxy, - (cmdline_parse_inst_t *)&cmd_config_burst, - (cmdline_parse_inst_t *)&cmd_config_thresh, - (cmdline_parse_inst_t *)&cmd_config_threshold, - (cmdline_parse_inst_t *)&cmd_set_uc_hash_filter, - (cmdline_parse_inst_t *)&cmd_set_uc_all_hash_filter, - (cmdline_parse_inst_t *)&cmd_vf_mac_addr_filter, - (cmdline_parse_inst_t *)&cmd_queue_rate_limit, - (cmdline_parse_inst_t *)&cmd_tunnel_udp_config, - (cmdline_parse_inst_t *)&cmd_showport_rss_hash, - (cmdline_parse_inst_t *)&cmd_showport_rss_hash_key, - (cmdline_parse_inst_t *)&cmd_config_rss_hash_key, - (cmdline_parse_inst_t *)&cmd_cleanup_txq_mbufs, - (cmdline_parse_inst_t *)&cmd_dump, - (cmdline_parse_inst_t *)&cmd_dump_one, + &cmd_link_flow_control_set, + &cmd_link_flow_control_set_rx, + &cmd_link_flow_control_set_tx, + &cmd_link_flow_control_set_hw, + &cmd_link_flow_control_set_lw, + &cmd_link_flow_control_set_pt, + &cmd_link_flow_control_set_xon, + &cmd_link_flow_control_set_macfwd, + &cmd_link_flow_control_set_autoneg, + &cmd_link_flow_control_show, + &cmd_priority_flow_control_set, + &cmd_config_dcb, + &cmd_read_reg, + &cmd_read_reg_bit_field, + &cmd_read_reg_bit, + &cmd_write_reg, + &cmd_write_reg_bit_field, + &cmd_write_reg_bit, + &cmd_read_rxd_txd, + &cmd_stop, + &cmd_mac_addr, + &cmd_set_fwd_eth_peer, + &cmd_set_qmap, + &cmd_set_xstats_hide_zero, + &cmd_set_record_core_cycles, + &cmd_set_record_burst_stats, + &cmd_operate_port, + &cmd_operate_specific_port, + &cmd_operate_attach_port, + &cmd_operate_detach_port, + &cmd_operate_detach_device, + &cmd_set_port_setup_on, + &cmd_config_speed_all, + &cmd_config_speed_specific, + &cmd_config_loopback_all, + &cmd_config_loopback_specific, + &cmd_config_rx_tx, + &cmd_config_mtu, + &cmd_config_max_pkt_len, + &cmd_config_max_lro_pkt_size, + &cmd_config_rx_mode_flag, + &cmd_config_rss, + &cmd_config_rxtx_ring_size, + &cmd_config_rxtx_queue, + &cmd_config_deferred_start_rxtx_queue, + &cmd_setup_rxtx_queue, + &cmd_config_rss_reta, + &cmd_showport_reta, + &cmd_showport_macs, + &cmd_show_port_flow_transfer_proxy, + &cmd_config_burst, + &cmd_config_thresh, + &cmd_config_threshold, + &cmd_set_uc_hash_filter, + &cmd_set_uc_all_hash_filter, + &cmd_vf_mac_addr_filter, + &cmd_queue_rate_limit, + &cmd_tunnel_udp_config, + &cmd_showport_rss_hash, + &cmd_showport_rss_hash_key, + &cmd_config_rss_hash_key, + &cmd_cleanup_txq_mbufs, + &cmd_dump, + &cmd_dump_one, #ifdef RTE_NET_I40E - (cmdline_parse_inst_t *)&cmd_add_del_raw_flow_director, + &cmd_add_del_raw_flow_director, #endif - (cmdline_parse_inst_t *)&cmd_set_flow_director_ip_mask, - (cmdline_parse_inst_t *)&cmd_set_flow_director_mac_vlan_mask, - (cmdline_parse_inst_t *)&cmd_set_flow_director_tunnel_mask, - (cmdline_parse_inst_t *)&cmd_set_flow_director_flex_payload, - (cmdline_parse_inst_t *)&cmd_flow, - (cmdline_parse_inst_t *)&cmd_show_port_meter_cap, - (cmdline_parse_inst_t *)&cmd_add_port_meter_profile_srtcm, - (cmdline_parse_inst_t *)&cmd_add_port_meter_profile_trtcm, - (cmdline_parse_inst_t *)&cmd_add_port_meter_profile_trtcm_rfc4115, - (cmdline_parse_inst_t *)&cmd_del_port_meter_profile, - (cmdline_parse_inst_t *)&cmd_create_port_meter, - (cmdline_parse_inst_t *)&cmd_enable_port_meter, - (cmdline_parse_inst_t *)&cmd_disable_port_meter, - (cmdline_parse_inst_t *)&cmd_del_port_meter, - (cmdline_parse_inst_t *)&cmd_del_port_meter_policy, - (cmdline_parse_inst_t *)&cmd_set_port_meter_profile, - (cmdline_parse_inst_t *)&cmd_set_port_meter_dscp_table, - (cmdline_parse_inst_t *)&cmd_set_port_meter_stats_mask, - (cmdline_parse_inst_t *)&cmd_show_port_meter_stats, - (cmdline_parse_inst_t *)&cmd_mcast_addr, - (cmdline_parse_inst_t *)&cmd_set_vf_vlan_anti_spoof, - (cmdline_parse_inst_t *)&cmd_set_vf_mac_anti_spoof, - (cmdline_parse_inst_t *)&cmd_set_vf_vlan_stripq, - (cmdline_parse_inst_t *)&cmd_set_vf_vlan_insert, - (cmdline_parse_inst_t *)&cmd_set_tx_loopback, - (cmdline_parse_inst_t *)&cmd_set_all_queues_drop_en, - (cmdline_parse_inst_t *)&cmd_set_vf_split_drop_en, - (cmdline_parse_inst_t *)&cmd_set_macsec_offload_on, - (cmdline_parse_inst_t *)&cmd_set_macsec_offload_off, - (cmdline_parse_inst_t *)&cmd_set_macsec_sc, - (cmdline_parse_inst_t *)&cmd_set_macsec_sa, - (cmdline_parse_inst_t *)&cmd_set_vf_traffic, - (cmdline_parse_inst_t *)&cmd_set_vf_rxmode, - (cmdline_parse_inst_t *)&cmd_vf_rate_limit, - (cmdline_parse_inst_t *)&cmd_vf_rxvlan_filter, - (cmdline_parse_inst_t *)&cmd_set_vf_mac_addr, - (cmdline_parse_inst_t *)&cmd_set_vf_promisc, - (cmdline_parse_inst_t *)&cmd_set_vf_allmulti, - (cmdline_parse_inst_t *)&cmd_set_vf_broadcast, - (cmdline_parse_inst_t *)&cmd_set_vf_vlan_tag, - (cmdline_parse_inst_t *)&cmd_vf_max_bw, - (cmdline_parse_inst_t *)&cmd_vf_tc_min_bw, - (cmdline_parse_inst_t *)&cmd_vf_tc_max_bw, - (cmdline_parse_inst_t *)&cmd_strict_link_prio, - (cmdline_parse_inst_t *)&cmd_tc_min_bw, - (cmdline_parse_inst_t *)&cmd_set_vxlan, - (cmdline_parse_inst_t *)&cmd_set_vxlan_tos_ttl, - (cmdline_parse_inst_t *)&cmd_set_vxlan_with_vlan, - (cmdline_parse_inst_t *)&cmd_set_nvgre, - (cmdline_parse_inst_t *)&cmd_set_nvgre_with_vlan, - (cmdline_parse_inst_t *)&cmd_set_l2_encap, - (cmdline_parse_inst_t *)&cmd_set_l2_encap_with_vlan, - (cmdline_parse_inst_t *)&cmd_set_l2_decap, - (cmdline_parse_inst_t *)&cmd_set_l2_decap_with_vlan, - (cmdline_parse_inst_t *)&cmd_set_mplsogre_encap, - (cmdline_parse_inst_t *)&cmd_set_mplsogre_encap_with_vlan, - (cmdline_parse_inst_t *)&cmd_set_mplsogre_decap, - (cmdline_parse_inst_t *)&cmd_set_mplsogre_decap_with_vlan, - (cmdline_parse_inst_t *)&cmd_set_mplsoudp_encap, - (cmdline_parse_inst_t *)&cmd_set_mplsoudp_encap_with_vlan, - (cmdline_parse_inst_t *)&cmd_set_mplsoudp_decap, - (cmdline_parse_inst_t *)&cmd_set_mplsoudp_decap_with_vlan, - (cmdline_parse_inst_t *)&cmd_set_conntrack_common, - (cmdline_parse_inst_t *)&cmd_set_conntrack_dir, - (cmdline_parse_inst_t *)&cmd_ddp_add, - (cmdline_parse_inst_t *)&cmd_ddp_del, - (cmdline_parse_inst_t *)&cmd_ddp_get_list, - (cmdline_parse_inst_t *)&cmd_ddp_get_info, - (cmdline_parse_inst_t *)&cmd_cfg_input_set, - (cmdline_parse_inst_t *)&cmd_clear_input_set, - (cmdline_parse_inst_t *)&cmd_show_vf_stats, - (cmdline_parse_inst_t *)&cmd_clear_vf_stats, - (cmdline_parse_inst_t *)&cmd_show_port_supported_ptypes, - (cmdline_parse_inst_t *)&cmd_set_port_ptypes, - (cmdline_parse_inst_t *)&cmd_ptype_mapping_get, - (cmdline_parse_inst_t *)&cmd_ptype_mapping_replace, - (cmdline_parse_inst_t *)&cmd_ptype_mapping_reset, - (cmdline_parse_inst_t *)&cmd_ptype_mapping_update, + &cmd_set_flow_director_ip_mask, + &cmd_set_flow_director_mac_vlan_mask, + &cmd_set_flow_director_tunnel_mask, + &cmd_set_flow_director_flex_payload, + &cmd_flow, + &cmd_show_port_meter_cap, + &cmd_add_port_meter_profile_srtcm, + &cmd_add_port_meter_profile_trtcm, + &cmd_add_port_meter_profile_trtcm_rfc4115, + &cmd_del_port_meter_profile, + &cmd_create_port_meter, + &cmd_enable_port_meter, + &cmd_disable_port_meter, + &cmd_del_port_meter, + &cmd_del_port_meter_policy, + &cmd_set_port_meter_profile, + &cmd_set_port_meter_dscp_table, + &cmd_set_port_meter_stats_mask, + &cmd_show_port_meter_stats, + &cmd_mcast_addr, + &cmd_set_vf_vlan_anti_spoof, + &cmd_set_vf_mac_anti_spoof, + &cmd_set_vf_vlan_stripq, + &cmd_set_vf_vlan_insert, + &cmd_set_tx_loopback, + &cmd_set_all_queues_drop_en, + &cmd_set_vf_split_drop_en, + &cmd_set_macsec_offload_on, + &cmd_set_macsec_offload_off, + &cmd_set_macsec_sc, + &cmd_set_macsec_sa, + &cmd_set_vf_traffic, + &cmd_set_vf_rxmode, + &cmd_vf_rate_limit, + &cmd_vf_rxvlan_filter, + &cmd_set_vf_mac_addr, + &cmd_set_vf_promisc, + &cmd_set_vf_allmulti, + &cmd_set_vf_broadcast, + &cmd_set_vf_vlan_tag, + &cmd_vf_max_bw, + &cmd_vf_tc_min_bw, + &cmd_vf_tc_max_bw, + &cmd_strict_link_prio, + &cmd_tc_min_bw, + &cmd_set_vxlan, + &cmd_set_vxlan_tos_ttl, + &cmd_set_vxlan_with_vlan, + &cmd_set_nvgre, + &cmd_set_nvgre_with_vlan, + &cmd_set_l2_encap, + &cmd_set_l2_encap_with_vlan, + &cmd_set_l2_decap, + &cmd_set_l2_decap_with_vlan, + &cmd_set_mplsogre_encap, + &cmd_set_mplsogre_encap_with_vlan, + &cmd_set_mplsogre_decap, + &cmd_set_mplsogre_decap_with_vlan, + &cmd_set_mplsoudp_encap, + &cmd_set_mplsoudp_encap_with_vlan, + &cmd_set_mplsoudp_decap, + &cmd_set_mplsoudp_decap_with_vlan, + &cmd_set_conntrack_common, + &cmd_set_conntrack_dir, + &cmd_ddp_add, + &cmd_ddp_del, + &cmd_ddp_get_list, + &cmd_ddp_get_info, + &cmd_cfg_input_set, + &cmd_clear_input_set, + &cmd_show_vf_stats, + &cmd_clear_vf_stats, + &cmd_show_port_supported_ptypes, + &cmd_set_port_ptypes, + &cmd_ptype_mapping_get, + &cmd_ptype_mapping_replace, + &cmd_ptype_mapping_reset, + &cmd_ptype_mapping_update, - (cmdline_parse_inst_t *)&cmd_pctype_mapping_get, - (cmdline_parse_inst_t *)&cmd_pctype_mapping_reset, - (cmdline_parse_inst_t *)&cmd_pctype_mapping_update, - (cmdline_parse_inst_t *)&cmd_queue_region, - (cmdline_parse_inst_t *)&cmd_region_flowtype, - (cmdline_parse_inst_t *)&cmd_user_priority_region, - (cmdline_parse_inst_t *)&cmd_flush_queue_region, - (cmdline_parse_inst_t *)&cmd_show_queue_region_info_all, - (cmdline_parse_inst_t *)&cmd_show_port_tm_cap, - (cmdline_parse_inst_t *)&cmd_show_port_tm_level_cap, - (cmdline_parse_inst_t *)&cmd_show_port_tm_node_cap, - (cmdline_parse_inst_t *)&cmd_show_port_tm_node_type, - (cmdline_parse_inst_t *)&cmd_show_port_tm_node_stats, - (cmdline_parse_inst_t *)&cmd_add_port_tm_node_shaper_profile, - (cmdline_parse_inst_t *)&cmd_del_port_tm_node_shaper_profile, - (cmdline_parse_inst_t *)&cmd_add_port_tm_node_shared_shaper, - (cmdline_parse_inst_t *)&cmd_del_port_tm_node_shared_shaper, - (cmdline_parse_inst_t *)&cmd_add_port_tm_node_wred_profile, - (cmdline_parse_inst_t *)&cmd_del_port_tm_node_wred_profile, - (cmdline_parse_inst_t *)&cmd_set_port_tm_node_shaper_profile, - (cmdline_parse_inst_t *)&cmd_add_port_tm_nonleaf_node, - (cmdline_parse_inst_t *)&cmd_add_port_tm_nonleaf_node_pmode, - (cmdline_parse_inst_t *)&cmd_add_port_tm_leaf_node, - (cmdline_parse_inst_t *)&cmd_del_port_tm_node, - (cmdline_parse_inst_t *)&cmd_set_port_tm_node_parent, - (cmdline_parse_inst_t *)&cmd_suspend_port_tm_node, - (cmdline_parse_inst_t *)&cmd_resume_port_tm_node, - (cmdline_parse_inst_t *)&cmd_port_tm_hierarchy_commit, - (cmdline_parse_inst_t *)&cmd_port_tm_mark_ip_ecn, - (cmdline_parse_inst_t *)&cmd_port_tm_mark_ip_dscp, - (cmdline_parse_inst_t *)&cmd_port_tm_mark_vlan_dei, - (cmdline_parse_inst_t *)&cmd_cfg_tunnel_udp_port, - (cmdline_parse_inst_t *)&cmd_rx_offload_get_capa, - (cmdline_parse_inst_t *)&cmd_rx_offload_get_configuration, - (cmdline_parse_inst_t *)&cmd_config_per_port_rx_offload, - (cmdline_parse_inst_t *)&cmd_config_per_queue_rx_offload, - (cmdline_parse_inst_t *)&cmd_tx_offload_get_capa, - (cmdline_parse_inst_t *)&cmd_tx_offload_get_configuration, - (cmdline_parse_inst_t *)&cmd_config_per_port_tx_offload, - (cmdline_parse_inst_t *)&cmd_config_per_queue_tx_offload, + &cmd_pctype_mapping_get, + &cmd_pctype_mapping_reset, + &cmd_pctype_mapping_update, + &cmd_queue_region, + &cmd_region_flowtype, + &cmd_user_priority_region, + &cmd_flush_queue_region, + &cmd_show_queue_region_info_all, + &cmd_show_port_tm_cap, + &cmd_show_port_tm_level_cap, + &cmd_show_port_tm_node_cap, + &cmd_show_port_tm_node_type, + &cmd_show_port_tm_node_stats, + &cmd_add_port_tm_node_shaper_profile, + &cmd_del_port_tm_node_shaper_profile, + &cmd_add_port_tm_node_shared_shaper, + &cmd_del_port_tm_node_shared_shaper, + &cmd_add_port_tm_node_wred_profile, + &cmd_del_port_tm_node_wred_profile, + &cmd_set_port_tm_node_shaper_profile, + &cmd_add_port_tm_nonleaf_node, + &cmd_add_port_tm_nonleaf_node_pmode, + &cmd_add_port_tm_leaf_node, + &cmd_del_port_tm_node, + &cmd_set_port_tm_node_parent, + &cmd_suspend_port_tm_node, + &cmd_resume_port_tm_node, + &cmd_port_tm_hierarchy_commit, + &cmd_port_tm_mark_ip_ecn, + &cmd_port_tm_mark_ip_dscp, + &cmd_port_tm_mark_vlan_dei, + &cmd_cfg_tunnel_udp_port, + &cmd_rx_offload_get_capa, + &cmd_rx_offload_get_configuration, + &cmd_config_per_port_rx_offload, + &cmd_config_per_queue_rx_offload, + &cmd_tx_offload_get_capa, + &cmd_tx_offload_get_configuration, + &cmd_config_per_port_tx_offload, + &cmd_config_per_queue_tx_offload, #ifdef RTE_LIB_BPF - (cmdline_parse_inst_t *)&cmd_operate_bpf_ld_parse, - (cmdline_parse_inst_t *)&cmd_operate_bpf_unld_parse, + &cmd_operate_bpf_ld_parse, + &cmd_operate_bpf_unld_parse, #endif - (cmdline_parse_inst_t *)&cmd_config_tx_metadata_specific, - (cmdline_parse_inst_t *)&cmd_show_tx_metadata, - (cmdline_parse_inst_t *)&cmd_show_rx_tx_desc_status, - (cmdline_parse_inst_t *)&cmd_show_rx_queue_desc_used_count, - (cmdline_parse_inst_t *)&cmd_set_raw, - (cmdline_parse_inst_t *)&cmd_show_set_raw, - (cmdline_parse_inst_t *)&cmd_show_set_raw_all, - (cmdline_parse_inst_t *)&cmd_config_tx_dynf_specific, - (cmdline_parse_inst_t *)&cmd_show_fec_mode, - (cmdline_parse_inst_t *)&cmd_set_fec_mode, - (cmdline_parse_inst_t *)&cmd_show_capability, - (cmdline_parse_inst_t *)&cmd_set_flex_is_pattern, - (cmdline_parse_inst_t *)&cmd_set_flex_spec_pattern, + &cmd_config_tx_metadata_specific, + &cmd_show_tx_metadata, + &cmd_show_rx_tx_desc_status, + &cmd_show_rx_queue_desc_used_count, + &cmd_set_raw, + &cmd_show_set_raw, + &cmd_show_set_raw_all, + &cmd_config_tx_dynf_specific, + &cmd_show_fec_mode, + &cmd_set_fec_mode, + &cmd_show_capability, + &cmd_set_flex_is_pattern, + &cmd_set_flex_spec_pattern, NULL, }; -- 2.47.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-11-27 17:17:39.636511388 +0000 +++ 0043-app-testpmd-remove-unnecessary-cast.patch 2024-11-27 17:17:38.217269331 +0000 @@ -1 +1 @@ -From 0a3901aa624a690faa49ca081c468320d4edcb7a Mon Sep 17 00:00:00 2001 +From 3040238e3559462e81ab6c6ef6d25cf0a5b20fa8 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 0a3901aa624a690faa49ca081c468320d4edcb7a ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -15,2 +16,2 @@ - app/test-pmd/cmdline.c | 458 ++++++++++++++++++++--------------------- - 1 file changed, 229 insertions(+), 229 deletions(-) + app/test-pmd/cmdline.c | 544 ++++++++++++++++++++--------------------- + 1 file changed, 272 insertions(+), 272 deletions(-) @@ -19 +20 @@ -index b7759e38a8..358319c20a 100644 +index 781b7ce0db..aa4acdcab5 100644 @@ -22 +23 @@ -@@ -13147,239 +13147,239 @@ static cmdline_parse_inst_t cmd_config_tx_affinity_map = { +@@ -17734,287 +17734,287 @@ cmdline_parse_inst_t cmd_show_port_flow_transfer_proxy = { @@ -24 +25 @@ - static cmdline_parse_ctx_t builtin_ctx[] = { + cmdline_parse_ctx_t main_ctx[] = { @@ -47 +47,0 @@ -- (cmdline_parse_inst_t *)&cmd_set_rxhdrs, @@ -62,16 +62,4 @@ -- (cmdline_parse_inst_t *)&cmd_vlan_offload, -- (cmdline_parse_inst_t *)&cmd_vlan_tpid, -- (cmdline_parse_inst_t *)&cmd_rx_vlan_filter_all, -- (cmdline_parse_inst_t *)&cmd_rx_vlan_filter, -- (cmdline_parse_inst_t *)&cmd_tx_vlan_set, -- (cmdline_parse_inst_t *)&cmd_tx_vlan_set_qinq, -- (cmdline_parse_inst_t *)&cmd_tx_vlan_reset, -- (cmdline_parse_inst_t *)&cmd_tx_vlan_set_pvid, -- (cmdline_parse_inst_t *)&cmd_csum_set, -- (cmdline_parse_inst_t *)&cmd_csum_show, -- (cmdline_parse_inst_t *)&cmd_csum_tunnel, -- (cmdline_parse_inst_t *)&cmd_csum_mac_swap, -- (cmdline_parse_inst_t *)&cmd_tso_set, -- (cmdline_parse_inst_t *)&cmd_tso_show, -- (cmdline_parse_inst_t *)&cmd_tunnel_tso_set, -- (cmdline_parse_inst_t *)&cmd_tunnel_tso_show, +- (cmdline_parse_inst_t *)&cmd_set_bypass_mode, +- (cmdline_parse_inst_t *)&cmd_set_bypass_event, +- (cmdline_parse_inst_t *)&cmd_set_bypass_timeout, +- (cmdline_parse_inst_t *)&cmd_show_bypass_config, @@ -100 +87,0 @@ -+ &cmd_set_rxhdrs, @@ -114,0 +102,46 @@ ++ &cmd_set_bypass_mode, ++ &cmd_set_bypass_event, ++ &cmd_set_bypass_timeout, ++ &cmd_show_bypass_config, + #ifdef RTE_NET_BOND +- (cmdline_parse_inst_t *) &cmd_set_bonding_mode, +- (cmdline_parse_inst_t *) &cmd_show_bonding_config, +- (cmdline_parse_inst_t *) &cmd_show_bonding_lacp_info, +- (cmdline_parse_inst_t *) &cmd_set_bonding_primary, +- (cmdline_parse_inst_t *) &cmd_add_bonding_slave, +- (cmdline_parse_inst_t *) &cmd_remove_bonding_slave, +- (cmdline_parse_inst_t *) &cmd_create_bonded_device, +- (cmdline_parse_inst_t *) &cmd_set_bond_mac_addr, +- (cmdline_parse_inst_t *) &cmd_set_balance_xmit_policy, +- (cmdline_parse_inst_t *) &cmd_set_bond_mon_period, +- (cmdline_parse_inst_t *) &cmd_set_lacp_dedicated_queues, +- (cmdline_parse_inst_t *) &cmd_set_bonding_agg_mode_policy, ++ &cmd_set_bonding_mode, ++ &cmd_show_bonding_config, ++ &cmd_show_bonding_lacp_info, ++ &cmd_set_bonding_primary, ++ &cmd_add_bonding_slave, ++ &cmd_remove_bonding_slave, ++ &cmd_create_bonded_device, ++ &cmd_set_bond_mac_addr, ++ &cmd_set_balance_xmit_policy, ++ &cmd_set_bond_mon_period, ++ &cmd_set_lacp_dedicated_queues, ++ &cmd_set_bonding_agg_mode_policy, + #endif +- (cmdline_parse_inst_t *)&cmd_vlan_offload, +- (cmdline_parse_inst_t *)&cmd_vlan_tpid, +- (cmdline_parse_inst_t *)&cmd_rx_vlan_filter_all, +- (cmdline_parse_inst_t *)&cmd_rx_vlan_filter, +- (cmdline_parse_inst_t *)&cmd_tx_vlan_set, +- (cmdline_parse_inst_t *)&cmd_tx_vlan_set_qinq, +- (cmdline_parse_inst_t *)&cmd_tx_vlan_reset, +- (cmdline_parse_inst_t *)&cmd_tx_vlan_set_pvid, +- (cmdline_parse_inst_t *)&cmd_csum_set, +- (cmdline_parse_inst_t *)&cmd_csum_show, +- (cmdline_parse_inst_t *)&cmd_csum_tunnel, +- (cmdline_parse_inst_t *)&cmd_csum_mac_swap, +- (cmdline_parse_inst_t *)&cmd_tso_set, +- (cmdline_parse_inst_t *)&cmd_tso_show, +- (cmdline_parse_inst_t *)&cmd_tunnel_tso_set, +- (cmdline_parse_inst_t *)&cmd_tunnel_tso_show, @@ -158 +190,0 @@ -- (cmdline_parse_inst_t *)&cmd_queue_priority_flow_control_set, @@ -159,0 +192,6 @@ +- (cmdline_parse_inst_t *)&cmd_read_reg, +- (cmdline_parse_inst_t *)&cmd_read_reg_bit_field, +- (cmdline_parse_inst_t *)&cmd_read_reg_bit, +- (cmdline_parse_inst_t *)&cmd_write_reg, +- (cmdline_parse_inst_t *)&cmd_write_reg_bit_field, +- (cmdline_parse_inst_t *)&cmd_write_reg_bit, @@ -202 +239,0 @@ -- (cmdline_parse_inst_t *)&cmd_showport_rss_hash_algo, @@ -204 +240,0 @@ -- (cmdline_parse_inst_t *)&cmd_config_rss_hash_algo, @@ -208,89 +243,0 @@ -- (cmdline_parse_inst_t *)&cmd_flow, -- (cmdline_parse_inst_t *)&cmd_show_port_meter_cap, -- (cmdline_parse_inst_t *)&cmd_add_port_meter_profile_srtcm, -- (cmdline_parse_inst_t *)&cmd_add_port_meter_profile_trtcm, -- (cmdline_parse_inst_t *)&cmd_add_port_meter_profile_trtcm_rfc4115, -- (cmdline_parse_inst_t *)&cmd_del_port_meter_profile, -- (cmdline_parse_inst_t *)&cmd_create_port_meter, -- (cmdline_parse_inst_t *)&cmd_enable_port_meter, -- (cmdline_parse_inst_t *)&cmd_disable_port_meter, -- (cmdline_parse_inst_t *)&cmd_del_port_meter, -- (cmdline_parse_inst_t *)&cmd_del_port_meter_policy, -- (cmdline_parse_inst_t *)&cmd_set_port_meter_profile, -- (cmdline_parse_inst_t *)&cmd_set_port_meter_dscp_table, -- (cmdline_parse_inst_t *)&cmd_set_port_meter_vlan_table, -- (cmdline_parse_inst_t *)&cmd_set_port_meter_in_proto, -- (cmdline_parse_inst_t *)&cmd_get_port_meter_in_proto, -- (cmdline_parse_inst_t *)&cmd_get_port_meter_in_proto_prio, -- (cmdline_parse_inst_t *)&cmd_set_port_meter_stats_mask, -- (cmdline_parse_inst_t *)&cmd_show_port_meter_stats, -- (cmdline_parse_inst_t *)&cmd_mcast_addr, -- (cmdline_parse_inst_t *)&cmd_mcast_addr_flush, -- (cmdline_parse_inst_t *)&cmd_set_vf_vlan_anti_spoof, -- (cmdline_parse_inst_t *)&cmd_set_vf_mac_anti_spoof, -- (cmdline_parse_inst_t *)&cmd_set_vf_vlan_stripq, -- (cmdline_parse_inst_t *)&cmd_set_vf_vlan_insert, -- (cmdline_parse_inst_t *)&cmd_set_tx_loopback, -- (cmdline_parse_inst_t *)&cmd_set_all_queues_drop_en, -- (cmdline_parse_inst_t *)&cmd_set_vf_traffic, -- (cmdline_parse_inst_t *)&cmd_set_vf_rxmode, -- (cmdline_parse_inst_t *)&cmd_vf_rate_limit, -- (cmdline_parse_inst_t *)&cmd_vf_rxvlan_filter, -- (cmdline_parse_inst_t *)&cmd_set_vf_mac_addr, -- (cmdline_parse_inst_t *)&cmd_set_vxlan, -- (cmdline_parse_inst_t *)&cmd_set_vxlan_tos_ttl, -- (cmdline_parse_inst_t *)&cmd_set_vxlan_with_vlan, -- (cmdline_parse_inst_t *)&cmd_set_nvgre, -- (cmdline_parse_inst_t *)&cmd_set_nvgre_with_vlan, -- (cmdline_parse_inst_t *)&cmd_set_l2_encap, -- (cmdline_parse_inst_t *)&cmd_set_l2_encap_with_vlan, -- (cmdline_parse_inst_t *)&cmd_set_l2_decap, -- (cmdline_parse_inst_t *)&cmd_set_l2_decap_with_vlan, -- (cmdline_parse_inst_t *)&cmd_set_mplsogre_encap, -- (cmdline_parse_inst_t *)&cmd_set_mplsogre_encap_with_vlan, -- (cmdline_parse_inst_t *)&cmd_set_mplsogre_decap, -- (cmdline_parse_inst_t *)&cmd_set_mplsogre_decap_with_vlan, -- (cmdline_parse_inst_t *)&cmd_set_mplsoudp_encap, -- (cmdline_parse_inst_t *)&cmd_set_mplsoudp_encap_with_vlan, -- (cmdline_parse_inst_t *)&cmd_set_mplsoudp_decap, -- (cmdline_parse_inst_t *)&cmd_set_mplsoudp_decap_with_vlan, -- (cmdline_parse_inst_t *)&cmd_set_conntrack_common, -- (cmdline_parse_inst_t *)&cmd_set_conntrack_dir, -- (cmdline_parse_inst_t *)&cmd_show_vf_stats, -- (cmdline_parse_inst_t *)&cmd_clear_vf_stats, -- (cmdline_parse_inst_t *)&cmd_show_port_supported_ptypes, -- (cmdline_parse_inst_t *)&cmd_set_port_ptypes, -- (cmdline_parse_inst_t *)&cmd_show_port_tm_cap, -- (cmdline_parse_inst_t *)&cmd_show_port_tm_level_cap, -- (cmdline_parse_inst_t *)&cmd_show_port_tm_node_cap, -- (cmdline_parse_inst_t *)&cmd_show_port_tm_node_type, -- (cmdline_parse_inst_t *)&cmd_show_port_tm_node_stats, -- (cmdline_parse_inst_t *)&cmd_add_port_tm_node_shaper_profile, -- (cmdline_parse_inst_t *)&cmd_del_port_tm_node_shaper_profile, -- (cmdline_parse_inst_t *)&cmd_add_port_tm_node_shared_shaper, -- (cmdline_parse_inst_t *)&cmd_del_port_tm_node_shared_shaper, -- (cmdline_parse_inst_t *)&cmd_add_port_tm_node_wred_profile, -- (cmdline_parse_inst_t *)&cmd_del_port_tm_node_wred_profile, -- (cmdline_parse_inst_t *)&cmd_set_port_tm_node_shaper_profile, -- (cmdline_parse_inst_t *)&cmd_add_port_tm_nonleaf_node, -- (cmdline_parse_inst_t *)&cmd_add_port_tm_nonleaf_node_pmode, -- (cmdline_parse_inst_t *)&cmd_add_port_tm_leaf_node, -- (cmdline_parse_inst_t *)&cmd_del_port_tm_node, -- (cmdline_parse_inst_t *)&cmd_set_port_tm_node_parent, -- (cmdline_parse_inst_t *)&cmd_suspend_port_tm_node, -- (cmdline_parse_inst_t *)&cmd_resume_port_tm_node, -- (cmdline_parse_inst_t *)&cmd_port_tm_hierarchy_commit, -- (cmdline_parse_inst_t *)&cmd_port_tm_mark_ip_ecn, -- (cmdline_parse_inst_t *)&cmd_port_tm_mark_ip_dscp, -- (cmdline_parse_inst_t *)&cmd_port_tm_mark_vlan_dei, -- (cmdline_parse_inst_t *)&cmd_cfg_tunnel_udp_port, -- (cmdline_parse_inst_t *)&cmd_rx_offload_get_capa, -- (cmdline_parse_inst_t *)&cmd_rx_offload_get_configuration, -- (cmdline_parse_inst_t *)&cmd_config_per_port_rx_offload, -- (cmdline_parse_inst_t *)&cmd_config_all_port_rx_offload, -- (cmdline_parse_inst_t *)&cmd_config_per_queue_rx_offload, -- (cmdline_parse_inst_t *)&cmd_tx_offload_get_capa, -- (cmdline_parse_inst_t *)&cmd_tx_offload_get_configuration, -- (cmdline_parse_inst_t *)&cmd_config_per_port_tx_offload, -- (cmdline_parse_inst_t *)&cmd_config_all_port_tx_offload, -- (cmdline_parse_inst_t *)&cmd_config_per_queue_tx_offload, @@ -308 +254,0 @@ -+ &cmd_queue_priority_flow_control_set, @@ -309,0 +256,6 @@ ++ &cmd_read_reg, ++ &cmd_read_reg_bit_field, ++ &cmd_read_reg_bit, ++ &cmd_write_reg, ++ &cmd_write_reg_bit_field, ++ &cmd_write_reg_bit, @@ -352 +303,0 @@ -+ &cmd_showport_rss_hash_algo, @@ -354 +304,0 @@ -+ &cmd_config_rss_hash_algo, @@ -357,0 +308,86 @@ + #ifdef RTE_NET_I40E +- (cmdline_parse_inst_t *)&cmd_add_del_raw_flow_director, ++ &cmd_add_del_raw_flow_director, + #endif +- (cmdline_parse_inst_t *)&cmd_set_flow_director_ip_mask, +- (cmdline_parse_inst_t *)&cmd_set_flow_director_mac_vlan_mask, +- (cmdline_parse_inst_t *)&cmd_set_flow_director_tunnel_mask, +- (cmdline_parse_inst_t *)&cmd_set_flow_director_flex_payload, +- (cmdline_parse_inst_t *)&cmd_flow, +- (cmdline_parse_inst_t *)&cmd_show_port_meter_cap, +- (cmdline_parse_inst_t *)&cmd_add_port_meter_profile_srtcm, +- (cmdline_parse_inst_t *)&cmd_add_port_meter_profile_trtcm, +- (cmdline_parse_inst_t *)&cmd_add_port_meter_profile_trtcm_rfc4115, +- (cmdline_parse_inst_t *)&cmd_del_port_meter_profile, +- (cmdline_parse_inst_t *)&cmd_create_port_meter, +- (cmdline_parse_inst_t *)&cmd_enable_port_meter, +- (cmdline_parse_inst_t *)&cmd_disable_port_meter, +- (cmdline_parse_inst_t *)&cmd_del_port_meter, +- (cmdline_parse_inst_t *)&cmd_del_port_meter_policy, +- (cmdline_parse_inst_t *)&cmd_set_port_meter_profile, +- (cmdline_parse_inst_t *)&cmd_set_port_meter_dscp_table, +- (cmdline_parse_inst_t *)&cmd_set_port_meter_stats_mask, +- (cmdline_parse_inst_t *)&cmd_show_port_meter_stats, +- (cmdline_parse_inst_t *)&cmd_mcast_addr, +- (cmdline_parse_inst_t *)&cmd_set_vf_vlan_anti_spoof, +- (cmdline_parse_inst_t *)&cmd_set_vf_mac_anti_spoof, +- (cmdline_parse_inst_t *)&cmd_set_vf_vlan_stripq, +- (cmdline_parse_inst_t *)&cmd_set_vf_vlan_insert, +- (cmdline_parse_inst_t *)&cmd_set_tx_loopback, +- (cmdline_parse_inst_t *)&cmd_set_all_queues_drop_en, +- (cmdline_parse_inst_t *)&cmd_set_vf_split_drop_en, +- (cmdline_parse_inst_t *)&cmd_set_macsec_offload_on, +- (cmdline_parse_inst_t *)&cmd_set_macsec_offload_off, +- (cmdline_parse_inst_t *)&cmd_set_macsec_sc, +- (cmdline_parse_inst_t *)&cmd_set_macsec_sa, +- (cmdline_parse_inst_t *)&cmd_set_vf_traffic, +- (cmdline_parse_inst_t *)&cmd_set_vf_rxmode, +- (cmdline_parse_inst_t *)&cmd_vf_rate_limit, +- (cmdline_parse_inst_t *)&cmd_vf_rxvlan_filter, +- (cmdline_parse_inst_t *)&cmd_set_vf_mac_addr, +- (cmdline_parse_inst_t *)&cmd_set_vf_promisc, +- (cmdline_parse_inst_t *)&cmd_set_vf_allmulti, +- (cmdline_parse_inst_t *)&cmd_set_vf_broadcast, +- (cmdline_parse_inst_t *)&cmd_set_vf_vlan_tag, +- (cmdline_parse_inst_t *)&cmd_vf_max_bw, +- (cmdline_parse_inst_t *)&cmd_vf_tc_min_bw, +- (cmdline_parse_inst_t *)&cmd_vf_tc_max_bw, +- (cmdline_parse_inst_t *)&cmd_strict_link_prio, +- (cmdline_parse_inst_t *)&cmd_tc_min_bw, +- (cmdline_parse_inst_t *)&cmd_set_vxlan, +- (cmdline_parse_inst_t *)&cmd_set_vxlan_tos_ttl, +- (cmdline_parse_inst_t *)&cmd_set_vxlan_with_vlan, +- (cmdline_parse_inst_t *)&cmd_set_nvgre, +- (cmdline_parse_inst_t *)&cmd_set_nvgre_with_vlan, +- (cmdline_parse_inst_t *)&cmd_set_l2_encap, +- (cmdline_parse_inst_t *)&cmd_set_l2_encap_with_vlan, +- (cmdline_parse_inst_t *)&cmd_set_l2_decap, +- (cmdline_parse_inst_t *)&cmd_set_l2_decap_with_vlan, +- (cmdline_parse_inst_t *)&cmd_set_mplsogre_encap, +- (cmdline_parse_inst_t *)&cmd_set_mplsogre_encap_with_vlan, +- (cmdline_parse_inst_t *)&cmd_set_mplsogre_decap, +- (cmdline_parse_inst_t *)&cmd_set_mplsogre_decap_with_vlan, +- (cmdline_parse_inst_t *)&cmd_set_mplsoudp_encap, +- (cmdline_parse_inst_t *)&cmd_set_mplsoudp_encap_with_vlan, +- (cmdline_parse_inst_t *)&cmd_set_mplsoudp_decap, +- (cmdline_parse_inst_t *)&cmd_set_mplsoudp_decap_with_vlan, +- (cmdline_parse_inst_t *)&cmd_set_conntrack_common, +- (cmdline_parse_inst_t *)&cmd_set_conntrack_dir, +- (cmdline_parse_inst_t *)&cmd_ddp_add, +- (cmdline_parse_inst_t *)&cmd_ddp_del, +- (cmdline_parse_inst_t *)&cmd_ddp_get_list, +- (cmdline_parse_inst_t *)&cmd_ddp_get_info, +- (cmdline_parse_inst_t *)&cmd_cfg_input_set, +- (cmdline_parse_inst_t *)&cmd_clear_input_set, +- (cmdline_parse_inst_t *)&cmd_show_vf_stats, +- (cmdline_parse_inst_t *)&cmd_clear_vf_stats, +- (cmdline_parse_inst_t *)&cmd_show_port_supported_ptypes, +- (cmdline_parse_inst_t *)&cmd_set_port_ptypes, +- (cmdline_parse_inst_t *)&cmd_ptype_mapping_get, +- (cmdline_parse_inst_t *)&cmd_ptype_mapping_replace, +- (cmdline_parse_inst_t *)&cmd_ptype_mapping_reset, +- (cmdline_parse_inst_t *)&cmd_ptype_mapping_update, ++ &cmd_set_flow_director_ip_mask, ++ &cmd_set_flow_director_mac_vlan_mask, ++ &cmd_set_flow_director_tunnel_mask, ++ &cmd_set_flow_director_flex_payload, @@ -371,4 +406,0 @@ -+ &cmd_set_port_meter_vlan_table, -+ &cmd_set_port_meter_in_proto, -+ &cmd_get_port_meter_in_proto, -+ &cmd_get_port_meter_in_proto_prio, @@ -378 +409,0 @@ -+ &cmd_mcast_addr_flush, @@ -384,0 +416,5 @@ ++ &cmd_set_vf_split_drop_en, ++ &cmd_set_macsec_offload_on, ++ &cmd_set_macsec_offload_off, ++ &cmd_set_macsec_sc, ++ &cmd_set_macsec_sa, @@ -389,0 +426,9 @@ ++ &cmd_set_vf_promisc, ++ &cmd_set_vf_allmulti, ++ &cmd_set_vf_broadcast, ++ &cmd_set_vf_vlan_tag, ++ &cmd_vf_max_bw, ++ &cmd_vf_tc_min_bw, ++ &cmd_vf_tc_max_bw, ++ &cmd_strict_link_prio, ++ &cmd_tc_min_bw, @@ -408,0 +454,6 @@ ++ &cmd_ddp_add, ++ &cmd_ddp_del, ++ &cmd_ddp_get_list, ++ &cmd_ddp_get_info, ++ &cmd_cfg_input_set, ++ &cmd_clear_input_set, @@ -412,0 +464,53 @@ ++ &cmd_ptype_mapping_get, ++ &cmd_ptype_mapping_replace, ++ &cmd_ptype_mapping_reset, ++ &cmd_ptype_mapping_update, + +- (cmdline_parse_inst_t *)&cmd_pctype_mapping_get, +- (cmdline_parse_inst_t *)&cmd_pctype_mapping_reset, +- (cmdline_parse_inst_t *)&cmd_pctype_mapping_update, +- (cmdline_parse_inst_t *)&cmd_queue_region, +- (cmdline_parse_inst_t *)&cmd_region_flowtype, +- (cmdline_parse_inst_t *)&cmd_user_priority_region, +- (cmdline_parse_inst_t *)&cmd_flush_queue_region, +- (cmdline_parse_inst_t *)&cmd_show_queue_region_info_all, +- (cmdline_parse_inst_t *)&cmd_show_port_tm_cap, +- (cmdline_parse_inst_t *)&cmd_show_port_tm_level_cap, +- (cmdline_parse_inst_t *)&cmd_show_port_tm_node_cap, +- (cmdline_parse_inst_t *)&cmd_show_port_tm_node_type, +- (cmdline_parse_inst_t *)&cmd_show_port_tm_node_stats, +- (cmdline_parse_inst_t *)&cmd_add_port_tm_node_shaper_profile, +- (cmdline_parse_inst_t *)&cmd_del_port_tm_node_shaper_profile, +- (cmdline_parse_inst_t *)&cmd_add_port_tm_node_shared_shaper, +- (cmdline_parse_inst_t *)&cmd_del_port_tm_node_shared_shaper, +- (cmdline_parse_inst_t *)&cmd_add_port_tm_node_wred_profile, +- (cmdline_parse_inst_t *)&cmd_del_port_tm_node_wred_profile, +- (cmdline_parse_inst_t *)&cmd_set_port_tm_node_shaper_profile, +- (cmdline_parse_inst_t *)&cmd_add_port_tm_nonleaf_node, +- (cmdline_parse_inst_t *)&cmd_add_port_tm_nonleaf_node_pmode, +- (cmdline_parse_inst_t *)&cmd_add_port_tm_leaf_node, +- (cmdline_parse_inst_t *)&cmd_del_port_tm_node, +- (cmdline_parse_inst_t *)&cmd_set_port_tm_node_parent, +- (cmdline_parse_inst_t *)&cmd_suspend_port_tm_node, +- (cmdline_parse_inst_t *)&cmd_resume_port_tm_node, +- (cmdline_parse_inst_t *)&cmd_port_tm_hierarchy_commit, +- (cmdline_parse_inst_t *)&cmd_port_tm_mark_ip_ecn, +- (cmdline_parse_inst_t *)&cmd_port_tm_mark_ip_dscp, +- (cmdline_parse_inst_t *)&cmd_port_tm_mark_vlan_dei, +- (cmdline_parse_inst_t *)&cmd_cfg_tunnel_udp_port, +- (cmdline_parse_inst_t *)&cmd_rx_offload_get_capa, +- (cmdline_parse_inst_t *)&cmd_rx_offload_get_configuration, +- (cmdline_parse_inst_t *)&cmd_config_per_port_rx_offload, +- (cmdline_parse_inst_t *)&cmd_config_per_queue_rx_offload, +- (cmdline_parse_inst_t *)&cmd_tx_offload_get_capa, +- (cmdline_parse_inst_t *)&cmd_tx_offload_get_configuration, +- (cmdline_parse_inst_t *)&cmd_config_per_port_tx_offload, +- (cmdline_parse_inst_t *)&cmd_config_per_queue_tx_offload, ++ &cmd_pctype_mapping_get, ++ &cmd_pctype_mapping_reset, ++ &cmd_pctype_mapping_update, ++ &cmd_queue_region, ++ &cmd_region_flowtype, ++ &cmd_user_priority_region, ++ &cmd_flush_queue_region, ++ &cmd_show_queue_region_info_all, @@ -440 +543,0 @@ -+ &cmd_config_all_port_rx_offload, @@ -445 +547,0 @@ -+ &cmd_config_all_port_tx_offload, @@ -456 +558 @@ -- (cmdline_parse_inst_t *)&cmd_show_rx_tx_queue_desc_used_count, +- (cmdline_parse_inst_t *)&cmd_show_rx_queue_desc_used_count, @@ -463 +564,0 @@ -- (cmdline_parse_inst_t *)&cmd_set_rxq_avail_thresh, @@ -467,4 +567,0 @@ -- (cmdline_parse_inst_t *)&cmd_show_port_cman_capa, -- (cmdline_parse_inst_t *)&cmd_show_port_cman_config, -- (cmdline_parse_inst_t *)&cmd_set_port_cman_config, -- (cmdline_parse_inst_t *)&cmd_config_tx_affinity_map, @@ -474 +571 @@ -+ &cmd_show_rx_tx_queue_desc_used_count, ++ &cmd_show_rx_queue_desc_used_count, @@ -481 +577,0 @@ -+ &cmd_set_rxq_avail_thresh, @@ -485,4 +580,0 @@ -+ &cmd_show_port_cman_capa, -+ &cmd_show_port_cman_config, -+ &cmd_set_port_cman_config, -+ &cmd_config_tx_affinity_map,