]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: use QOS field consistently
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 23 Jul 2015 20:54:36 +0000 (16:54 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 30 Sep 2015 12:26:13 +0000 (05:26 -0700)
commitd1b6630204e329c888d28f19336cab6d0c702248
tree44ce4c3bd4b2f6cf05ccdb7a53db0764cc65b4e7
parentbb193fc9840f2f0dc4e83dc92fdd8b851acb48d6
i40e: use QOS field consistently

In i40e_ndo_set_vf_port_vlan, we were using the QOS value
inconsistently, sometimes shifting it, sometimes not. Do the shift-and-
or operation correctly, once, and use the result consistently everywhere
in the function.

Change-ID: I46f062f3edc90a8a017ecec9137f4d1ab0ab9e41
Signed-off-by: Mitch Williams <mitch.a.williams@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.c