i40e: Remove EMPR traces from debugfs facility
authorMauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com>
Tue, 6 Aug 2019 13:38:26 +0000 (10:38 -0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Sep 2019 18:36:43 +0000 (11:36 -0700)
commitc19d034b54fa9c4beb543768503343a66f6223bc
tree65c91068183276f27ebbff95c299e4931991ecad
parent54579ca8371568227100ea5af2b3024a9eb45ed9
i40e: Remove EMPR traces from debugfs facility

Since commit
'5098850c9b9b ("i40e/i40evf: i40e_register.h updates")'
it is no longer possible to trigger an EMP Reset from debugfs, but it's
possible to request it either way, to end up with a bad reset request:

echo empr > /sys/kernel/debug/i40e/0002\:01\:00.1/command
i40e 0002:01:00.1: debugfs: forcing EMPR
i40e 0002:01:00.1: bad reset request 0x00010000

So let's remove this piece of code and show the available valid commands
as it is when any invalid command is issued.

Signed-off-by: "Mauro S. M. Rodrigues" <maurosr@linux.vnet.ibm.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.h
drivers/net/ethernet/intel/i40e/i40e_debugfs.c