Lines Matching full:pfc
385 * @tlv: IEEE 802.1Qaz PFC CFG TLV
386 * @dcbcfg: Local store to update PFC CFG data
388 * Parses IEEE 802.1Qaz PFC CFG TLV
397 * |will-|MBC | Re- | PFC | PFC Enable |
402 dcbcfg->pfc.willing = ((buf[0] & ICE_IEEE_PFC_WILLING_M) >>
404 dcbcfg->pfc.mbc = ((buf[0] & ICE_IEEE_PFC_MBC_M) >> ICE_IEEE_PFC_MBC_S);
405 dcbcfg->pfc.pfccap = ((buf[0] & ICE_IEEE_PFC_CAP_M) >>
407 dcbcfg->pfc.pfcena = buf[1];
562 * @tlv: CEE DCBX PFC CFG TLV
563 * @dcbcfg: Local store to update PFC CFG data
565 * Parses CEE DCBX PFC CFG TLV
574 dcbcfg->pfc.willing = 1;
577 * | PFC Enable | PFC TCs |
581 dcbcfg->pfc.pfcena = buf[0];
582 dcbcfg->pfc.pfccap = buf[1];
808 * ice_aq_dcb_ignore_pfc - Ignore PFC for given TCs
810 * @tcmap: TC map for request/release any ignore PFC condition
811 * @request: request (true) or release (false) ignore PFC condition
812 * @tcmap_ret: return TCs for which PFC is currently ignored
815 * This sends out request/release to ignore PFC condition for a TC.
816 * It will return the TCs for which PFC is currently ignored. (0x0301)
907 * ice_aq_query_pfc_mode - Query PFC mode
909 * @pfcmode_ret: Return PFC mode
912 * This will return an indication if DSCP-based PFC or VLAN-based PFC
935 * ice_aq_set_pfc_mode - Set PFC mode
937 * @pfc_mode: value of PFC mode to set
940 * This AQ call configures the PFC mdoe to DSCP-based PFC mode or VLAN
941 * -based PFC (0x0303)
963 /* FW will write the PFC mode set back into cmd->pfc_mode, but if DCB is
1051 /* CEE PFC data */
1052 dcbcfg->pfc.pfcena = cee_cfg->oper_pfc_en;
1053 dcbcfg->pfc.pfccap = ICE_MAX_TRAFFIC_CLASS;
1421 * ice_add_ieee_pfc_tlv - Prepare PFC TLV in IEEE format
1422 * @tlv: Fill PFC TLV in IEEE format
1423 * @dcbcfg: Local store which holds the PFC CFG data
1425 * Prepare IEEE 802.1Qaz PFC CFG TLV
1443 * |will-|MBC | Re- | PFC | PFC Enable |
1448 if (dcbcfg->pfc.willing)
1451 if (dcbcfg->pfc.mbc)
1454 buf[0] |= dcbcfg->pfc.pfccap & 0xF;
1455 buf[1] = dcbcfg->pfc.pfcena;
1619 * ice_add_dscp_pfc_tlv - Prepare DSCP PFC TLV
1620 * @tlv: Fill PFC TLV in IEEE format
1621 * @dcbcfg: Local store which holds the PFC CFG data
1638 buf[0] = dcbcfg->pfc.pfccap & 0xF;
1639 buf[1] = dcbcfg->pfc.pfcena;