aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorKonstantin Taranov <[email protected]>2024-07-11 13:37:57 +0000
committerLeon Romanovsky <[email protected]>2024-07-14 07:49:53 +0000
commit1df03a4b44146c4f720d793915747272c7773a3e (patch)
treeffcfbab88d9ac8259a1db66b13fdb0afc047dee9 /drivers/acpi/cppc_acpi.c
parentbnxt_re: Fix imm_data endianness (diff)
downloadkernel-1df03a4b44146c4f720d793915747272c7773a3e.tar.gz
kernel-1df03a4b44146c4f720d793915747272c7773a3e.zip
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Long Li <[email protected]> Reviewed-by: Zhu Yanjun <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions