• Moni Shoua's avatar
    IB/mlx4: Implement ib_device callbacks · e26be1bf
    Moni Shoua authored
    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: default avatarMoni Shoua <monis@mellanox.com>
    Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
    e26be1bf
ib_verbs.h 89.5 KB