net/mlx4_core: Add helper function to translate B0 steering rules to DMFS
authorHadar Hen Zion <hadarh@mellanox.com>
Thu, 11 Apr 2013 01:56:40 +0000 (01:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Apr 2013 20:12:40 +0000 (16:12 -0400)
commitfd91c49fb047a4a28c694982548aee7bea9c365b
tree808b258378da51816110bf7240c9dd753a25e66a
parent4b49f58fff00e6e9b24eaa31d4c6324393d76b0a
net/mlx4_core: Add helper function to translate B0 steering rules to DMFS

A pre-step for supporting guests that use B0 steering over a hypervisor
that runs in DMFS (device managed flow steering mode). Add helper function
which allows to translate L2 attachments / detachments provided in B0 mode
to DMFS rules.

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>
drivers/net/ethernet/mellanox/mlx4/mcg.c
drivers/net/ethernet/mellanox/mlx4/mlx4.h