OSDN Git Service

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)
commite75ed29db5315b4706953a5462f9c783532cb776
tree6da4cfbe3af02e6e2ad0c5d2445bccf0ff90e8b6
parenta5c259b162844f3ceaf3d082344bf6938728aca9
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