From: David Miller <davem@davemloft.net>
To: rahul.lakkireddy@chelsio.com
Cc: netdev@vger.kernel.org, nirranjan@chelsio.com,
vishal@chelsio.com, dt@chelsio.com
Subject: Re: [PATCH net v2] cxgb4: fix refcount init for TC-MQPRIO offload
Date: Fri, 20 Dec 2019 14:14:11 -0800 (PST) [thread overview]
Message-ID: <20191220.141411.1525508525740394923.davem@davemloft.net> (raw)
In-Reply-To: <1576640969-15807-1-git-send-email-rahul.lakkireddy@chelsio.com>
From: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Date: Wed, 18 Dec 2019 09:19:29 +0530
> Properly initialize refcount to 1 when hardware queue arrays for
> TC-MQPRIO offload have been freshly allocated. Otherwise, following
> warning is observed. Also fix up error path to only free hardware
> queue arrays when refcount reaches 0.
...
> v2:
> - Move the refcount_set() closer to where the hardware queue arrays
> are being allocated.
> - Fix up error path to only free hardware queue arrays when refcount
> reaches 0.
>
> Fixes: 2d0cb84dd973 ("cxgb4: add ETHOFLD hardware queue support")
> Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Applied, thank you.
prev parent reply other threads:[~2019-12-20 22:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-18 3:49 [PATCH net v2] cxgb4: fix refcount init for TC-MQPRIO offload Rahul Lakkireddy
2019-12-20 22:14 ` 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=20191220.141411.1525508525740394923.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dt@chelsio.com \
--cc=netdev@vger.kernel.org \
--cc=nirranjan@chelsio.com \
--cc=rahul.lakkireddy@chelsio.com \
--cc=vishal@chelsio.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).