File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
Documentation/netlink/specs Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,10 @@ definitions:
71
71
name : roce-bit
72
72
-
73
73
name : migratable-bit
74
+ -
75
+ name : ipsec-crypto-bit
76
+ -
77
+ name : ipsec-packet-bit
74
78
-
75
79
type : enum
76
80
name : sb-threshold-type
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const struct nla_policy devlink_dl_port_function_nl_policy[DEVLINK_PORT_FN_ATTR_
15
15
[DEVLINK_PORT_FUNCTION_ATTR_HW_ADDR ] = { .type = NLA_BINARY , },
16
16
[DEVLINK_PORT_FN_ATTR_STATE ] = NLA_POLICY_MAX (NLA_U8 , 1 ),
17
17
[DEVLINK_PORT_FN_ATTR_OPSTATE ] = NLA_POLICY_MAX (NLA_U8 , 1 ),
18
- [DEVLINK_PORT_FN_ATTR_CAPS ] = NLA_POLICY_BITFIELD32 (3 ),
18
+ [DEVLINK_PORT_FN_ATTR_CAPS ] = NLA_POLICY_BITFIELD32 (15 ),
19
19
};
20
20
21
21
const struct nla_policy devlink_dl_selftest_id_nl_policy [DEVLINK_ATTR_SELFTEST_ID_FLASH + 1 ] = {
Original file line number Diff line number Diff line change @@ -121,6 +121,8 @@ const char *devlink_port_fn_opstate_str(enum devlink_port_fn_opstate value)
121
121
static const char * const devlink_port_fn_attr_cap_strmap [] = {
122
122
[0 ] = "roce-bit" ,
123
123
[1 ] = "migratable-bit" ,
124
+ [2 ] = "ipsec-crypto-bit" ,
125
+ [3 ] = "ipsec-packet-bit" ,
124
126
};
125
127
126
128
const char * devlink_port_fn_attr_cap_str (enum devlink_port_fn_attr_cap value )
You can’t perform that action at this time.
0 commit comments