ixgbe: Fix PFC mask generation
authorMark Rustad <mark.d.rustad@intel.com>
Tue, 20 Sep 2011 03:00:27 +0000 (03:00 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 6 Oct 2011 10:18:46 +0000 (03:18 -0700)
commit2ad30e2633430717dbdf857962ba0c697dc471ef
treece0d157f92e4770a48843802f32041b37b28180e
parent462d599449c1047259ec56bfdcca4f55f7a93038
ixgbe: Fix PFC mask generation

Fix PFC mask generation to OR in only a single bit for each priority in
the PFC mask returned via netlink.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c