commit | 2ae0bf501425cbddc8b992a2b65fc04d911cae8c | [log] [tgz] |
---|---|---|
author | Jacob Keller <jacob.e.keller@intel.com> | Mon Dec 12 15:44:14 2016 -0800 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Sat Feb 18 20:35:36 2017 -0800 |
tree | cfb7296fcdd4c986a3518d00efebfbfac7bd35ba | |
parent | 773d4023badee2e196f4125a94fe9d5a739720a0 [diff] |
i40e: convert to cpu from le16 to generate switch_id correctly On Big Endian platforms we would incorrectly calculate the wrong switch id since we did not properly convert the le16 value into CPU format. Caught by sparse. Change-ID: I69a2f9fa064a0a91691f7d0e6fcc206adceb8e36 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>