]>
www.infradead.org Git - users/jedix/linux-maple.git/log
Amir Vadai [Sun, 26 Oct 2008 09:43:43 +0000 (11:43 +0200)]
sdp: Limit skb frag size to 64K-1
When 64K pages are in use, the skb_frag size can become larger
than the skb_frag can address. An skb_frag's max size is 64K-1.
This patch defines SDP_MAX_PAYLOAD as 64K - SDP_HEADER_SIZE.
The patch changes sdp_post_recv() and sdp_sendmsg() to use the smaller of
PAGE_SIZE or SDP_MAX_PAYLOAD as it segment size.
This fix the bug here:
https://bugs.openfabrics.org/show_bug.cgi?id=1300
Signed-off-by: David Wilder <dwilder@us.ibm.com>
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
Amir Vadai [Sun, 19 Oct 2008 14:59:23 +0000 (16:59 +0200)]
sdp: more verbose debugging messages for sock_put and sock_head
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
Amir Vadai [Sun, 19 Oct 2008 15:01:33 +0000 (17:01 +0200)]
sdp: BUG1282 - ref count not taken during sdp_shutdown
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
Amir Vadai [Tue, 7 Oct 2008 11:29:05 +0000 (13:29 +0200)]
SDP: print socket tcp-state in /proc/net/sdp
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
Amir Vadai [Tue, 15 Jul 2008 18:17:00 +0000 (21:17 +0300)]
SDP: fix initial recv buffer size
Set initial recv buffer according to incoming hha header.
Fixed bugzilla 1086: SDP Linux and SDP windows don't work togeather
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
Amir Vadai [Sun, 3 Aug 2008 08:20:06 +0000 (11:20 +0300)]
support for 2.6.27 + backports
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
Vladimir Sokolovsky [Wed, 30 Jul 2008 13:03:45 +0000 (16:03 +0300)]
SDP: RDMA_CM_EVENT_TIMWAIT_EXIT renamed into RDMA_CM_EVENT_TIMEWAIT_EXIT.
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
Amir Vadai [Wed, 23 Jul 2008 11:30:31 +0000 (14:30 +0300)]
SDP: Don't allow destruct socket when having sdp_destroy_work in workqueue
in error flow, sdp_destroy_work is placed in workqueue and sometimes the
user application call close() that destruct the socket before sdp_destroy_work
is called.
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
Amir Vadai [Thu, 10 Jul 2008 08:53:53 +0000 (01:53 -0700)]
SDP: do gracefull close instead of always doing abortive close.
Main changes:
1. when a close/shutdown syscall is called, instead of sending a DREQ, put
last socket ref count and go to TCP_CLOSE state do:
- take a socket reference count
- set state to TCP_TIME_WAIT
- start infiniband tear down
- wait till got RDMA_CM_EVENT_TIMEWAIT_EXIT
- set socket state to TCP_CLOSE
- put last socket ref count - this will call sdp_destruct()
2. No need for sdp_time_wait
3. Abortive close will immedietly start infiniband teardown - will finilize the
socket closing when CM finish.
4. Fixed references accounting + state exchanges
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
Amir Vadai [Thu, 10 Jul 2008 08:47:49 +0000 (01:47 -0700)]
SDP: Split sdp_handle_wc() to smaller functions
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
Amir Vadai [Thu, 10 Jul 2008 08:46:19 +0000 (01:46 -0700)]
SDP: Use sdp_set_state()
use sdp_set_state() instead of modifying sk_state directly
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
Amir Vadai [Thu, 22 May 2008 13:10:49 +0000 (16:10 +0300)]
Commited old fixes from kernel_patches/fixes/cma_established1.patch into git
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
Amir Vadai [Thu, 22 May 2008 11:35:03 +0000 (14:35 +0300)]
Modifies SDP to support the updated 2.6.26-rc2 kernel APIs.
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
Jim Mott [Mon, 11 Feb 2008 20:30:45 +0000 (12:30 -0800)]
SDP - Fix compile problem on 2.6.24 ia64
Signed-off-by: Jim Mott <jim@mellanox.com>
Jim Mott [Tue, 5 Feb 2008 16:10:06 +0000 (18:10 +0200)]
SDP: Enable bzcopy by default
Signed-off-by: Jim Mott <jim@mellanox.com>
Jim Mott [Fri, 4 Jan 2008 20:36:50 +0000 (12:36 -0800)]
SDP - Bug837: executing netperf with TCP_CORK enabled never ends
Signed-off-by: Jim Mott <jim@mellanox.com>
Jim Mott [Fri, 4 Jan 2008 20:32:48 +0000 (12:32 -0800)]
SDP - Bug829: poll() always returns POLLOUT on non-blocking socket
Signed-off-by: Jim Mott <jim@mellanox.com>
Jim Mott [Fri, 4 Jan 2008 20:26:25 +0000 (12:26 -0800)]
SDP - Bug294: SDP connect() only allows AF_INET (2), not AF_INET_SDP (27)
Signed-off-by: Jim Mott <jim@mellanox.com>
Jim Mott [Wed, 5 Dec 2007 09:02:11 +0000 (11:02 +0200)]
SDP: various bzcopy fixes V2
The Mellanox regression tests posted a number of failures when
multiple threads were accessing the same sockets concurrently. In
addition to test failures, there were log messages of the form:
sdp_sock(54386:19002): Could not reap -5 in-flight sends
This fix handles all these failures and errors.
The V2 is a fix to handle 2.6.22+ kernels where sk_buffs have
changed.
Signed-off-by: Jim Mott <jim@mellanox.com>
Vladimir Sokolovsky [Tue, 4 Dec 2007 13:51:32 +0000 (15:51 +0200)]
Applied 'kernel_patches/fixes/sdp_skbuff_offset.patch'.
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
Vladimir Sokolovsky [Tue, 4 Dec 2007 13:49:25 +0000 (15:49 +0200)]
Applied 'kernel_patches/fixes/sdp_post_credits.patch'
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
Vladimir Sokolovsky [Tue, 4 Dec 2007 13:48:11 +0000 (15:48 +0200)]
SDP: Applied 'kernel_patches/fixes/sdp_cq_param.patch'
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
Jim Mott [Wed, 21 Nov 2007 13:00:46 +0000 (15:00 +0200)]
SDP: Disable Zcopy.
Signed-off-by: Jim Mott <jim@mellanox.com>
Jim Mott [Tue, 20 Nov 2007 21:57:07 +0000 (13:57 -0800)]
Modifies SDP to support the updated 2.6.24-rc2 kernel APIs.
Signed-off-by: Jim Mott <jim@mellanox.com>
Dotan Barak [Wed, 21 Nov 2007 07:08:25 +0000 (09:08 +0200)]
SDP: A better fix of a potential memory leak in the new bzcopy code.
Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Jim Mott [Sun, 11 Nov 2007 17:20:02 +0000 (19:20 +0200)]
sdp: Fix data corretness regression test failure.
Mellanox regression testing for data correctness started failing
after the recent addition of bzcopy. This was because sdp_sendmsg
returned before all in-flight RC transfers completed.
This allowed user space to modify buffers that had not been sent.
A big oops.
This fixes that bug. Small frame bandwidth is even worse
now, but small frame latency is lower which is good. The
default transfer size that triggers bzcopy has been
increased to the bandwidth crossover point found in
MLX4-MLX4 tests. More work will be required to find the
best value for the release.
Signed-off-by: Jim Mott <jim@mellanox.com>
Jim Mott [Tue, 6 Nov 2007 22:28:05 +0000 (14:28 -0800)]
SDP - Fix reference count locking bug
Add code to fix a problem found by the Mellanox regression group. When
mlx4_ib driver is unloaded while SDP connections are active, the system
would hang.
The original fix for this problem called an rdma_cm service that can block
with 2 spin locks held.
Signed-off-by: Jim Mott <jim@mellanox.com>
Jim Mott [Sat, 3 Nov 2007 02:50:31 +0000 (19:50 -0700)]
SDP - Make bzcopy defualt for 2K and larger transfer size
In order to be sure we test the new bzcopy code it will be enabled by
default. The 2K threshold is what my testing shows to be the lowest
value that always wins. We may have to adjust this upward if other
hardware has worse performance.
Signed-off-by: Jim Mott <jim@mellanox.com>
Jim Mott [Sat, 3 Nov 2007 02:45:42 +0000 (19:45 -0700)]
SDP - Fix reference count bug that prevents mlx4_ib and ib_sdp unload
Add code to handle mlx4 device remove call.
Signed-off-by: Jim Mott <jim@mellanox.com>
Michael S. Tsirkin [Tue, 23 Oct 2007 17:59:49 +0000 (10:59 -0700)]
SDP - Add note on where linux bits in sdp_main come from.
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Jim Mott [Tue, 23 Oct 2007 17:59:13 +0000 (10:59 -0700)]
SDP - Zero copy bcopy support
This patch adds zero copy send support to SDP. Below 2K transfer size,
it is better to bcopy. With larger transfers, this is a net win on
bandwidth. Latency testing is yet to be done.
BCOPY BZCOPY
1K TCP_STREAM 3555 Mb/sec 2250 Mb/sec
2K TCP_STREAM 3650 Mb/sec 3785 Mb/sec
4K TCP_STREAM 3560 Mb/sec 6220 Mb/sec
8K TCP_STREAM 3555 Mb/sec 6190 Mb/sec
16K TCP_STREAM 5100 Mb/sec 6155 Mb/sec
1M TCP_STREAM 4630 Mb/sec 6210 Mb/sec
Performance work still remains. Open issues include correct setsockopt
defines (use previous SDP values?), code cleanup, performance tuning,
rigorous regression testing, and multi-OS build+test. Simple testing to
date includes netperf and iperf, ^C recovery, unload/load, and checking
for gross memory leaks on Rhat4u4.
Signed-off-by: Jim Mott <jim@mellanox.com>
Jim Mott [Tue, 23 Oct 2007 17:58:27 +0000 (10:58 -0700)]
SDP - Method used to allocate socket buffers may cause node to hang
The problem we are seeing is that if a node is under load, and
a memory allocation fails (say in sock_sendmsg()), the kernel will
use the allocation policy to decide how to proceed with the allocation.
If GFP_KERNEL is specified, then the kernel may attempt to free pages
through the iSCSI block device that is making the socket call, which
would result in a deadlock. Use of GFP_NOIO should prevent the kernel
from using the IO backend to free memory resources.
Each kernel level socket has an allocation flag to specify the
memory allocation policy for socket buffers, the default is GFP_ATOMIC
(or GFP_KERNEL for SDP). If the caller creates a socket with the
policy set to GFP_NOFS or GFP_NOIO this should be the allocation
policy used by the SDP layer.
Signed-off-by: Jim Mott <jim@mellanox.com>
Jim Mott [Tue, 23 Oct 2007 17:57:33 +0000 (10:57 -0700)]
SDP bug647 - Validate ChRcvBuf range and add comments
Clean up the buffer resize code to comply with CA4-83:
Upon receipt of ChRcvBuf message, the remote peer shall not
change the buffer size in the direction opposite of that
requested.
Also add some comments and pretty up the code.
Signed-off-by: Jim Mott <jim@mellanox.com>
Jim Mott [Tue, 23 Oct 2007 17:51:30 +0000 (10:51 -0700)]
SDP bug646 - Do not send DisConn if there is only 1 credit
Compliance with CA4-82:
If one credit is available, an implementation shall only send SDP
messages that provide additional credits and also do not contain ULP
payload.
Signed-off-by: Jim Mott <jim@mellanox.com>
Jim Mott [Tue, 23 Oct 2007 17:50:39 +0000 (10:50 -0700)]
SDP bug644 - DisConn, ChRcvBuf, and ChRcvBufAck sent solicited
This patch brings the implementation into compliance with A4.11.2 which
says that these messages are not to be sent as solicited.
Signed-off-by: Jim Mott <jim@mellanox.com>
Jim Mott [Thu, 11 Oct 2007 16:33:09 +0000 (09:33 -0700)]
SDP: Add keepalive support
Signed-off-by: Jim Mott <jim@mellanox.com>
Jim Mott [Mon, 16 Jul 2007 12:27:12 +0000 (05:27 -0700)]
Fix SDP build issue in 2.6.22-rc7 kernel. There are skbuff.h changes.
Ami Perlmutter [Tue, 29 May 2007 14:32:31 +0000 (17:32 +0300)]
IB/sdp: move the socket to accept queue
Move socket to accept queue if RTU is dropped and DREQ is recieved
(bugzilla 645)
Signed-off-by: Ami Perlmutter <amip@dev.mellanox.co.il>
Ami Perlmutter [Tue, 15 May 2007 11:55:31 +0000 (14:55 +0300)]
IB/sdp: resize data should be added to skb via skb_put (bugzilla 620)
Signed-off-by: Ami Perlmutter <amip@dev.mellanox.co.il>
Ami Perlmutter [Tue, 15 May 2007 06:08:13 +0000 (09:08 +0300)]
IB/sdp: fix problem with sles9 backport (bugzilla 621)
Signed-off-by: Ami Perlmutter <amip@dev.mellanox.co.il>
Ami Perlmutter [Thu, 10 May 2007 12:23:13 +0000 (15:23 +0300)]
IB/sdp: slow start recv buffer sizes, and try to resize if out of credits (bugzilla 556)
Signed-off-by: Ami Perlmutter <amip@dev.mellanox.co.il>
Ami Perlmutter [Wed, 9 May 2007 09:16:08 +0000 (12:16 +0300)]
IB/sdp: print queued rx and tx status to proc_fs implement SIOCOUTQ ioctl
Signed-off-by: Ami Perlmutter <amip@dev.mellanox.co.il>
Michael S. Tsirkin [Sun, 6 May 2007 08:18:56 +0000 (11:18 +0300)]
IB/sdp: Cleanup compilation warnings.
workqueue function gets passed work_struct sizeof should be printed with %zd
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Ami Perlmutter [Wed, 2 May 2007 12:26:17 +0000 (15:26 +0300)]
IB/sdp: Fix to be compliant with CA4-119 (bugzilla 596)
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Ami Perlmutter <amip@dev.mellanox.co.il>
Ami Perlmutter [Thu, 26 Apr 2007 07:13:23 +0000 (10:13 +0300)]
IB/sdp: adjust module parameter to improve 8K message BW
Signed-off-by: Ami Perlmutter <amip@dev.mellanox.co.il>
Ami Perlmutter [Wed, 25 Apr 2007 14:19:07 +0000 (17:19 +0300)]
IB/sdp: prevent removal of ib device before cleanup
Should cleanup all related resources (bugzzila num. 579)
Signed-off-by: Ami Perlmutter <amip@dev.mellanox.co.il>
Ami Perlmutter [Sun, 22 Apr 2007 10:31:47 +0000 (13:31 +0300)]
IB/sdp: fix dma mapping direction (bugzzila num. 556)
Signed-off-by: Amiram Perlmutter <amip@dev.mellanox.co.il>
Ami Perlmutter [Thu, 29 Mar 2007 08:28:01 +0000 (10:28 +0200)]
IB/sdp - use the ib_dma interface
The SDP module should be using the ib_dma_* interface, not the dma_*
interface directly. This fixes a crash on InfiniPath hardware.
Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Robert Walsh <robert.walsh@qlogic.com>
Ami Perlmutter [Sun, 25 Mar 2007 14:48:04 +0000 (16:48 +0200)]
IB/sdp: cm disconnect should wake up any sleeping processes (bugzzila num. 492)
Signed-off-by: Amiram Perlmutter <amip@dev.mellanox.co.il>
Amiram Perlmutter [Wed, 14 Mar 2007 12:34:08 +0000 (14:34 +0200)]
IB/sdp: add uid and inode to proc_fs info
Signed-off-by: Amiram Perlmutter <amip@dev.mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Ami Parlmuter [Tue, 27 Feb 2007 14:08:27 +0000 (16:08 +0200)]
IB/sdp: fix dma leak
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Amiram Perlmutter [Sun, 25 Feb 2007 09:57:47 +0000 (11:57 +0200)]
IB/sdp: fix BSDH len field for HH/HAH login messages.
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Ami Parlmuter [Wed, 21 Feb 2007 09:55:38 +0000 (11:55 +0200)]
IB/sdp: try to send after push mark is set
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Amiram Perlmutter [Thu, 25 Jan 2007 09:53:25 +0000 (11:53 +0200)]
IB/sdp: allow users via module parameter to bound SDP's memory use
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Amiram Perlmutter [Mon, 22 Jan 2007 15:03:58 +0000 (17:03 +0200)]
IB/sdp: fix NULL pointer dereference
introduced by patch "IB/sdp: handle shutdown recv on listening socket"
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Amiram Perlmutter [Mon, 22 Jan 2007 12:00:04 +0000 (14:00 +0200)]
IB/sdp: add proc_fs support
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Amiram Perlmutter [Thu, 18 Jan 2007 16:50:30 +0000 (18:50 +0200)]
IB/sdp: handle shutdown recv on listening socket
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Michael S. Tsirkin [Sun, 17 Dec 2006 09:39:05 +0000 (11:39 +0200)]
Update for API changes merged for 2.6.20.
Amiram Perlmutter [Thu, 30 Nov 2006 16:49:41 +0000 (18:49 +0200)]
IB/sdp: fill required login fields
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Amiram Perlmutter [Thu, 16 Nov 2006 13:48:33 +0000 (15:48 +0200)]
IB/sdp: poll cq in sendmsg only when sent size is larger than
threshold to improve small message BW
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Amiram Perlmutter [Thu, 16 Nov 2006 09:54:43 +0000 (11:54 +0200)]
IB/sdp: fixed compilation error
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Amiram Perlmutter [Mon, 13 Nov 2006 14:46:29 +0000 (16:46 +0200)]
IB/sdp: fixed typo in module parameter description
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Amiram Perlmutter [Mon, 13 Nov 2006 13:38:22 +0000 (15:38 +0200)]
IB/sdp: merge small skbs on receive side into larger ones.
For now, only do this if both skbs are linear.
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Amiram Perlmutter [Mon, 13 Nov 2006 09:43:06 +0000 (11:43 +0200)]
IB/sdp: modify buffer use calculation to eliminate credit starvation
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Michael S. Tsirkin [Sun, 17 Sep 2006 14:22:16 +0000 (17:22 +0300)]
IB/sdp: handle immediate errors on post_send/post_receive
could happen if cma has moved the QP to error asynchronously
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Michael S. Tsirkin [Mon, 11 Sep 2006 13:00:21 +0000 (16:00 +0300)]
IB/sdp: disable timewait on close if socket has been disconnected
State should move to CLOSE or CLOSE_WAIT etc on disconnect.
Since it currently doesn't, do it in sdp_close to avoid timewait.
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Michael S. Tsirkin [Mon, 11 Sep 2006 05:24:22 +0000 (08:24 +0300)]
IB/sdp: emulate completion with error if packet queued after disconnect.
In TCP packet is sent, and we get RST from the remote. Emulate this in SDP.
Michael S. Tsirkin [Mon, 11 Sep 2006 05:17:22 +0000 (08:17 +0300)]
IB/sdp: add receive buffer size scale factor
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Amiram Perlmutter [Sun, 10 Sep 2006 07:43:22 +0000 (10:43 +0300)]
IB/sdp: improve urgent data latency
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Michael S. Tsirkin [Mon, 4 Sep 2006 15:18:07 +0000 (18:18 +0300)]
IB/sdp: fix data corruption on SLES10 (should affect other systems as well).
Michael S. Tsirkin [Mon, 4 Sep 2006 07:58:13 +0000 (10:58 +0300)]
IB/sdp: fix a crash when child is disconnected while parent is being destroyed
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Michael S. Tsirkin [Tue, 29 Aug 2006 10:13:11 +0000 (13:13 +0300)]
CMA should check backlog_queue, not accept_queue, since accept_queue could be changed by accept().
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Michael S. Tsirkin [Sun, 27 Aug 2006 12:28:09 +0000 (15:28 +0300)]
IB/sdp: request notification only if CQ exists.
Further, poll after request for notification, as required by IB spec.
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Michael S. Tsirkin [Sun, 27 Aug 2006 09:13:18 +0000 (12:13 +0300)]
IB/sdp: do not kill the child socket in accept queue
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Michael S. Tsirkin [Thu, 24 Aug 2006 04:55:21 +0000 (07:55 +0300)]
IB/sdp: implement SIOCINQ (FIONREAD)
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Amiram Perlmutter [Tue, 22 Aug 2006 15:59:10 +0000 (18:59 +0300)]
IB/sdp: set inet's daddr and dport on active side as part of connect
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Michael S. Tsirkin [Sun, 20 Aug 2006 15:30:20 +0000 (18:30 +0300)]
IB/sdp: Fix skb truesize calculation for the RX skb
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Amiram Perlmutter [Sun, 20 Aug 2006 09:20:14 +0000 (12:20 +0300)]
IB/sdp: increment seq in case of fin
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Amiram Perlmutter [Sun, 20 Aug 2006 09:15:17 +0000 (12:15 +0300)]
IB/sdp: do not reset offsets on disconnect
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Michael S. Tsirkin [Thu, 17 Aug 2006 14:26:00 +0000 (17:26 +0300)]
IB/sdp: Use inet_sk for portability.
Amiram Perlmutter [Thu, 17 Aug 2006 12:31:56 +0000 (15:31 +0300)]
IB/sdp: fill in source address in inet_sock when it is available
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
(cherry picked from
c5858a33c5df475a544ad53c1e629e91cc2eb9f4 commit)
Ami Parlmuter [Wed, 16 Aug 2006 13:09:33 +0000 (16:09 +0300)]
IB/sdp: add support for MSG_OOB
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
Michael S. Tsirkin [Tue, 8 Aug 2006 05:38:19 +0000 (08:38 +0300)]
IB/sdp: Add CQ polling, weight configurable globally.
Michael S. Tsirkin [Thu, 3 Aug 2006 09:53:07 +0000 (12:53 +0300)]
IB/sdp: Three bugfixes in SDP sockets.
1. reset socket on cma error
2. move head/tail init to where we init the ring buffers
3. poll to handle DREQ bypassing disconn
Michael S. Tsirkin [Wed, 2 Aug 2006 13:56:55 +0000 (16:56 +0300)]
IB/sdp: remove unused include
Michael S. Tsirkin [Wed, 2 Aug 2006 07:05:59 +0000 (10:05 +0300)]
IB/sdp: Two bugfixes in SDP
1. Do not mark socket as closed on flushed with error events
2. Simplify locking and reduce code duplication for poll code
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Michael S. Tsirkin [Thu, 27 Jul 2006 14:37:47 +0000 (17:37 +0300)]
IB/sdp: Change PFN_INDEX -> PAGE_INDEX
Michael S. Tsirkin [Thu, 27 Jul 2006 09:03:43 +0000 (12:03 +0300)]
IB/sdp: Thinko fix: must update nr frags.
Michael S. Tsirkin [Tue, 25 Jul 2006 15:37:54 +0000 (18:37 +0300)]
IB/sdp:Free unused pages.
Michael S. Tsirkin [Mon, 24 Jul 2006 15:42:57 +0000 (18:42 +0300)]
IB/sdp: set sport on autobind
Michael S. Tsirkin [Mon, 24 Jul 2006 15:40:47 +0000 (18:40 +0300)]
IB/sdp: Use high memory for receive buffers
(reduce low memory pressure on 32 bit systems).
Michael S. Tsirkin [Thu, 20 Jul 2006 15:45:08 +0000 (18:45 +0300)]
IB/sdp: Fix typo in code
Michael S. Tsirkin [Wed, 19 Jul 2006 08:46:11 +0000 (11:46 +0300)]
IB/sdp: Implement Nagle algorithm.
Michael S. Tsirkin [Wed, 19 Jul 2006 11:54:50 +0000 (14:54 +0300)]
IB/sdp:Split data path debug from not
(cherry picked from
d7d5948842ab93dca50c0f38c9abf03489829d91 commit)
Michael S. Tsirkin [Sun, 16 Jul 2006 11:42:26 +0000 (14:42 +0300)]
IB/sdp: Fix error handling for case when mr allocation fails
Michael S. Tsirkin [Mon, 10 Jul 2006 12:58:07 +0000 (15:58 +0300)]
IB/sdp: Comment out gso_seg initialization.
TCP has it but we don't seem to use.
This field name recently changed from tso_seg.
Michael S. Tsirkin [Tue, 4 Jul 2006 07:20:42 +0000 (10:20 +0300)]
IB/sdp: Fix memory leak in SDP
Michael S. Tsirkin [Tue, 27 Jun 2006 09:34:18 +0000 (12:34 +0300)]
sdp: Add SDP - lone SDP from SVN 8227
Linus Torvalds [Mon, 22 Jun 2015 05:05:43 +0000 (22:05 -0700)]
Linux 4.1
Linus Torvalds [Sun, 21 Jun 2015 00:26:01 +0000 (17:26 -0700)]
Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
Pull scsi target fixes from Nicholas Bellinger:
"Apologies for the late pull request.
Here are the outstanding target-pending fixes for v4.1 code.
The series contains three patches from Sagi + Co that address a few
iser-target issues that have been uncovered during recent testing at
Mellanox.
Patch #1 has a v3.16+ stable tag, and #2-3 have v3.10+ stable tags"
* git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending:
iser-target: Fix possible use-after-free
iser-target: release stale iser connections
iser-target: Fix variable-length response error completion