Searched refs:prio_tc_map (Results 1 – 16 of 16) sorted by relevance
/linux-6.6.21/net/sched/ |
D | sch_mqprio_lib.c | 84 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()
|
D | sch_taprio.c | 1812 if (dev->prio_tc_map[i] != mqprio->prio_tc_map[i]) in taprio_mqprio_cmp() 1915 mqprio->prio_tc_map[i]); in taprio_change()
|
D | sch_mqprio.c | 428 netdev_set_prio_tc_map(dev, i, qopt->prio_tc_map[i]); in mqprio_init()
|
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_nic.h | 74 u8 prio_tc_map[8]; member 216 int aq_nic_setup_tc_mqprio(struct aq_nic_s *self, u32 tcs, u8 *prio_tc_map);
|
D | aq_nic.c | 152 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()
|
D | aq_main.c | 442 mqprio->qopt.prio_tc_map); in aq_ndo_setup_tc()
|
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
D | hw_atl2.c | 206 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/ |
D | qlcnic_dcb.c | 94 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/ |
D | hclge_dcb.c | 525 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/ |
D | pkt_sched.h | 704 __u8 prio_tc_map[TC_QOPT_BITMASK + 1]; member
|
/linux-6.6.21/include/uapi/linux/ |
D | pkt_sched.h | 730 __u8 prio_tc_map[TC_QOPT_BITMASK + 1]; member
|
/linux-6.6.21/drivers/infiniband/core/ |
D | cma.c | 3225 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/ |
D | netdevice.h | 2386 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/ |
D | hw_atl_b0.c | 204 cfg->prio_tc_map[prio]); in hw_atl_b0_hw_qos_set()
|
/linux-6.6.21/drivers/net/ethernet/ti/ |
D | cpsw_priv.c | 1015 tc = mqprio->qopt.prio_tc_map[i]; in cpsw_set_mqprio()
|
/linux-6.6.21/net/core/ |
D | dev.c | 2823 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()
|