Applied at 3032

From: Alex Naslednikov
Sent: Wednesday, December 01, 2010 10:39 AM
To: [email protected]
Subject: [ofw][Patch][MLX4_BUS] Fixing a typo bug

Fixing a typo bug.
If flag  MLX4_CQE_IPOIB_STATUS_IPV4F is set, we should not check for TCP or UDP 
checksums
Signed-off by: Alexander Naslednikov (xalex at mellanox.co.il)
Index: hw/mlx4/kernel/bus/ib/cq.c
===================================================================
--- hw/mlx4/kernel/bus/ib/cq.c                (revision 2999)
+++ hw/mlx4/kernel/bus/ib/cq.c             (working copy)
@@ -373,7 +373,7 @@

                // Verify that IP_OK bit is set and the packet is pure IPv4 
packet
                if ((status & cpu_to_be32(MLX4_CQE_IPOIB_STATUS_IPV4            
            |
-                                                                               
                               MLX4_CQE_IPOIB_STATUS_IPV4                       
      |
+                                                                               
                              MLX4_CQE_IPOIB_STATUS_IPV4F                       
    |
                                                                                
                                MLX4_CQE_IPOIB_STATUS_IPV4OPT     |
                                                                                
                                MLX4_CQE_IPOIB_STATUS_IPV6                      
       |
                                                                                
                                MLX4_CQE_IPOIB_STATUS_IPOK))         ==

Alexander (XaleX) Naslednikov
SW Networking Team
Mellanox Technologies

_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to