Home
last modified time | relevance | path

Searched refs:tlv_index (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_tlv.c311 const struct fbnic_tlv_index *tlv_index) in fbnic_tlv_attr_validate() argument
323 while (tlv_index->id != attr_id) { in fbnic_tlv_attr_validate()
324 if (tlv_index->id == FBNIC_TLV_ATTR_ID_UNKNOWN) { in fbnic_tlv_attr_validate()
330 tlv_index++; in fbnic_tlv_attr_validate()
336 switch (tlv_index->type) { in fbnic_tlv_attr_validate()
338 if (!len || len > tlv_index->len) in fbnic_tlv_attr_validate()
349 if (tlv_index->len > sizeof(__le64)) in fbnic_tlv_attr_validate()
353 if (!len || len > tlv_index->len) in fbnic_tlv_attr_validate()
384 const struct fbnic_tlv_index *tlv_index, in fbnic_tlv_attr_parse_array() argument
406 err = fbnic_tlv_attr_validate(attr, tlv_index); in fbnic_tlv_attr_parse_array()
[all …]
H A Dfbnic_tlv.h164 const struct fbnic_tlv_index *tlv_index,
168 const struct fbnic_tlv_index *tlv_index);