Home
last modified time | relevance | path

Searched refs:steering_mode (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_netdev.c568 switch (dev->caps.steering_mode) { in mlx4_en_uc_steer_add()
620 switch (dev->caps.steering_mode) { in mlx4_en_uc_steer_release()
662 if (dev->caps.steering_mode == MLX4_STEERING_MODE_A0) { in mlx4_en_get_qp()
686 if (dev->caps.steering_mode == MLX4_STEERING_MODE_A0) { in mlx4_en_put_qp()
906 switch (mdev->dev->caps.steering_mode) { in mlx4_en_set_promisc_mode()
965 switch (mdev->dev->caps.steering_mode) { in mlx4_en_clear_promisc_mode()
1020 switch (mdev->dev->caps.steering_mode) { in mlx4_en_do_multicast()
1044 switch (mdev->dev->caps.steering_mode) { in mlx4_en_do_multicast()
1920 if (mdev->dev->caps.steering_mode == in mlx4_en_stop_port()
1968 if (mdev->dev->caps.steering_mode == in mlx4_en_stop_port()
[all …]
H A Dfw.h200 u8 steering_mode; /* for QUERY_HCA */ member
H A Dmcg.c1014 if (dev->caps.steering_mode != MLX4_STEERING_MODE_DEVICE_MANAGED) in mlx4_flow_attach()
1411 switch (dev->caps.steering_mode) { in mlx4_multicast_attach()
1441 switch (dev->caps.steering_mode) { in mlx4_multicast_detach()
1631 if (dev->caps.steering_mode == in mlx4_init_mcg_table()
1646 if (dev->caps.steering_mode != in mlx4_cleanup_mcg_table()
H A Dmain.c845 dev->caps.steering_mode = hca_param->steering_mode; in slave_adjust_steering_mode()
846 if (dev->caps.steering_mode == MLX4_STEERING_MODE_DEVICE_MANAGED) { in slave_adjust_steering_mode()
855 mlx4_steering_mode_str(dev->caps.steering_mode)); in slave_adjust_steering_mode()
1378 if (dev->caps.steering_mode != MLX4_STEERING_MODE_DEVICE_MANAGED) { in mlx4_mf_bond()
2219 dev->caps.steering_mode = MLX4_STEERING_MODE_DEVICE_MANAGED; in choose_steering_mode()
2229 dev->caps.steering_mode = MLX4_STEERING_MODE_B0; in choose_steering_mode()
2231 dev->caps.steering_mode = MLX4_STEERING_MODE_A0; in choose_steering_mode()
2244 mlx4_steering_mode_str(dev->caps.steering_mode), in choose_steering_mode()
2252 if (dev->caps.steering_mode == MLX4_STEERING_MODE_DEVICE_MANAGED && in choose_tunnel_offload_mode()
2368 if (dev->caps.steering_mode == in mlx4_init_hca()
H A Dprofile.c247 if (dev->caps.steering_mode == in mlx4_make_profile()
H A Dfw.c1350 if (dev->caps.steering_mode != MLX4_STEERING_MODE_DEVICE_MANAGED) { in mlx4_QUERY_DEV_CAP_wrapper()
1991 if (dev->caps.steering_mode == in mlx4_INIT_HCA()
2034 if (dev->caps.steering_mode == MLX4_STEERING_MODE_B0) in mlx4_INIT_HCA()
2134 param->steering_mode = MLX4_STEERING_MODE_DEVICE_MANAGED; in mlx4_QUERY_HCA()
2138 param->steering_mode = MLX4_STEERING_MODE_B0; in mlx4_QUERY_HCA()
2140 param->steering_mode = MLX4_STEERING_MODE_A0; in mlx4_QUERY_HCA()
2147 if (param->steering_mode == MLX4_STEERING_MODE_DEVICE_MANAGED) { in mlx4_QUERY_HCA()
2749 if (dev->caps.steering_mode == in mlx4_opreq_action()
H A Dresource_tracker.c4082 switch (dev->caps.steering_mode) { in qp_attach()
4109 switch (dev->caps.steering_mode) { in qp_detach()
4127 if (dev->caps.steering_mode == MLX4_STEERING_MODE_B0 || in mlx4_adjust_port()
4128 dev->caps.steering_mode == MLX4_STEERING_MODE_DEVICE_MANAGED) { in mlx4_adjust_port()
4385 if (dev->caps.steering_mode != in mlx4_QP_FLOW_STEERING_ATTACH_wrapper()
4512 if (dev->caps.steering_mode != in mlx4_QP_FLOW_STEERING_DETACH_wrapper()
4589 switch (dev->caps.steering_mode) { in detach_qp()
H A Den_ethtool.c1760 (mdev->dev->caps.steering_mode != in mlx4_en_get_rxnfc()
1798 if (mdev->dev->caps.steering_mode != in mlx4_en_set_rxnfc()
H A Dport.c1652 if (dev->caps.steering_mode != MLX4_STEERING_MODE_A0) in mlx4_SET_PORT_qpn_calc()
/openbmc/linux/include/linux/mlx4/
H A Ddevice.h132 static inline const char *mlx4_steering_mode_str(int steering_mode) in mlx4_steering_mode_str() argument
134 switch (steering_mode) { in mlx4_steering_mode_str()
585 int steering_mode; member
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dmain.c95 int dmfs = dev->caps.steering_mode == MLX4_STEERING_MODE_DEVICE_MANAGED; in check_flow_steering_support()
1846 if (mdev->dev->caps.steering_mode == in mlx4_ib_mcg_attach()
1925 if (mdev->dev->caps.steering_mode == in mlx4_ib_mcg_detach()