aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4/main.c
diff options
context:
space:
mode:
authorYuval Shaia <yuval.shaia@oracle.com>2017-06-14 23:13:34 +0300
committerDoug Ledford <dledford@redhat.com>2017-07-24 08:45:11 -0400
commitd41861942fc55c14b6280d9568a0d0112037f065 (patch)
treec71935ab1feeed8a4a913b7a43b04e10e63427bc /drivers/infiniband/hw/mlx4/main.c
parentIB/usnic: Implement get_netdev hook (diff)
downloadlinux-dev-d41861942fc55c14b6280d9568a0d0112037f065.tar.xz
linux-dev-d41861942fc55c14b6280d9568a0d0112037f065.zip
IB/core: Add generic function to extract IB speed from netdev
Logic of retrieving netdev speed from net_device and translating it to IB speed is implemented in rxe, in usnic and in bnxt drivers. Define new function which merges all. Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com> Reviewed-by: Christian Benvenuti <benve@cisco.com> Reviewed-by: Selvin Xavier <selvin.xavier@broadcom.com> Reviewed-by: Moni Shoua <monis@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/main.c')
0 files changed, 0 insertions, 0 deletions