Searched refs:tc_to_txq (Results 1 - 10 of 10) sorted by relevance

/linux-master/net/sched/
H A Dsch_mqprio_lib.c111 qopt->count[tc] = dev->tc_to_txq[tc].count;
112 qopt->offset[tc] = dev->tc_to_txq[tc].offset;
H A Dsch_taprio.c759 int offset = dev->tc_to_txq[tc].offset;
760 int count = dev->tc_to_txq[tc].count;
1434 offset = dev->tc_to_txq[i].offset;
1435 count = dev->tc_to_txq[i].count;
1798 if (dev->tc_to_txq[i].count != mqprio->count[i] ||
1799 dev->tc_to_txq[i].offset != mqprio->offset[i])
H A Dsch_mqprio.c674 struct netdev_tc_txq tc = dev->tc_to_txq[cl & TC_BITMASK];
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dtx.c383 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels;
384 net_dev->tc_to_txq[tc].count = efx->n_tx_channels;
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dtx.c450 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels;
451 net_dev->tc_to_txq[tc].count = efx->n_tx_channels;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c2178 static int mlx5e_mqprio_txq_to_tc(struct netdev_tc_txq *tc_to_txq, unsigned int txq) argument
2183 if (txq - tc_to_txq[tc].offset < tc_to_txq[tc].count)
2200 tc = mlx5e_mqprio_txq_to_tc(params->mqprio.tc_to_txq, txq_ix);
2856 struct netdev_tc_txq *tc_to_txq)
2874 count = tc_to_txq[tc].count;
2875 offset = tc_to_txq[tc].offset;
2906 struct netdev_tc_txq old_tc_to_txq[TC_MAX_QUEUE], *tc_to_txq; local
2916 old_tc_to_txq[i] = netdev->tc_to_txq[i];
2920 tc_to_txq
2855 mlx5e_netdev_set_tcs(struct net_device *netdev, u16 nch, u8 ntc, struct netdev_tc_txq *tc_to_txq) argument
3429 mlx5e_mqprio_build_default_tc_to_txq(struct netdev_tc_txq *tc_to_txq, int ntc, int nch) argument
3447 mlx5e_mqprio_build_tc_to_txq(struct netdev_tc_txq *tc_to_txq, struct tc_mqprio_qopt *qopt) argument
[all...]
H A Den.h308 struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; member in struct:mlx5e_params::__anon678
/linux-master/net/core/
H A Ddev.c2320 struct netdev_tc_txq *tc = &dev->tc_to_txq[0];
2333 tc = &dev->tc_to_txq[q];
2345 struct netdev_tc_txq *tc = &dev->tc_to_txq[0];
2777 memset(dev->tc_to_txq, 0, sizeof(dev->tc_to_txq));
2790 dev->tc_to_txq[tc].count = count;
2791 dev->tc_to_txq[tc].offset = offset;
2819 memset(sb_dev->tc_to_txq, 0, sizeof(sb_dev->tc_to_txq));
2842 sb_dev->tc_to_txq[t
[all...]
/linux-master/include/linux/
H A Dnetdevice.h1970 * @tc_to_txq: XXX: need comments on this one
2056 struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; member in struct:net_device
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c8624 txq = vdev->tc_to_txq[tc].offset;
8626 vdev->tc_to_txq[tc].count);
10116 * we can reuse the tc_to_txq field in the macvlan netdev to represent

Completed in 242 milliseconds