IB/mlx4: Implement ib_device callbacks
authorMoni Shoua <monis@mellanox.com>
Thu, 30 Jul 2015 15:33:29 +0000 (18:33 +0300)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:12:20 +0000 (18:12 -0400)
commite26be1bfef81a2314a075f54dd8930cf5e8656df
tree89a59f6c1d2cd1185a542ceaeba4d28b867dccab
parent79857cd31fe70145ff007d4e968557af342c8ccd
IB/mlx4: Implement ib_device callbacks

get_netdev: get the net_device on the physical port of the IB transport port. In
port aggregation mode it is required to return the netdev of the active port.

modify_gid: note for a change in the RoCE gid cache. Handle this by writing to
the harsware GID table. It is possible that indexes in cahce and hardware tables
won't match so a translation is required when modifying a QP or creating an
address handle.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cache.c
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx4/mlx4_ib.h
include/linux/mlx4/device.h
include/rdma/ib_verbs.h
This page took 0.026383 seconds and 5 git commands to generate.