Re: [PATCH net-next v6 3/6] net: stmmac: Refactor FPE functions to generic version
From: Vladimir Oltean
Date: Wed Oct 30 2024 - 08:12:52 EST
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.