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)
commitf7fc2f2eb11fe808df330df42a9429aa5b804388
tree44ce4c3bd4b2f6cf05ccdb7a53db0764cc65b4e7
parentd8201e200a7474d391fd24ca811b0375e6694387
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