Thread (6 messages) 6 messages, 5 authors, 2008-05-28

Re: [PATCH 3/3] bnx2i: Add bnx2i iSCSI driver.

From: "Michael Chan" <mchan@broadcom.com>
Date: 2008-05-27 18:13:13
Also in: linux-scsi

Possibly related (same subject, not in this thread)

On Tue, 2008-05-27 at 07:38 -0700, Roland Dreier wrote:
 > 'bnx2id' is the user component in this solution. bnx2id daemon uses
 > socket calls to bind tcp ports in high range and hands them over to
 > driver. This is how iscsi driver tries to solve tcp port collision
 > issue. User daemon communicates with the driver using sysfs and tcp port
 > related functions are bnx2i_read_tcp_portd_*/bnx2i_write_tcp_portd_*
 > (reference: bnx2i_sysfs.c)

So you are creating sockets just to reserve TCP ports to avoid host
stack clashes with your offload engine?  Wasn't this approach strongly
rejected (in the context of iWARP) in the past?
We're doing it in userspace, so I don't if that makes it any better or
any worse.

Roland, what do you suggest?  We can do it like cma_alloc_any_port() in
cma.c.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help