[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180209.142056.1161310394668118833.davem@davemloft.net>
Date: Fri, 09 Feb 2018 14:20:56 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: tlfalcon@...ux.vnet.ibm.com
Cc: netdev@...r.kernel.org, jallen@...ux.vnet.ibm.com,
nfont@...ux.vnet.ibm.com
Subject: Re: [PATCH net] ibmvnic: Reset long term map ID counter
From: Thomas Falcon <tlfalcon@...ux.vnet.ibm.com>
Date: Fri, 9 Feb 2018 11:41:09 -0600
> When allocating RX or TX buffer pools, the driver needs to provide a
> unique mapping ID to firmware for each pool. This value is assigned
> using a counter which is incremented after a new pool is created. The
> ID can be an integer ranging from 1-255. When migrating to a device
> that requests a different number of queues, this value was not being
> reset properly. As a result, after enough migrations, the counter
> exceeded the upper bound and pool creation failed. This is fixed by
> resetting the counter to one in this case.
>
> Signed-off-by: Thomas Falcon <tlfalcon@...ux.vnet.ibm.com>
Applied, thanks Thomas.
Powered by blists - more mailing lists