MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mlx5_need_cache_flow

Function mlx5_need_cache_flow

dpdk/drivers/net/mlx5/mlx5_flow.c:189–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187 const struct mlx5_flow_expand_node *node);
188
189static __rte_always_inline int
190mlx5_need_cache_flow(const struct mlx5_priv *priv,
191 const struct rte_flow_attr *attr)
192{
193 return priv->isolated && priv->sh->config.dv_flow_en == 1 &&
194 (attr ? !attr->group : true) &&
195 priv->mode_info.mode == RTE_PMD_MLX5_FLOW_ENGINE_MODE_STANDBY &&
196 (!priv->sh->config.dv_esw_en || !priv->sh->config.fdb_def_rule);
197}
198
199static bool
200mlx5_flow_is_rss_expandable_item(const struct rte_flow_item *item)

Callers 3

mlx5_flow_createFunction · 0.85
mlx5_flow_list_flushFunction · 0.85
mlx5_flow_destroyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected