summaryrefslogtreecommitdiff
path: root/drivers/infiniband/ulp/isert/ib_isert.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/ulp/isert/ib_isert.c
parent44b0b7455f7a6c4bff3cda804719d2ed4494b4da (diff)
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/ulp/isert/ib_isert.c')
0 files changed, 0 insertions, 0 deletions