From: Stephen Hemminger <stephen@networkplumber.org>
To: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Cc: <dev@dpdk.org>, <rasland@nvidia.com>, <matan@nvidia.com>,
<suanmingm@nvidia.com>, <stable@dpdk.org>
Subject: Re: [PATCH] net/mlx5: fix hypervisor detection in VLAN workaround
Date: Tue, 3 Dec 2024 09:00:16 -0800 [thread overview]
Message-ID: <20241203090016.19796e75@hermes.local> (raw)
In-Reply-To: <20241203162200.2543986-1-viacheslavo@nvidia.com>
On Tue, 3 Dec 2024 18:22:00 +0200
Viacheslav Ovsiienko <viacheslavo@nvidia.com> wrote:
> diff --git a/drivers/net/mlx5/linux/mlx5_vlan_os.c b/drivers/net/mlx5/linux/mlx5_vlan_os.c
> index 81611a8d3f..017953d5cc 100644
> --- a/drivers/net/mlx5/linux/mlx5_vlan_os.c
> +++ b/drivers/net/mlx5/linux/mlx5_vlan_os.c
> @@ -112,7 +112,9 @@ mlx5_vlan_vmwa_init(struct rte_eth_dev *dev, uint32_t ifindex)
> /* Check whether there is desired virtual environment */
> hv_type = rte_hypervisor_get();
> switch (hv_type) {
> +#if defined(RTE_ARCH_X86) || defined(RTE_ARCH_X86_64)
> case RTE_HYPERVISOR_UNKNOWN:
> +#endif
> case RTE_HYPERVISOR_VMWARE:
> /*
> * The "white list" of configurations
Could you fix that comment as well?
We got rid of all use of "whitelist" in DPDK, looks like this one got missed.
next prev parent reply other threads:[~2024-12-03 17:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-03 16:22 Viacheslav Ovsiienko
2024-12-03 17:00 ` Stephen Hemminger [this message]
2024-12-06 14:26 ` [PATCH v2] " Viacheslav Ovsiienko
2024-12-12 10:52 ` Thomas Monjalon
2024-12-12 17:27 ` Stephen Hemminger
2024-12-13 7:15 ` Thomas Monjalon
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=20241203090016.19796e75@hermes.local \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
--cc=matan@nvidia.com \
--cc=rasland@nvidia.com \
--cc=stable@dpdk.org \
--cc=suanmingm@nvidia.com \
--cc=viacheslavo@nvidia.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).