From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0855F606A31C for ; Sun, 29 Nov 2026 20:52:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=AAWZmhqQ Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6EA4B40E0F; Sun, 29 Nov 2026 21:50:47 +0100 (CET) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mails.dpdk.org (Postfix) with ESMTPS id A36BD40E03 for ; Sun, 29 Nov 2026 21:50:44 +0100 (CET) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-8a06e79e152so4624186b3a.0 for ; Sun, 29 Nov 2026 12:50:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1795985443; x=1796590243; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=kEnhE+jYK92dOF1quFaCuKPUm0OunkXyK5xhNLnG+IM=; b=AAWZmhqQWVMpphV75QuVgXvV8LSykl8sKqDBmsH5yUToQpijAeDHCHHjfpAszRfoI+ ibSUJolo+sSIL3WM6SnC3Vs4Z/pjrW355diegCddrq1CKYIs8+VCbZdQhst5JFlapNhO cTwzfaiRlR4T/MKX6u/AzWMsHdaVJolEALgeFtPjjlV7W6ksaDh1LC+Ro+0G1/d0jLDz 3BO+i26jAoOWAGh7ir+V7SELbRNkpket+YFnzMClv2eWnF+5o+WjLy4xkIB5cO83+kq9 p8wd1b4OhimjQ7wIDviy9y/f1gSbeuJWQUgKNAxztvZ6aAJbtp54f7H9Ua4LBBSxta2E FV/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795985443; x=1796590243; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=kEnhE+jYK92dOF1quFaCuKPUm0OunkXyK5xhNLnG+IM=; b=O4jd6iaoqhrkYadzbHiwUbpkVaA4iSi2u+GcPSOhfDk1nQ0fTTo7rygd0C0a7UcuM0 RljcooqyCipyM4QZbAcn3uQ2q0tg9VDr79IrnMR+dNEWpVBRvdnBvCLB6OJBWQbHNC5w 1RE8AonMcw0JhIXVHA+rgyYiy4vAOuzqeB+VPjJxBsDOGfUamYf5W0x30Y1uss2iUpE5 htVMVxqBmGWsv93v49jegUMNtFYndTcQwFTBhmAo6H1K1dY06OSTT27InabCWlvBrO+H xsakRoua1zxeRjAC1dCtwBnYyE7zvmNSyNPmVENeKwmsepbVigVWEBUxUPvStLfnfTWS ZWhQ== X-Gm-Message-State: APuU4Z+MUVwGW39eTUHm2owqK+rwHuOrsYI9uTSZ6p/GjCQhhz2j40a7 R2iG2uLFeHp5y6v5isHjS0PAaCyeyqgNSKNfJyCRaZKc6PxopNko3OLvpLUlbCGOAkCUsS80gGl go04mlLY= X-Gm-Gg: AZFdTZdOH3Nhh/fuEQjOCfN6M6abX0WwZBzNGz08LGVXjCJLt20pxLNRG/4+RdEEehk /49ObZNnFlQDDMWy0VsDCz1eM4eszeGwDs/Yd3YY/PNs4ZMhja5rzgFM6152p0l8K8ztCJKzNeq xq/v5rgfzOIR9a8+8f+wThnYyiztpJ4jVmjDcbaN48kXwnzENGurZH0XMKWNj8OEIFJu6txSrp6 wj4LM7Y5spcHcB0NO1PlREgJbF9jlbCjh0nyylC/i3nJbM1MD96fu8iTosbDB0wCXHnYA7apmBS CxFXkutfvsTJQz5v6gp068CZb42JmaBt4CHDE+CoJ6SI2vZ2Ajha5rwXM4PT1/8NPrGVoQpOVlh 1mklkVfqiDEvv+SzOzSJJx4OhbSXjfKJxETFxaRjAggJ1YZOiP5fQmz3urNnC4VcOFG4jgCd+UM acJnogOKZADUVbdjmeROXr+bSyQ3r19ph/C1zMukDikbjqNe9lFwEZ/xLXTHEcKAmt3qRZQ7tfV atHJoYVqvJRNGr2+vNXf7RE65ZqfCKbnh5V228fCf9Fm1QJmsLYyk7l8XLral2yjokf8ExCB90+ Nl22qqicLHc4lE2J0VRGozfo7fGDyWO4Y3J7U0IeNJt67QDwDG0D1w5ba2/k7VuvSkyL9I3HTnn HwZe4jfgpQLPouvc= X-Received: by 2002:a17:90b:2701:b0:3b0:dbc5:c56b with SMTP id 98e67ed59e1d1-3b41c7d5cbbmr26001786a91.6.1795985442931; Sun, 29 Nov 2026 12:50:42 -0800 (PST) Received: from phoenix.lan (204-195-112-43.wavecable.com. [204.195.112.43]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b50234fb25sm10383968a91.2.2026.11.29.12.50.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 12:50:42 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Andrew Rybchenko Subject: [PATCH 22/45] common/sfc_efx: do not export internal symbols unused outside base Date: Sun, 29 Nov 2026 12:49:07 -0800 Message-ID: <20261129205006.1440292-23-stephen@networkplumber.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261129205006.1440292-1-stephen@networkplumber.org> References: <20261129205006.1440292-1-stephen@networkplumber.org> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 72 libefx functions have no user outside common/sfc_efx. The sfc net driver and the sfc_efx mcdi code use other entry points. Drop the internal exports and the matching LIBEFX_API tags. Many of these functions have no caller at all and can be removed later; this commit only takes them out of the internal ABI. Signed-off-by: Stephen Hemminger --- drivers/common/sfc_efx/base/efx.h | 71 ---------------------- drivers/common/sfc_efx/base/efx_mcdi.h | 1 - drivers/common/sfc_efx/sfc_base_symbols.c | 73 ----------------------- 3 files changed, 145 deletions(-) diff --git a/drivers/common/sfc_efx/base/efx.h b/drivers/common/sfc_efx/base/efx.h index b8d1ccd7bd..3aaa682a1e 100644 --- a/drivers/common/sfc_efx/base/efx.h +++ b/drivers/common/sfc_efx/base/efx.h @@ -81,7 +81,6 @@ typedef struct efx_bar_region_s { } efx_bar_region_t; /* The function is deprecated. It is used only if Riverhead is not supported. */ -LIBEFX_API extern __checkReturn efx_rc_t efx_family( __in uint16_t venid, @@ -133,7 +132,6 @@ typedef struct efx_pci_ops_s { * A user of the API must be aware of memory bars indexes (not available * on Windows). */ -LIBEFX_API extern __checkReturn efx_rc_t efx_family_probe_bar( __in uint16_t venid, @@ -217,7 +215,6 @@ enum { }; /* Calculate the IEEE 802.3 CRC32 of a MAC addr */ -LIBEFX_API extern __checkReturn uint32_t efx_crc32_calculate( __in uint32_t crc_init, @@ -271,12 +268,10 @@ extern __checkReturn efx_rc_t efx_nic_reset( __in efx_nic_t *enp); -LIBEFX_API extern __checkReturn boolean_t efx_nic_hw_unavailable( __in efx_nic_t *enp); -LIBEFX_API extern void efx_nic_set_hw_unavailable( __in efx_nic_t *enp); @@ -316,14 +311,12 @@ typedef enum efx_pcie_link_performance_e { EFX_PCIE_LINK_PERFORMANCE_OPTIMAL } efx_pcie_link_performance_t; -LIBEFX_API extern __checkReturn efx_rc_t efx_nic_calculate_pcie_link_bandwidth( __in uint32_t pcie_link_width, __in uint32_t pcie_link_gen, __out uint32_t *bandwidth_mbpsp); -LIBEFX_API extern __checkReturn efx_rc_t efx_nic_check_pcie_link_speed( __in efx_nic_t *enp, @@ -379,13 +372,11 @@ typedef struct efx_mcdi_transport_s { #endif /* EFSYS_OPT_MCDI_PROXY_AUTH_SERVER */ } efx_mcdi_transport_t; -LIBEFX_API extern __checkReturn efx_rc_t efx_mcdi_init( __in efx_nic_t *enp, __in const efx_mcdi_transport_t *mtp); -LIBEFX_API extern __checkReturn efx_rc_t efx_mcdi_reboot( __in efx_nic_t *enp); @@ -395,26 +386,22 @@ extern void efx_mcdi_new_epoch( __in efx_nic_t *enp); -LIBEFX_API extern void efx_mcdi_get_timeout( __in efx_nic_t *enp, __in efx_mcdi_req_t *emrp, __out uint32_t *usec_timeoutp); -LIBEFX_API extern void efx_mcdi_request_start( __in efx_nic_t *enp, __in efx_mcdi_req_t *emrp, __in boolean_t ev_cpl); -LIBEFX_API extern __checkReturn boolean_t efx_mcdi_request_poll( __in efx_nic_t *enp); -LIBEFX_API extern __checkReturn boolean_t efx_mcdi_request_abort( __in efx_nic_t *enp); @@ -434,7 +421,6 @@ efx_mcdi_get_own_client_handle( __in efx_nic_t *enp, __out uint32_t *handle); -LIBEFX_API extern __checkReturn efx_rc_t efx_mcdi_client_mac_addr_get( __in efx_nic_t *enp, @@ -449,7 +435,6 @@ efx_mcdi_client_mac_addr_set( __in uint32_t client_handle, __in const uint8_t addr_bytes[EFX_MAC_ADDR_LEN]); -LIBEFX_API extern void efx_mcdi_fini( __in efx_nic_t *enp); @@ -486,14 +471,12 @@ extern void efx_intr_disable( __in efx_nic_t *enp); -LIBEFX_API extern void efx_intr_disable_unlocked( __in efx_nic_t *enp); #define EFX_INTR_NEVQS 32 -LIBEFX_API extern __checkReturn efx_rc_t efx_intr_trigger( __in efx_nic_t *enp, @@ -708,7 +691,6 @@ efx_mac_pdu_from_sdu( __in efx_nic_t *enp, __in size_t sdu); -LIBEFX_API extern __checkReturn efx_rc_t efx_mac_pdu_get( __in efx_nic_t *enp, @@ -767,7 +749,6 @@ efx_mac_drain( __in efx_nic_t *enp, __in boolean_t enabled); -LIBEFX_API extern __checkReturn efx_rc_t efx_mac_up( __in efx_nic_t *enp, @@ -888,14 +869,12 @@ typedef enum efx_mon_type_e { #if EFSYS_OPT_NAMES -LIBEFX_API extern const char * efx_mon_name( __in efx_nic_t *enp); #endif /* EFSYS_OPT_NAMES */ -LIBEFX_API extern __checkReturn efx_rc_t efx_mon_init( __in efx_nic_t *enp); @@ -1083,14 +1062,12 @@ efx_mon_limits_update( #endif /* EFSYS_OPT_MON_STATS */ -LIBEFX_API extern void efx_mon_fini( __in efx_nic_t *enp); /* PHY */ -LIBEFX_API extern __checkReturn efx_rc_t efx_phy_verify( __in efx_nic_t *enp); @@ -1170,7 +1147,6 @@ typedef enum efx_loopback_kind_e { EFX_LOOPBACK_NKINDS } efx_loopback_kind_t; -LIBEFX_API extern void efx_loopback_mask( __in efx_loopback_kind_t loopback_kind, @@ -1185,7 +1161,6 @@ efx_port_loopback_set( #if EFSYS_OPT_NAMES -LIBEFX_API extern __checkReturn const char * efx_loopback_type_name( __in efx_nic_t *enp, @@ -1262,7 +1237,6 @@ efx_phy_adv_cap_set( __in efx_nic_t *enp, __in uint32_t mask); -LIBEFX_API extern void efx_phy_lp_cap_get( __in efx_nic_t *enp, @@ -1290,7 +1264,6 @@ efx_phy_lane_count_set( __in efx_nic_t *enp, __in efx_phy_lane_count_t lane_count); -LIBEFX_API extern __checkReturn efx_rc_t efx_phy_oui_get( __in efx_nic_t *enp, @@ -1314,7 +1287,6 @@ typedef enum efx_phy_media_type_e { * the module, then this will be the media type of the module. * Otherwise it will be the media type of the port. */ -LIBEFX_API extern void efx_phy_media_type_get( __in efx_nic_t *enp, @@ -1347,7 +1319,6 @@ efx_phy_media_type_get( #define EFX_PHY_MEDIA_INFO_MAX_OFFSET 0x100 -LIBEFX_API extern __checkReturn efx_rc_t efx_phy_module_get_info( __in efx_nic_t *enp, @@ -1881,7 +1852,6 @@ efx_nic_set_drv_limits( * should be advertised. It is valid to set the version string * only before efx_nic_probe() is called. */ -LIBEFX_API extern __checkReturn efx_rc_t efx_nic_set_drv_version( __inout efx_nic_t *enp, @@ -1893,7 +1863,6 @@ typedef enum efx_nic_region_e { EFX_REGION_PIO_WRITE_VI, /* Memory BAR WC mapping */ } efx_nic_region_t; -LIBEFX_API extern __checkReturn efx_rc_t efx_nic_get_bar_region( __in efx_nic_t *enp, @@ -2391,7 +2360,6 @@ efx_sram_test( #endif /* EFSYS_OPT_DIAG */ -LIBEFX_API extern __checkReturn efx_rc_t efx_sram_buf_tbl_set( __in efx_nic_t *enp, @@ -2399,7 +2367,6 @@ efx_sram_buf_tbl_set( __in efsys_mem_t *esmp, __in size_t n); -LIBEFX_API extern void efx_sram_buf_tbl_clear( __in efx_nic_t *enp, @@ -2480,7 +2447,6 @@ efx_evq_size( __in unsigned int ndescs, __in uint32_t flags); -LIBEFX_API extern __checkReturn unsigned int efx_evq_nbufs( __in const efx_nic_t *enp, @@ -2510,7 +2476,6 @@ efx_evq_nbufs( #define EFX_EVQ_FLAGS_EXTENDED_WIDTH (0x20) -LIBEFX_API extern __checkReturn efx_rc_t efx_ev_qcreate( __in efx_nic_t *enp, @@ -2535,7 +2500,6 @@ efx_ev_qcreate_irq( __in uint32_t irq, __deref_out efx_evq_t **eepp); -LIBEFX_API extern void efx_ev_qpost( __in efx_evq_t *eep, @@ -2769,7 +2733,6 @@ typedef struct efx_ev_callbacks_s { } efx_ev_callbacks_t; -LIBEFX_API extern __checkReturn boolean_t efx_ev_qpending( __in efx_evq_t *eep, @@ -2800,14 +2763,12 @@ efx_ev_qpoll( __in const efx_ev_callbacks_t *eecp, __in_opt void *arg); -LIBEFX_API extern __checkReturn efx_rc_t efx_ev_usecs_to_ticks( __in efx_nic_t *enp, __in unsigned int usecs, __out unsigned int *ticksp); -LIBEFX_API extern __checkReturn efx_rc_t efx_ev_qmoderate( __in efx_evq_t *eep, @@ -3020,7 +2981,6 @@ efx_rx_scale_default_support_get( __in efx_nic_t *enp, __out efx_rx_scale_context_type_t *typep); -LIBEFX_API extern __checkReturn efx_rc_t efx_rx_scale_context_alloc( __in efx_nic_t *enp, @@ -3090,7 +3050,6 @@ efx_rxq_size( __in const efx_nic_t *enp, __in unsigned int ndescs); -LIBEFX_API extern __checkReturn unsigned int efx_rxq_nbufs( __in const efx_nic_t *enp, @@ -3371,7 +3330,6 @@ efx_txq_size( __in const efx_nic_t *enp, __in unsigned int ndescs); -LIBEFX_API extern __checkReturn unsigned int efx_txq_nbufs( __in const efx_nic_t *enp, @@ -3399,7 +3357,6 @@ efx_tx_qcreate( __deref_out efx_txq_t **etpp, __out unsigned int *addedp); -LIBEFX_API extern __checkReturn efx_rc_t efx_tx_qpost( __in efx_txq_t *etp, @@ -3408,7 +3365,6 @@ efx_tx_qpost( __in unsigned int completed, __inout unsigned int *addedp); -LIBEFX_API extern __checkReturn efx_rc_t efx_tx_qpace( __in efx_txq_t *etp, @@ -3431,17 +3387,14 @@ extern void efx_tx_qenable( __in efx_txq_t *etp); -LIBEFX_API extern __checkReturn efx_rc_t efx_tx_qpio_enable( __in efx_txq_t *etp); -LIBEFX_API extern void efx_tx_qpio_disable( __in efx_txq_t *etp); -LIBEFX_API extern __checkReturn efx_rc_t efx_tx_qpio_write( __in efx_txq_t *etp, @@ -3449,7 +3402,6 @@ efx_tx_qpio_write( __in size_t buf_length, __in size_t pio_buf_offset); -LIBEFX_API extern __checkReturn efx_rc_t efx_tx_qpio_post( __in efx_txq_t *etp, @@ -3475,7 +3427,6 @@ efx_tx_qdesc_dma_create( __in boolean_t eop, __out efx_desc_t *edp); -LIBEFX_API extern void efx_tx_qdesc_tso_create( __in efx_txq_t *etp, @@ -3508,7 +3459,6 @@ efx_tx_qdesc_vlantci_create( __in uint16_t tci, __out efx_desc_t *edp); -LIBEFX_API extern void efx_tx_qdesc_checksum_create( __in efx_txq_t *etp, @@ -3692,7 +3642,6 @@ efx_filter_remove( __in efx_nic_t *enp, __inout efx_filter_spec_t *spec); -LIBEFX_API extern __checkReturn efx_rc_t efx_filter_restore( __in efx_nic_t *enp); @@ -3705,7 +3654,6 @@ efx_filter_supported_filters( __in size_t buffer_length, __out size_t *list_lengthp); -LIBEFX_API extern void efx_filter_spec_init_rx( __out efx_filter_spec_t *spec, @@ -3713,13 +3661,11 @@ efx_filter_spec_init_rx( __in efx_filter_flags_t flags, __in efx_rxq_t *erp); -LIBEFX_API extern void efx_filter_spec_init_tx( __out efx_filter_spec_t *spec, __in efx_txq_t *etp); -LIBEFX_API extern __checkReturn efx_rc_t efx_filter_spec_set_ipv4_local( __inout efx_filter_spec_t *spec, @@ -3727,7 +3673,6 @@ efx_filter_spec_set_ipv4_local( __in uint32_t host, __in uint16_t port); -LIBEFX_API extern __checkReturn efx_rc_t efx_filter_spec_set_ipv4_full( __inout efx_filter_spec_t *spec, @@ -3744,13 +3689,11 @@ efx_filter_spec_set_eth_local( __in uint16_t vid, __in const uint8_t *addr); -LIBEFX_API extern void efx_filter_spec_set_ether_type( __inout efx_filter_spec_t *spec, __in uint16_t ether_type); -LIBEFX_API extern __checkReturn efx_rc_t efx_filter_spec_set_uc_def( __inout efx_filter_spec_t *spec); @@ -3766,14 +3709,12 @@ typedef enum efx_filter_inner_frame_match_e { EFX_FILTER_INNER_FRAME_MATCH_UNKNOWN_UCAST_DST } efx_filter_inner_frame_match_t; -LIBEFX_API extern __checkReturn efx_rc_t efx_filter_spec_set_encap_type( __inout efx_filter_spec_t *spec, __in efx_tunnel_protocol_t encap_type, __in efx_filter_inner_frame_match_t inner_frame_match); -LIBEFX_API extern __checkReturn efx_rc_t efx_filter_spec_set_vxlan( __inout efx_filter_spec_t *spec, @@ -3781,7 +3722,6 @@ efx_filter_spec_set_vxlan( __in const uint8_t *inner_addr, __in const uint8_t *outer_addr); -LIBEFX_API extern __checkReturn efx_rc_t efx_filter_spec_set_geneve( __inout efx_filter_spec_t *spec, @@ -3789,7 +3729,6 @@ efx_filter_spec_set_geneve( __in const uint8_t *inner_addr, __in const uint8_t *outer_addr); -LIBEFX_API extern __checkReturn efx_rc_t efx_filter_spec_set_nvgre( __inout efx_filter_spec_t *spec, @@ -3798,7 +3737,6 @@ efx_filter_spec_set_nvgre( __in const uint8_t *outer_addr); #if EFSYS_OPT_RX_SCALE -LIBEFX_API extern __checkReturn efx_rc_t efx_filter_spec_set_rss_context( __inout efx_filter_spec_t *spec, @@ -3808,14 +3746,12 @@ efx_filter_spec_set_rss_context( /* HASH */ -LIBEFX_API extern __checkReturn uint32_t efx_hash_dwords( __in_ecount(count) uint32_t const *input, __in size_t count, __in uint32_t init); -LIBEFX_API extern __checkReturn uint32_t efx_hash_bytes( __in_ecount(length) uint8_t const *input, @@ -4183,7 +4119,6 @@ efx_evb_vswitch_destroy( __in efx_nic_t *enp, __in efx_vswitch_t *evp); -LIBEFX_API extern __checkReturn efx_rc_t efx_evb_vport_mac_set( __in efx_nic_t *enp, @@ -4191,7 +4126,6 @@ efx_evb_vport_mac_set( __in efx_vport_id_t vport_id, __in_bcount(EFX_MAC_ADDR_LEN) uint8_t *addrp); -LIBEFX_API extern __checkReturn efx_rc_t efx_evb_vport_vlan_set( __in efx_nic_t *enp, @@ -4199,7 +4133,6 @@ efx_evb_vport_vlan_set( __in efx_vport_id_t vport_id, __in uint16_t vid); -LIBEFX_API extern __checkReturn efx_rc_t efx_evb_vport_reset( __in efx_nic_t *enp, @@ -4209,7 +4142,6 @@ efx_evb_vport_reset( __in uint16_t vid, __out boolean_t *is_fn_resetp); -LIBEFX_API extern __checkReturn efx_rc_t efx_evb_vport_stats( __in efx_nic_t *enp, @@ -4940,7 +4872,6 @@ typedef struct efx_counter_s { uint32_t id; } efx_counter_t; -LIBEFX_API extern __checkReturn unsigned int efx_mae_action_set_get_nb_count( __in const efx_mae_actions_t *spec); @@ -4995,7 +4926,6 @@ efx_mae_action_set_alloc( * deallocation or counter stream stop should provide the parameter in * functions that free the counters and stop the counter stream. */ -LIBEFX_API extern __checkReturn efx_rc_t efx_mae_counters_alloc( __in efx_nic_t *enp, @@ -5267,7 +5197,6 @@ efx_virtio_get_features( __in efx_virtio_device_type_t type, __out uint64_t *featuresp); -LIBEFX_API extern __checkReturn efx_rc_t efx_virtio_verify_features( __in efx_nic_t *enp, diff --git a/drivers/common/sfc_efx/base/efx_mcdi.h b/drivers/common/sfc_efx/base/efx_mcdi.h index 4e82717015..3d4638f0c6 100644 --- a/drivers/common/sfc_efx/base/efx_mcdi.h +++ b/drivers/common/sfc_efx/base/efx_mcdi.h @@ -77,7 +77,6 @@ efx_mcdi_ev_cpl( __in int errcode); #if EFSYS_OPT_MCDI_PROXY_AUTH -LIBEFX_API extern __checkReturn efx_rc_t efx_mcdi_get_proxy_handle( __in efx_nic_t *enp, diff --git a/drivers/common/sfc_efx/sfc_base_symbols.c b/drivers/common/sfc_efx/sfc_base_symbols.c index bbb6f39924..01f1e74753 100644 --- a/drivers/common/sfc_efx/sfc_base_symbols.c +++ b/drivers/common/sfc_efx/sfc_base_symbols.c @@ -5,68 +5,38 @@ #include /* Symbols from the base driver are exported separately below. */ -RTE_EXPORT_INTERNAL_SYMBOL(efx_crc32_calculate) RTE_EXPORT_INTERNAL_SYMBOL(efx_ev_init) RTE_EXPORT_INTERNAL_SYMBOL(efx_evq_size) -RTE_EXPORT_INTERNAL_SYMBOL(efx_evq_nbufs) RTE_EXPORT_INTERNAL_SYMBOL(efx_ev_fini) RTE_EXPORT_INTERNAL_SYMBOL(efx_ev_qcreate_irq) -RTE_EXPORT_INTERNAL_SYMBOL(efx_ev_qcreate) RTE_EXPORT_INTERNAL_SYMBOL(efx_ev_qdestroy) RTE_EXPORT_INTERNAL_SYMBOL(efx_ev_qprime) -RTE_EXPORT_INTERNAL_SYMBOL(efx_ev_qpending) RTE_EXPORT_INTERNAL_SYMBOL(efx_ev_qcreate_check_init_done) RTE_EXPORT_INTERNAL_SYMBOL(efx_ev_qpoll) -RTE_EXPORT_INTERNAL_SYMBOL(efx_ev_qpost) -RTE_EXPORT_INTERNAL_SYMBOL(efx_ev_usecs_to_ticks) -RTE_EXPORT_INTERNAL_SYMBOL(efx_ev_qmoderate) RTE_EXPORT_INTERNAL_SYMBOL(efx_evb_init) RTE_EXPORT_INTERNAL_SYMBOL(efx_evb_fini) RTE_EXPORT_INTERNAL_SYMBOL(efx_evb_vswitch_create) -RTE_EXPORT_INTERNAL_SYMBOL(efx_evb_vport_mac_set) -RTE_EXPORT_INTERNAL_SYMBOL(efx_evb_vport_vlan_set) -RTE_EXPORT_INTERNAL_SYMBOL(efx_evb_vport_reset) RTE_EXPORT_INTERNAL_SYMBOL(efx_evb_vswitch_destroy) -RTE_EXPORT_INTERNAL_SYMBOL(efx_evb_vport_stats) RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_insert) RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_remove) -RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_restore) RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_init) RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_fini) RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_supported_filters) -RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_spec_init_rx) -RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_spec_init_tx) -RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_spec_set_ipv4_local) -RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_spec_set_ipv4_full) RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_spec_set_eth_local) -RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_spec_set_ether_type) -RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_spec_set_uc_def) RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_spec_set_mc_def) -RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_spec_set_encap_type) -RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_spec_set_vxlan) -RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_spec_set_geneve) -RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_spec_set_nvgre) -RTE_EXPORT_INTERNAL_SYMBOL(efx_filter_spec_set_rss_context) -RTE_EXPORT_INTERNAL_SYMBOL(efx_hash_dwords) -RTE_EXPORT_INTERNAL_SYMBOL(efx_hash_bytes) -RTE_EXPORT_INTERNAL_SYMBOL(efx_hash_bytes) RTE_EXPORT_INTERNAL_SYMBOL(efx_intr_init) RTE_EXPORT_INTERNAL_SYMBOL(efx_intr_fini) RTE_EXPORT_INTERNAL_SYMBOL(efx_intr_enable) RTE_EXPORT_INTERNAL_SYMBOL(efx_intr_disable) -RTE_EXPORT_INTERNAL_SYMBOL(efx_intr_disable_unlocked) -RTE_EXPORT_INTERNAL_SYMBOL(efx_intr_trigger) RTE_EXPORT_INTERNAL_SYMBOL(efx_intr_status_line) RTE_EXPORT_INTERNAL_SYMBOL(efx_intr_status_message) RTE_EXPORT_INTERNAL_SYMBOL(efx_intr_fatal) RTE_EXPORT_INTERNAL_SYMBOL(efx_mac_pdu_from_sdu) RTE_EXPORT_INTERNAL_SYMBOL(efx_mac_pdu_set) -RTE_EXPORT_INTERNAL_SYMBOL(efx_mac_pdu_get) RTE_EXPORT_INTERNAL_SYMBOL(efx_mac_addr_set) RTE_EXPORT_INTERNAL_SYMBOL(efx_mac_filter_set) RTE_EXPORT_INTERNAL_SYMBOL(efx_mac_filter_get_all_ucast_mcast) RTE_EXPORT_INTERNAL_SYMBOL(efx_mac_drain) -RTE_EXPORT_INTERNAL_SYMBOL(efx_mac_up) RTE_EXPORT_INTERNAL_SYMBOL(efx_mac_fcntl_set) RTE_EXPORT_INTERNAL_SYMBOL(efx_mac_fcntl_get) RTE_EXPORT_INTERNAL_SYMBOL(efx_mac_multicast_list_set) @@ -131,11 +101,9 @@ RTE_EXPORT_INTERNAL_SYMBOL(efx_mae_encap_header_update) RTE_EXPORT_INTERNAL_SYMBOL(efx_mae_encap_header_free) RTE_EXPORT_INTERNAL_SYMBOL(efx_mae_action_set_fill_in_eh_id) RTE_EXPORT_INTERNAL_SYMBOL(efx_mae_action_set_alloc) -RTE_EXPORT_INTERNAL_SYMBOL(efx_mae_action_set_get_nb_count) RTE_EXPORT_INTERNAL_SYMBOL(efx_mae_action_set_fill_in_counter_id) RTE_EXPORT_INTERNAL_SYMBOL(efx_mae_action_set_clear_fw_rsrc_ids) RTE_EXPORT_INTERNAL_SYMBOL(efx_mae_counters_alloc_type) -RTE_EXPORT_INTERNAL_SYMBOL(efx_mae_counters_alloc) RTE_EXPORT_INTERNAL_SYMBOL(efx_mae_counters_free_type) RTE_EXPORT_INTERNAL_SYMBOL(efx_mae_counters_free) RTE_EXPORT_INTERNAL_SYMBOL(efx_mae_counters_stream_start) @@ -150,29 +118,13 @@ RTE_EXPORT_INTERNAL_SYMBOL(efx_mae_read_mport_journal) RTE_EXPORT_INTERNAL_SYMBOL(efx_mae_action_set_replay) RTE_EXPORT_INTERNAL_SYMBOL(efx_mae_action_set_list_alloc) RTE_EXPORT_INTERNAL_SYMBOL(efx_mae_action_set_list_free) -RTE_EXPORT_INTERNAL_SYMBOL(efx_mcdi_init) -RTE_EXPORT_INTERNAL_SYMBOL(efx_mcdi_fini) RTE_EXPORT_INTERNAL_SYMBOL(efx_mcdi_new_epoch) -RTE_EXPORT_INTERNAL_SYMBOL(efx_mcdi_request_start) -RTE_EXPORT_INTERNAL_SYMBOL(efx_mcdi_request_poll) -RTE_EXPORT_INTERNAL_SYMBOL(efx_mcdi_request_abort) RTE_EXPORT_INTERNAL_SYMBOL(efx_mcdi_get_client_handle) RTE_EXPORT_INTERNAL_SYMBOL(efx_mcdi_get_own_client_handle) -RTE_EXPORT_INTERNAL_SYMBOL(efx_mcdi_client_mac_addr_get) RTE_EXPORT_INTERNAL_SYMBOL(efx_mcdi_client_mac_addr_set) -RTE_EXPORT_INTERNAL_SYMBOL(efx_mcdi_get_timeout) -RTE_EXPORT_INTERNAL_SYMBOL(efx_mcdi_get_proxy_handle) -RTE_EXPORT_INTERNAL_SYMBOL(efx_mcdi_reboot) -RTE_EXPORT_INTERNAL_SYMBOL(efx_mon_name) -RTE_EXPORT_INTERNAL_SYMBOL(efx_mon_init) -RTE_EXPORT_INTERNAL_SYMBOL(efx_mon_fini) -RTE_EXPORT_INTERNAL_SYMBOL(efx_family) -RTE_EXPORT_INTERNAL_SYMBOL(efx_family_probe_bar) RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_create) RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_probe) RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_set_drv_limits) -RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_set_drv_version) -RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_get_bar_region) RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_get_vi_pool) RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_init) RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_fini) @@ -182,30 +134,19 @@ RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_reset) RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_cfg_get) RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_get_fw_version) RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_get_board_info) -RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_hw_unavailable) -RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_set_hw_unavailable) -RTE_EXPORT_INTERNAL_SYMBOL(efx_loopback_mask) -RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_calculate_pcie_link_bandwidth) RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_get_fw_subvariant) RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_set_fw_subvariant) -RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_check_pcie_link_speed) RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_dma_config_add) RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_dma_reconfigure) RTE_EXPORT_INTERNAL_SYMBOL(efx_nic_dma_map) -RTE_EXPORT_INTERNAL_SYMBOL(efx_phy_verify) RTE_EXPORT_INTERNAL_SYMBOL(efx_phy_adv_cap_get) RTE_EXPORT_INTERNAL_SYMBOL(efx_phy_adv_cap_set) RTE_EXPORT_INTERNAL_SYMBOL(efx_phy_lane_count_set) -RTE_EXPORT_INTERNAL_SYMBOL(efx_phy_lp_cap_get) -RTE_EXPORT_INTERNAL_SYMBOL(efx_phy_oui_get) -RTE_EXPORT_INTERNAL_SYMBOL(efx_phy_media_type_get) -RTE_EXPORT_INTERNAL_SYMBOL(efx_phy_module_get_info) RTE_EXPORT_INTERNAL_SYMBOL(efx_phy_fec_type_get) RTE_EXPORT_INTERNAL_SYMBOL(efx_phy_link_state_get) RTE_EXPORT_INTERNAL_SYMBOL(efx_port_init) RTE_EXPORT_INTERNAL_SYMBOL(efx_port_poll) RTE_EXPORT_INTERNAL_SYMBOL(efx_port_loopback_set) -RTE_EXPORT_INTERNAL_SYMBOL(efx_loopback_type_name) RTE_EXPORT_INTERNAL_SYMBOL(efx_port_vlan_strip_set) RTE_EXPORT_INTERNAL_SYMBOL(efx_port_fini) RTE_EXPORT_INTERNAL_SYMBOL(efx_rx_init) @@ -213,7 +154,6 @@ RTE_EXPORT_INTERNAL_SYMBOL(efx_rx_fini) RTE_EXPORT_INTERNAL_SYMBOL(efx_rx_scale_hash_flags_get) RTE_EXPORT_INTERNAL_SYMBOL(efx_rx_hash_default_support_get) RTE_EXPORT_INTERNAL_SYMBOL(efx_rx_scale_default_support_get) -RTE_EXPORT_INTERNAL_SYMBOL(efx_rx_scale_context_alloc) RTE_EXPORT_INTERNAL_SYMBOL(efx_rx_scale_context_alloc_v2) RTE_EXPORT_INTERNAL_SYMBOL(efx_rx_scale_context_free) RTE_EXPORT_INTERNAL_SYMBOL(efx_rx_scale_mode_set) @@ -223,7 +163,6 @@ RTE_EXPORT_INTERNAL_SYMBOL(efx_rx_qpost) RTE_EXPORT_INTERNAL_SYMBOL(efx_rx_qpush) RTE_EXPORT_INTERNAL_SYMBOL(efx_rx_qflush) RTE_EXPORT_INTERNAL_SYMBOL(efx_rxq_size) -RTE_EXPORT_INTERNAL_SYMBOL(efx_rxq_nbufs) RTE_EXPORT_INTERNAL_SYMBOL(efx_rx_qenable) RTE_EXPORT_INTERNAL_SYMBOL(efx_rx_qcreate) RTE_EXPORT_INTERNAL_SYMBOL(efx_rx_qcreate_es_super_buffer) @@ -232,8 +171,6 @@ RTE_EXPORT_INTERNAL_SYMBOL(efx_pseudo_hdr_pkt_length_get) RTE_EXPORT_INTERNAL_SYMBOL(efx_pseudo_hdr_hash_get) RTE_EXPORT_INTERNAL_SYMBOL(efx_rx_prefix_get_layout) RTE_EXPORT_INTERNAL_SYMBOL(efx_rx_prefix_layout_check) -RTE_EXPORT_INTERNAL_SYMBOL(efx_sram_buf_tbl_set) -RTE_EXPORT_INTERNAL_SYMBOL(efx_sram_buf_tbl_clear) RTE_EXPORT_INTERNAL_SYMBOL(efx_table_list) RTE_EXPORT_INTERNAL_SYMBOL(efx_table_supported_num_get) RTE_EXPORT_INTERNAL_SYMBOL(efx_table_is_supported) @@ -249,24 +186,15 @@ RTE_EXPORT_INTERNAL_SYMBOL(efx_tunnel_reconfigure) RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_init) RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_fini) RTE_EXPORT_INTERNAL_SYMBOL(efx_txq_size) -RTE_EXPORT_INTERNAL_SYMBOL(efx_txq_nbufs) RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_qcreate) RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_qdestroy) -RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_qpost) RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_qpush) -RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_qpace) RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_qflush) RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_qenable) -RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_qpio_enable) -RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_qpio_disable) -RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_qpio_write) -RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_qpio_post) RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_qdesc_post) RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_qdesc_dma_create) -RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_qdesc_tso_create) RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_qdesc_tso2_create) RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_qdesc_vlantci_create) -RTE_EXPORT_INTERNAL_SYMBOL(efx_tx_qdesc_checksum_create) RTE_EXPORT_INTERNAL_SYMBOL(efx_virtio_init) RTE_EXPORT_INTERNAL_SYMBOL(efx_virtio_fini) RTE_EXPORT_INTERNAL_SYMBOL(efx_virtio_qcreate) @@ -275,4 +203,3 @@ RTE_EXPORT_INTERNAL_SYMBOL(efx_virtio_qstop) RTE_EXPORT_INTERNAL_SYMBOL(efx_virtio_qdestroy) RTE_EXPORT_INTERNAL_SYMBOL(efx_virtio_get_doorbell_offset) RTE_EXPORT_INTERNAL_SYMBOL(efx_virtio_get_features) -RTE_EXPORT_INTERNAL_SYMBOL(efx_virtio_verify_features) -- 2.53.0