> -----Original Message-----
> From: Zhang, Ke1X <ke1x.zh...@intel.com>
> Sent: Friday, February 3, 2023 10:02 AM
> To: Zhang, Qi Z <qi.z.zh...@intel.com>; Zhang, Yuying
> <yuying.zh...@intel.com>; Liu, Yong <yong....@intel.com>; dev@dpdk.org
> Cc: Zhang, Ke1X <ke1x.zh...@intel.com>
> Subject: [PATCH v4] net/ice: add devargs for disabling default mac
>
> From: "ke1x.zhang" <ke1x.zh...@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.zh...@intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi