diff options
author | Kamal Heib <kamalheib1@gmail.com> | 2019-05-29 15:55:45 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-06-07 18:35:00 +0200 |
commit | 633fbb06cbb34cb37117a298c4316ad9d54a7a63 (patch) | |
tree | a6efea1348992e5f80fb65b3cf1262d727eb9173 /kernel/auditsc.c | |
parent | RDMA/hns: Bugfix for posting multiple srq work request (diff) | |
download | linux-633fbb06cbb34cb37117a298c4316ad9d54a7a63.tar.xz linux-633fbb06cbb34cb37117a298c4316ad9d54a7a63.zip |
RDMA/ipoib: implement ethtool .get_link() callback
Add support for reporting link state for ipoib net devices.
$ ip l set dev mlx4_ib0 up
$ ethtool mlx4_ib0 | grep Link
Link detected: yes
$ ip l set dev mlx4_ib0 down
$ ethtool mlx4_ib0 | grep Link
Link detected: no
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'kernel/auditsc.c')
0 files changed, 0 insertions, 0 deletions