net/mlx5e: Add NIC attributes for offloaded TC flows
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 24 Jan 2017 19:04:50 +0000 (21:04 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 28 Mar 2017 12:33:58 +0000 (15:33 +0300)
commit3bc4b7bfa01f581f133fc678db9d4541dd794ae5
tree822a7c47c8f42d361676ef443d06463d7fc5a56f
parentecf5bb796b992454c34f555e76c29360ed9b886d
net/mlx5e: Add NIC attributes for offloaded TC flows

Add structure that contains the attributes related to offloaded
NIC flows. Currently it has the actions and flow tag.

While here, do xmas tree cleanup of the TC configure function.

This patch doesn't change any functionality.

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