i40e: factor out re-enable functions for ATR and SB
authorJacob Keller <jacob.e.keller@intel.com>
Thu, 8 Mar 2018 22:52:09 +0000 (14:52 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 14 Mar 2018 19:30:47 +0000 (12:30 -0700)
commit01c96952847d6478e47ebe8194217b40b922d791
tree46478b6188d17d9b7113b6dc5896005570735aea
parent6ac6d5a7ff424354074d21a68c2018a8b6fe4fc6
i40e: factor out re-enable functions for ATR and SB

A future patch needs to expand on the logic for re-enabling ATR. Doing
so would cause some code to break the 80-character line limit.

To reduce the level of indentation, factor out helper functions for
re-enabling ATR and SB rules.

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_main.c