Lines Matching refs:direction
97 u32 max_frame_size, u8 direction) in ixgbe_dcb_calculate_tc_credits_cee() argument
121 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits_cee()
122 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits_cee()
143 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits_cee()
144 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits_cee()
176 if (direction == IXGBE_DCB_TX_CONFIG) { in ixgbe_dcb_calculate_tc_credits_cee()
225 void ixgbe_dcb_unpack_refill_cee(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_refill_cee() argument
232 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in ixgbe_dcb_unpack_refill_cee()
244 void ixgbe_dcb_unpack_bwgid_cee(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_bwgid_cee() argument
251 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in ixgbe_dcb_unpack_bwgid_cee()
254 void ixgbe_dcb_unpack_tsa_cee(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_tsa_cee() argument
261 tsa[tc] = tc_config[tc].path[direction].tsa; in ixgbe_dcb_unpack_tsa_cee()
264 u8 ixgbe_dcb_get_tc_from_up(struct ixgbe_dcb_config *cfg, int direction, u8 up) in ixgbe_dcb_get_tc_from_up() argument
280 if (prio_mask & tc_config[tc].path[direction].up_to_tc_bitmap) in ixgbe_dcb_get_tc_from_up()
287 void ixgbe_dcb_unpack_map_cee(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_map_cee() argument
293 map[up] = ixgbe_dcb_get_tc_from_up(cfg, direction, up); in ixgbe_dcb_unpack_map_cee()