Home
last modified time | relevance | path

Searched refs:tc_to_txq (Results 1 – 12 of 12) sorted by relevance

/linux/net/sched/
H A Dsch_mqprio_lib.c111 qopt->count[tc] = dev->tc_to_txq[tc].count; in mqprio_qopt_reconstruct()
112 qopt->offset[tc] = dev->tc_to_txq[tc].offset; in mqprio_qopt_reconstruct()
H A Dsch_taprio.c765 int offset = dev->tc_to_txq[tc].offset; in taprio_next_tc_txq()
766 int count = dev->tc_to_txq[tc].count; in taprio_next_tc_txq()
1448 offset = dev->tc_to_txq[i].offset; in tc_map_to_queue_mask()
1449 count = dev->tc_to_txq[i].count; in tc_map_to_queue_mask()
1805 if (dev->tc_to_txq[i].count != mqprio->count[i] || in taprio_mqprio_cmp()
1806 dev->tc_to_txq[i].offset != mqprio->offset[i]) in taprio_mqprio_cmp()
H A Dsch_mqprio.c671 struct netdev_tc_txq tc = dev->tc_to_txq[cl & TC_BITMASK]; in mqprio_dump_class_stats()
/linux/drivers/net/ethernet/sfc/siena/
H A Dtx.c383 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in efx_siena_setup_tc()
384 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in efx_siena_setup_tc()
/linux/drivers/net/ethernet/sfc/falcon/
H A Dtx.c442 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in ef4_setup_tc()
443 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in ef4_setup_tc()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c2350 static int mlx5e_mqprio_txq_to_tc(struct netdev_tc_txq *tc_to_txq, unsigned int txq) in mlx5e_mqprio_txq_to_tc() argument
2355 if (txq - tc_to_txq[tc].offset < tc_to_txq[tc].count) in mlx5e_mqprio_txq_to_tc()
2372 tc = mlx5e_mqprio_txq_to_tc(params->mqprio.tc_to_txq, txq_ix); in mlx5e_txq_get_qos_node_hw_id()
3100 struct netdev_tc_txq *tc_to_txq) in mlx5e_netdev_set_tcs() argument
3118 count = tc_to_txq[tc].count; in mlx5e_netdev_set_tcs()
3119 offset = tc_to_txq[tc].offset; in mlx5e_netdev_set_tcs()
3174 struct netdev_tc_txq old_tc_to_txq[TC_MAX_QUEUE], *tc_to_txq; in mlx5e_update_tc_and_tx_queues() local
3184 old_tc_to_txq[i] = netdev->tc_to_txq[i]; in mlx5e_update_tc_and_tx_queues()
3188 tc_to_txq = priv->channels.params.mqprio.tc_to_txq; in mlx5e_update_tc_and_tx_queues()
3190 err = mlx5e_netdev_set_tcs(netdev, nch, ntc, tc_to_txq); in mlx5e_update_tc_and_tx_queues()
[all …]
H A Den.h295 struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; member
/linux/drivers/net/ethernet/intel/igc/
H A Digc_tsn.c184 offset = dev->tc_to_txq[i].offset; in igc_fpe_map_preempt_tc_to_queue()
185 count = dev->tc_to_txq[i].count; in igc_fpe_map_preempt_tc_to_queue()
/linux/Documentation/networking/net_cachelines/
H A Dnet_device.rst160 struct netdev_tc_txq tc_to_txq[16] read_mostly …
/linux/net/core/
H A Ddev.c2630 struct netdev_tc_txq *tc = &dev->tc_to_txq[0]; in netif_setup_tc()
2643 tc = &dev->tc_to_txq[q]; in netif_setup_tc()
2655 struct netdev_tc_txq *tc = &dev->tc_to_txq[0]; in netdev_txq_to_tc()
3087 memset(dev->tc_to_txq, 0, sizeof(dev->tc_to_txq)); in netdev_reset_tc()
3100 dev->tc_to_txq[tc].count = count; in netdev_set_tc_queue()
3101 dev->tc_to_txq[tc].offset = offset; in netdev_set_tc_queue()
3129 memset(sb_dev->tc_to_txq, 0, sizeof(sb_dev->tc_to_txq)); in netdev_unbind_sb_channel()
3152 sb_dev->tc_to_txq[tc].count = count; in netdev_bind_sb_channel_queue()
3153 sb_dev->tc_to_txq[tc].offset = offset; in netdev_bind_sb_channel_queue()
3520 qoffset = sb_dev->tc_to_txq[tc].offset; in skb_tx_hash()
[all …]
/linux/include/linux/
H A Dnetdevice.h2138 struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; member
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c9257 txq = vdev->tc_to_txq[tc].offset; in ixgbe_select_queue()
9259 vdev->tc_to_txq[tc].count); in ixgbe_select_queue()