Lines Matching refs:direction

84 				   int max_frame, u8 direction)  in ixgbe_dcb_calculate_tc_credits()  argument
105 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits()
106 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits()
127 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits()
128 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits()
155 if (direction == DCB_TX_CONFIG) { in ixgbe_dcb_calculate_tc_credits()
188 void ixgbe_dcb_unpack_refill(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_refill() argument
195 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in ixgbe_dcb_unpack_refill()
207 void ixgbe_dcb_unpack_bwgid(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_bwgid() argument
214 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in ixgbe_dcb_unpack_bwgid()
217 void ixgbe_dcb_unpack_prio(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_prio() argument
224 ptype[tc] = tc_config[tc].path[direction].prio_type; 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
243 if (prio_mask & tc_config[tc].path[direction].up_to_tc_bitmap) 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()