Searched refs:is_mdev_switchdev_mode (Results 1 – 7 of 7) sorted by relevance
214 if ((is_mdev_switchdev_mode(dev->mdev) && in get_counters()218 return is_mdev_switchdev_mode(dev->mdev) ? in get_counters()384 if (is_mdev_switchdev_mode(dev->mdev) && dev->is_rep && port_num != 0) in do_get_hw_stats()394 if (is_mdev_switchdev_mode(dev->mdev) && port_num != 0) in do_get_hw_stats()587 bool is_vport = is_mdev_switchdev_mode(dev->mdev) && in mlx5_ib_fill_counters()686 bool is_vport = is_mdev_switchdev_mode(dev->mdev) && in __mlx5_ib_alloc_counters()765 if (is_mdev_switchdev_mode(dev->mdev)) in mlx5_ib_dealloc_counters()812 if (is_mdev_switchdev_mode(dev->mdev)) in mlx5_ib_alloc_counters()1069 if (is_mdev_switchdev_mode(dev->mdev)) { in mlx5_ib_counters_init()
209 static inline bool is_mdev_switchdev_mode(struct mlx5_core_dev *dev) in is_mdev_switchdev_mode() function
248 if (is_mdev_switchdev_mode(priv->mdev)) in mlx5e_cond_loopback()
297 if (is_mdev_switchdev_mode(priv->mdev)) { in get_act_stats_handle()314 if (is_mdev_switchdev_mode(priv->mdev)) { in mlx5e_get_int_port_priv()332 if (is_mdev_switchdev_mode(dev)) { in mlx5e_get_flow_meters()356 if (is_mdev_switchdev_mode(priv->mdev)) { in get_ct_priv()373 if (is_mdev_switchdev_mode(priv->mdev)) { in get_sample_priv()391 if (is_mdev_switchdev_mode(priv->mdev)) { in get_post_action()408 if (is_mdev_switchdev_mode(priv->mdev)) in mlx5_tc_rule_insert()421 if (is_mdev_switchdev_mode(priv->mdev)) { in mlx5_tc_rule_delete()494 if (!is_mdev_switchdev_mode(priv->mdev)) in mlx5e_tc_rule_offload()516 if (!is_mdev_switchdev_mode(priv->mdev)) { in mlx5e_tc_rule_unoffload()[all …]
284 if (is_mdev_switchdev_mode(dev)) { in mlx5_devlink_trap_action_set()
770 if (mlx5_eswitch_num_vfs(dev->priv.eswitch) && !is_mdev_switchdev_mode(dev)) in mlx5_lag_check_prereq()868 if (is_mdev_switchdev_mode(dev) && in mlx5_shared_fdb_supported()879 if (is_mdev_switchdev_mode(dev) && in mlx5_shared_fdb_supported()
318 if (!is_mdev_switchdev_mode(dev)) { in mlx5_devlink_sf_port_new()