src/dpdk/drivers/net/ice/base/ice_dcb.c
static void
ice_parse_org_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg)
{
	u32 ouisubtype;
	u32 oui;

	ouisubtype = NTOHL(tlv->ouisubtype);
	oui = ((ouisubtype & ICE_LLDP_TLV_OUI_M) >> ICE_LLDP_TLV_OUI_S);
	switch (oui) {
	case ICE_IEEE_8021QAZ_OUI:
		ice_parse_ieee_tlv(tlv, dcbcfg);
		break;
	case ICE_CEE_DCBX_OUI:
		ice_parse_cee_tlv(tlv, dcbcfg);
		break;
	default:
		break;
	}
}
/**
 * ice_parse_org_tlv
 * @tlv: Organization specific TLV
 * @dcbcfg: Local store to update ETS REC data
 *
 * Currently only IEEE 802.1Qaz TLV is supported, all others
 * will be returned
 */
ice_parse_org_tlv
@tlv: Organization specific TLV
@dcbcfg: Local store to update ETS REC data

Currently only IEEE 802.1Qaz TLV is supported, all others
will be returned
ice_parse_org_tlv @tlv : Organization specific TLV @dcbcfg : Local store to update ETS REC data Currently only IEEE 802 . 1Qaz TLV is supported all others will be returned
static void
ice_parse_org_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg)
{
	u32 ouisubtype;
	u32 oui;
	ouisubtype = NTOHL(tlv->ouisubtype);
	oui = ((ouisubtype & ICE_LLDP_TLV_OUI_M) >> ICE_LLDP_TLV_OUI_S);
	switch (oui) {
	case ICE_IEEE_8021QAZ_OUI:
		ice_parse_ieee_tlv(tlv, dcbcfg);
		break;
	case ICE_CEE_DCBX_OUI:
		ice_parse_cee_tlv(tlv, dcbcfg);
		break;
	default:
		break;
	}
}
static void ice_parse_org_tlv ( struct ice_lldp_org_tlv * tlv , struct ice_dcbx_cfg * dcbcfg ) { u32 ouisubtype ; u32 oui ; ouisubtype = NTOHL ( tlv -> ouisubtype ) ; oui = ( ( ouisubtype & ICE_LLDP_TLV_OUI_M ) >> ICE_LLDP_TLV_OUI_S ) ; switch ( oui ) { case ICE_IEEE_8021QAZ_OUI : ice_parse_ieee_tlv ( tlv , dcbcfg ) ; break ; case ICE_CEE_DCBX_OUI : ice_parse_cee_tlv ( tlv , dcbcfg ) ; break ; default : break ; } }
ice_parse_org_tlv
 @tlv: Organization specific TLV
 @dcbcfg: Local store to update ETS REC data
ice_parse_org_tlv @tlv : Organization specific TLV @dcbcfg : Local store to update ETS REC data