[ibal] Add support for large send offload. [mlnx: 3040]
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 26 Aug 2008 17:35:52 +0000 (17:35 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 26 Aug 2008 17:35:52 +0000 (17:35 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1513 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

inc/iba/ib_types.h
ulp/opensm/user/include/iba/ib_types_extended.h

index c5c3dcf..3977d93 100644 (file)
@@ -10009,6 +10009,7 @@ typedef enum _ib_wr_type_t
        WR_RDMA_READ,\r
        WR_COMPARE_SWAP,\r
        WR_FETCH_ADD,\r
+       WR_LSO,\r
        WR_UNKNOWN\r
 \r
 }      ib_wr_type_t;\r
@@ -10159,7 +10160,9 @@ typedef struct _ib_send_wr
                                ib_net32_t              remote_qkey;\r
                                void*                   rsvd;\r
                                uint16_t                pkey_index;\r
-\r
+                               void*                   header;\r
+                               int                             hlen;\r
+                               int                             mss;\r
                        }       ud;\r
 \r
                        struct _send_rd\r
@@ -10559,6 +10562,7 @@ typedef enum _ib_wc_type_t
        IB_WC_UNKNOWN1,\r
        IB_WC_RECV = (1 << 7),\r
        IB_WC_RECV_RDMA_WRITE,\r
+       IB_WC_LSO,\r
        IB_WC_UNKNOWN2\r
 \r
 }      ib_wc_type_t;\r
index 2e600ff..9bc0776 100644 (file)
@@ -1454,6 +1454,7 @@ typedef enum _ib_wr_type_t
        WR_RDMA_READ,\r
        WR_COMPARE_SWAP,\r
        WR_FETCH_ADD,\r
+       WR_LSO,\r
        WR_UNKNOWN\r
 \r
 }      ib_wr_type_t;\r
@@ -1605,7 +1606,9 @@ typedef struct _ib_send_wr
                                ib_net32_t              remote_qkey;\r
                                void*                   rsvd;\r
                                uint16_t                pkey_index;\r
-\r
+                               void*                   header;\r
+                               int                             hlen;\r
+                               int                             mss;\r
                        }       ud;\r
 \r
                        struct _send_rd\r
@@ -2010,6 +2013,7 @@ typedef enum _ib_wc_type_t
        IB_WC_UNKNOWN1,\r
        IB_WC_RECV = (1 << 7),\r
        IB_WC_RECV_RDMA_WRITE,\r
+       IB_WR_LSO,\r
        IB_WC_UNKNOWN2\r
 \r
 }      ib_wc_type_t;\r