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

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
...@@ -79,8 +79,8 @@ struct mlxsw_listener { ...@@ -79,8 +79,8 @@ struct mlxsw_listener {
enum mlxsw_reg_hpkt_action action; enum mlxsw_reg_hpkt_action action;
enum mlxsw_reg_hpkt_action unreg_action; enum mlxsw_reg_hpkt_action unreg_action;
u8 trap_group; u8 trap_group;
bool is_ctrl; /* should go via control buffer or not */ u8 is_ctrl:1, /* should go via control buffer or not */
bool is_event; is_event:1;
}; };
#define MLXSW_RXL(_func, _trap_id, _action, _is_ctrl, _trap_group, \ #define MLXSW_RXL(_func, _trap_id, _action, _is_ctrl, _trap_group, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment