search for: speed_5000

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

Did you mean: speed_1000
2016 Feb 02
4
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...; }; struct padded_vnet_hdr { @@ -1376,6 +1380,72 @@ static void virtnet_get_channels(struct net_device *dev, channels->other_count = 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: +...
2016 Feb 02
4
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...; }; struct padded_vnet_hdr { @@ -1376,6 +1380,72 @@ static void virtnet_get_channels(struct net_device *dev, channels->other_count = 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: +...
2016 Feb 02
1
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...t_device *dev, >> channels->other_count = 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; >> + } >> + >> + ret...
2016 Feb 02
1
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...t_device *dev, >> channels->other_count = 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; >> + } >> + >> + ret...
2016 Feb 02
0
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...@ static void virtnet_get_channels(struct net_device *dev, > channels->other_count = 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 virt...