Home
last modified time | relevance | path

Searched refs:sub_tlv (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_dcb.c518 struct ice_cee_feat_tlv *sub_tlv; in ice_parse_cee_tlv() local
538 sub_tlv = (struct ice_cee_feat_tlv *)((char *)tlv + len); in ice_parse_cee_tlv()
542 typelen = ntohs(sub_tlv->hdr.typelen); in ice_parse_cee_tlv()
548 ice_parse_cee_pgcfg_tlv(sub_tlv, dcbcfg); in ice_parse_cee_tlv()
551 ice_parse_cee_pfccfg_tlv(sub_tlv, dcbcfg); in ice_parse_cee_tlv()
554 ice_parse_cee_app_tlv(sub_tlv, dcbcfg); in ice_parse_cee_tlv()
561 sub_tlv = (struct ice_cee_feat_tlv *) in ice_parse_cee_tlv()
562 ((char *)sub_tlv + sizeof(sub_tlv->hdr.typelen) + in ice_parse_cee_tlv()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb.c417 struct i40e_cee_feat_tlv *sub_tlv; in i40e_parse_cee_tlv() local
437 sub_tlv = (struct i40e_cee_feat_tlv *)((char *)tlv + len); in i40e_parse_cee_tlv()
439 typelength = ntohs(sub_tlv->hdr.typelen); in i40e_parse_cee_tlv()
447 i40e_parse_cee_pgcfg_tlv(sub_tlv, dcbcfg); in i40e_parse_cee_tlv()
450 i40e_parse_cee_pfccfg_tlv(sub_tlv, dcbcfg); in i40e_parse_cee_tlv()
453 i40e_parse_cee_app_tlv(sub_tlv, dcbcfg); in i40e_parse_cee_tlv()
460 sub_tlv = (struct i40e_cee_feat_tlv *)((char *)sub_tlv + in i40e_parse_cee_tlv()
461 sizeof(sub_tlv->hdr.typelen) + in i40e_parse_cee_tlv()
/openbmc/linux/net/bridge/
H A Dbr_mrp.c214 struct br_mrp_tlv_hdr *sub_tlv = NULL; in br_mrp_alloc_test_skb() local
218 length = sizeof(*sub_opt) + sizeof(*sub_tlv) + sizeof(oui) + in br_mrp_alloc_test_skb()
227 sub_tlv = skb_put(skb, sizeof(*sub_tlv)); in br_mrp_alloc_test_skb()
228 sub_tlv->type = BR_MRP_SUB_TLV_HEADER_TEST_AUTO_MGR; in br_mrp_alloc_test_skb()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmcu.c1905 struct tlv *tlv, *sub_tlv; in mt7915_mcu_add_inband_discov() local
1952 sub_tlv = mt7915_mcu_add_nested_subtlv(rskb, BSS_INFO_BCN_DISCOV, in mt7915_mcu_add_inband_discov()
1954 discov = (struct bss_info_inband_discovery *)sub_tlv; in mt7915_mcu_add_inband_discov()
1962 buf = (u8 *)sub_tlv + sizeof(*discov); in mt7915_mcu_add_inband_discov()