]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: avoid duplicate private flags definitions
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 25 Oct 2016 23:08:50 +0000 (16:08 -0700)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:41:10 +0000 (19:41 -0500)
commitf3f6461c6e5e041c6015e6e5fa922b22edf5a309
treeb6b9a437f5e6c94286e0ab7f8c9df7458a2b46cc
parenta52162b6a3172e705fde8294927c84dca6e6b8aa
i40e: avoid duplicate private flags definitions

Orabug: 24568124

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>
(cherry picked from commit d182a5ca1f72ab4ef5ad118c64fb80aac659b122)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c