Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c938 MLX5_SET(modify_nic_vport_context_in, in, field_select.roce_en, 1); in mlx5_nic_vport_update_roce_state()
939 MLX5_SET(modify_nic_vport_context_in, in, nic_vport_context.roce_en, in mlx5_nic_vport_update_roce_state()
956 if (!mdev->roce.roce_en) in mlx5_nic_vport_enable_roce()
960 mdev->roce.roce_en++; in mlx5_nic_vport_enable_roce()
972 if (mdev->roce.roce_en) { in mlx5_nic_vport_disable_roce()
973 mdev->roce.roce_en--; in mlx5_nic_vport_disable_roce()
974 if (mdev->roce.roce_en == 0) in mlx5_nic_vport_disable_roce()
978 mdev->roce.roce_en++; in mlx5_nic_vport_disable_roce()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_cmd.c91 u16 vport, bool *roce_en) in dr_cmd_query_nic_vport_roce_en() argument
106 *roce_en = MLX5_GET(query_nic_vport_context_out, out, in dr_cmd_query_nic_vport_roce_en()
107 nic_vport_context.roce_en); in dr_cmd_query_nic_vport_roce_en()
114 bool roce_en; in mlx5dr_cmd_query_device() local
126 err = dr_cmd_query_nic_vport_roce_en(mdev, 0, &roce_en); in mlx5dr_cmd_query_device()
130 caps->roce_caps.roce_en = roce_en; in mlx5dr_cmd_query_device()
H A Ddr_send.c988 return ((caps->roce_caps.roce_en && in dr_send_allow_fl()
990 (!caps->roce_caps.roce_en && in dr_send_allow_fl()
H A Ddr_types.h853 u8 roce_en:1; member
/linux/include/linux/mlx5/
H A Ddriver.h815 u32 roce_en; member
H A Dmlx5_ifc.h4240 u8 roce_en[0x1]; member
7776 u8 roce_en[0x1]; member
/linux/drivers/infiniband/hw/mlx5/
H A Dmain.c558 if (!dev->is_rep && dev->mdev->roce.roce_en) { in mlx5_query_port_roce()