]> git.baikalelectronics.ru Git - kernel.git/commit
mlx4: Set user-space raw Ethernet QPs to properly handle VXLAN traffic
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 27 Aug 2014 13:47:49 +0000 (16:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Aug 2014 03:13:00 +0000 (20:13 -0700)
commit81d729dc58588c07d9c0279fd93dab3739cef95a
tree7b13e6461cae283319d915ddc01706694faaa6dc
parentc6f793f5d95cfe1b7690c6bf091b7c131d5790e3
mlx4: Set user-space raw Ethernet QPs to properly handle VXLAN traffic

Raw Ethernet QPs opened from user-space lack the proper setup to
recieve/handle VXLAN traffic when VXLAN offloads are enabled.

Fix that by adding a tunnel steering rule on top of the normal unicast
steering rule and set the tunnel_type field in the QP context.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx4/qp.c