From: "Zhang, Qi Z" <qi.z.zhang@intel.com>
To: "Zhang, Ke1X" <ke1x.zhang@intel.com>,
"Zhang, Yuying" <yuying.zhang@intel.com>,
"Liu, Yong" <yong.liu@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: RE: [PATCH v4] net/ice: add devargs for disabling default mac
Date: Mon, 13 Feb 2023 01:48:48 +0000 [thread overview]
Message-ID: <DM4PR11MB5994B738F821CDC84F1A2692D7DD9@DM4PR11MB5994.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20230203020207.99778-1-ke1x.zhang@intel.com>
> -----Original Message-----
> From: Zhang, Ke1X <ke1x.zhang@intel.com>
> Sent: Friday, February 3, 2023 10:02 AM
> To: Zhang, Qi Z <qi.z.zhang@intel.com>; Zhang, Yuying
> <yuying.zhang@intel.com>; Liu, Yong <yong.liu@intel.com>; dev@dpdk.org
> Cc: Zhang, Ke1X <ke1x.zhang@intel.com>
> Subject: [PATCH v4] net/ice: add devargs for disabling default mac
>
> From: "ke1x.zhang" <ke1x.zhang@intel.com>
>
> There is a requirement that if a flow rule is created, received packet is
> permitted to pass if rule matching, or else drop.
> But in default, a mac filter will be created and the default mac will be added
> into lookup table during driver initialization, it makes drop action impossilbe.
>
> 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``,
Reworded to
Disable the default MAC make the device drop all packets by default, only packets hit
on filter rules will pass.
Default Mac can be disabled by setting ``devargs`` parameter ``default-mac-disable``,
for example::
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
prev parent reply other threads:[~2023-02-13 1:48 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
2023-02-03 2:02 ` [PATCH v4] " Ke Zhang
2023-02-13 1:48 ` Zhang, Qi Z [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=DM4PR11MB5994B738F821CDC84F1A2692D7DD9@DM4PR11MB5994.namprd11.prod.outlook.com \
--to=qi.z.zhang@intel.com \
--cc=dev@dpdk.org \
--cc=ke1x.zhang@intel.com \
--cc=yong.liu@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).