commit | ebd61f68e1c79eab022c550f95cb8bf37cc925cb | [log] [tgz] |
---|---|---|
author | Achiad Shochat <achiad@mellanox.com> | Wed Dec 23 18:47:16 2015 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Wed Dec 23 12:07:36 2015 -0500 |
tree | 7c67dcc2f1757d501de1bda135ed16c11b22897f | |
parent | 59f65f495d0defb62032422d1adec841fc657213 [diff] |
IB/mlx5: Support IB device's callback for getting the link layer Make the existing mlx5_ib_port_link_layer() signature match the ib device callback signature (add port_num parameter). Refactor it to use a sub function so that the link layer could be queried also before the ibdev is created. Signed-off-by: Achiad Shochat <achiad@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>