Home
last modified time | relevance | path

Searched refs:roce_en (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c89 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
122 err = dr_cmd_query_nic_vport_roce_en(mdev, 0, &roce_en); in mlx5dr_cmd_query_device()
126 caps->roce_caps.roce_en = roce_en; in mlx5dr_cmd_query_device()
Ddr_send.c687 return ((caps->roce_caps.roce_en && in dr_send_allow_fl()
689 (!caps->roce_caps.roce_en && in dr_send_allow_fl()
Ddr_types.h832 u8 roce_en:1; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c915 MLX5_SET(modify_nic_vport_context_in, in, field_select.roce_en, 1); in mlx5_nic_vport_update_roce_state()
916 MLX5_SET(modify_nic_vport_context_in, in, nic_vport_context.roce_en, in mlx5_nic_vport_update_roce_state()
933 if (!mdev->roce.roce_en) in mlx5_nic_vport_enable_roce()
937 mdev->roce.roce_en++; in mlx5_nic_vport_enable_roce()
949 if (mdev->roce.roce_en) { in mlx5_nic_vport_disable_roce()
950 mdev->roce.roce_en--; in mlx5_nic_vport_disable_roce()
951 if (mdev->roce.roce_en == 0) in mlx5_nic_vport_disable_roce()
955 mdev->roce.roce_en++; in mlx5_nic_vport_disable_roce()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dmem.c219 if (!dev->mdev->roce.roce_en && in mlx5_ib_test_wc()
Dmain.c512 if (!dev->is_rep && dev->mdev->roce.roce_en) { in mlx5_query_port_roce()
/linux-6.1.9/include/linux/mlx5/
Ddriver.h795 u32 roce_en; member
Dmlx5_ifc.h3878 u8 roce_en[0x1]; member
7138 u8 roce_en[0x1]; member