Lines Matching refs:pf
17 void ice_dcb_rebuild(struct ice_pf *pf);
18 int ice_dcb_sw_dflt_cfg(struct ice_pf *pf, bool ets_willing, bool locked);
21 bool ice_is_pfc_causing_hung_q(struct ice_pf *pf, unsigned int txqueue);
24 ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked);
25 int ice_dcb_bwchk(struct ice_pf *pf, struct ice_dcbx_cfg *dcbcfg);
26 void ice_pf_dcb_recfg(struct ice_pf *pf, bool locked);
28 int ice_init_pf_dcb(struct ice_pf *pf, bool locked);
29 void ice_update_dcb_stats(struct ice_pf *pf);
34 ice_dcb_process_lldp_set_mib_change(struct ice_pf *pf,
55 static inline bool ice_is_dcb_active(struct ice_pf *pf)
57 return (test_bit(ICE_FLAG_FW_LLDP_AGENT, pf->flags) ||
58 test_bit(ICE_FLAG_DCB_ENA, pf->flags));
61 static inline u8 ice_get_pfc_mode(struct ice_pf *pf)
63 return pf->hw.port_info->qos_cfg.local_dcbx_cfg.pfc_mode;
67 static inline void ice_dcb_rebuild(struct ice_pf *pf) { }
93 ice_init_pf_dcb(struct ice_pf *pf, bool __always_unused locked)
95 dev_dbg(ice_pf_to_dev(pf), "DCB not supported\n");
100 ice_pf_dcb_cfg(struct ice_pf __always_unused *pf,
114 static inline bool ice_is_dcb_active(struct ice_pf __always_unused *pf)
120 ice_is_pfc_causing_hung_q(struct ice_pf __always_unused *pf,
126 static inline u8 ice_get_pfc_mode(struct ice_pf *pf)
131 static inline void ice_pf_dcb_recfg(struct ice_pf *pf, bool locked) { }
133 static inline void ice_update_dcb_stats(struct ice_pf *pf) { }
135 ice_dcb_process_lldp_set_mib_change(struct ice_pf *pf, struct ice_rq_event_info *event) { }