diff options
author | Ariel Levkovich | 2020-07-21 17:33:26 +0300 |
---|---|---|
committer | Saeed Mahameed | 2020-09-23 15:44:36 -0700 |
commit | aedd133d17bcee184d3da35f4c808684fae94268 (patch) | |
tree | 2cd402a4d2a47acc947c4dfef7daa1ef663eadd8 /drivers/net/ethernet/apm | |
parent | 211a536485f7f1d0bb48781ac629fa0613f55f78 (diff) |
net/mlx5e: Support CT offload for tc nic flows
Adding support to perform CT related tc actions and
matching on CT states for nic flows.
The ct flows management and handling will be done using a new
instance of the ct database that is declared in this patch to
keep it separate from the eswitch ct flows database.
Offloading and unoffloading ct flows will be done using the
existing ct offload api by providing it the relevant ct
database reference in each mode.
In addition, refactoring the tc ct api is introduced to make it
agnostic to the flow type and perform the resource allocations
and rule insertion to the proper steering domain in the device.
In the initialization call, the api requests and stores in the ct
database instance all the relevant information that distinguishes
between nic flows and esw flows, such as chains database, steering
namespace and mod hdr table.
This way the operations of adding and removing ct flows to the device
can later performed agnostically to the flow type.
Signed-off-by: Ariel Levkovich <lariel@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/apm')
0 files changed, 0 insertions, 0 deletions