bnx2x: (semantic) revise scheduling of sp_rtnl
This removes the various points where the driver use bit operations in order to schedule the sp_rtnl_task from the code, adding a single utility function that does it instead. Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
0155a27cda
commit
230bb0f336
@@ -1402,7 +1402,7 @@ struct bnx2x_fw_stats_data {
|
||||
};
|
||||
|
||||
/* Public slow path states */
|
||||
enum {
|
||||
enum sp_rtnl_flag {
|
||||
BNX2X_SP_RTNL_SETUP_TC,
|
||||
BNX2X_SP_RTNL_TX_TIMEOUT,
|
||||
BNX2X_SP_RTNL_FAN_FAILURE,
|
||||
|
Reference in New Issue
Block a user