[Intel-wired-lan] [PATCH iwl-next v5 08/15] idpf: configure resources for RX queues
Stephen Hemminger
stephen at networkplumber.org
Sun May 14 01:47:14 UTC 2023
On Sat, 13 May 2023 15:57:03 -0700
Emil Tantilov <emil.s.tantilov at intel.com> wrote:
> +/**
> + * idpf_is_feature_ena - Determine if a particular feature is enabled
> + * @vport: vport to check
> + * @feature: netdev flag to check
> + *
> + * Returns true or false if a particular feature is enabled.
> + */
> +static inline bool idpf_is_feature_ena(struct idpf_vport *vport,
> + netdev_features_t feature)
> +{
> + return vport->netdev->features & feature;
> +}
Minor nit. You could make vport const here?
More information about the Intel-wired-lan
mailing list