OSDN Git Service

net/mlx5: DR, Add Steering entry (STE) utilities
authorAlex Vesker <valex@mellanox.com>
Mon, 19 Aug 2019 11:14:55 +0000 (14:14 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 3 Sep 2019 19:54:21 +0000 (12:54 -0700)
commit26d688e33f887cb8ded56d5b58829e462ea67ec4
tree27afabdd0385d05ac109928487b7e4a983e2b67e
parent297cccebdc5a0ad281e30565ccf7e7b8c87f5a45
net/mlx5: DR, Add Steering entry (STE) utilities

Steering Entry (STE) object is the basic building block of the steering
map. There are several types of STEs. Each rule can be constructed of
multiple STEs. Each STE dictates which fields of the packet's header are
being matched as well as the information about the next step in map (hit
and miss pointers). The hardware gets a packet and tries to match it
against the STEs, going to either the hit pointer or the miss pointer.
This file handles the STE operations.

Signed-off-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_crc32.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c [new file with mode: 0644]