Home
last modified time | relevance | path

Searched refs:tlv (Results 1 – 10 of 10) sorted by relevance

/dpdk/drivers/net/ice/base/
H A Dice_dcb.c214 u8 *buf = tlv->tlvinfo; in ice_parse_ieee_etscfg_tlv()
245 u8 *buf = tlv->tlvinfo; in ice_parse_ieee_etsrec_tlv()
262 u8 *buf = tlv->tlvinfo; in ice_parse_ieee_pfccfg_tlv()
297 buf = tlv->tlvinfo; in ice_parse_ieee_app_tlv()
381 u8 *buf = tlv->tlvinfo; in ice_parse_cee_pgcfg_tlv()
439 u8 *buf = tlv->tlvinfo; in ice_parse_cee_pfccfg_tlv()
636 ((char *)tlv + sizeof(tlv->typelen) + len); in ice_lldp_to_dcb_cfg()
1099 u8 *buf = tlv->tlvinfo; in ice_add_ieee_ets_tlv()
1141 u8 *buf = tlv->tlvinfo; in ice_add_ieee_etsrec_tlv()
1170 u8 *buf = tlv->tlvinfo; in ice_add_ieee_pfc_tlv()
[all …]
H A Dice_common.c3687 struct ice_link_default_override_tlv tlv; in ice_cfg_phy_fec() local
3689 if (ice_get_link_default_override(&tlv, pi)) in ice_cfg_phy_fec()
3692 if (!(tlv.options & ICE_LINK_OVERRIDE_STRICT_MODE) && in ice_cfg_phy_fec()
3693 (tlv.options & ICE_LINK_OVERRIDE_EN)) in ice_cfg_phy_fec()
3694 cfg->link_fec_opt = tlv.fec_options; in ice_cfg_phy_fec()
5668 u16 i, tlv, tlv_len, tlv_start, buf, offset; in ice_get_link_default_override() local
5672 status = ice_get_pfa_module_tlv(hw, &tlv, &tlv_len, in ice_get_link_default_override()
5680 tlv_start = tlv + pi->lport * ICE_SR_PFA_LINK_OVERRIDE_WORDS + in ice_get_link_default_override()
/dpdk/drivers/net/i40e/base/
H A Di40e_dcb.c41 u8 *buf = tlv->tlvinfo; in i40e_parse_ieee_etscfg_tlv()
111 u8 *buf = tlv->tlvinfo; in i40e_parse_ieee_etsrec_tlv()
166 u8 *buf = tlv->tlvinfo; in i40e_parse_ieee_pfccfg_tlv()
202 buf = tlv->tlvinfo; in i40e_parse_ieee_app_tlv()
283 u8 *buf = tlv->tlvinfo; in i40e_parse_cee_pgcfg_tlv()
341 u8 *buf = tlv->tlvinfo; in i40e_parse_cee_pfccfg_tlv()
543 tlv = (struct i40e_lldp_org_tlv *)((char *)tlv + in i40e_lldp_to_dcb_config()
997 u8 *buf = tlv->tlvinfo; in i40e_add_ieee_ets_tlv()
1072 u8 *buf = tlv->tlvinfo; in i40e_add_ieee_etsrec_tlv()
1133 u8 *buf = tlv->tlvinfo; in i40e_add_ieee_pfc_tlv()
[all …]
/dpdk/drivers/net/qede/base/
H A Decore_mng_tlv.c1417 struct ecore_drv_tlv_hdr tlv; in ecore_mfw_update_tlvs() local
1432 OSAL_MEMSET(&tlv, 0, sizeof(tlv)); in ecore_mfw_update_tlvs()
1435 tlv.tlv_type = TLV_TYPE(p_temp); in ecore_mfw_update_tlvs()
1436 tlv.tlv_length = TLV_LENGTH(p_temp); in ecore_mfw_update_tlvs()
1437 tlv.tlv_flags = TLV_FLAGS(p_temp); in ecore_mfw_update_tlvs()
1439 tlv.tlv_type, tlv.tlv_length, tlv.tlv_flags); in ecore_mfw_update_tlvs()
1441 offset += sizeof(tlv); in ecore_mfw_update_tlvs()
1461 OSAL_MEMCPY(p_mfw_buf, &tlv, sizeof(tlv)); in ecore_mfw_update_tlvs()
1480 struct ecore_drv_tlv_hdr tlv; in ecore_mfw_process_tlv_req() local
1510 offset += sizeof(tlv) + sizeof(u32) * tlv.tlv_length) { in ecore_mfw_process_tlv_req()
[all …]
H A Decore_vf.c1198 u16 tlv) in ecore_vf_handle_vp_update_is_needed() argument
1200 switch (tlv) { in ecore_vf_handle_vp_update_is_needed()
1227 tlv, qede_ecore_channel_tlvs_string[tlv]); in ecore_vf_handle_vp_update_is_needed()
1238 u16 tlv; in ecore_vf_handle_vp_update_tlvs_resp() local
1240 for (tlv = CHANNEL_TLV_VPORT_UPDATE_ACTIVATE; in ecore_vf_handle_vp_update_tlvs_resp()
1241 tlv < CHANNEL_TLV_VPORT_UPDATE_MAX; in ecore_vf_handle_vp_update_tlvs_resp()
1242 tlv++) { in ecore_vf_handle_vp_update_tlvs_resp()
1251 tlv, qede_ecore_channel_tlvs_string[tlv], in ecore_vf_handle_vp_update_tlvs_resp()
1266 u16 size, tlv; in ecore_vf_pf_vport_update() local
1315 tlv = CHANNEL_TLV_VPORT_UPDATE_TX_SWITCH; in ecore_vf_pf_vport_update()
[all …]
H A Decore_sriov.c1342 struct ecore_vf_info *vf, u16 tlv) in ecore_iov_lock_vf_pf_channel() argument
1351 if (ecore_iov_tlv_supported(tlv)) in ecore_iov_lock_vf_pf_channel()
1361 vf->abs_vf_id, tlv); in ecore_iov_lock_vf_pf_channel()
1404 struct channel_tlv *tlv; in ecore_dp_tlv_list() local
1411 if (ecore_iov_tlv_supported(tlv->type)) in ecore_dp_tlv_list()
1415 tlv->length); in ecore_dp_tlv_list()
1419 i, tlv->type, tlv->length); in ecore_dp_tlv_list()
1421 if (tlv->type == CHANNEL_TLV_LIST_END) in ecore_dp_tlv_list()
1425 if (!tlv->length) { in ecore_dp_tlv_list()
1429 total_length += tlv->length; in ecore_dp_tlv_list()
[all …]
/dpdk/drivers/net/fm10k/base/
H A Dfm10k_tlv.h42 #define FM10K_TLV_LEN_ALIGN(tlv) \ argument
43 (((tlv) + FM10K_TLV_LEN_ALIGN_MASK) & ~FM10K_TLV_LEN_ALIGN_MASK)
44 #define FM10K_TLV_DWORD_LEN(tlv) \ argument
45 ((u16)((FM10K_TLV_LEN_ALIGN(tlv)) >> (FM10K_TLV_LEN_SHIFT + 2)) + 1)
/dpdk/drivers/net/enic/base/
H A Dvnic_dev.c1242 struct filter_tlv *tlv, *tlv_va; in vnic_dev_classifier() local
1264 tlv = tlv_va; in vnic_dev_classifier()
1267 memset(tlv, 0, tlv_size); in vnic_dev_classifier()
1268 tlv->type = CLSF_TLV_FILTER; in vnic_dev_classifier()
1269 tlv->length = filter_size; in vnic_dev_classifier()
1270 memcpy(&tlv->val, (void *)data, filter_size); in vnic_dev_classifier()
1272 tlv = (struct filter_tlv *)((char *)tlv + in vnic_dev_classifier()
1276 tlv->type = CLSF_TLV_ACTION; in vnic_dev_classifier()
1277 tlv->length = action_size; in vnic_dev_classifier()
1278 memcpy(&tlv->val, (void *)action_v2, action_size); in vnic_dev_classifier()
/dpdk/drivers/net/i40e/
H A Drte_pmd_i40e.c1776 struct i40e_profile_tlv_section_record *tlv; in i40e_get_tlv_section_size() local
1786 i += tlv->len; in i40e_get_tlv_section_size()
1965 struct i40e_profile_tlv_section_record *tlv; in rte_pmd_i40e_get_ddp_info() local
1988 pinfo[j].proto_id = tlv->data[0]; in rte_pmd_i40e_get_ddp_info()
1991 i += tlv->len; in rte_pmd_i40e_get_ddp_info()
1992 tlv = &tlv[tlv->len]; in rte_pmd_i40e_get_ddp_info()
2039 memcpy(&pinfo[j], tlv->data, in rte_pmd_i40e_get_ddp_info()
2041 i += tlv->len; in rte_pmd_i40e_get_ddp_info()
2042 tlv = &tlv[tlv->len]; in rte_pmd_i40e_get_ddp_info()
2089 memcpy(&pinfo[j], tlv->data, in rte_pmd_i40e_get_ddp_info()
[all …]
/dpdk/drivers/net/bnxt/
H A Dhsi_struct_def_dpdk.h98 struct tlv { struct