summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe.h
diff options
context:
space:
mode:
authorGreg Rose2010-05-05 00:12:06 +0200
committerDavid S. Miller2010-05-06 06:15:33 +0200
commit7f01648aa32185b8047aea384237ad58e430e07f (patch)
tree3dbf1d4eb0e103e1dd4d01f2d622ff75d025db01 /drivers/net/ixgbe/ixgbe.h
parentixgbe: Add boolean parameter to ixgbe_set_vmolr (diff)
downloadkernel-qcow2-linux-7f01648aa32185b8047aea384237ad58e430e07f.tar.gz
kernel-qcow2-linux-7f01648aa32185b8047aea384237ad58e430e07f.tar.xz
kernel-qcow2-linux-7f01648aa32185b8047aea384237ad58e430e07f.zip
ixgbe: Add support for VF MAC and VLAN configuration
Add support for the "ip link set" and "ip link show" commands that allow configuration of the virtual functions' MAC and port VLAN via user space command line. Signed-off-by: Greg Rose <gregory.v.rose@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r--drivers/net/ixgbe/ixgbe.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h
index 79c35ae3718c..d0ea3d6dea95 100644
--- a/drivers/net/ixgbe/ixgbe.h
+++ b/drivers/net/ixgbe/ixgbe.h
@@ -111,7 +111,10 @@ struct vf_data_storage {
u16 default_vf_vlan_id;
u16 vlans_enabled;
bool clear_to_send;
+ bool pf_set_mac;
int rar;
+ u16 pf_vlan; /* When set, guest VLAN config not allowed. */
+ u16 pf_qos;
};
/* wrapper around a pointer to a socket buffer,