Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/mlx5/
H A 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()
/openbmc/linux/include/linux/mlx5/
H A Deswitch.h208 static inline bool is_mdev_switchdev_mode(struct mlx5_core_dev *dev) in is_mdev_switchdev_mode() function
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
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 Den_selftest.c247 if (is_mdev_switchdev_mode(priv->mdev)) in mlx5e_cond_loopback()
H A Ddev.c53 if (!is_mdev_switchdev_mode(dev)) in is_eth_rep_supported()
H A Ddevlink.c295 if (is_mdev_switchdev_mode(dev)) { in mlx5_devlink_trap_action_set()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dlag.c733 if (mlx5_eswitch_num_vfs(dev->priv.eswitch) && !is_mdev_switchdev_mode(dev)) in mlx5_lag_check_prereq()
833 if (is_mdev_switchdev_mode(dev) && in mlx5_shared_fdb_supported()
844 if (is_mdev_switchdev_mode(dev) && in mlx5_shared_fdb_supported()