linux/drivers/infiniband/hw/cxgb4
Hariprasad Shenai 92e7ae7172 iw_cxgb4: Choose appropriate hw mtu index and ISS for iWARP connections
Select the appropriate hw mtu index and initial sequence number to optimize
hw memory performance.

Add new cxgb4_best_aligned_mtu() which allows callers to provide enough
information to be used to [possibly] select an MTU which will result in the
TCP Data Segment Size (AKA Maximum Segment Size) to be an aligned value.

If an RTR message exhange is required, then align the ISS to 8B - 1 + 4, so
that after the SYN the send seqno will align on a 4B boundary. The RTR
message exchange will leave the send seqno aligned on an 8B boundary.
If an RTR is not required, then align the ISS to 8B - 1.  The goal is
to have the send seqno be 8B aligned when we send the first FPDU.

Based on original work by Casey Leedom <leeedom@chelsio.com> and
Steve Wise <swise@opengridcomputing.com>

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-06-10 22:49:54 -07:00
..
Kconfig RDMA/cxgb4: Update Kconfig to include Chelsio T5 adapter 2014-04-28 17:29:41 -07:00
Makefile RDMA/cxgb4: Remove kfifo usage 2012-05-18 13:22:36 -07:00
cm.c iw_cxgb4: Choose appropriate hw mtu index and ISS for iWARP connections 2014-06-10 22:49:54 -07:00
cq.c iw_cxgb4: Allocate and use IQs specifically for indirect interrupts 2014-06-10 22:49:54 -07:00
device.c RDMA/cxgb4: Use the BAR2/WC path for kernel QPs and T5 devices 2014-04-11 11:36:01 -07:00
ev.c RDMA/cxgb4: Handle newer firmware changes 2013-08-13 11:55:44 -07:00
id_table.c drivers/infiniband/hw: rename random32() to prandom_u32() 2013-05-07 18:38:27 -07:00
iw_cxgb4.h RDMA/cxgb4: Fix endpoint mutex deadlocks 2014-04-28 17:29:41 -07:00
mem.c RDMA/cxgb4: Add missing debug stats 2014-04-11 11:36:09 -07:00
provider.c iw_cxgb4: Allocate and use IQs specifically for indirect interrupts 2014-06-10 22:49:54 -07:00
qp.c RDMA/cxgb4: Only allow kernel db ringing for T4 devs 2014-04-28 17:29:41 -07:00
resource.c RDMA/cxgb4: Add missing debug stats 2014-04-11 11:36:09 -07:00
t4.h iw_cxgb4: Allocate and use IQs specifically for indirect interrupts 2014-06-10 22:49:54 -07:00
t4fw_ri_api.h iw_cxgb4: Choose appropriate hw mtu index and ISS for iWARP connections 2014-06-10 22:49:54 -07:00
user.h cxgb4/iw_cxgb4: Doorbell Drop Avoidance Bug Fixes 2014-03-14 22:44:11 -04:00