i40e: Use correct shift for VLAN priority
authorRichard Rodriguez <richard.rodriguez@intel.com>
Fri, 26 Oct 2018 21:33:32 +0000 (14:33 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 14 Nov 2018 18:56:33 +0000 (10:56 -0800)
commit211257a499c632052669526c7e643f6ac51e3fc8
treea9b48f2694766292bd41fb44a158e7854d140d6f
parent843faff87af261bf55eda719a06087af0486a168
i40e: Use correct shift for VLAN priority

When using port VLAN, for VFs, and setting priority bits, the device
was sending out incorrect priority bits, and also setting the CFI
bit incorrectly.

To fix this, changed shift and mask bit definition for this function, to
use the correct ones.

Signed-off-by: Richard Rodriguez <richard.rodriguez@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_virtchnl_pf.h