Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
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()
660 en_info(priv, "Steering Mode %d\n", dev->caps.steering_mode); in mlx4_en_get_qp()
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()
707 if (dev->caps.steering_mode != MLX4_STEERING_MODE_A0) { in mlx4_en_replace_mac()
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()
[all …]
Dfw.h200 u8 steering_mode; /* for QUERY_HCA */ member
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()
Dmain.c846 dev->caps.steering_mode = hca_param->steering_mode; in slave_adjust_steering_mode()
847 if (dev->caps.steering_mode == MLX4_STEERING_MODE_DEVICE_MANAGED) { in slave_adjust_steering_mode()
856 mlx4_steering_mode_str(dev->caps.steering_mode)); in slave_adjust_steering_mode()
1404 if (dev->caps.steering_mode != MLX4_STEERING_MODE_DEVICE_MANAGED) { in mlx4_mf_bond()
2194 dev->caps.steering_mode = MLX4_STEERING_MODE_DEVICE_MANAGED; in choose_steering_mode()
2204 dev->caps.steering_mode = MLX4_STEERING_MODE_B0; in choose_steering_mode()
2206 dev->caps.steering_mode = MLX4_STEERING_MODE_A0; in choose_steering_mode()
2219 mlx4_steering_mode_str(dev->caps.steering_mode), in choose_steering_mode()
2227 if (dev->caps.steering_mode == MLX4_STEERING_MODE_DEVICE_MANAGED && in choose_tunnel_offload_mode()
2343 if (dev->caps.steering_mode == in mlx4_init_hca()
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()
Dprofile.c247 if (dev->caps.steering_mode == in mlx4_make_profile()
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()
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()
Dport.c1652 if (dev->caps.steering_mode != MLX4_STEERING_MODE_A0) in mlx4_SET_PORT_qpn_calc()
/linux-6.1.9/include/linux/mlx4/
Ddevice.h131 static inline const char *mlx4_steering_mode_str(int steering_mode) in mlx4_steering_mode_str() argument
133 switch (steering_mode) { in mlx4_steering_mode_str()
584 int steering_mode; member
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dmain.c93 int dmfs = dev->caps.steering_mode == MLX4_STEERING_MODE_DEVICE_MANAGED; in check_flow_steering_support()
1842 if (mdev->dev->caps.steering_mode == in mlx4_ib_mcg_attach()
1921 if (mdev->dev->caps.steering_mode == in mlx4_ib_mcg_detach()