OSDN Git Service

i40e: rename 'cmd' variables in ethtool interface
authorAlan Brady <alan.brady@intel.com>
Thu, 5 Oct 2017 21:53:31 +0000 (14:53 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 17 Oct 2017 17:48:50 +0000 (10:48 -0700)
commit1c142e1c639bcbcb5b5db210d8fa4d2ecef6037e
treedc7dbce33396331b679b5853f1728a71ef28dd0b
parent8a5f2166a6288ee4b5a393f1ebc8cfb26b0510f0
i40e: rename 'cmd' variables in ethtool interface

After the switch to the new ethtool API, ethtool passes us
ethtool_ksettings structs instead of ethtool_command structs, however we
were still referring to them as 'cmd' variables.  This renames them to
'ks' variables which makes the code easier to understand.

Signed-off-by: Alan Brady <alan.brady@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