Lines Matching refs:tlv

59 static void i40e_parse_ieee_etscfg_tlv(struct i40e_lldp_org_tlv *tlv,  in i40e_parse_ieee_etscfg_tlv()  argument
63 u8 *buf = tlv->tlvinfo; in i40e_parse_ieee_etscfg_tlv()
130 static void i40e_parse_ieee_etsrec_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_parse_ieee_etsrec_tlv() argument
133 u8 *buf = tlv->tlvinfo; in i40e_parse_ieee_etsrec_tlv()
185 static void i40e_parse_ieee_pfccfg_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_parse_ieee_pfccfg_tlv() argument
188 u8 *buf = tlv->tlvinfo; in i40e_parse_ieee_pfccfg_tlv()
212 static void i40e_parse_ieee_app_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_parse_ieee_app_tlv() argument
221 typelength = ntohs(tlv->typelength); in i40e_parse_ieee_app_tlv()
224 buf = tlv->tlvinfo; in i40e_parse_ieee_app_tlv()
227 length -= (sizeof(tlv->ouisubtype) + 1); in i40e_parse_ieee_app_tlv()
267 static void i40e_parse_ieee_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_parse_ieee_tlv() argument
273 ouisubtype = ntohl(tlv->ouisubtype); in i40e_parse_ieee_tlv()
278 i40e_parse_ieee_etscfg_tlv(tlv, dcbcfg); in i40e_parse_ieee_tlv()
281 i40e_parse_ieee_etsrec_tlv(tlv, dcbcfg); in i40e_parse_ieee_tlv()
284 i40e_parse_ieee_pfccfg_tlv(tlv, dcbcfg); in i40e_parse_ieee_tlv()
287 i40e_parse_ieee_app_tlv(tlv, dcbcfg); in i40e_parse_ieee_tlv()
302 static void i40e_parse_org_tlv(struct i40e_lldp_org_tlv *tlv, in i40e_parse_org_tlv() argument
308 ouisubtype = ntohl(tlv->ouisubtype); in i40e_parse_org_tlv()
313 i40e_parse_ieee_tlv(tlv, dcbcfg); in i40e_parse_org_tlv()
331 struct i40e_lldp_org_tlv *tlv; in i40e_lldp_to_dcb_config() local
342 tlv = (struct i40e_lldp_org_tlv *)lldpmib; in i40e_lldp_to_dcb_config()
344 typelength = ntohs(tlv->typelength); in i40e_lldp_to_dcb_config()
357 i40e_parse_org_tlv(tlv, dcbcfg); in i40e_lldp_to_dcb_config()
364 tlv = (struct i40e_lldp_org_tlv *)((char *)tlv + in i40e_lldp_to_dcb_config()
365 sizeof(tlv->typelength) + in i40e_lldp_to_dcb_config()