DPDK patches and discussions
 help / color / mirror / Atom feed
From: Long Li <longli@microsoft.com>
To: Stephen Hemminger <stephen@networkplumber.org>,
	"dev@dpdk.org" <dev@dpdk.org>
Cc: Wei Hu <weh@microsoft.com>
Subject: RE: [EXTERNAL] [PATCH 1/2] net/netvsc: make da_cache_list local
Date: Fri, 26 Sep 2025 16:34:35 +0000	[thread overview]
Message-ID: <DS3PR21MB57359DDBB05C1339C07FCD27CE1EA@DS3PR21MB5735.namprd21.prod.outlook.com> (raw)
In-Reply-To: <20250926155802.398869-1-stephen@networkplumber.org>

> Subject: [EXTERNAL] [PATCH 1/2] net/netvsc: make da_cache_list local
> 
> The list of devices is only used in one file and does not follow naming prefix
> convention. Make it local.
> 
> Fixes: 9a9d038c782e ("net/netvsc: cache device parameters for hotplug events")
> Cc: longli@microsoft.com
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Reviewed-by: Long Li <longli@microsoft.com>

> ---
>  drivers/net/netvsc/hn_ethdev.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/netvsc/hn_ethdev.c b/drivers/net/netvsc/hn_ethdev.c
> index 1d788f3fb7..5b9b54c068 100644
> --- a/drivers/net/netvsc/hn_ethdev.c
> +++ b/drivers/net/netvsc/hn_ethdev.c
> @@ -102,7 +102,7 @@ struct da_cache {
>  	char drv_str[];
>  };
> 
> -LIST_HEAD(da_cache_list, da_cache) da_cache_list;
> +static LIST_HEAD(da_cache_list, da_cache) da_cache_list;
>  static unsigned int da_cache_usage;
> 
>  static struct rte_eth_dev *
> --
> 2.47.3


  parent reply	other threads:[~2025-09-26 16:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-26 15:58 Stephen Hemminger
2025-09-26 15:58 ` [PATCH 2/2] net/netvsc: rename get_vmbus_device internal function Stephen Hemminger
2025-09-26 16:35   ` [EXTERNAL] " Long Li
2025-09-26 17:21   ` Stephen Hemminger
2025-09-26 16:34 ` Long Li [this message]
2025-09-26 17:20 ` [PATCH 1/2] net/netvsc: make da_cache_list local Stephen Hemminger

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=DS3PR21MB57359DDBB05C1339C07FCD27CE1EA@DS3PR21MB5735.namprd21.prod.outlook.com \
    --to=longli@microsoft.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.org \
    --cc=weh@microsoft.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).