tmp_suning_uos_patched/include/rdma
Ramachandra K 7020cb0fe2 IB/mad: Fix RMPP header RRespTime manipulation
Fix ib_set_rmpp_flags() to use the correct bit mask for RRespTime.  In
the 8-bit field of the RMPP header, the first 5 bits are RRespTime and
next 3 bits are RMPPFlags. Hence to retain the first 5 bits, the mask
should be 0xF8 instead of 0xF1.

ack_recv()-->format_ack() calls ib_set_rmpp_flags() and due to the
incorrect ANDing with 0xF1, RRespTime got changed incorrectly and RMPP
Acks sent back always had a RRespTime of 0x1E (30) which caused the
other end to consider the time outs to be approximately 4297 seconds
(i.e. in the order of 4*2^30) instead of the usual ~4 seconds (order
of 4*2^20).

Signed-off-by: Ramachandra K <ramachandra.kuchimanchi@qlogic.com>
Acked-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2009-02-27 10:33:12 -08:00
..
ib_addr.h RDMA/addr: Keep pointer to netdevice in struct rdma_dev_addr 2008-07-14 23:48:53 -07:00
ib_cache.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_cm.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_fmr_pool.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_mad.h IB/mad: Fix RMPP header RRespTime manipulation 2009-02-27 10:33:12 -08:00
ib_marshall.h RDMA/cma: Export rdma cm interface to userspace 2006-12-12 11:50:22 -08:00
ib_pack.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_sa.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_smi.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_umem.h IB: expand ib_umem_get() prototype 2008-04-29 08:06:12 -07:00
ib_user_cm.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_user_mad.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_user_sa.h
ib_user_verbs.h RDMA/core: Add memory management extensions support 2008-07-14 23:48:45 -07:00
ib_verbs.h dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
iw_cm.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
Kbuild [HEADERS] One line per header in Kbuild files to reduce conflicts 2006-09-19 12:43:58 +01:00
rdma_cm_ib.h RDMA: Fix license text 2008-07-14 23:48:43 -07:00
rdma_cm.h RDMA/cma: Remove padding arrays by using struct sockaddr_storage 2008-08-04 11:02:14 -07:00
rdma_user_cm.h RDMA/cma: add support for rdma_migrate_id() 2008-01-25 14:15:32 -08:00