summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/efx.h
diff options
context:
space:
mode:
authorShradha Shah <sshah@solarflare.com>2015-05-20 13:11:03 +0300
committerDavid S. Miller <davem@davemloft.net>2015-05-22 01:43:54 +0300
commite340be923012bfbc8935aa0af5638349939c82d2 (patch)
treeb7e425176cc8bb82e07642ac9622347be4e35a20 /drivers/net/ethernet/sfc/efx.h
parentaa09a3da70a45a5030034b8ec8a8b945da44ebd4 (diff)
downloadlinux-e340be923012bfbc8935aa0af5638349939c82d2.tar.xz
sfc: add ndo_set_vf_mac() function for EF10
Implement a response to this entrypoint. The ndo_set_vf_mac() entrypoint is only exposed in the driver if CONFIG_SFC_SRIOV is defined. Signed-off-by: Shradha Shah <sshah@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/efx.h')
-rw-r--r--drivers/net/ethernet/sfc/efx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/efx.h b/drivers/net/ethernet/sfc/efx.h
index 46aee41a7c27..acb1e0718485 100644
--- a/drivers/net/ethernet/sfc/efx.h
+++ b/drivers/net/ethernet/sfc/efx.h
@@ -19,6 +19,9 @@
#define EFX_MEM_BAR 2
#define EFX_MEM_VF_BAR 0
+int efx_net_open(struct net_device *net_dev);
+int efx_net_stop(struct net_device *net_dev);
+
/* TX */
int efx_probe_tx_queue(struct efx_tx_queue *tx_queue);
void efx_remove_tx_queue(struct efx_tx_queue *tx_queue);