Displaying 5 results from an estimated 5 matches for "speed_20000".
Did you mean:
speed_10000
2016 Feb 02
4
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...376,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:
+ case DUPLEX_UNKNOWN:
+ return true;
+...
2016 Feb 02
4
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...376,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:
+ case DUPLEX_UNKNOWN:
+ return true;
+...
2016 Feb 02
1
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...gt;> }
>>
>> +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 vi...
2016 Feb 02
1
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...gt;> }
>>
>> +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 vi...
2016 Feb 02
0
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...ice *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)
> +{
> + swit...