search for: speed_100000

Displaying 5 results from an estimated 5 matches for "speed_100000".

Did you mean: speed_10000
2016 Feb 02
4
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...t = 0; } +static bool virtnet_validate_speed(u32 speed) +{ + switch (speed) { + case SPEED_10: + case SPEED_100: + case SPEED_1000: + case SPEED_2500: + case SPEED_5000: + case SPEED_10000: + case SPEED_20000: + case SPEED_25000: + case SPEED_40000: + case SPEED_50000: + case SPEED_56000: + case SPEED_100000: + case SPEED_UNKNOWN: + return true; + } + + return false; +} + +static bool virtnet_validate_duplex(u8 duplex) +{ + switch (duplex) { + case DUPLEX_FULL: + case DUPLEX_UNKNOWN: + return true; + } + + return false; +} + +static int virtnet_set_settings(struct net_device *dev, struct ethtool_cmd...
2016 Feb 02
4
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...t = 0; } +static bool virtnet_validate_speed(u32 speed) +{ + switch (speed) { + case SPEED_10: + case SPEED_100: + case SPEED_1000: + case SPEED_2500: + case SPEED_5000: + case SPEED_10000: + case SPEED_20000: + case SPEED_25000: + case SPEED_40000: + case SPEED_50000: + case SPEED_56000: + case SPEED_100000: + case SPEED_UNKNOWN: + return true; + } + + return false; +} + +static bool virtnet_validate_duplex(u8 duplex) +{ + switch (duplex) { + case DUPLEX_FULL: + case DUPLEX_UNKNOWN: + return true; + } + + return false; +} + +static int virtnet_set_settings(struct net_device *dev, struct ethtool_cmd...
2016 Feb 02
1
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...gt;> + case SPEED_100: >> + case SPEED_1000: >> + case SPEED_2500: >> + case SPEED_5000: >> + case SPEED_10000: >> + case SPEED_20000: >> + case SPEED_25000: >> + case SPEED_40000: >> + case SPEED_50000: >> + case SPEED_56000: >> + case SPEED_100000: >> + case SPEED_UNKNOWN: >> + return true; >> + } >> + >> + return false; >> +} >> + >> +static bool virtnet_validate_duplex(u8 duplex) >> +{ >> + switch (duplex) { >> + case DUPLEX_FULL: >> + case DUPLEX_UNKNOWN: >> +...
2016 Feb 02
1
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...gt;> + case SPEED_100: >> + case SPEED_1000: >> + case SPEED_2500: >> + case SPEED_5000: >> + case SPEED_10000: >> + case SPEED_20000: >> + case SPEED_25000: >> + case SPEED_40000: >> + case SPEED_50000: >> + case SPEED_56000: >> + case SPEED_100000: >> + case SPEED_UNKNOWN: >> + return true; >> + } >> + >> + return false; >> +} >> + >> +static bool virtnet_validate_duplex(u8 duplex) >> +{ >> + switch (duplex) { >> + case DUPLEX_FULL: >> + case DUPLEX_UNKNOWN: >> +...
2016 Feb 02
0
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...; + switch (speed) { > + case SPEED_10: > + case SPEED_100: > + case SPEED_1000: > + case SPEED_2500: > + case SPEED_5000: > + case SPEED_10000: > + case SPEED_20000: > + case SPEED_25000: > + case SPEED_40000: > + case SPEED_50000: > + case SPEED_56000: > + case SPEED_100000: > + case SPEED_UNKNOWN: > + return true; > + } > + > + return false; > +} > + > +static bool virtnet_validate_duplex(u8 duplex) > +{ > + switch (duplex) { > + case DUPLEX_FULL: > + case DUPLEX_UNKNOWN: > + return true; > + } > + > + return false; &...