Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c1410 struct mlx5_flow_attr *slow_attr; in mlx5e_tc_offload_to_slow_path() local
1416 slow_attr = mlx5_alloc_flow_attr(MLX5_FLOW_NAMESPACE_FDB); in mlx5e_tc_offload_to_slow_path()
1417 if (!slow_attr) in mlx5e_tc_offload_to_slow_path()
1420 memcpy(slow_attr, flow->attr, ESW_FLOW_ATTR_SZ); in mlx5e_tc_offload_to_slow_path()
1421 slow_attr->action = MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in mlx5e_tc_offload_to_slow_path()
1422 slow_attr->esw_attr->split_count = 0; in mlx5e_tc_offload_to_slow_path()
1423 slow_attr->flags |= MLX5_ATTR_FLAG_SLOW_PATH; in mlx5e_tc_offload_to_slow_path()
1445 slow_attr->action |= MLX5_FLOW_CONTEXT_ACTION_MOD_HDR; in mlx5e_tc_offload_to_slow_path()
1446 slow_attr->modify_hdr = mlx5e_mod_hdr_get(mh); in mlx5e_tc_offload_to_slow_path()
1449 rule = mlx5e_tc_offload_fdb_rules(esw, flow, spec, slow_attr); in mlx5e_tc_offload_to_slow_path()
[all …]