Searched refs:tc_to_txq (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.15/net/sched/ |
| D | sch_mqprio.c | 433 opt.count[tc] = dev->tc_to_txq[tc].count; in mqprio_dump() 434 opt.offset[tc] = dev->tc_to_txq[tc].offset; in mqprio_dump() 519 struct netdev_tc_txq tc = dev->tc_to_txq[cl & TC_BITMASK]; in mqprio_dump_class_stats()
|
| D | sch_taprio.c | 1212 offset = dev->tc_to_txq[i].offset; in tc_map_to_queue_mask() 1213 count = dev->tc_to_txq[i].count; in tc_map_to_queue_mask() 1408 if (dev->tc_to_txq[i].count != mqprio->count[i] || in taprio_mqprio_cmp() 1409 dev->tc_to_txq[i].offset != mqprio->offset[i]) in taprio_mqprio_cmp() 1888 opt.count[i] = dev->tc_to_txq[i].count; in taprio_dump() 1889 opt.offset[i] = dev->tc_to_txq[i].offset; in taprio_dump()
|
| /Linux-v5.15/drivers/net/ethernet/sfc/ |
| D | tx.c | 630 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in efx_setup_tc() 631 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in efx_setup_tc()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_main.c | 2267 struct netdev_tc_txq *tc_to_txq) in mlx5e_netdev_set_tcs() argument 2285 count = tc_to_txq[tc].count; in mlx5e_netdev_set_tcs() 2286 offset = tc_to_txq[tc].offset; in mlx5e_netdev_set_tcs() 2315 struct netdev_tc_txq old_tc_to_txq[TC_MAX_QUEUE], *tc_to_txq; in mlx5e_update_netdev_queues() local 2325 old_tc_to_txq[i] = netdev->tc_to_txq[i]; in mlx5e_update_netdev_queues() 2330 tc_to_txq = priv->channels.params.mqprio.tc_to_txq; in mlx5e_update_netdev_queues() 2332 err = mlx5e_netdev_set_tcs(netdev, nch, ntc, tc_to_txq); in mlx5e_update_netdev_queues() 2869 static void mlx5e_mqprio_build_default_tc_to_txq(struct netdev_tc_txq *tc_to_txq, in mlx5e_mqprio_build_default_tc_to_txq() argument 2874 memset(tc_to_txq, 0, sizeof(*tc_to_txq) * TC_MAX_QUEUE); in mlx5e_mqprio_build_default_tc_to_txq() 2880 tc_to_txq[tc] = (struct netdev_tc_txq) { in mlx5e_mqprio_build_default_tc_to_txq() [all …]
|
| D | en.h | 255 struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; member
|
| /Linux-v5.15/drivers/net/ethernet/sfc/falcon/ |
| D | tx.c | 449 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in ef4_setup_tc() 450 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in ef4_setup_tc()
|
| /Linux-v5.15/net/core/ |
| D | dev.c | 2344 struct netdev_tc_txq *tc = &dev->tc_to_txq[0]; in netif_setup_tc() 2357 tc = &dev->tc_to_txq[q]; in netif_setup_tc() 2369 struct netdev_tc_txq *tc = &dev->tc_to_txq[0]; in netdev_txq_to_tc() 2800 memset(dev->tc_to_txq, 0, sizeof(dev->tc_to_txq)); in netdev_reset_tc() 2813 dev->tc_to_txq[tc].count = count; in netdev_set_tc_queue() 2814 dev->tc_to_txq[tc].offset = offset; in netdev_set_tc_queue() 2842 memset(sb_dev->tc_to_txq, 0, sizeof(sb_dev->tc_to_txq)); in netdev_unbind_sb_channel() 2865 sb_dev->tc_to_txq[tc].count = count; in netdev_bind_sb_channel_queue() 2866 sb_dev->tc_to_txq[tc].offset = offset; in netdev_bind_sb_channel_queue() 3164 qoffset = sb_dev->tc_to_txq[tc].offset; in skb_tx_hash() [all …]
|
| /Linux-v5.15/include/linux/ |
| D | netdevice.h | 2241 struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; member
|
| /Linux-v5.15/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_main.c | 8504 txq = vdev->tc_to_txq[tc].offset; in ixgbe_select_queue() 8506 vdev->tc_to_txq[tc].count); in ixgbe_select_queue()
|