team: add signed 32-bit team option type
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
4778e0be16
commit
69821638b2
@@ -130,6 +130,7 @@ enum team_option_type {
|
||||
TEAM_OPTION_TYPE_STRING,
|
||||
TEAM_OPTION_TYPE_BINARY,
|
||||
TEAM_OPTION_TYPE_BOOL,
|
||||
TEAM_OPTION_TYPE_S32,
|
||||
};
|
||||
|
||||
struct team_option_inst_info {
|
||||
@@ -146,6 +147,7 @@ struct team_gsetter_ctx {
|
||||
u32 len;
|
||||
} bin_val;
|
||||
bool bool_val;
|
||||
s32 s32_val;
|
||||
} data;
|
||||
struct team_option_inst_info *info;
|
||||
};
|
||||
|
Reference in New Issue
Block a user