mqprio 2252 drivers/net/ethernet/amd/xgbe/xgbe-drv.c struct tc_mqprio_qopt *mqprio = type_data; mqprio 2258 drivers/net/ethernet/amd/xgbe/xgbe-drv.c mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; mqprio 2259 drivers/net/ethernet/amd/xgbe/xgbe-drv.c tc = mqprio->num_tc; mqprio 4302 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c struct tc_mqprio_qopt *mqprio = type_data; mqprio 4307 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; mqprio 4309 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c return bnx2x_setup_tc(dev, mqprio->num_tc); mqprio 10991 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct tc_mqprio_qopt *mqprio = type_data; mqprio 10993 drivers/net/ethernet/broadcom/bnxt/bnxt.c mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; mqprio 10995 drivers/net/ethernet/broadcom/bnxt/bnxt.c return bnxt_setup_mq_tc(dev, mqprio->num_tc); mqprio 353 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct tc_mqprio_qopt *mqprio = type_data; mqprio 360 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; mqprio 361 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c num_tc = mqprio->num_tc; mqprio 1979 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct tc_mqprio_qopt *mqprio = type_data; mqprio 1986 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; mqprio 1988 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c num_tc = mqprio->num_tc; mqprio 1434 drivers/net/ethernet/freescale/enetc/enetc.c struct tc_mqprio_qopt *mqprio = type_data; mqprio 1442 drivers/net/ethernet/freescale/enetc/enetc.c mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; mqprio 1443 drivers/net/ethernet/freescale/enetc/enetc.c num_tc = mqprio->num_tc; mqprio 1433 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct tc_mqprio_qopt *mqprio = type_data; mqprio 1438 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; mqprio 1440 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c return fm10k_setup_tc(dev, mqprio->num_tc); mqprio 9635 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct tc_mqprio_qopt *mqprio) mqprio 9637 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; mqprio 9638 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c return ixgbe_setup_tc(dev, mqprio->num_tc); mqprio 144 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct tc_mqprio_qopt *mqprio = type_data; mqprio 149 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (mqprio->num_tc && mqprio->num_tc != MLX4_EN_NUM_UP_HIGH) mqprio 152 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; mqprio 154 drivers/net/ethernet/mellanox/mlx4/en_netdev.c return mlx4_en_alloc_tx_queue_per_tc(dev, mqprio->num_tc); mqprio 3461 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct tc_mqprio_qopt *mqprio) mqprio 3464 drivers/net/ethernet/mellanox/mlx5/core/en_main.c u8 tc = mqprio->num_tc; mqprio 3467 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; mqprio 589 drivers/net/ethernet/qlogic/qede/qede_main.c struct tc_mqprio_qopt *mqprio; mqprio 598 drivers/net/ethernet/qlogic/qede/qede_main.c mqprio = type_data; mqprio 600 drivers/net/ethernet/qlogic/qede/qede_main.c mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; mqprio 601 drivers/net/ethernet/qlogic/qede/qede_main.c return qede_setup_tc(dev, mqprio->num_tc); mqprio 429 drivers/net/ethernet/sfc/falcon/tx.c struct tc_mqprio_qopt *mqprio = type_data; mqprio 438 drivers/net/ethernet/sfc/falcon/tx.c num_tc = mqprio->num_tc; mqprio 443 drivers/net/ethernet/sfc/falcon/tx.c mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; mqprio 686 drivers/net/ethernet/sfc/tx.c struct tc_mqprio_qopt *mqprio = type_data; mqprio 695 drivers/net/ethernet/sfc/tx.c num_tc = mqprio->num_tc; mqprio 700 drivers/net/ethernet/sfc/tx.c mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; mqprio 2271 drivers/net/ethernet/ti/cpsw.c struct tc_mqprio_qopt_offload *mqprio = type_data; mqprio 2279 drivers/net/ethernet/ti/cpsw.c num_tc = mqprio->qopt.num_tc; mqprio 2283 drivers/net/ethernet/ti/cpsw.c if (mqprio->mode != TC_MQPRIO_MODE_DCB) mqprio 2294 drivers/net/ethernet/ti/cpsw.c tc = mqprio->qopt.prio_tc_map[i]; mqprio 2301 drivers/net/ethernet/ti/cpsw.c count = mqprio->qopt.count[i]; mqprio 2302 drivers/net/ethernet/ti/cpsw.c offset = mqprio->qopt.offset[i]; mqprio 2307 drivers/net/ethernet/ti/cpsw.c if (!mqprio->qopt.hw) { mqprio 2313 drivers/net/ethernet/ti/cpsw.c priv->mqprio_hw = mqprio->qopt.hw; mqprio 1881 drivers/net/ethernet/ti/netcp_core.c struct tc_mqprio_qopt *mqprio = type_data; mqprio 1891 drivers/net/ethernet/ti/netcp_core.c mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; mqprio 1892 drivers/net/ethernet/ti/netcp_core.c num_tc = mqprio->num_tc; mqprio 45 net/sched/sch_mqprio.c struct tc_mqprio_qopt_offload mqprio = { { 0 } }; mqprio 52 net/sched/sch_mqprio.c &mqprio); mqprio 244 net/sched/sch_mqprio.c struct tc_mqprio_qopt_offload mqprio = {.qopt = *qopt}; mqprio 252 net/sched/sch_mqprio.c mqprio.flags = priv->flags; mqprio 254 net/sched/sch_mqprio.c mqprio.mode = priv->mode; mqprio 256 net/sched/sch_mqprio.c mqprio.shaper = priv->shaper; mqprio 258 net/sched/sch_mqprio.c for (i = 0; i < mqprio.qopt.num_tc; i++) mqprio 259 net/sched/sch_mqprio.c mqprio.min_rate[i] = priv->min_rate[i]; mqprio 261 net/sched/sch_mqprio.c for (i = 0; i < mqprio.qopt.num_tc; i++) mqprio 262 net/sched/sch_mqprio.c mqprio.max_rate[i] = priv->max_rate[i]; mqprio 269 net/sched/sch_mqprio.c &mqprio); mqprio 273 net/sched/sch_mqprio.c priv->hw_offload = mqprio.qopt.hw; mqprio 1182 net/sched/sch_taprio.c const struct tc_mqprio_qopt *mqprio, mqprio 1205 net/sched/sch_taprio.c struct tc_mqprio_qopt *mqprio, mqprio 1227 net/sched/sch_taprio.c taprio_sched_to_offload(q, sched, mqprio, offload); mqprio 1360 net/sched/sch_taprio.c const struct tc_mqprio_qopt *mqprio) mqprio 1364 net/sched/sch_taprio.c if (!mqprio || mqprio->num_tc != dev->num_tc) mqprio 1367 net/sched/sch_taprio.c for (i = 0; i < mqprio->num_tc; i++) mqprio 1368 net/sched/sch_taprio.c if (dev->tc_to_txq[i].count != mqprio->count[i] || mqprio 1369 net/sched/sch_taprio.c dev->tc_to_txq[i].offset != mqprio->offset[i]) mqprio 1373 net/sched/sch_taprio.c if (dev->prio_tc_map[i] != mqprio->prio_tc_map[i]) mqprio 1413 net/sched/sch_taprio.c struct tc_mqprio_qopt *mqprio = NULL; mqprio 1424 net/sched/sch_taprio.c mqprio = nla_data(tb[TCA_TAPRIO_ATTR_PRIOMAP]); mqprio 1433 net/sched/sch_taprio.c err = taprio_parse_mqprio_opt(dev, mqprio, extack, q->flags); mqprio 1450 net/sched/sch_taprio.c if (!taprio_mqprio_cmp(dev, mqprio)) mqprio 1451 net/sched/sch_taprio.c mqprio = NULL; mqprio 1453 net/sched/sch_taprio.c if (mqprio && (oper || admin)) { mqprio 1475 net/sched/sch_taprio.c if (mqprio) { mqprio 1476 net/sched/sch_taprio.c netdev_set_num_tc(dev, mqprio->num_tc); mqprio 1477 net/sched/sch_taprio.c for (i = 0; i < mqprio->num_tc; i++) mqprio 1479 net/sched/sch_taprio.c mqprio->count[i], mqprio 1480 net/sched/sch_taprio.c mqprio->offset[i]); mqprio 1485 net/sched/sch_taprio.c mqprio->prio_tc_map[i]); mqprio 1489 net/sched/sch_taprio.c err = taprio_enable_offload(dev, mqprio, q, new_admin, extack);