]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Optimize a few bitmap operations
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 23 Dec 2021 09:03:37 +0000 (10:03 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 6 Jan 2022 18:15:25 +0000 (10:15 -0800)
commitfa9d44f725d530c22ee7fb2be02f6f65b54ca547
tree6da4cfbe3af02e6e2ad0c5d2445bccf0ff90e8b6
parent2590791020ae0b9e9cb19c881447ee1ae41ad461
ice: Optimize a few bitmap operations

When a bitmap is local to a function, it is safe to use the non-atomic
__[set|clear]_bit(). No concurrent accesses can occur.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_flex_pipe.c