net/mlx5e: Add offloading of NIC TC pedit (header re-write) actions
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 25 Jan 2017 17:31:33 +0000 (19:31 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 28 Mar 2017 12:34:08 +0000 (15:34 +0300)
commit2f4fe4cab073c60c1a70cb540662c0a91d133946
treed2c3d7fa55a44c7f357f5965deab4fe3a8821007
parentd79b6df6b10a206e2fe14a13318283712cd42b71
net/mlx5e: Add offloading of NIC TC pedit (header re-write) actions

This includes calling the parsing code that translates from pedit
speak to the HW API, allocation (deallocation) of a modify header
context and setting the modify header id associated with this
context to the FTE of that flow.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c