]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
RDMA/core: Add common iWARP query port
authorKamal Heib <kamalheib1@gmail.com>
Wed, 7 Aug 2019 10:31:37 +0000 (13:31 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 12 Aug 2019 14:19:43 +0000 (10:19 -0400)
commit4929116bdf72995c0eebc74d48667262be1080ac
tree9dc5b7894eee8231a7b9d3afb65b903f072747e7
parent691f380df242a6725cb4cc706887c293cfba6afc
RDMA/core: Add common iWARP query port

Add support for a common iWARP query port function, the new function
includes a common code that is used by the iWARP devices to update the
port attributes like max_mtu, active_mtu, state, and phys_state, the
function also includes a call for the driver-specific query_port callback
to query the device-specific port attributes.

Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Link: https://lore.kernel.org/r/20190807103138.17219-4-kamalheib1@gmail.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/device.c