Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/mlx5/
H A Dcounters.c214 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()
/linux/include/linux/mlx5/
H A Deswitch.h209 static inline bool is_mdev_switchdev_mode(struct mlx5_core_dev *dev) in is_mdev_switchdev_mode() function
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_selftest.c248 if (is_mdev_switchdev_mode(priv->mdev)) in mlx5e_cond_loopback()
H A Den_tc.c297 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 …]
H A Ddevlink.c284 if (is_mdev_switchdev_mode(dev)) { in mlx5_devlink_trap_action_set()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dlag.c770 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Ddevlink.c318 if (!is_mdev_switchdev_mode(dev)) { in mlx5_devlink_sf_port_new()