ethtool, net/mlx4_en: Add 100M, 20G, 56G speeds ethtool reporting support
authorSaeed Mahameed <saeedm@mellanox.com>
Mon, 27 Oct 2014 09:37:39 +0000 (11:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Oct 2014 21:18:00 +0000 (17:18 -0400)
commitdcf972a334dd76975bf144ca57350c1f3132c947
tree83ccd24288aaee20b640bb5f31c04d661bbbcd58
parenta53e3e8c1db547981e13d1ebf24a659bd4e87710
ethtool, net/mlx4_en: Add 100M, 20G, 56G speeds ethtool reporting support

Added 100M, 20G and 56G ethtool speed reporting support.
Update mlx4_en_test_speed self test with the new speeds.

Defined new link speeds in include/uapi/linux/ethtool.h:
+#define SPEED_20000 20000
+#define SPEED_40000 40000
+#define SPEED_56000 56000

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_port.c
drivers/net/ethernet/mellanox/mlx4/en_port.h
drivers/net/ethernet/mellanox/mlx4/en_selftest.c
include/uapi/linux/ethtool.h
This page took 0.034922 seconds and 5 git commands to generate.