diff options
author | Scott Feldman <scofeldm@cisco.com> | 2010-05-18 01:50:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-18 01:50:19 -0400 |
commit | f8bd909183acffad68780b10c1cdf36161cfd5d1 (patch) | |
tree | aefec6e6f1e67e93bc1b2ec223f974a4cd34f00f /drivers/net/enic/enic_res.h | |
parent | 57b610805ce92dbd79fc97509f80fa5391b99623 (diff) |
net: Add ndo_{set|get}_vf_port support for enic dynamic vnics
Add enic ndo_{set|get}_vf_port ops to support setting/getting
port-profile for enic dynamic devices. Enic dynamic devices are just like
normal enic eth devices except dynamic enics require an extra configuration
step to assign a port-profile identifier to the interface before the
interface is useable. Once a port-profile is assigned, link comes up on the
interface and is ready for I/O. The port-profile is used to configure the
network port assigned to the interface. The network port configuration
includes VLAN membership, QoS policies, and port security settings typical
of a data center network.
A dynamic enic initially has a zero-mac address. Before a port-profile is
assigned, a valid non-zero unicast mac address should be assign to the
dynamic enic interface.
Signed-off-by: Scott Feldman <scofeldm@cisco.com>
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Diffstat (limited to 'drivers/net/enic/enic_res.h')
-rw-r--r-- | drivers/net/enic/enic_res.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/enic/enic_res.h b/drivers/net/enic/enic_res.h index abc19741ab02..494664f7fccc 100644 --- a/drivers/net/enic/enic_res.h +++ b/drivers/net/enic/enic_res.h | |||
@@ -131,7 +131,6 @@ static inline void enic_queue_rq_desc(struct vnic_rq *rq, | |||
131 | struct enic; | 131 | struct enic; |
132 | 132 | ||
133 | int enic_get_vnic_config(struct enic *); | 133 | int enic_get_vnic_config(struct enic *); |
134 | void enic_add_station_addr(struct enic *enic); | ||
135 | void enic_add_multicast_addr(struct enic *enic, u8 *addr); | 134 | void enic_add_multicast_addr(struct enic *enic, u8 *addr); |
136 | void enic_del_multicast_addr(struct enic *enic, u8 *addr); | 135 | void enic_del_multicast_addr(struct enic *enic, u8 *addr); |
137 | void enic_add_vlan(struct enic *enic, u16 vlanid); | 136 | void enic_add_vlan(struct enic *enic, u16 vlanid); |