aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/sriov.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2015-04-08 16:30:01 -0400
committerDavid S. Miller <davem@davemloft.net>2015-04-08 16:30:01 -0400
commit51df60f5a428c249cd458451e0b56269417f3cda (patch)
treebcf1d233e996d9d884964e9f8385e0a7a1f01bbc /drivers/net/ethernet/sfc/sriov.h
parentnetfilter: Fix switch statement warnings with recent gcc. (diff)
downloadlinux-dev-51df60f5a428c249cd458451e0b56269417f3cda.tar.xz
linux-dev-51df60f5a428c249cd458451e0b56269417f3cda.zip
sfc: Revert SRIOV changes.
This reverts commits: d92916f71a57582ce7276547510cedb2c10b6bd6 ("sfc: Own header for nic-specific sriov functions,") 25672dba9535b804331145379c79f835ba2205c5 ("sfc: Enable VF's via a write to the sysfs file sriov_numvfs") As they break the build with SRIOV disabled and there is no easy way to fix it the way things are arranged. Reported-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/sfc/sriov.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/net/ethernet/sfc/sriov.h b/drivers/net/ethernet/sfc/sriov.h
deleted file mode 100644
index 0b9f0f6acf3b..000000000000
--- a/drivers/net/ethernet/sfc/sriov.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/****************************************************************************
- * Driver for Solarflare network controllers and boards
- * Copyright 2014-2015 Solarflare Communications Inc.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 as published
- * by the Free Software Foundation, incorporated herein by reference.
- */
-
-#ifndef EFX_SRIOV_H
-#define EFX_SRIOV_H
-
-#include "net_driver.h"
-
-#ifdef CONFIG_SFC_SRIOV
-
-int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac);
-int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan,
- u8 qos);
-int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i,
- bool spoofchk);
-int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i,
- struct ifla_vf_info *ivi);
-
-#endif /* CONFIG_SFC_SRIOV */
-
-#endif /* EFX_SRIOV_H */