[IPOIB] update ipoib_port.h from the former patch
authorsleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 20 Nov 2006 14:45:00 +0000 (14:45 +0000)
committersleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 20 Nov 2006 14:45:00 +0000 (14:45 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@546 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/ipoib/kernel/ipoib_port.h

index 6b6d6aa..3ea3247 100644 (file)
@@ -181,7 +181,7 @@ typedef struct _ipoib_pkt
        ipoib_hdr_t             hdr;\r
        union _payload\r
        {\r
-               uint8_t                 data[PAYLOAD_MTU];\r
+               uint8_t                 data[MAX_PAYLOAD_MTU];\r
                ipoib_arp_pkt_t arp;\r
                ip_pkt_t                ip;\r
 \r
@@ -268,7 +268,7 @@ typedef union _recv_buf
 */\r
 typedef union _send_buf\r
 {\r
-       uint8_t                 data[PAYLOAD_MTU];\r
+       uint8_t                 data[MAX_PAYLOAD_MTU];\r
        ipoib_arp_pkt_t arp;\r
        ip_pkt_t                ip;\r
 \r