From: David Miller <davem@davemloft.net>
To: tlfalcon@linux.vnet.ibm.com
Cc: netdev@vger.kernel.org, jallen@linux.vnet.ibm.com,
nfont@linux.vnet.ibm.com
Subject: Re: [PATCH net] ibmvnic: Reset long term map ID counter
Date: Fri, 09 Feb 2018 14:20:56 -0500 (EST) [thread overview]
Message-ID: <20180209.142056.1161310394668118833.davem@davemloft.net> (raw)
In-Reply-To: <1518198069-11335-1-git-send-email-tlfalcon@linux.vnet.ibm.com>
From: Thomas Falcon <tlfalcon@linux.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@linux.vnet.ibm.com>
Applied, thanks Thomas.
prev parent reply other threads:[~2018-02-09 19:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-09 17:41 [PATCH net] ibmvnic: Reset long term map ID counter Thomas Falcon
2018-02-09 19:20 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180209.142056.1161310394668118833.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=jallen@linux.vnet.ibm.com \
--cc=netdev@vger.kernel.org \
--cc=nfont@linux.vnet.ibm.com \
--cc=tlfalcon@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).