Centos-kernel-stream-9/include/net/mana
Maxim Levitsky c65cfd5bec RDMA/mana_ib: Set correct device into ib
JIRA: https://issues.redhat.com/browse/RHEL-54330

commit 1df03a4b44146c4f720d793915747272c7773a3e
Author: Konstantin Taranov <kotaranov@microsoft.com>
Date:   Thu Jul 11 06:37:57 2024 -0700

    RDMA/mana_ib: Set correct device into ib

    Add mana_get_primary_netdev_rcu helper to get a primary
    netdevice for a given port. When mana is used with
    netvsc, the VF netdev is controlled by an upper netvsc
    device. In a baremetal case, the VF netdev is the
    primary device.

    Use the mana_get_primary_netdev_rcu() helper in the mana_ib
    to get the correct device for querying network states.

    Fixes: 8b184e4f1c32 ("RDMA/mana_ib: Enable RoCE on port 1")
    Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com>
    Link: https://lore.kernel.org/r/1720705077-322-1-git-send-email-kotaranov@linux.microsoft.com
    Reviewed-by: Long Li <longli@microsoft.com>
    Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
    Signed-off-by: Leon Romanovsky <leon@kernel.org>

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
2024-08-15 11:32:04 +03:00
..
gdma.h net: mana: Add support for page sizes other than 4KB on ARM64 2024-08-15 11:32:04 +03:00
hw_channel.h net: mana: Configure hwc timeout from hardware 2024-01-30 20:37:57 -05:00
mana.h RDMA/mana_ib: Set correct device into ib 2024-08-15 11:32:04 +03:00
mana_auxiliary.h
shm_channel.h