[Intel-wired-lan] [next PATCH S51-V2 5/8] i40e: avoid duplicate private flags definitions

Bowers, AndrewX andrewx.bowers at intel.com
Wed Oct 26 22:13:25 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Bimmy Pujari
> Sent: Tuesday, October 25, 2016 4:09 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S51-V2 5/8] i40e: avoid duplicate
> private flags definitions
> 
> From: Jacob Keller <jacob.e.keller at intel.com>
> 
> Separate the global private flags and the regular private flags per interface
> into two arrays. Future additions of private flags will not need to be
> duplicated which may lead to buggy code. Also rename
> "i40e_priv_flags_strings_gl" to "i40e_gl_priv_flags_strings" for clarity, as it
> reads more naturally.
> 
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> Change-ID: I68caef3c9954eb7da342d7f9d20f2873186f2758
> ---
>  drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 42 +++++++++++------------
> ---
>  1 file changed, 17 insertions(+), 25 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list