forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vlan: propogate ethtool speed values
This enables more ethtool information. The speed and settings of the underlying device are propagated up. This makes services like SNMP that use ethtool to get speed setting, work when managing a vlan, without adding silly heurtistics into SNMP daemon. For the driver info, just use existing driver strings. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information
Showing
3 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,10 +46,10 @@ int vlan_net_id; | |
/* Our listing of VLAN group(s) */ | ||
static struct hlist_head vlan_group_hash[VLAN_GRP_HASH_SIZE]; | ||
|
||
static char vlan_fullname[] = "802.1Q VLAN Support"; | ||
static char vlan_version[] = DRV_VERSION; | ||
static char vlan_copyright[] = "Ben Greear <[email protected]>"; | ||
static char vlan_buggyright[] = "David S. Miller <[email protected]>"; | ||
const char vlan_fullname[] = "802.1Q VLAN Support"; | ||
const char vlan_version[] = DRV_VERSION; | ||
static const char vlan_copyright[] = "Ben Greear <[email protected]>"; | ||
static const char vlan_buggyright[] = "David S. Miller <[email protected]>"; | ||
|
||
static struct packet_type vlan_packet_type = { | ||
.type = __constant_htons(ETH_P_8021Q), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters