android_kernel_xiaomi_sm8350/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
Makefile
mthca_allocator.c
mthca_av.c
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
mthca_config_reg.h IB/mthca: Remove unnecessary include of <asm/page.h> 2009-09-05 20:36:13 -07:00
mthca_cq.c
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
mthca_eq.c IB/mthca: Distinguish multiple devices in /proc/interrupts 2009-09-05 20:36:15 -07:00
mthca_mad.c
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
mthca_memfree.c
mthca_memfree.h
mthca_mr.c IB/mthca: Replace dma_sync_single() use with proper functions 2009-06-22 23:04:13 -07:00
mthca_pd.c
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
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
mthca_uar.c
mthca_user.h
mthca_wqe.h