aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorHadar Hen Zion <hadarh@mellanox.com>2012-09-05 18:50:48 -0400
committerDavid S. Miller <davem@davemloft.net>2012-09-07 12:55:59 -0400
commita8edc3bf05a3465726afdf635a820761fae0d50b (patch)
tree345e02de5037f0b36685d90717aadae4ef19ed69 /include/linux
parentd90c92fee89ccd75ef2646f3bde0b4c0450666c3 (diff)
net/mlx4_core: Put Firmware flow steering structures in common header files
To allow for usage of the flow steering Firmware structures in more locations over the driver, such as the resource tracker, move them from mcg.c to common header files. Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mlx4/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h
index bd6c9fcdf2dd..244ba902ab72 100644
--- a/include/linux/mlx4/device.h
+++ b/include/linux/mlx4/device.h
@@ -796,6 +796,8 @@ enum mlx4_net_trans_rule_id {
796 MLX4_NET_TRANS_RULE_NUM, /* should be last */ 796 MLX4_NET_TRANS_RULE_NUM, /* should be last */
797}; 797};
798 798
799extern const u16 __sw_id_hw[];
800
799enum mlx4_net_trans_promisc_mode { 801enum mlx4_net_trans_promisc_mode {
800 MLX4_FS_PROMISC_NONE = 0, 802 MLX4_FS_PROMISC_NONE = 0,
801 MLX4_FS_PROMISC_UPLINK, 803 MLX4_FS_PROMISC_UPLINK,