Re: [PATCH v2] iw_cxgb3: Support "iwarp-only" interfaces to avoid 4-tuple conflicts.

From: Evgeniy Polyakov
Date: Wed Sep 19 2007 - 06:57:18 EST


Hi Steve.

On Mon, Sep 17, 2007 at 10:25:04AM -0500, Steve Wise (swise@xxxxxxxxxxxxxxxxxxxxx) 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?

If this solution is not acceptible, then I belive your alias change is
the way to go.

--
Evgeniy Polyakov
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/