diff options
| author | 2021-07-02 10:38:32 +0300 | |
|---|---|---|
| committer | 2021-08-02 19:26:26 -0700 | |
| commit | 371cf74e78f3468016e8c7a159fc288a71d4dc86 (patch) | |
| tree | b7bde5b5d45b0af66ee499084eba71c7277a333e /include/linux/mlx5 | |
| parent | net/mlx5e: Decouple TTC logic from mlx5e (diff) | |
| download | linux-dev-371cf74e78f3468016e8c7a159fc288a71d4dc86.tar.xz linux-dev-371cf74e78f3468016e8c7a159fc288a71d4dc86.zip | |
net/mlx5: Move TTC logic to fs_ttc
Now that TTC logic is not dependent on mlx5e structs, move it to
lib/fs_ttc.c so it could be used other part of the mlx5 driver.
Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux/mlx5')
| -rw-r--r-- | include/linux/mlx5/fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mlx5/fs.h b/include/linux/mlx5/fs.h index 77746f7e35b8..0106c67e8ccb 100644 --- a/include/linux/mlx5/fs.h +++ b/include/linux/mlx5/fs.h @@ -38,6 +38,8 @@ #define MLX5_FS_DEFAULT_FLOW_TAG 0x0 +#define MLX5_SET_CFG(p, f, v) MLX5_SET(create_flow_group_in, p, f, v) + enum { MLX5_FLOW_CONTEXT_ACTION_FWD_NEXT_PRIO = 1 << 16, MLX5_FLOW_CONTEXT_ACTION_ENCRYPT = 1 << 17, |
