aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/xilinx-selectmap.c
diff options
context:
space:
mode:
authorHaoyue Xu <[email protected]>2023-07-21 17:20:52 +0800
committerLeon Romanovsky <[email protected]>2023-07-30 14:55:37 +0300
commitcb06b6b3f6cbc56c534587db2aac3e0958a4a314 (patch)
tree798bec1c305db57dc3872eb837dd7a2cc4269f9e /drivers/fpga/xilinx-selectmap.c
parent8b6573ff3420a2da1deb469a480dbc454745f784 (diff)
RDMA/core: Get IB width and speed from netdev
Previously, there was no way to query the number of lanes for a network card, so the same netdev_speed would result in a fixed pair of width and speed. As network card specifications become more diverse, such fixed mode is no longer suitable, so a method is needed to obtain the correct width and speed based on the number of lanes. This patch retrieves netdev lanes and speed from net_device and translates them to IB width and speed. Signed-off-by: Haoyue Xu <[email protected]> Signed-off-by: Luoyouming <[email protected]> Signed-off-by: Junxian Huang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions