]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:32:03 +0000 (08:32 -0800)
commitf4a5118df9db1c3737f9965234c13ba1edf36292
tree011d3afc043e6ab3ca92cdc567717e509e721dcd
parentd8b09dacca6a18ee30036935ef6a24b3f6552ed0
i40e: use QOS field consistently

Orabug: 22342532

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>
(cherry picked from commit f7fc2f2eb11fe808df330df42a9429aa5b804388)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c