From patchwork Thu Oct 22 10:06:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Rybchenko X-Patchwork-Id: 81780 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9C3AAA04DD; Thu, 22 Oct 2020 12:06:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 20493A9A2; Thu, 22 Oct 2020 12:06:38 +0200 (CEST) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id 1B3F3697A for ; Thu, 22 Oct 2020 12:06:36 +0200 (CEST) Received: from mx1-us1.ppe-hosted.com (unknown [10.110.50.150]) by dispatch1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id B1DCF20054; Thu, 22 Oct 2020 10:06:34 +0000 (UTC) Received: from us4-mdac16-47.at1.mdlocal (unknown [10.110.50.130]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id AD60F800A3; Thu, 22 Oct 2020 10:06:34 +0000 (UTC) X-Virus-Scanned: Proofpoint Essentials engine Received: from mx1-us1.ppe-hosted.com (unknown [10.110.49.32]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 3016110004F; Thu, 22 Oct 2020 10:06:34 +0000 (UTC) Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id BA243280066; Thu, 22 Oct 2020 10:06:33 +0000 (UTC) Received: from ukex01.SolarFlarecom.com (10.17.10.4) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 22 Oct 2020 11:06:30 +0100 Received: from opal.uk.solarflarecom.com (10.17.10.1) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 22 Oct 2020 11:06:30 +0100 Received: from ukv-loginhost.uk.solarflarecom.com (ukv-loginhost.uk.solarflarecom.com [10.17.10.39]) by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id 09MA6Tjp016217; Thu, 22 Oct 2020 11:06:29 +0100 Received: from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1]) by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id 92EBE1613AB; Thu, 22 Oct 2020 11:06:29 +0100 (BST) From: Andrew Rybchenko To: Wenzhuo Lu , Beilei Xing , Bernard Iremonger , Ray Kinsella , Neil Horman , Jeff Guo , Haiyue Wang , Thomas Monjalon , Ferruh Yigit , "Andrew Rybchenko" CC: Date: Thu, 22 Oct 2020 11:06:18 +0100 Message-ID: <1603361181-21556-2-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1603361181-21556-1-git-send-email-arybchenko@solarflare.com> References: <1603361181-21556-1-git-send-email-arybchenko@solarflare.com> MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.6.1012-25740.003 X-TM-AS-Result: No-0.655700-8.000000-10 X-TMASE-MatchedRID: dARgauwPvtY9iUkW1yvq0f3HILfxLV/9Y/L2/AZJAWSYkF7ZtFfCU4wW IRmLVWq53v4RdHcIbAVTvVffeIwvQ+fzx0Vh6/WW9cb9iRwZHB8/pOSL72dTfwdkFovAReUoaUX s6FguVy32Y1WiB0k/cUPuLVtGa0Wt3WMxx3WjnrQgCPGiZqtI8PG6GRFYrbYYAv57j5eT9BaqYd YiN26X15ZhwmzAftiW45Fz6YkDvMn5aaD8UJf+6/KUR83BvqIt9teeW6UfkyCgIq+y9WmmQkJmf ftVAWC9DVELee0AwpBg/8NXjeivnBOlf9nbYOCmboe6sMfg+k8vwhrmqJxTuybe2WcL8TpUsGA1 p74N3HUECycSLz9pMMl5wdxp72wTloOuGcWob3QtMfCdg6KRDVRXlDwI7HfGn7jOJQ+rgvGgamF X7Xb1bjOtNXnfF05TSPAO7ilgMEb2O6qBs+mx8VtTO+xodboGAp+UH372RZW8YDH/UBNnm/i/QO HQsjAJwaEJiZ/MeXhs61VNJJOBu4qEDaEbYNOrIwk7p1qp3JbnEl/YQBxicHv3ioAd9KrSiPBjM XUOM08rW7sCnBP/vIAy6p60ZV62fJ5/bZ6npdiujVRFkkVsm3+a/qPPEVLb0WeWWceJMgmDHhUH s1rzy3OsB991ihzp3QPpj3wcz8m18wdpgPjGdVGEGIYNTOzoHVqHjVCEsfnaCFv/7N2kFPDsnHB TQS9kyoRE4tv/7I7j/Qm+fSvAAma0vgPD7M1vmFd/HOChTo8= X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--0.655700-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.6.1012-25740.003 X-MDID: 1603361194-JtgvcezRIqH2 X-PPE-DISP: 1603361194;JtgvcezRIqH2 Subject: [dpdk-dev] [PATCH 1/3] ethdev: remove API to config L2 tunnel EtherType 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Remove rte_eth_dev_l2_tunnel_eth_type_conf() and corresponding ethdev driver operation. Signed-off-by: Andrew Rybchenko Acked-by: Haiyue Wang Acked-by: Jeff Guo --- app/test-pmd/cmdline.c | 122 -------------------- doc/guides/nics/features.rst | 1 - doc/guides/rel_notes/deprecation.rst | 2 +- doc/guides/rel_notes/release_20_11.rst | 3 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 - drivers/net/ixgbe/ixgbe_ethdev.c | 30 ----- lib/librte_ethdev/rte_ethdev.c | 24 ---- lib/librte_ethdev/rte_ethdev.h | 19 --- lib/librte_ethdev/rte_ethdev_driver.h | 6 - lib/librte_ethdev/version.map | 1 - 10 files changed, 4 insertions(+), 208 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 2a363be41f..8e76ec62a2 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -843,10 +843,6 @@ static void cmd_help_long_parsed(void *parsed_result, "port (port_id) (rxq|txq) (queue_id) setup\n" " Setup a rx/tx queue of port X.\n\n" - "port config (port_id|all) l2-tunnel E-tag ether-type" - " (value)\n" - " Set the value of E-tag ether-type.\n\n" - "port config (port_id|all) l2-tunnel E-tag" " (enable|disable)\n" " Enable/disable the E-tag support.\n\n" @@ -10679,51 +10675,6 @@ cmdline_parse_inst_t cmd_mcast_addr = { * only support E-tag now. */ -/* Ether type config */ -struct cmd_config_l2_tunnel_eth_type_result { - cmdline_fixed_string_t port; - cmdline_fixed_string_t config; - cmdline_fixed_string_t all; - portid_t id; - cmdline_fixed_string_t l2_tunnel; - cmdline_fixed_string_t l2_tunnel_type; - cmdline_fixed_string_t eth_type; - uint16_t eth_type_val; -}; - -cmdline_parse_token_string_t cmd_config_l2_tunnel_eth_type_port = - TOKEN_STRING_INITIALIZER - (struct cmd_config_l2_tunnel_eth_type_result, - port, "port"); -cmdline_parse_token_string_t cmd_config_l2_tunnel_eth_type_config = - TOKEN_STRING_INITIALIZER - (struct cmd_config_l2_tunnel_eth_type_result, - config, "config"); -cmdline_parse_token_string_t cmd_config_l2_tunnel_eth_type_all_str = - TOKEN_STRING_INITIALIZER - (struct cmd_config_l2_tunnel_eth_type_result, - all, "all"); -cmdline_parse_token_num_t cmd_config_l2_tunnel_eth_type_id = - TOKEN_NUM_INITIALIZER - (struct cmd_config_l2_tunnel_eth_type_result, - id, UINT16); -cmdline_parse_token_string_t cmd_config_l2_tunnel_eth_type_l2_tunnel = - TOKEN_STRING_INITIALIZER - (struct cmd_config_l2_tunnel_eth_type_result, - l2_tunnel, "l2-tunnel"); -cmdline_parse_token_string_t cmd_config_l2_tunnel_eth_type_l2_tunnel_type = - TOKEN_STRING_INITIALIZER - (struct cmd_config_l2_tunnel_eth_type_result, - l2_tunnel_type, "E-tag"); -cmdline_parse_token_string_t cmd_config_l2_tunnel_eth_type_eth_type = - TOKEN_STRING_INITIALIZER - (struct cmd_config_l2_tunnel_eth_type_result, - eth_type, "ether-type"); -cmdline_parse_token_num_t cmd_config_l2_tunnel_eth_type_eth_type_val = - TOKEN_NUM_INITIALIZER - (struct cmd_config_l2_tunnel_eth_type_result, - eth_type_val, UINT16); - static enum rte_eth_tunnel_type str2fdir_l2_tunnel_type(char *string) { @@ -10743,77 +10694,6 @@ str2fdir_l2_tunnel_type(char *string) return RTE_TUNNEL_TYPE_NONE; } -/* ether type config for all ports */ -static void -cmd_config_l2_tunnel_eth_type_all_parsed - (void *parsed_result, - __rte_unused struct cmdline *cl, - __rte_unused void *data) -{ - struct cmd_config_l2_tunnel_eth_type_result *res = parsed_result; - struct rte_eth_l2_tunnel_conf entry; - portid_t pid; - - entry.l2_tunnel_type = str2fdir_l2_tunnel_type(res->l2_tunnel_type); - entry.ether_type = res->eth_type_val; - - RTE_ETH_FOREACH_DEV(pid) { - rte_eth_dev_l2_tunnel_eth_type_conf(pid, &entry); - } -} - -cmdline_parse_inst_t cmd_config_l2_tunnel_eth_type_all = { - .f = cmd_config_l2_tunnel_eth_type_all_parsed, - .data = NULL, - .help_str = "port config all l2-tunnel E-tag ether-type ", - .tokens = { - (void *)&cmd_config_l2_tunnel_eth_type_port, - (void *)&cmd_config_l2_tunnel_eth_type_config, - (void *)&cmd_config_l2_tunnel_eth_type_all_str, - (void *)&cmd_config_l2_tunnel_eth_type_l2_tunnel, - (void *)&cmd_config_l2_tunnel_eth_type_l2_tunnel_type, - (void *)&cmd_config_l2_tunnel_eth_type_eth_type, - (void *)&cmd_config_l2_tunnel_eth_type_eth_type_val, - NULL, - }, -}; - -/* ether type config for a specific port */ -static void -cmd_config_l2_tunnel_eth_type_specific_parsed( - void *parsed_result, - __rte_unused struct cmdline *cl, - __rte_unused void *data) -{ - struct cmd_config_l2_tunnel_eth_type_result *res = - parsed_result; - struct rte_eth_l2_tunnel_conf entry; - - if (port_id_is_invalid(res->id, ENABLED_WARN)) - return; - - entry.l2_tunnel_type = str2fdir_l2_tunnel_type(res->l2_tunnel_type); - entry.ether_type = res->eth_type_val; - - rte_eth_dev_l2_tunnel_eth_type_conf(res->id, &entry); -} - -cmdline_parse_inst_t cmd_config_l2_tunnel_eth_type_specific = { - .f = cmd_config_l2_tunnel_eth_type_specific_parsed, - .data = NULL, - .help_str = "port config l2-tunnel E-tag ether-type ", - .tokens = { - (void *)&cmd_config_l2_tunnel_eth_type_port, - (void *)&cmd_config_l2_tunnel_eth_type_config, - (void *)&cmd_config_l2_tunnel_eth_type_id, - (void *)&cmd_config_l2_tunnel_eth_type_l2_tunnel, - (void *)&cmd_config_l2_tunnel_eth_type_l2_tunnel_type, - (void *)&cmd_config_l2_tunnel_eth_type_eth_type, - (void *)&cmd_config_l2_tunnel_eth_type_eth_type_val, - NULL, - }, -}; - /* Enable/disable l2 tunnel */ struct cmd_config_l2_tunnel_en_dis_result { cmdline_fixed_string_t port; @@ -17514,8 +17394,6 @@ cmdline_parse_ctx_t main_ctx[] = { (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_config_l2_tunnel_eth_type_all, - (cmdline_parse_inst_t *)&cmd_config_l2_tunnel_eth_type_specific, (cmdline_parse_inst_t *)&cmd_config_l2_tunnel_en_dis_all, (cmdline_parse_inst_t *)&cmd_config_l2_tunnel_en_dis_specific, (cmdline_parse_inst_t *)&cmd_config_e_tag_insertion_en, diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/features.rst index 16e00b8f64..37cd26d84a 100644 --- a/doc/guides/nics/features.rst +++ b/doc/guides/nics/features.rst @@ -943,6 +943,5 @@ Other dev ops not represented by a Feature * ``uc_all_hash_table_set`` * ``udp_tunnel_port_add`` * ``udp_tunnel_port_del`` -* ``l2_tunnel_eth_type_conf`` * ``l2_tunnel_offload_set`` * ``tx_pkt_prepare`` diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index e9905c8d74..38706775f5 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -100,7 +100,7 @@ Deprecation Notices * ethdev: The legacy L2 tunnel filtering API is deprecated as the rest of the legacy filtering API. - The functions ``rte_eth_dev_l2_tunnel_eth_type_conf`` and + The function ``rte_eth_dev_l2_tunnel_offload_set`` which were not marked as deprecated, will be removed in DPDK 20.11. diff --git a/doc/guides/rel_notes/release_20_11.rst b/doc/guides/rel_notes/release_20_11.rst index 14f83f7206..3165307de9 100644 --- a/doc/guides/rel_notes/release_20_11.rst +++ b/doc/guides/rel_notes/release_20_11.rst @@ -471,6 +471,9 @@ API Changes * ethdev: Removed the legacy filter API, including ``rte_eth_dev_filter_supported()`` and ``rte_eth_dev_filter_ctrl()``. +* ethdev: Removed the legacy L2 tunnel configuration API, including + ``rte_eth_dev_l2_tunnel_eth_type_conf()``. + * vhost: Moved vDPA APIs from experimental to stable. * vhost: Add a new function ``rte_vhost_crypto_driver_start`` to be called diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 1564c25f5e..e6439719d1 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -2342,10 +2342,6 @@ These threshold options are also available from the command-line. port config - E-tag ~~~~~~~~~~~~~~~~~~~ -Set the value of ether-type for E-tag:: - - testpmd> port config (port_id|all) l2-tunnel E-tag ether-type (value) - Enable/disable the E-tag support:: testpmd> port config (port_id|all) l2-tunnel E-tag (enable|disable) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index af36175380..4918517b92 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -348,8 +348,6 @@ static int ixgbe_timesync_write_time(struct rte_eth_dev *dev, const struct timespec *timestamp); static void ixgbevf_dev_interrupt_handler(void *param); -static int ixgbe_dev_l2_tunnel_eth_type_conf - (struct rte_eth_dev *dev, struct rte_eth_l2_tunnel_conf *l2_tunnel); static int ixgbe_dev_l2_tunnel_offload_set (struct rte_eth_dev *dev, struct rte_eth_l2_tunnel_conf *l2_tunnel, @@ -564,7 +562,6 @@ static const struct eth_dev_ops ixgbe_eth_dev_ops = { .timesync_adjust_time = ixgbe_timesync_adjust_time, .timesync_read_time = ixgbe_timesync_read_time, .timesync_write_time = ixgbe_timesync_write_time, - .l2_tunnel_eth_type_conf = ixgbe_dev_l2_tunnel_eth_type_conf, .l2_tunnel_offload_set = ixgbe_dev_l2_tunnel_offload_set, .udp_tunnel_port_add = ixgbe_dev_udp_tunnel_port_add, .udp_tunnel_port_del = ixgbe_dev_udp_tunnel_port_del, @@ -7538,33 +7535,6 @@ ixgbe_update_e_tag_eth_type(struct ixgbe_hw *hw, return 0; } -/* Config l2 tunnel ether type */ -static int -ixgbe_dev_l2_tunnel_eth_type_conf(struct rte_eth_dev *dev, - struct rte_eth_l2_tunnel_conf *l2_tunnel) -{ - int ret = 0; - struct ixgbe_hw *hw = IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private); - struct ixgbe_l2_tn_info *l2_tn_info = - IXGBE_DEV_PRIVATE_TO_L2_TN_INFO(dev->data->dev_private); - - if (l2_tunnel == NULL) - return -EINVAL; - - switch (l2_tunnel->l2_tunnel_type) { - case RTE_L2_TUNNEL_TYPE_E_TAG: - l2_tn_info->e_tag_ether_type = l2_tunnel->ether_type; - ret = ixgbe_update_e_tag_eth_type(hw, l2_tunnel->ether_type); - break; - default: - PMD_DRV_LOG(ERR, "Invalid tunnel type"); - ret = -EINVAL; - break; - } - - return ret; -} - /* Enable e-tag tunnel */ static int ixgbe_e_tag_enable(struct ixgbe_hw *hw) diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c index aa030fd4fc..e5d0a18feb 100644 --- a/lib/librte_ethdev/rte_ethdev.c +++ b/lib/librte_ethdev/rte_ethdev.c @@ -5317,30 +5317,6 @@ rte_eth_dev_get_dcb_info(uint16_t port_id, return eth_err(port_id, (*dev->dev_ops->get_dcb_info)(dev, dcb_info)); } -int -rte_eth_dev_l2_tunnel_eth_type_conf(uint16_t port_id, - struct rte_eth_l2_tunnel_conf *l2_tunnel) -{ - struct rte_eth_dev *dev; - - RTE_ETH_VALID_PORTID_OR_ERR_RET(port_id, -ENODEV); - if (l2_tunnel == NULL) { - RTE_ETHDEV_LOG(ERR, "Invalid l2_tunnel parameter\n"); - return -EINVAL; - } - - if (l2_tunnel->l2_tunnel_type >= RTE_TUNNEL_TYPE_MAX) { - RTE_ETHDEV_LOG(ERR, "Invalid tunnel type\n"); - return -EINVAL; - } - - dev = &rte_eth_devices[port_id]; - RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->l2_tunnel_eth_type_conf, - -ENOTSUP); - return eth_err(port_id, (*dev->dev_ops->l2_tunnel_eth_type_conf)(dev, - l2_tunnel)); -} - int rte_eth_dev_l2_tunnel_offload_set(uint16_t port_id, struct rte_eth_l2_tunnel_conf *l2_tunnel, diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index c51faa9c5b..dda75a82b3 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -4627,25 +4627,6 @@ __rte_experimental int rte_eth_read_clock(uint16_t port_id, uint64_t *clock); -/** - * Config l2 tunnel ether type of an Ethernet device for filtering specific - * tunnel packets by ether type. - * - * @param port_id - * The port identifier of the Ethernet device. - * @param l2_tunnel - * l2 tunnel configuration. - * - * @return - * - (0) if successful. - * - (-ENODEV) if port identifier is invalid. - * - (-EIO) if device is removed. - * - (-ENOTSUP) if hardware doesn't support tunnel type. - */ -int -rte_eth_dev_l2_tunnel_eth_type_conf(uint16_t port_id, - struct rte_eth_l2_tunnel_conf *l2_tunnel); - /** * Enable/disable l2 tunnel offload functions. Include, * 1, The ability of parsing a type of l2 tunnel of an Ethernet device. diff --git a/lib/librte_ethdev/rte_ethdev_driver.h b/lib/librte_ethdev/rte_ethdev_driver.h index d830789ff6..a69793dcb1 100644 --- a/lib/librte_ethdev/rte_ethdev_driver.h +++ b/lib/librte_ethdev/rte_ethdev_driver.h @@ -465,10 +465,6 @@ typedef int (*eth_get_module_eeprom_t)(struct rte_eth_dev *dev, struct rte_dev_eeprom_info *info); /**< @internal Retrieve plugin module eeprom data */ -typedef int (*eth_l2_tunnel_eth_type_conf_t) - (struct rte_eth_dev *dev, struct rte_eth_l2_tunnel_conf *l2_tunnel); -/**< @internal config l2 tunnel ether type */ - typedef int (*eth_l2_tunnel_offload_set_t) (struct rte_eth_dev *dev, struct rte_eth_l2_tunnel_conf *l2_tunnel, @@ -853,8 +849,6 @@ struct eth_dev_ops { eth_udp_tunnel_port_add_t udp_tunnel_port_add; /** Add UDP tunnel port. */ eth_udp_tunnel_port_del_t udp_tunnel_port_del; /** Del UDP tunnel port. */ - eth_l2_tunnel_eth_type_conf_t l2_tunnel_eth_type_conf; - /** Config ether type of l2 tunnel. */ eth_l2_tunnel_offload_set_t l2_tunnel_offload_set; /** Enable/disable l2 tunnel offload functions. */ diff --git a/lib/librte_ethdev/version.map b/lib/librte_ethdev/version.map index fe628736c0..63f077a3eb 100644 --- a/lib/librte_ethdev/version.map +++ b/lib/librte_ethdev/version.map @@ -30,7 +30,6 @@ DPDK_21 { rte_eth_dev_get_vlan_offload; rte_eth_dev_info_get; rte_eth_dev_is_valid_port; - rte_eth_dev_l2_tunnel_eth_type_conf; rte_eth_dev_l2_tunnel_offload_set; rte_eth_dev_logtype; rte_eth_dev_mac_addr_add;