Lines Matching full:direction

88  * @direction: Configuring either Tx or Rx
96 u32 max_frame_size, u8 direction) in ixgbe_dcb_calculate_tc_credits_cee() argument
120 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits_cee()
121 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits_cee()
142 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits_cee()
143 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits_cee()
175 if (direction == IXGBE_DCB_TX_CONFIG) { in ixgbe_dcb_calculate_tc_credits_cee()
224 void ixgbe_dcb_unpack_refill_cee(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_refill_cee() argument
231 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in ixgbe_dcb_unpack_refill_cee()
243 void ixgbe_dcb_unpack_bwgid_cee(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_bwgid_cee() argument
250 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in ixgbe_dcb_unpack_bwgid_cee()
253 void ixgbe_dcb_unpack_tsa_cee(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_tsa_cee() argument
260 tsa[tc] = tc_config[tc].path[direction].tsa; in ixgbe_dcb_unpack_tsa_cee()
263 u8 ixgbe_dcb_get_tc_from_up(struct ixgbe_dcb_config *cfg, int direction, u8 up) in ixgbe_dcb_get_tc_from_up() argument
279 if (prio_mask & tc_config[tc].path[direction].up_to_tc_bitmap) in ixgbe_dcb_get_tc_from_up()
286 void ixgbe_dcb_unpack_map_cee(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_map_cee() argument
292 map[up] = ixgbe_dcb_get_tc_from_up(cfg, direction, up); in ixgbe_dcb_unpack_map_cee()