Home
last modified time | relevance | path

Searched refs:prio_tc_map (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/net/sched/
Dsch_mqprio_lib.c84 if (qopt->prio_tc_map[i] >= qopt->num_tc) { in mqprio_validate_qopt()
108 memcpy(qopt->prio_tc_map, dev->prio_tc_map, sizeof(qopt->prio_tc_map)); in mqprio_qopt_reconstruct()
Dsch_taprio.c1812 if (dev->prio_tc_map[i] != mqprio->prio_tc_map[i]) in taprio_mqprio_cmp()
1915 mqprio->prio_tc_map[i]); in taprio_change()
Dsch_mqprio.c428 netdev_set_prio_tc_map(dev, i, qopt->prio_tc_map[i]); in mqprio_init()
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/
Daq_nic.h74 u8 prio_tc_map[8]; member
216 int aq_nic_setup_tc_mqprio(struct aq_nic_s *self, u32 tcs, u8 *prio_tc_map);
Daq_nic.c152 for (i = 0; i < sizeof(cfg->prio_tc_map); i++) in aq_nic_cfg_start()
153 cfg->prio_tc_map[i] = cfg->tcs * i / 8; in aq_nic_cfg_start()
1598 int aq_nic_setup_tc_mqprio(struct aq_nic_s *self, u32 tcs, u8 *prio_tc_map) in aq_nic_setup_tc_mqprio() argument
1619 if (prio_tc_map) in aq_nic_setup_tc_mqprio()
1620 memcpy(cfg->prio_tc_map, prio_tc_map, sizeof(cfg->prio_tc_map)); in aq_nic_setup_tc_mqprio()
1622 for (i = 0; i < sizeof(cfg->prio_tc_map); i++) in aq_nic_setup_tc_mqprio()
1623 cfg->prio_tc_map[i] = cfg->tcs * i / 8; in aq_nic_setup_tc_mqprio()
Daq_main.c442 mqprio->qopt.prio_tc_map); in aq_ndo_setup_tc()
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c206 cfg->prio_tc_map[prio]); in hw_atl2_hw_qos_set()
381 u8 *prio_tc_map = self->aq_nic_cfg->prio_tc_map; in hw_atl2_hw_init_new_rx_filters() local
421 action = HW_ATL2_ACTION_ASSIGN_TC(prio_tc_map[i]); in hw_atl2_hw_init_new_rx_filters()
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_dcb.c94 u32 prio_tc_map; member
516 mbx->prio_tc_map = QLC_82XX_DCB_PRIO_TC_MAP; in qlcnic_82xx_dcb_get_cee_cfg()
591 mbx_out.prio_tc_map = cmd.rsp.arg[1]; in qlcnic_83xx_dcb_query_cee_param()
663 tc = QLC_DCB_GET_TC_PRIO(mbx->prio_tc_map, i); in qlcnic_dcb_fill_cee_tc_params()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_dcb.c525 mqprio_qopt->qopt.prio_tc_map); in hclge_mqprio_qopt_check()
573 memcpy(tc_info->prio_tc, mqprio_qopt->qopt.prio_tc_map, in hclge_sync_mqprio_qopt()
/linux-6.6.21/tools/include/uapi/linux/
Dpkt_sched.h704 __u8 prio_tc_map[TC_QOPT_BITMASK + 1]; member
/linux-6.6.21/include/uapi/linux/
Dpkt_sched.h730 __u8 prio_tc_map[TC_QOPT_BITMASK + 1]; member
/linux-6.6.21/drivers/infiniband/core/
Dcma.c3225 struct iboe_prio_tc_map prio_tc_map = {}; in iboe_tos_to_sl() local
3233 prio_tc_map.input_prio = prio; in iboe_tos_to_sl()
3234 priv.data = (void *)&prio_tc_map; in iboe_tos_to_sl()
3243 if (prio_tc_map.found) in iboe_tos_to_sl()
3244 return prio_tc_map.output_tc; in iboe_tos_to_sl()
/linux-6.6.21/include/linux/
Dnetdevice.h2386 u8 prio_tc_map[TC_BITMASK + 1]; member
2446 return dev->prio_tc_map[prio & TC_BITMASK]; in netdev_get_prio_tc_map()
2455 dev->prio_tc_map[prio & TC_BITMASK] = tc & TC_BITMASK; in netdev_set_prio_tc_map()
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_b0.c204 cfg->prio_tc_map[prio]); in hw_atl_b0_hw_qos_set()
/linux-6.6.21/drivers/net/ethernet/ti/
Dcpsw_priv.c1015 tc = mqprio->qopt.prio_tc_map[i]; in cpsw_set_mqprio()
/linux-6.6.21/net/core/
Ddev.c2823 memset(dev->prio_tc_map, 0, sizeof(dev->prio_tc_map)); in netdev_reset_tc()
2865 memset(sb_dev->prio_tc_map, 0, sizeof(sb_dev->prio_tc_map)); in netdev_unbind_sb_channel()