[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141001.155210.882272719949254470.davem@davemloft.net>
Date: Wed, 01 Oct 2014 15:52:10 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: david.stevens@...cle.com
Cc: sowmini.varadhan@...cle.com, raghuram.kothakota@...cle.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next 2/2] sunvnet: vnet_start_xmit() must hold a
refcnt on port.
From: David L Stevens <david.stevens@...cle.com>
Date: Wed, 01 Oct 2014 15:31:49 -0400
>
>
> On 10/01/2014 03:23 PM, Sowmini Varadhan wrote:
>> On (10/01/14 15:06), David L Stevens wrote:
>>>
>>> This "vp->switch_port" addition doesn't appear to be related to the port refcnt
>>> change, and doesn't allow for multiple switch ports.
>>
>> The switch_port is the connection to Dom0. Do you envision us having more than
>> one switch_port? How?
>
> While Dom0 might only create one port with the "switch" flag, the flag just means
> "I can reach anybody" and is not inherently unique. I don't think an attached
> VM should assume there is always only one; it prevents multipath load balancing
> kinds of things in the future.
>
> Also, there is the broader point that this sort of change should be a separate patch.
> It isn't required for fixing the dangling reference -- it is an independent change.
Multiple switch ports are absolutely allowed by the protocol spec and can
provide the suggested facilities David mentioned, don't prevent them from
being used.
--
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