lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ