commit | dd54a1ada9cea9275c53c89ad869214be6e9731a | [log] [tgz] |
---|---|---|
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | Wed Dec 23 12:05:50 2015 -0800 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Tue Feb 16 19:04:08 2016 -0800 |
tree | bdf7aaf7a42e8fa65d3acf6c200302391d2dcf34 | |
parent | 07f169c3e9df898afe951d74734a0e54ac89ee9d [diff] |
i40e: refactor DCB function This is a simple refactor suggested by the community to change a multi-level if statement into a switch. Change-ID: I831cf3c40426022220aa9b43990022d22dfd50db Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Acked-by: Shannon Nelson <shannon.nelson@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>