[PATCH net-next v3 2/2] net: stmmac: Tx coe sw fallback

Jose Abreu Jose.Abreu at synopsys.com
Mon Aug 14 09:47:48 PDT 2023


From: Rohan G Thomas <rohan.g.thomas at intel.com>
Date: Mon, Aug 14, 2023 at 15:06:37

> --- a/drivers/net/ethernet/stmicro/stmmac/stmmac.h
> +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac.h
> @@ -219,6 +219,8 @@ struct stmmac_priv {
>  	int hwts_tx_en;
>  	bool tx_path_in_lpi_mode;
>  	bool tso;
> +	bool tx_q_coe_lmt;

Please use a flag here instead of "tx_q_coe_lmt". This is the preferrable method now.

Thanks,
Jose

> +	u32 tx_q_with_coe;
>  	int sph;
>  	int sph_cap;
>  	u32 sarc_type;



More information about the linux-arm-kernel mailing list