net/mlx5: Introduce termination table bits
authorEli Britstein <elibr@mellanox.com>
Wed, 29 May 2019 22:50:29 +0000 (22:50 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 31 May 2019 19:28:14 +0000 (12:28 -0700)
commitc6d4e45d3b44b71227588c2f76615380b3961f96
treead2a4d87a196b7ad6ae80ad4708ef6ceed318b02
parent0b9055a112fd86c07b9d4857b61019485ec6526f
net/mlx5: Introduce termination table bits

Termination table is a flow table with a termination flag. The flag
allows the firmware to assume that the the specified actions are the last
actions list. This assumption allows the FW to safely perform potential
looping logic (e.g. hairpin). Introduce the bits for this attribute.

Signed-off-by: Eli Britstein <elibr@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
include/linux/mlx5/mlx5_ifc.h