linux/drivers/infiniband/hw/mthca
Eli Cohen 920d706c89 IB/core: Fix and clean up ib_ud_header_init()
ib_ud_header_init() first clears header and then fills up the various
fields.  Later on, it tests header->immediate_present, which it has
already cleared, so the condition is always false.  Fix this by adding
an immediate_present parameter and setting header->immediate_present
as is done with grh_present.  Also remove unused calculation of
header_len.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2010-02-24 14:54:10 -08:00
..
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00
Makefile IB/mthca: Always build debugging code unless CONFIG_EMBEDDED=y 2006-04-02 14:39:20 -07:00
mthca_allocator.c RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
mthca_av.c RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
mthca_catas.c IB/mthca: Fix access to freed memory in catastrophic event handling 2009-09-24 11:55:41 -07:00
mthca_cmd.c IB/mthca: Add module parameter for number of MTTs per segment 2009-05-27 14:36:16 -07:00
mthca_cmd.h RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
mthca_config_reg.h IB/mthca: Remove unnecessary include of <asm/page.h> 2009-09-05 20:36:13 -07:00
mthca_cq.c RDMA/core: Add memory management extensions support 2008-07-14 23:48:45 -07:00
mthca_dev.h IB/mthca: Don't allow userspace open while recovering from catastrophic error 2009-09-05 20:36:16 -07:00
mthca_doorbell.h RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
mthca_eq.c IB/mthca: Distinguish multiple devices in /proc/interrupts 2009-09-05 20:36:15 -07:00
mthca_mad.c IB/mthca: Fix dispatch of IB_EVENT_LID_CHANGE event 2009-01-28 15:15:56 -08:00
mthca_main.c Merge branches 'cxgb3', 'ehca', 'ipath', 'ipoib', 'misc', 'mlx4', 'mthca' and 'nes' into for-linus 2009-09-10 21:18:07 -07:00
mthca_mcg.c net: replace %p6 with %pI6 2008-10-29 12:52:50 -07:00
mthca_memfree.c RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
mthca_memfree.h RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
mthca_mr.c IB/mthca: Replace dma_sync_single() use with proper functions 2009-06-22 23:04:13 -07:00
mthca_pd.c RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
mthca_profile.c IB/mthca: Add module parameter for number of MTTs per segment 2009-05-27 14:36:16 -07:00
mthca_profile.h RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
mthca_provider.c IB/mthca: Don't allow userspace open while recovering from catastrophic error 2009-09-05 20:36:16 -07:00
mthca_provider.h IB/mthca: Distinguish multiple devices in /proc/interrupts 2009-09-05 20:36:15 -07:00
mthca_qp.c IB/core: Fix and clean up ib_ud_header_init() 2010-02-24 14:54:10 -08:00
mthca_reset.c IB/mthca: Remove unnecessary include of <linux/init.h> 2009-09-05 20:36:15 -07:00
mthca_srq.c RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
mthca_uar.c RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
mthca_user.h RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
mthca_wqe.h RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00