]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Support extended destination format in flow steering command
authorEli Britstein <elibr@mellanox.com>
Mon, 10 Dec 2018 21:15:16 +0000 (13:15 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 10 Dec 2018 22:00:08 +0000 (14:00 -0800)
commitede5b91ba6e520c337522d584a7f47d3dddd5e33
treef0bf072aa8d1bbc3803133ae0c0f0c20e5a4f8fa
parent72d74bbd2a769a0c3337e79e811fb10883b826f5
net/mlx5: Support extended destination format in flow steering command

Update the flow steering command formatting according to the extended
destination API.
Note that the FW dictates that multi destination FTEs that involve at
least one encap must use the extended destination format, while single
destination ones must use the legacy format.
Using extended destination format requires FW support. Check for its
capabilities and return error if not supported.

Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
include/linux/mlx5/fs.h