Commit 0bb57112 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

mlxsw: core: Convert is_event and is_ctrl bools to be single bits



No need for these two flags to be bool. Covert them to bits of u8.

Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8ec80a8b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -79,8 +79,8 @@ struct mlxsw_listener {
	enum mlxsw_reg_hpkt_action action;
	enum mlxsw_reg_hpkt_action unreg_action;
	u8 trap_group;
	bool is_ctrl; /* should go via control buffer or not */
	bool is_event;
	u8 is_ctrl:1, /* should go via control buffer or not */
	   is_event:1;
};

#define MLXSW_RXL(_func, _trap_id, _action, _is_ctrl, _trap_group,	\