net/mlx5: add TOS and TTL flower match and tunnel keys
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Sun, 13 Jan 2019 14:15:22 +0000 (14:15 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 Jan 2019 16:44:30 +0000 (17:44 +0100)
commit9d6d159a3fa602935f8ac6919865cc9e17ef32e1
tree6863e4d97291cb9b9c30444bda04a817acaa7084
parent01925b8c64df3dc3d188feeac7dc582b14f8d6b1
net/mlx5: add TOS and TTL flower match and tunnel keys

This patch is a preparation for adding the type-of-service and
time-to-live IP header fields support on E-Switch. There are
two types of keys added - one for match pattern, other for
tunnel encapsulation header.

This issue is critical for some Open VSwitch configuration
on overlayed (tunneled) networks, where the tos field can be
inherited from outer header to inner header.

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/Makefile
drivers/net/mlx5/meson.build
drivers/net/mlx5/mlx5_flow_tcf.c