Searched refs:roce_en (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_cmd.c | 89 u16 vport, bool *roce_en) in dr_cmd_query_nic_vport_roce_en() argument 104 *roce_en = MLX5_GET(query_nic_vport_context_out, out, in dr_cmd_query_nic_vport_roce_en() 105 nic_vport_context.roce_en); in dr_cmd_query_nic_vport_roce_en() 112 bool roce_en; in mlx5dr_cmd_query_device() local 124 err = dr_cmd_query_nic_vport_roce_en(mdev, 0, &roce_en); in mlx5dr_cmd_query_device() 128 caps->roce_caps.roce_en = roce_en; in mlx5dr_cmd_query_device()
|
D | dr_send.c | 685 return ((caps->roce_caps.roce_en && in dr_send_allow_fl() 687 (!caps->roce_caps.roce_en && in dr_send_allow_fl()
|
D | dr_types.h | 770 u8 roce_en:1; member
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | vport.c | 913 MLX5_SET(modify_nic_vport_context_in, in, field_select.roce_en, 1); in mlx5_nic_vport_update_roce_state() 914 MLX5_SET(modify_nic_vport_context_in, in, nic_vport_context.roce_en, in mlx5_nic_vport_update_roce_state() 931 if (!mdev->roce.roce_en) in mlx5_nic_vport_enable_roce() 935 mdev->roce.roce_en++; in mlx5_nic_vport_enable_roce() 947 if (mdev->roce.roce_en) { in mlx5_nic_vport_disable_roce() 948 mdev->roce.roce_en--; in mlx5_nic_vport_disable_roce() 949 if (mdev->roce.roce_en == 0) in mlx5_nic_vport_disable_roce() 953 mdev->roce.roce_en++; in mlx5_nic_vport_disable_roce()
|
/drivers/infiniband/hw/mlx5/ |
D | mem.c | 220 if (!dev->mdev->roce.roce_en && in mlx5_ib_test_wc()
|
D | main.c | 517 if (!dev->is_rep && dev->mdev->roce.roce_en) { in mlx5_query_port_roce()
|