]> 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)
commitd7295a6100f22dcfbeca7d4e97537f2bb6c3b3ed
tree6da4cfbe3af02e6e2ad0c5d2445bccf0ff90e8b6
parentf66c669afb4f929836fcbb55f135d6a3c36c166a
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