From: Or Gerlitz Date: Thu, 1 Mar 2012 10:17:51 +0000 (+0200) Subject: IB/core: Add raw packet QP type X-Git-Tag: v3.5-rc1~171^2^10~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c938a616aadb621b8e26b0ac09ac13d053c7ed1c;p=pandora-kernel.git IB/core: Add raw packet QP type IB_QPT_RAW_PACKET allows applications to build a complete packet, including L2 headers, when sending; on the receive side, the HW will not strip any headers. This QP type is designed for userspace direct access to Ethernet; for example by applications that do TCP/IP themselves. Only processes with the NET_RAW capability are allowed to create raw packet QPs (the name "raw packet QP" is supposed to suggest an analogy to AF_PACKET / SOL_RAW sockets). Signed-off-by: Or Gerlitz Reviewed-by: Sean Hefty Signed-off-by: Roland Dreier --- Reading git-diff-tree failed