Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dcounters.c210 if ((is_mdev_switchdev_mode(dev->mdev) && in get_counters()
214 return is_mdev_switchdev_mode(dev->mdev) ? in get_counters()
380 if (is_mdev_switchdev_mode(dev->mdev) && dev->is_rep && port_num != 0) in do_get_hw_stats()
390 if (is_mdev_switchdev_mode(dev->mdev) && port_num != 0) in do_get_hw_stats()
583 bool is_vport = is_mdev_switchdev_mode(dev->mdev) && in mlx5_ib_fill_counters()
682 bool is_vport = is_mdev_switchdev_mode(dev->mdev) && in __mlx5_ib_alloc_counters()
761 if (is_mdev_switchdev_mode(dev->mdev)) in mlx5_ib_dealloc_counters()
808 if (is_mdev_switchdev_mode(dev->mdev)) in mlx5_ib_alloc_counters()
1065 if (is_mdev_switchdev_mode(dev->mdev)) { in mlx5_ib_counters_init()
/linux-6.6.21/include/linux/mlx5/
Deswitch.h208 static inline bool is_mdev_switchdev_mode(struct mlx5_core_dev *dev) in is_mdev_switchdev_mode() function
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
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 …]
Den_selftest.c247 if (is_mdev_switchdev_mode(priv->mdev)) in mlx5e_cond_loopback()
Ddev.c53 if (!is_mdev_switchdev_mode(dev)) in is_eth_rep_supported()
Ddevlink.c289 if (is_mdev_switchdev_mode(dev)) { in mlx5_devlink_trap_action_set()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dlag.c730 if (mlx5_eswitch_num_vfs(dev->priv.eswitch) && !is_mdev_switchdev_mode(dev)) in mlx5_lag_check_prereq()
825 if (is_mdev_switchdev_mode(dev) && in mlx5_shared_fdb_supported()
836 if (is_mdev_switchdev_mode(dev) && in mlx5_shared_fdb_supported()