[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101021.035612.02273208.davem@davemloft.net>
Date: Thu, 21 Oct 2010 03:56:12 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jeffrey.t.kirsher@...el.com
Cc: netdev@...r.kernel.org, gospo@...hat.com, bphilips@...ell.com,
yi.zou@...el.com
Subject: Re: [net-next-2.6 PATCH 3/3] ixgbe: add a refcnt when turning
on/off FCoE offload capability
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Date: Thu, 21 Oct 2010 02:00:30 -0700
> From: Yi Zou <yi.zou@...el.com>
>
> The FCoE offload is enabled/disabled per adapter, but upper FCoE protocol
> stack could have multiple FCoE instances created on the same physical network
> interface, e.g., FCoE on multiple VLAN interfaces on the same physical
> network interface. In this case we want to turn on FCoE offload at the first
> request from ndo_fcoe_enable() but only turn off FCoE offload at the very last
> call to ndo_fcoe_disable(). This is fixed by adding a refcnt in the per adapter
> FCoE structure and tear down FCoE offload when refcnt decrements to zero.
>
> Signed-off-by: Yi Zou <yi.zou@...el.com>
> Tested-by: Ross Brattain <ross.b.brattain@...el.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Applied.
--
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