[SPARC64]: Simplify VNET probing.
Only probe on the vdc-port VIO devices, create parent vnet objects on-demand. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -60,11 +60,13 @@ struct vnet {
|
||||
struct net_device *dev;
|
||||
|
||||
u32 msg_enable;
|
||||
struct vio_dev *vdev;
|
||||
|
||||
struct list_head port_list;
|
||||
|
||||
struct hlist_head port_hash[VNET_PORT_HASH_SIZE];
|
||||
|
||||
struct list_head list;
|
||||
u64 local_mac;
|
||||
};
|
||||
|
||||
#endif /* _SUNVNET_H */
|
||||
|
Reference in New Issue
Block a user