]> 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)
commit45a7c6d782d546a67eacc7f178319cb416c2323f
treef0bf072aa8d1bbc3803133ae0c0f0c20e5a4f8fa
parentd3f30d2e752ab964239bdc6b7cad1ed9fc99e2bb
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