]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Use bitfields when possible
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Tue, 16 Apr 2019 17:24:35 +0000 (10:24 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 23 May 2019 17:51:54 +0000 (10:51 -0700)
commit3d3b14d87719741e0c59410038fa64b0643fdb88
treef3fb7568d5ab22cd7396a8bfbd03387d1e611af3
parentf54cfcba8842e84f0bec9960eb7040f9297c7c5a
ice: Use bitfields when possible

We can use bit fields to store boolean values and when the
bit fields are next to each other, the compiler will combine them
(as long as the size holds enough).

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice.h
drivers/net/ethernet/intel/ice/ice_txrx.h
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h