Searched refs:tc_to_txq (Results 1 – 12 of 12) sorted by relevance
| /linux-6.15/net/sched/ |
| H A D | sch_mqprio_lib.c | 111 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 D | sch_taprio.c | 759 int offset = dev->tc_to_txq[tc].offset; in taprio_next_tc_txq() 760 int count = dev->tc_to_txq[tc].count; in taprio_next_tc_txq() 1431 offset = dev->tc_to_txq[i].offset; in tc_map_to_queue_mask() 1432 count = dev->tc_to_txq[i].count; in tc_map_to_queue_mask() 1792 if (dev->tc_to_txq[i].count != mqprio->count[i] || in taprio_mqprio_cmp() 1793 dev->tc_to_txq[i].offset != mqprio->offset[i]) in taprio_mqprio_cmp()
|
| H A D | sch_mqprio.c | 672 struct netdev_tc_txq tc = dev->tc_to_txq[cl & TC_BITMASK]; in mqprio_dump_class_stats()
|
| /linux-6.15/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | stmmac_fpe.c | 319 count = ndev->tc_to_txq[tc].count; in dwmac5_fpe_map_preemption_class() 320 offset = ndev->tc_to_txq[tc].offset; in dwmac5_fpe_map_preemption_class() 377 count = ndev->tc_to_txq[tc].count; in dwxgmac3_fpe_map_preemption_class() 378 offset = ndev->tc_to_txq[tc].offset; in dwxgmac3_fpe_map_preemption_class()
|
| /linux-6.15/drivers/net/ethernet/sfc/siena/ |
| H A D | tx.c | 383 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-6.15/drivers/net/ethernet/sfc/falcon/ |
| H A D | tx.c | 442 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-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_main.c | 2312 if (txq - tc_to_txq[tc].offset < tc_to_txq[tc].count) in mlx5e_mqprio_txq_to_tc() 2984 struct netdev_tc_txq *tc_to_txq) in mlx5e_netdev_set_tcs() argument 3002 count = tc_to_txq[tc].count; in mlx5e_netdev_set_tcs() 3003 offset = tc_to_txq[tc].offset; in mlx5e_netdev_set_tcs() 3058 struct netdev_tc_txq old_tc_to_txq[TC_MAX_QUEUE], *tc_to_txq; in mlx5e_update_tc_and_tx_queues() local 3068 old_tc_to_txq[i] = netdev->tc_to_txq[i]; in mlx5e_update_tc_and_tx_queues() 3072 tc_to_txq = priv->channels.params.mqprio.tc_to_txq; in mlx5e_update_tc_and_tx_queues() 3074 err = mlx5e_netdev_set_tcs(netdev, nch, ntc, tc_to_txq); in mlx5e_update_tc_and_tx_queues() 3566 memset(tc_to_txq, 0, sizeof(*tc_to_txq) * TC_MAX_QUEUE); in mlx5e_mqprio_build_default_tc_to_txq() 3572 tc_to_txq[tc] = (struct netdev_tc_txq) { in mlx5e_mqprio_build_default_tc_to_txq() [all …]
|
| H A D | en.h | 295 struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; member
|
| /linux-6.15/Documentation/networking/net_cachelines/ |
| H A D | net_device.rst | 158 struct netdev_tc_txq tc_to_txq[16] read_mostly …
|
| /linux-6.15/net/core/ |
| H A D | dev.c | 2557 struct netdev_tc_txq *tc = &dev->tc_to_txq[0]; in netif_setup_tc() 2570 tc = &dev->tc_to_txq[q]; in netif_setup_tc() 2582 struct netdev_tc_txq *tc = &dev->tc_to_txq[0]; in netdev_txq_to_tc() 3014 memset(dev->tc_to_txq, 0, sizeof(dev->tc_to_txq)); in netdev_reset_tc() 3027 dev->tc_to_txq[tc].count = count; in netdev_set_tc_queue() 3028 dev->tc_to_txq[tc].offset = offset; in netdev_set_tc_queue() 3056 memset(sb_dev->tc_to_txq, 0, sizeof(sb_dev->tc_to_txq)); in netdev_unbind_sb_channel() 3079 sb_dev->tc_to_txq[tc].count = count; in netdev_bind_sb_channel_queue() 3080 sb_dev->tc_to_txq[tc].offset = offset; in netdev_bind_sb_channel_queue() 3442 qoffset = sb_dev->tc_to_txq[tc].offset; in skb_tx_hash() [all …]
|
| /linux-6.15/include/linux/ |
| H A D | netdevice.h | 2108 struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; member
|
| /linux-6.15/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_main.c | 8990 txq = vdev->tc_to_txq[tc].offset; in ixgbe_select_queue() 8992 vdev->tc_to_txq[tc].count); in ixgbe_select_queue()
|