From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9A97FA00BE; Tue, 28 Apr 2020 15:38:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 11E5C1D5F5; Tue, 28 Apr 2020 15:37:44 +0200 (CEST) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) by dpdk.org (Postfix) with ESMTP id 38E452BD8; Tue, 28 Apr 2020 15:37:39 +0200 (CEST) Received: from mx1-us1.ppe-hosted.com (unknown [10.7.65.60]) by dispatch1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id BA34E6006F; Tue, 28 Apr 2020 13:37:38 +0000 (UTC) Received: from us4-mdac16-59.ut7.mdlocal (unknown [10.7.66.50]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id B8CB42009A; Tue, 28 Apr 2020 13:37:38 +0000 (UTC) X-Virus-Scanned: Proofpoint Essentials engine Received: from mx1-us1.ppe-hosted.com (unknown [10.7.66.34]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 41EFE1C0059; Tue, 28 Apr 2020 13:37:38 +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 E2C2B600070; Tue, 28 Apr 2020 13:37:37 +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.1395.4; Tue, 28 Apr 2020 14:37:33 +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.1395.4 via Frontend Transport; Tue, 28 Apr 2020 14:37:33 +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 03SDbXaK006730; Tue, 28 Apr 2020 14:37:33 +0100 Received: from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1]) by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id 1E2AA16139D; Tue, 28 Apr 2020 14:37:33 +0100 (BST) From: Andrew Rybchenko To: CC: Date: Tue, 28 Apr 2020 14:37:26 +0100 Message-ID: <1588081046-15862-3-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1588081046-15862-1-git-send-email-arybchenko@solarflare.com> References: <1588081046-15862-1-git-send-email-arybchenko@solarflare.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1020-25382.003 X-TM-AS-Result: No-2.750200-8.000000-10 X-TMASE-MatchedRID: LzeOPioRsq99G+Xm35+1yLsHVDDM5xAPhVDnkfzD7uaRoQLwUmtov3pF pKkcmr8AVeAGxScuOR0uWuaCqkcrHyxppiUy9o4cA9lly13c/gGYka8zsUibGrqln+jYe7Zhr8G KZiBUhMbi8zVgXoAltsIJ+4gwXrEtJ0RPnyOnrZKSqztEZo6bAno14lwr5lZrNow3kfAXSEYDwd EUq8UVnr8ktWS14HcVC/uHQdDx+urrNMyzs8b0lp68iW61Z/D8SjA3/k9dp0a9Tbikt9AWZ0CBS GS7bIBtA1B/p1SzcogrKiD/U8b7STG+qee9IpZ3 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--2.750200-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1020-25382.003 X-MDID: 1588081058-8MOTNklobWPW Subject: [dpdk-dev] [PATCH 3/3] net/sfc/base: fix build when EVB is enabled 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" Make local MCDI helper functions static. Fixes: f0bda0cd680d ("net/sfc/base: add MCDI wrappers for vPort and vSwitch in EVB") Fixes: ea94d14dbea0 ("net/sfc/base: provide APIs to configure and reset vPort") Cc: stable@dpdk.org Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_evb.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/net/sfc/base/ef10_evb.c b/drivers/net/sfc/base/ef10_evb.c index d541db4980..aeeaa5189f 100644 --- a/drivers/net/sfc/base/ef10_evb.c +++ b/drivers/net/sfc/base/ef10_evb.c @@ -27,7 +27,7 @@ ef10_evb_fini( EFSYS_ASSERT(EFX_FAMILY_IS_EF10(enp)); } - __checkReturn efx_rc_t +static __checkReturn efx_rc_t efx_mcdi_vswitch_alloc( __in efx_nic_t *enp, __in efx_vport_id_t vport_id, @@ -94,7 +94,7 @@ efx_mcdi_vswitch_alloc( return (rc); } - __checkReturn efx_rc_t +static __checkReturn efx_rc_t efx_mcdi_vswitch_free( __in efx_nic_t *enp) { @@ -125,7 +125,7 @@ efx_mcdi_vswitch_free( return (rc); } - __checkReturn efx_rc_t +static __checkReturn efx_rc_t efx_mcdi_vport_alloc( __in efx_nic_t *enp, __in efx_vport_type_t vport_type, @@ -188,7 +188,7 @@ efx_mcdi_vport_alloc( return (rc); } - __checkReturn efx_rc_t +static __checkReturn efx_rc_t efx_mcdi_vport_free( __in efx_nic_t *enp, __in efx_vport_id_t vport_id) @@ -219,7 +219,7 @@ efx_mcdi_vport_free( return (rc); } - __checkReturn efx_rc_t +static __checkReturn efx_rc_t efx_mcdi_vport_mac_addr_add( __in efx_nic_t *enp, __in efx_vport_id_t vport_id, @@ -254,7 +254,7 @@ efx_mcdi_vport_mac_addr_add( return (rc); } - __checkReturn efx_rc_t +static __checkReturn efx_rc_t efx_mcdi_vport_mac_addr_del( __in efx_nic_t *enp, __in efx_vport_id_t vport_id, @@ -289,7 +289,7 @@ efx_mcdi_vport_mac_addr_del( return (rc); } - __checkReturn efx_rc_t +static __checkReturn efx_rc_t efx_mcdi_port_assign( __in efx_nic_t *enp, __in efx_vport_id_t vport_id, @@ -326,7 +326,7 @@ efx_mcdi_port_assign( return (rc); } - __checkReturn efx_rc_t +static __checkReturn efx_rc_t efx_mcdi_vport_reconfigure( __in efx_nic_t *enp, __in efx_vport_id_t vport_id, -- 2.17.1