[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <def61d08-c340-fcf2-d82c-a0d036bade4f@intel.com>
Date: Mon, 15 May 2023 19:53:40 -0700
From: "Tantilov, Emil S" <emil.s.tantilov@...el.com>
To: Stephen Hemminger <stephen@...workplumber.org>
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 5/13/2023 6:47 PM, Stephen Hemminger wrote:
> 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?
Will do.
Thanks,
Emil
Powered by blists - more mailing lists