netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve Wise <swise@opengridcomputing.com>
To: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Cc: netdev@vger.kernel.org, rdreier@cisco.com,
	general@lists.openfabrics.org, linux-kernel@vger.kernel.org
Subject: [ofa-general] Re: [PATCH v2] iw_cxgb3: Support "iwarp-only" interfaces to avoid 4-tuple conflicts.
Date: Fri, 21 Sep 2007 10:10:46 -0500	[thread overview]
Message-ID: <46F3DEF6.3010404@opengridcomputing.com> (raw)
In-Reply-To: <20070919105612.GA31158@2ka.mipt.ru>



Evgeniy Polyakov wrote:
> Hi Steve.
> 
> On Mon, Sep 17, 2007 at 10:25:04AM -0500, Steve Wise (swise@opengridcomputing.com) wrote:
>>> Does creating the whole new netdevice is a too big overhead, or is it
>>> considered bad idea?
>> I think its too big overhead, and pretty invasive on the low level cxgb3 
>> driver.  I think having a device in the 'ifconfig -a' after iw_cxgb3 is 
>> loaded and devices discovered would be a good thing for the admin.  This 
>> is the angle Roland suggested.  I'm just not sure how to implement it.
>>
>> But if someone could explain how I might create this full netdevice as a 
>> pseudo device on top of the real one, maybe I could implement it.
>>
>> Note that non TCP traffic still needs to utilize this interface for ND 
>> to work properly with the RDMA core.
> 
> Just a though - what about allowing secondary addresses with the same
> address as main one? I.e. change bit of the core code to allow creating
> aliases with the same address as main device, so that you would be able
> to create ':iw' alias during rdma device initialization?
> 

The problem is that on rdma route/address resolution the rdma core CM 
uses the routing table to look up which local device to use.  So what we 
need is separate ip subnets for rdma vs non rdma tcp.

Also, to avoid the original issue of 4-tuple conflicts, the rdma device 
_must_ listen on specific local "rdma-only" ip addresses and thus they 
must be not the same address as that used for native host tcp traffic.

Steve.

  reply	other threads:[~2007-09-21 15:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-13 19:16 [PATCH v2] iw_cxgb3: Support "iwarp-only" interfaces to avoid 4-tuple conflicts Steve Wise
2007-09-13 19:54 ` [ofa-general] " Sean Hefty
2007-09-15 14:07   ` Steve Wise
2007-09-23 20:33   ` Steve Wise
2007-09-14 13:09 ` [ofa-general] " Evgeniy Polyakov
2007-09-14 16:06   ` Roland Dreier
2007-09-15 15:56   ` Steve Wise
2007-09-16 14:22     ` [ofa-general] " Evgeniy Polyakov
2007-09-17 15:25       ` Steve Wise
2007-09-19 10:56         ` Evgeniy Polyakov
2007-09-21 15:10           ` Steve Wise [this message]
2007-09-17 16:09     ` [ofa-general] " Sean Hefty
2007-09-17 16:17       ` Evgeniy Polyakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46F3DEF6.3010404@opengridcomputing.com \
    --to=swise@opengridcomputing.com \
    --cc=general@lists.openfabrics.org \
    --cc=johnpol@2ka.mipt.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=rdreier@cisco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).