[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230513184714.4e0b9315@hermes.local>
Date: Sat, 13 May 2023 18:47:14 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Emil Tantilov <emil.s.tantilov@...el.com>
Cc: intel-wired-lan@...ts.osuosl.org, shannon.nelson@....com,
simon.horman@...igine.com, leon@...nel.org, decot@...gle.com,
willemb@...gle.com, Alan Brady <alan.brady@...el.com>,
jesse.brandeburg@...el.com, anthony.l.nguyen@...el.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org, Alice Michael
<alice.michael@...el.com>, Joshua Hay <joshua.a.hay@...el.com>, Madhu
Chittim <madhu.chittim@...el.com>, Phani Burra <phani.r.burra@...el.com>,
Pavan Kumar Linga <pavan.kumar.linga@...el.com>
Subject: Re: [PATCH iwl-next v5 08/15] idpf: configure resources for RX
queues
On Sat, 13 May 2023 15:57:03 -0700
Emil Tantilov <emil.s.tantilov@...el.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?
Powered by blists - more mailing lists