Home
last modified time | relevance | path

Searched refs:esw_mode (Results 1 – 5 of 5) sorted by relevance

/dpdk/drivers/net/mlx5/
H A Dmlx5_ethdev.c683 if (!priv->sh->esw_mode) { in mlx5_port_to_eswitch_info()
710 if (!priv->sh->esw_mode) { in mlx5_dev_to_eswitch_info()
H A Dmlx5.h1184 uint32_t esw_mode:1; /* Whether is E-Switch mode. */ member
H A Dmlx5.c1438 sh->esw_mode = !!(spawn->info.master || spawn->info.representor); in mlx5_alloc_shared_dev_ctx()
H A Dmlx5_flow_dv.c13876 if (!(item_flags & MLX5_FLOW_ITEM_PORT_ID) && priv->sh->esw_mode && in flow_dv_translate()
16405 if (match_src_port && priv->sh->esw_mode) { in __flow_dv_create_policy_flow()
16457 if (match_src_port && priv->sh->esw_mode) { in __flow_dv_create_policy_matcher()
/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_os.c185 if (hca_attr->eswitch_manager && sh->dev_cap.dv_flow_en && sh->esw_mode) in mlx5_os_capabilities_prepare()
1203 if (sh->esw_mode) { in mlx5_dev_spawn()
1234 } else if (spawn->pf_bond >= 0 && sh->esw_mode) { in mlx5_dev_spawn()