]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Improve AQ log granularity
authorDoug Dziggel <douglas.a.dziggel@intel.com>
Wed, 24 Apr 2019 12:20:50 +0000 (05:20 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 14 Jun 2019 19:59:16 +0000 (12:59 -0700)
commit24381f5ce9c3b84fa4986dfc5c7502f3c7407204
tree1cf99fae412ac5f18830b31834462598046e7ca5
parentb36c355d731f62b93b67673a647456ca73ceabad
i40e: Improve AQ log granularity

This patch makes it possible to log only AQ descriptors, without the
entire AQ message buffers being dumped too. It should greatly reduce
kernel log size in cases where a full AQ dump is not needed.
Selection is made by setting flags in hw->debug_mask.

Additionally, some debug messages that preceded an AQ dump have been
moved to I40E_DEBUG_AQ_COMMAND class, which seems more appropriate.

Signed-off-by: Doug Dziggel <douglas.a.dziggel@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_adminq.c
drivers/net/ethernet/intel/i40e/i40e_common.c