Searched refs:nla_table (Results 1 – 1 of 1) sorted by relevance
3244 struct nlattr *nla_table[DEVLINK_ATTR_MAX + 1] = {}; in dpipe_table_show() local3250 err = mnl_attr_parse_nested(nl, attr_cb, nla_table); in dpipe_table_show()3254 if (!nla_table[DEVLINK_ATTR_DPIPE_TABLE_NAME] || in dpipe_table_show()3255 !nla_table[DEVLINK_ATTR_DPIPE_TABLE_SIZE] || in dpipe_table_show()3256 !nla_table[DEVLINK_ATTR_DPIPE_TABLE_ACTIONS] || in dpipe_table_show()3257 !nla_table[DEVLINK_ATTR_DPIPE_TABLE_MATCHES] || in dpipe_table_show()3258 !nla_table[DEVLINK_ATTR_DPIPE_TABLE_COUNTERS_ENABLED]) { in dpipe_table_show()3262 name = mnl_attr_get_str(nla_table[DEVLINK_ATTR_DPIPE_TABLE_NAME]); in dpipe_table_show()3263 size = mnl_attr_get_u32(nla_table[DEVLINK_ATTR_DPIPE_TABLE_SIZE]); in dpipe_table_show()3264 counters_enabled = !!mnl_attr_get_u8(nla_table[DEVLINK_ATTR_DPIPE_TABLE_COUNTERS_ENABLED]); in dpipe_table_show()[all …]