]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19059f2dc873165473e77efea09ff22230b1f377
tree27afabdd0385d05ac109928487b7e4a983e2b67e
parentc45ded7f28d3a3912829bef00cbbe724d0e1df0e
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]