[PATCH] net/ice: add devargs for disabling mac filter

Stephen Hemminger stephen at networkplumber.org
Tue Dec 13 04:51:22 CET 2022


On Fri, 25 Nov 2022 10:51:24 +0800
Ke Zhang <ke1x.zhang at intel.com> wrote:

> diff --git a/drivers/net/ice/ice_ethdev.h b/drivers/net/ice/ice_ethdev.h
> index c8311be179..0350c6584a 100644
> --- a/drivers/net/ice/ice_ethdev.h
> +++ b/drivers/net/ice/ice_ethdev.h
> @@ -563,6 +563,7 @@ struct ice_devargs {
>  	int safe_mode_support;
>  	uint8_t proto_xtr_dflt;
>  	int pipe_mode_support;
> +	int mac_filter_disable;
 
Why use 4 bytes for a flag when a single bit would do.


More information about the dev mailing list