net/mlx4: Move the tunnel steering helper function to mlx4_core
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 27 Aug 2014 13:47:48 +0000 (16:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Aug 2014 03:13:00 +0000 (20:13 -0700)
commitb95089d00c04712a9d4655d5c638930ac24b7bd3
treecf2141fd45eca887708cef2908268fb1928e791f
parent362b37be01edc7429e3ebaa89613517d57863f5c
net/mlx4: Move the tunnel steering helper function to mlx4_core

Move the function which we use to set VXLAN DMFS (flow-steering) rules
from mlx4_en to mlx4_core. This refactoring will allow the mlx4_ib driver
to call the helper for the use case of user-space RAW Ethernet QPs, such
that they can serve VXLAN traffic too.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/mcg.c
include/linux/mlx4/device.h