Searched refs:nla_match (Results 1 – 1 of 1) sorted by relevance
3200 struct nlattr *nla_match[DEVLINK_ATTR_MAX + 1] = {}; in dpipe_match_parse() local3203 err = mnl_attr_parse_nested(nl, attr_cb, nla_match); in dpipe_match_parse()3207 if (!nla_match[DEVLINK_ATTR_DPIPE_MATCH_TYPE] || in dpipe_match_parse()3208 !nla_match[DEVLINK_ATTR_DPIPE_HEADER_INDEX] || in dpipe_match_parse()3209 !nla_match[DEVLINK_ATTR_DPIPE_HEADER_ID] || in dpipe_match_parse()3210 !nla_match[DEVLINK_ATTR_DPIPE_FIELD_ID]) { in dpipe_match_parse()3214 match->type = mnl_attr_get_u32(nla_match[DEVLINK_ATTR_DPIPE_MATCH_TYPE]); in dpipe_match_parse()3215 match->info.header_id = mnl_attr_get_u32(nla_match[DEVLINK_ATTR_DPIPE_HEADER_ID]); in dpipe_match_parse()3216 match->info.field_id = mnl_attr_get_u32(nla_match[DEVLINK_ATTR_DPIPE_FIELD_ID]); in dpipe_match_parse()3217 match->info.header_global = !!mnl_attr_get_u8(nla_match[DEVLINK_ATTR_DPIPE_HEADER_GLOBAL]); in dpipe_match_parse()[all …]