Home
last modified time | relevance | path

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

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