lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080618182148.GD28285@obsidianresearch.com>
Date:	Wed, 18 Jun 2008 12:21:48 -0600
From:	Jason Gunthorpe <jgunthorpe@...idianresearch.com>
To:	Patrick McHardy <kaber@...sh.net>
Cc:	Ramachandra K <ramachandra.kuchimanchi@...gic.com>,
	Amar Mudrankit <amar.mudrankit@...gic.com>,
	netdev@...r.kernel.org, general@...ts.openfabrics.org,
	rdreier@...co.com, poornima.kamath@...gic.com
Subject: Re: [ofa-general] Re: [PATCH v4 14/14] QLogic VNIC: sysfs
	Documentation

On Wed, Jun 18, 2008 at 02:38:00PM +0200, Patrick McHardy wrote:

>> Currently we register netdevice only after we have made sure that
>> we can connect to the EVIC and that there are enough resources on
>> the EVIC to support this virtual ethernet interface. But if we
>> register the netdevice without making sure that we can reach the
>> EVIC and that it has resources, there is a possibility that we
>> register a netdevice that can never become active.
>
> Thats similar to a ethernet device that never has a cable
> plugged in. You should register the device with its carrier
> turned off, then change the carrier state once the connection
> has been established.

I would also encourage you to embrace this view of the VNIC as a
tunnel fully and let the administrator re-target an active netdevice
to a different VNIC without tearing down the netdevice..

The user space interface for that pretty much come for free with the
netlink implementation, one of the advantages I suppose..

Jason
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ