From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Ajit Khaparde <ajit.khaparde@broadcom.com>, dev@dpdk.org
Cc: Somnath Kotur <somnath.kotur@broadcom.com>, stable@dpdk.org
Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH 1/7] net/bnxt: get rid of ff pools array and use the vnic info array
Date: Wed, 19 Sep 2018 10:21:35 +0100 [thread overview]
Message-ID: <f08457f7-5a78-c7e4-23ff-f4e253cd54c9@intel.com> (raw)
In-Reply-To: <a7c70169-b8b4-ee9b-25d1-81caba1aaa33@intel.com>
On 9/19/2018 10:05 AM, Ferruh Yigit wrote:
> On 9/1/2018 5:32 AM, Ajit Khaparde wrote:
>> From: Somnath Kotur <somnath.kotur@broadcom.com>
>>
>> There was no direct association between the rxq's vnic and the vnic_info[].
>> Explicitly associate the two in bnxt_mq_rx_configure().
>>
>> Fixes: f7c3d72afff7 ("net/bnxt: fix Rx ring count limitation")
Wrong 'Fixes' reference:
Fixes: f7c3d72afff7 ("net/bnxt: fix Rx ring count limitation")
Correct one seems:
Fixes: 0a256e4a548b ("net/bnxt: fix Rx ring count limitation")
>> Cc: stable@dpdk.org
>>
>> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
>> Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
>
> <...>
>
>> void bnxt_free_vnic_attributes(struct bnxt *bp)
>> {
>> struct bnxt_vnic_info *vnic;
>> + unsigned int i;
>>
>> - STAILQ_FOREACH(vnic, &bp->free_vnic_list, next) {
>> + for (i = 0; i < bp->nr_vnics; i++) {
>> if (vnic->rss_table) {
>
> Here vnic accessed without initial value [1], I guess intention was:
> "vnic = &bp->vnic_info[i];" before access.
>
> [1]
> .../drivers/net/bnxt/bnxt_vnic.c:93:7: error: variable 'vnic' is uninitialized
> when used here [-Werror,-Wuninitialized]
> if (vnic->rss_table) {
> ^~~~
>
next prev parent reply other threads:[~2018-09-19 9:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20180901043254.51000-1-ajit.khaparde@broadcom.com>
2018-09-01 4:32 ` [dpdk-stable] " Ajit Khaparde
2018-09-19 9:05 ` Ferruh Yigit
2018-09-19 9:21 ` Ferruh Yigit [this message]
[not found] ` <20180922045559.27438-1-ajit.khaparde@broadcom.com>
2018-09-22 4:55 ` [dpdk-stable] [PATCH v2 01/12] net/bnxt: get rid of ff pools array and use the vnic info array instead Ajit Khaparde
2018-09-22 4:55 ` [dpdk-stable] [PATCH v2 03/12] net/bnxt: fix MTU setting Ajit Khaparde
2018-09-01 4:32 ` [dpdk-stable] [PATCH 3/7] " Ajit Khaparde
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=f08457f7-5a78-c7e4-23ff-f4e253cd54c9@intel.com \
--to=ferruh.yigit@intel.com \
--cc=ajit.khaparde@broadcom.com \
--cc=dev@dpdk.org \
--cc=somnath.kotur@broadcom.com \
--cc=stable@dpdk.org \
/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).