Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[firefly-linux-kernel-4.4.55.git] / include / rdma / ib_pack.h
index b37fe3b10a9da4f397d272a54b6c036045f019c7..709a5331e6b9d2ff04ba262d377b53f6819426c9 100644 (file)
@@ -34,6 +34,7 @@
 #define IB_PACK_H
 
 #include <rdma/ib_verbs.h>
+#include <uapi/linux/if_ether.h>
 
 enum {
        IB_LRH_BYTES  = 8,
@@ -75,6 +76,8 @@ enum {
        IB_OPCODE_UC                                = 0x20,
        IB_OPCODE_RD                                = 0x40,
        IB_OPCODE_UD                                = 0x60,
+       /* per IBTA 3.1 Table 38, A10.3.2 */
+       IB_OPCODE_CNP                               = 0x80,
 
        /* operations -- just used to define real constants */
        IB_OPCODE_SEND_FIRST                        = 0x00,