Lines Matching refs:cfg
177 void ixgbe_dcb_unpack_pfc(struct ixgbe_dcb_config *cfg, u8 *pfc_en) in ixgbe_dcb_unpack_pfc() argument
179 struct tc_configuration *tc_config = &cfg->tc_config[0]; in ixgbe_dcb_unpack_pfc()
188 void ixgbe_dcb_unpack_refill(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_refill() argument
191 struct tc_configuration *tc_config = &cfg->tc_config[0]; in ixgbe_dcb_unpack_refill()
198 void ixgbe_dcb_unpack_max(struct ixgbe_dcb_config *cfg, u16 *max) in ixgbe_dcb_unpack_max() argument
200 struct tc_configuration *tc_config = &cfg->tc_config[0]; in ixgbe_dcb_unpack_max()
207 void ixgbe_dcb_unpack_bwgid(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_bwgid() argument
210 struct tc_configuration *tc_config = &cfg->tc_config[0]; in ixgbe_dcb_unpack_bwgid()
217 void ixgbe_dcb_unpack_prio(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_prio() argument
220 struct tc_configuration *tc_config = &cfg->tc_config[0]; in ixgbe_dcb_unpack_prio()
227 u8 ixgbe_dcb_get_tc_from_up(struct ixgbe_dcb_config *cfg, int direction, u8 up) in ixgbe_dcb_get_tc_from_up() argument
229 struct tc_configuration *tc_config = &cfg->tc_config[0]; in ixgbe_dcb_get_tc_from_up()
231 u8 tc = cfg->num_tcs.pg_tcs; in ixgbe_dcb_get_tc_from_up()
250 void ixgbe_dcb_unpack_map(struct ixgbe_dcb_config *cfg, int direction, u8 *map) in ixgbe_dcb_unpack_map() argument
255 map[up] = ixgbe_dcb_get_tc_from_up(cfg, direction, up); in ixgbe_dcb_unpack_map()