net/mlx5: introduce helper to set IP version match
authorEli Britstein <elibr@mellanox.com>
Sun, 3 May 2020 10:47:54 +0000 (10:47 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 5 May 2020 13:54:27 +0000 (15:54 +0200)
commitdd5374bcf0a8e6a47077c381e237e60cee79f400
treebec2cdf20a6b5cbc240105b5bc9f848596c900dd
parent869ea2e62de7f981c4b69fc0b63d32ca0c1213cd
net/mlx5: introduce helper to set IP version match

Introduce a helper function to set the ip_version match.

Signed-off-by: Eli Britstein <elibr@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/mlx5_flow_dv.c