i40e: properly convert le16 value to CPU format
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 12 Dec 2016 23:44:15 +0000 (15:44 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 19 Feb 2017 04:35:36 +0000 (20:35 -0800)
commit5cb259016b4258d7ac53588a01d17da1ceda84b7
tree4c46ecc6d1752244839f5fdb56bca337e522e808
parent2ae0bf501425cbddc8b992a2b65fc04d911cae8c
i40e: properly convert le16 value to CPU format

This ensures that the pvid which is stored in __le16 format is converted
to the CPU format. This will fix comparison issues on Big Endian
platforms.

Change-ID: I92c80d1315dc2a0f9f095d5a0c48d461beb052ed
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