Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_dcb.c599 static int ice_lldp_to_dcb_cfg(u8 *lldpmib, struct ice_dcbx_cfg *dcbcfg) in ice_lldp_to_dcb_cfg() argument
608 if (!lldpmib || !dcbcfg) in ice_lldp_to_dcb_cfg()
612 lldpmib += ETH_HLEN; in ice_lldp_to_dcb_cfg()
613 tlv = (struct ice_lldp_org_tlv *)lldpmib; in ice_lldp_to_dcb_cfg()
653 u8 *lldpmib; in ice_aq_get_dcb_cfg() local
657 lldpmib = devm_kzalloc(ice_hw_to_dev(hw), ICE_LLDPDU_SIZE, GFP_KERNEL); in ice_aq_get_dcb_cfg()
658 if (!lldpmib) in ice_aq_get_dcb_cfg()
661 ret = ice_aq_get_lldp_mib(hw, bridgetype, mib_type, (void *)lldpmib, in ice_aq_get_dcb_cfg()
666 ret = ice_lldp_to_dcb_cfg(lldpmib, dcbcfg); in ice_aq_get_dcb_cfg()
668 devm_kfree(ice_hw_to_dev(hw), lldpmib); in ice_aq_get_dcb_cfg()
[all …]
Dice_main.c922 u8 mib_type, *buf, *lldpmib = NULL; in ice_set_dflt_mib() local
929 lldpmib = kzalloc(ICE_LLDPDU_SIZE, GFP_KERNEL); in ice_set_dflt_mib()
930 if (!lldpmib) { in ice_set_dflt_mib()
937 tlv = (struct ice_lldp_org_tlv *)lldpmib; in ice_set_dflt_mib()
990 if (ice_aq_set_lldp_mib(hw, mib_type, (void *)lldpmib, offset, NULL)) in ice_set_dflt_mib()
993 kfree(lldpmib); in ice_set_dflt_mib()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_dcb.c500 i40e_status i40e_lldp_to_dcb_config(u8 *lldpmib, in i40e_lldp_to_dcb_config() argument
510 if (!lldpmib || !dcbcfg) in i40e_lldp_to_dcb_config()
514 lldpmib += ETH_HLEN; in i40e_lldp_to_dcb_config()
515 tlv = (struct i40e_lldp_org_tlv *)lldpmib; in i40e_lldp_to_dcb_config()
560 u8 *lldpmib; in i40e_aq_get_dcb_config() local
567 lldpmib = (u8 *)mem.va; in i40e_aq_get_dcb_config()
569 (void *)lldpmib, I40E_LLDPDU_SIZE, in i40e_aq_get_dcb_config()
575 ret = i40e_lldp_to_dcb_config(lldpmib, dcbcfg); in i40e_aq_get_dcb_config()
949 u8 *lldpmib; in i40e_get_fw_lldp_status() local
959 lldpmib = (u8 *)mem.va; in i40e_get_fw_lldp_status()
[all …]
Di40e_dcb.h269 i40e_status i40e_lldp_to_dcb_config(u8 *lldpmib,
281 i40e_status i40e_dcb_config_to_lldp(u8 *lldpmib, u16 *miblen,