Subject: Re: [PATCH net-next v1] octeon_ep: control net API framework to support offloads

From: Jakub Kicinski <[email-masked]>
Date: Fri, 1 Dec 2023 19:58:43 -0800

On Fri, 1 Dec 2023 05:18:14 -0800 Shinas Rasheed wrote:
> +static netdev_features_t octep_fix_features(struct net_device *dev,
> +					    netdev_features_t features)
> +{
> +	return (dev->hw_features & features);
> +}

Why is this needed? The core kernel should already make sure
unsupported features aren't requested.