Home
last modified time | relevance | path

Searched refs:txq_ix (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dselq.c198 int txq_ix, up; in mlx5e_select_queue() local
212 txq_ix = netdev_pick_tx(dev, skb, NULL); in mlx5e_select_queue()
215 return txq_ix; in mlx5e_select_queue()
223 return mlx5e_txq_to_ch_ix(txq_ix, selq->num_channels) + in mlx5e_select_queue()
230 txq_ix = mlx5e_select_htb_queue(priv, skb, selq); in mlx5e_select_queue()
231 if (txq_ix > 0) in mlx5e_select_queue()
232 return txq_ix; in mlx5e_select_queue()
237 txq_ix = netdev_pick_tx(dev, skb, NULL); in mlx5e_select_queue()
244 return mlx5e_txq_to_ch_ix_htb(txq_ix, selq->num_channels); in mlx5e_select_queue()
252 txq_ix = netdev_pick_tx(dev, skb, NULL); in mlx5e_select_queue()
[all …]
H A Dqos.c76 int txq_ix, ix, qid, err = 0; in mlx5e_open_qos_sq() local
84 txq_ix = mlx5e_qid_from_qos(chs, node_qid); in mlx5e_open_qos_sq()
134 err = mlx5e_open_txqsq(c, tisn, txq_ix, params, &param_sq, sq, 0, hw_id, in mlx5e_open_qos_sq()
190 u16 txq_ix; in mlx5e_deactivate_qos_sq() local
199 txq_ix = mlx5e_qid_from_qos(&priv->channels, qid); in mlx5e_deactivate_qos_sq()
201 priv->txq2sq[txq_ix] = NULL; in mlx5e_deactivate_qos_sq()
202 priv->txq2sq_stats[txq_ix] = NULL; in mlx5e_deactivate_qos_sq()
333 u16 txq_ix; in mlx5e_qos_deactivate_queues() local
351 txq_ix = mlx5e_qid_from_qos(&c->priv->channels, qid); in mlx5e_qos_deactivate_queues()
354 c->priv->txq2sq[txq_ix] = NULL; in mlx5e_qos_deactivate_queues()
[all …]
H A Dptp.c316 static int mlx5e_ptp_alloc_txqsq(struct mlx5e_ptp *c, int txq_ix, in mlx5e_ptp_alloc_txqsq() argument
335 sq->txq_ix = txq_ix; in mlx5e_ptp_alloc_txqsq()
457 int txq_ix, struct mlx5e_ptp_params *cparams, in mlx5e_ptp_open_txqsq() argument
465 err = mlx5e_ptp_alloc_txqsq(c, txq_ix, &cparams->params, sqp, in mlx5e_ptp_open_txqsq()
521 int txq_ix = ix_base + tc; in mlx5e_ptp_open_txqsqs() local
526 err = mlx5e_ptp_open_txqsq(c, tisn, txq_ix, cparams, tc, &c->ptpsq[tc]); in mlx5e_ptp_open_txqsqs()
H A Dreporter_tx.c235 devlink_fmsg_u32_pair_put(fmsg, "txq ix", sq->txq_ix); in mlx5e_tx_reporter_build_diagnose_output_sq_common()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c1605 int txq_ix, in mlx5e_alloc_txqsq() argument
1624 sq->txq_ix = txq_ix; in mlx5e_alloc_txqsq()
1787 int mlx5e_open_txqsq(struct mlx5e_channel *c, u32 tisn, int txq_ix, in mlx5e_open_txqsq() argument
1796 err = mlx5e_alloc_txqsq(c, txq_ix, params, param, sq, tc); in mlx5e_open_txqsq()
1811 tx_rate = c->priv->tx_rates[sq->txq_ix]; in mlx5e_open_txqsq()
1844 sq->txq = netdev_get_tx_queue(sq->netdev, sq->txq_ix); in mlx5e_activate_txqsq()
1848 netif_queue_set_napi(sq->netdev, sq->txq_ix, NETDEV_QUEUE_TYPE_TX, sq->cq.napi); in mlx5e_activate_txqsq()
1862 netif_queue_set_napi(sq->netdev, sq->txq_ix, NETDEV_QUEUE_TYPE_TX, NULL); in mlx5e_deactivate_txqsq()
2346 static int mlx5e_txq_get_qos_node_hw_id(struct mlx5e_params *params, int txq_ix, in mlx5e_txq_get_qos_node_hw_id() argument
2356 tc = mlx5e_mqprio_txq_to_tc(params->mqprio.tc_to_txq, txq_ix); in mlx5e_txq_get_qos_node_hw_id()
[all …]
H A Den.h456 int txq_ix; member
1102 int mlx5e_open_txqsq(struct mlx5e_channel *c, u32 tisn, int txq_ix,