i40e: avoid duplicate private flags definitions
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 25 Oct 2016 23:08:50 +0000 (16:08 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 3 Dec 2016 06:40:58 +0000 (22:40 -0800)
commitd182a5ca1f72ab4ef5ad118c64fb80aac659b122
treeb0ddf634ef2fa5023cb41ded5eb6c817e7579dc7
parent6a112785fd18a954033fd030ce156501f15c8fa7
i40e: avoid duplicate private flags definitions

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.

Change-ID: I68caef3c9954eb7da342d7f9d20f2873186f2758
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c