[PATCH net-next v6 3/6] net: stmmac: Refactor FPE functions to generic version

Vladimir Oltean olteanv at gmail.com
Wed Oct 30 05:10:46 PDT 2024


On Wed, Oct 30, 2024 at 01:36:12PM +0800, Furong Xu wrote:
> +bool stmmac_fpe_supported(struct stmmac_priv *priv)
> +{
> +	return (priv->dma_cap.fpesel && priv->fpe_cfg.reg);
> +}

Should we also add the condition that stmmac_ops :: fpe_map_preemption_class()
is implemented? For future implementers to figure out what they need.



More information about the linux-arm-kernel mailing list