Lines Matching defs:txq_ix
198 int txq_ix, up;
212 txq_ix = netdev_pick_tx(dev, skb, NULL);
215 return txq_ix;
219 /* Normalize any picked txq_ix to [0, num_channels),
220 * So we can return a txq_ix that matches the channel and
223 return mlx5e_txq_to_ch_ix(txq_ix, selq->num_channels) +
230 txq_ix = mlx5e_select_htb_queue(priv, skb, selq);
231 if (txq_ix > 0)
232 return txq_ix;
237 txq_ix = netdev_pick_tx(dev, skb, NULL);
244 return mlx5e_txq_to_ch_ix_htb(txq_ix, selq->num_channels);
252 txq_ix = netdev_pick_tx(dev, skb, NULL);
254 /* Normalize any picked txq_ix to [0, num_channels). Queues in range
260 txq_ix = mlx5e_txq_to_ch_ix(txq_ix, selq->num_channels);
263 return txq_ix;
267 return txq_ix + up * selq->num_channels;