Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c1502 struct mlx5_flow_attr *slow_attr; in mlx5e_tc_offload_to_slow_path() local
1508 slow_attr = mlx5_alloc_flow_attr(MLX5_FLOW_NAMESPACE_FDB); in mlx5e_tc_offload_to_slow_path()
1509 if (!slow_attr) in mlx5e_tc_offload_to_slow_path()
1512 memcpy(slow_attr, flow->attr, ESW_FLOW_ATTR_SZ); in mlx5e_tc_offload_to_slow_path()
1513 slow_attr->action = MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in mlx5e_tc_offload_to_slow_path()
1514 slow_attr->esw_attr->split_count = 0; in mlx5e_tc_offload_to_slow_path()
1515 slow_attr->flags |= MLX5_ATTR_FLAG_SLOW_PATH; in mlx5e_tc_offload_to_slow_path()
1537 slow_attr->action |= MLX5_FLOW_CONTEXT_ACTION_MOD_HDR; in mlx5e_tc_offload_to_slow_path()
1538 slow_attr->modify_hdr = mlx5e_mod_hdr_get(mh); in mlx5e_tc_offload_to_slow_path()
1541 rule = mlx5e_tc_offload_fdb_rules(esw, flow, spec, slow_attr); in mlx5e_tc_offload_to_slow_path()
[all …]