DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Zhang, Qi Z" <qi.z.zhang@intel.com>
To: "Zhang, Ke1X" <ke1x.zhang@intel.com>,
	"Zhang, Yuying" <yuying.zhang@intel.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Subject: RE: [PATCH v3] net/ice: add devargs for disabling default mac
Date: Wed, 1 Feb 2023 08:22:27 +0000	[thread overview]
Message-ID: <DM4PR11MB5994F26C461B823BAA67C8E2D7D19@DM4PR11MB5994.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20230112075538.206709-1-ke1x.zhang@intel.com>



> -----Original Message-----
> From: Zhang, Ke1X <ke1x.zhang@intel.com>
> Sent: Thursday, January 12, 2023 3:56 PM
> To: Zhang, Qi Z <qi.z.zhang@intel.com>; Zhang, Yuying
> <yuying.zhang@intel.com>; dev@dpdk.org
> Cc: Zhang, Ke1X <ke1x.zhang@intel.com>
> Subject: [PATCH v3] net/ice: add devargs for disabling default mac
> 
> From: "ke1x.zhang" <ke1x.zhang@intel.com>
> 
> Add the feature that support to disable default mac which will be used by ice
> driver when setting dpdk_devargs config field.
> 
> Default mac is not disabled in default, user can choose to disable the default
> mac by setting ``devargs`` parameter ``default-mac-disable``,
> 
> for example::
>      -a 80:00.0,default-mac-disable=1
> 
> Signed-off-by: ke1x.zhang <ke1x.zhang@intel.com>
> ---
>  doc/guides/nics/ice.rst      | 11 +++++++++++
>  drivers/net/ice/ice_ethdev.c | 21 ++++++++++++++++++---
> drivers/net/ice/ice_ethdev.h |  1 +
>  3 files changed, 30 insertions(+), 3 deletions(-)
> 
> diff --git a/doc/guides/nics/ice.rst b/doc/guides/nics/ice.rst index
> ce075e067c..860ed1430d 100644
> --- a/doc/guides/nics/ice.rst
> +++ b/doc/guides/nics/ice.rst
> @@ -105,6 +105,17 @@ Runtime Config Options
> 
>      -a 80:00.0,pipeline-mode-support=1
> 
> +- ``Default Mac Disable`` (default ``0``)
> +
> +  Add the feature that support to disable default mac which will be
> + used by ice driver  when setting dpdk_devargs config field.
> +
> +  Default mac is not disabled in default, user can choose to disable
> + the default mac  by setting ``devargs`` parameter
> + ``default-mac-disable``,  for example::
> +
> +    -a 80:00.0,default-mac-disable=1

At least we need to explain what's the typical usage with this feature in general.



  parent reply	other threads:[~2023-02-01  8:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-25  2:51 [PATCH] net/ice: add devargs for disabling mac filter Ke Zhang
2022-12-13  2:03 ` Zhang, Qi Z
2022-12-13  3:51 ` Stephen Hemminger
2022-12-13  5:43   ` Zhang, Ke1X
2022-12-13  5:44   ` Zhang, Ke1X
2022-12-17 15:22   ` Zhang, Ke1X
2022-12-17 17:20     ` Stephen Hemminger
2022-12-21  3:58 ` [PATCH v2] " Ke Zhang
2022-12-26  6:14   ` Zhang, Qi Z
2022-12-28  8:55     ` Zhang, Ke1X
2023-01-12  7:55   ` [PATCH v3] net/ice: add devargs for disabling default mac Ke Zhang
2023-01-12 16:32     ` Stephen Hemminger
2023-01-16 13:38       ` Zhang, Ke1X
2023-02-01  8:22     ` Zhang, Qi Z [this message]
2023-02-03  2:02     ` [PATCH v4] " Ke Zhang
2023-02-13  1:48       ` Zhang, Qi Z

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=DM4PR11MB5994F26C461B823BAA67C8E2D7D19@DM4PR11MB5994.namprd11.prod.outlook.com \
    --to=qi.z.zhang@intel.com \
    --cc=dev@dpdk.org \
    --cc=ke1x.zhang@intel.com \
    --cc=yuying.zhang@intel.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).