]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d58949935b8c6e1051587a2a55fde98f5fdb6d5
treea9b48f2694766292bd41fb44a158e7854d140d6f
parent9c8805d3505475be47bb2e06f3591e9bfb2cb8d4
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