Searched refs:esw_mode (Results 1 – 5 of 5) sorted by relevance
683 if (!priv->sh->esw_mode) { in mlx5_port_to_eswitch_info()710 if (!priv->sh->esw_mode) { in mlx5_dev_to_eswitch_info()
1184 uint32_t esw_mode:1; /* Whether is E-Switch mode. */ member
1438 sh->esw_mode = !!(spawn->info.master || spawn->info.representor); in mlx5_alloc_shared_dev_ctx()
13876 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()
185 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()