Searched refs:bw_per (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_dcb.c | 439 u8 *prio_type, u8 *pgid, u8 *bw_per, in cxgb4_getpgtccfg() argument 447 *prio_type = *pgid = *bw_per = *up_tc_map = 0; in cxgb4_getpgtccfg() 474 *bw_per = pcmd.u.dcb.pgrate.pgrate[*pgid]; in cxgb4_getpgtccfg() 483 u8 *prio_type, u8 *pgid, u8 *bw_per, in cxgb4_getpgtccfg_tx() argument 487 return cxgb4_getpgtccfg(dev, (7 - tc), prio_type, pgid, bw_per, in cxgb4_getpgtccfg_tx() 493 u8 *prio_type, u8 *pgid, u8 *bw_per, in cxgb4_getpgtccfg_rx() argument 497 return cxgb4_getpgtccfg(dev, (7 - tc), prio_type, pgid, bw_per, in cxgb4_getpgtccfg_rx() 502 u8 prio_type, u8 pgid, u8 bw_per, in cxgb4_setpgtccfg_tx() argument 514 if (bw_per == DCB_ATTR_VALUE_UNDEFINED) in cxgb4_setpgtccfg_tx() 552 pcmd.u.dcb.pgrate.pgrate[pgid] = bw_per; in cxgb4_setpgtccfg_tx() [all …]
|
/Linux-v6.6/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_dcb.c | 690 u8 i, tsa, bw_per; in qlcnic_dcb_fill_cee_pg_params() local 697 bw_per = QLC_DCB_GET_BWPER_PG(each->pg_bw_map[0], i); in qlcnic_dcb_fill_cee_pg_params() 700 bw_per = QLC_DCB_GET_BWPER_PG(each->pg_bw_map[1], i); in qlcnic_dcb_fill_cee_pg_params() 704 pg_cfg->total_bw_percent = bw_per; in qlcnic_dcb_fill_cee_pg_params() 793 u8 *pgid, u8 *bw_per, u8 *up_tc_map) in qlcnic_dcb_get_pg_tc_cfg_tx() argument 801 *prio = *pgid = *bw_per = *up_tc_map = 0; in qlcnic_dcb_get_pg_tc_cfg_tx() 826 *bw_per = tc_cfg->bwg_percent; in qlcnic_dcb_get_pg_tc_cfg_tx()
|