IB/core: Add flow steering support for IPoIB UD traffic
authorMatan Barak <matanb@mellanox.com>
Thu, 7 Nov 2013 13:25:12 +0000 (15:25 +0200)
committerRoland Dreier <roland@purestorage.com>
Tue, 14 Jan 2014 22:06:50 +0000 (14:06 -0800)
commit90f1d1b41b70474bf73d07d4300196901cd81718
tree5996e9d975e51f36d3864de8af7d87c163bd0590
parent7e22e91102c6b9df7c4ae2168910e19d2bb14cd6
IB/core: Add flow steering support for IPoIB UD traffic

When creating an IPoIB UD QP, provide a hint to the low level driver
that the QP should support flow-steering.  This means that privileged
user space applications can steer TCP/IP IPoIB traffic from the
network stack, in a similar manner done with Ethernet RAW_PACKET QPs.

The hint is provided through new QP creation flag called NETIF_QP.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/ipoib/ipoib_verbs.c
include/rdma/ib_verbs.h