Searched refs:bw_per (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_dcb.c408 u8 *prio_type, u8 *pgid, u8 *bw_per, cxgb4_getpgtccfg()
416 *prio_type = *pgid = *bw_per = *up_tc_map = 0; cxgb4_getpgtccfg()
443 *bw_per = pcmd.u.dcb.pgrate.pgrate[*pgid]; cxgb4_getpgtccfg()
452 u8 *prio_type, u8 *pgid, u8 *bw_per, cxgb4_getpgtccfg_tx()
456 return cxgb4_getpgtccfg(dev, (7 - tc), prio_type, pgid, bw_per, cxgb4_getpgtccfg_tx()
462 u8 *prio_type, u8 *pgid, u8 *bw_per, cxgb4_getpgtccfg_rx()
466 return cxgb4_getpgtccfg(dev, (7 - tc), prio_type, pgid, bw_per, cxgb4_getpgtccfg_rx()
471 u8 prio_type, u8 pgid, u8 bw_per, cxgb4_setpgtccfg_tx()
483 if (bw_per == DCB_ATTR_VALUE_UNDEFINED) cxgb4_setpgtccfg_tx()
521 pcmd.u.dcb.pgrate.pgrate[pgid] = bw_per; cxgb4_setpgtccfg_tx()
533 static void cxgb4_getpgbwgcfg(struct net_device *dev, int pgid, u8 *bw_per, cxgb4_getpgbwgcfg() argument
554 *bw_per = pcmd.u.dcb.pgrate.pgrate[pgid]; cxgb4_getpgbwgcfg()
557 static void cxgb4_getpgbwgcfg_tx(struct net_device *dev, int pgid, u8 *bw_per) cxgb4_getpgbwgcfg_tx() argument
559 return cxgb4_getpgbwgcfg(dev, pgid, bw_per, 1); cxgb4_getpgbwgcfg_tx()
562 static void cxgb4_getpgbwgcfg_rx(struct net_device *dev, int pgid, u8 *bw_per) cxgb4_getpgbwgcfg_rx() argument
564 return cxgb4_getpgbwgcfg(dev, pgid, bw_per, 0); cxgb4_getpgbwgcfg_rx()
568 u8 bw_per) cxgb4_setpgbwgcfg_tx()
585 pcmd.u.dcb.pgrate.pgrate[pgid] = bw_per; cxgb4_setpgbwgcfg_tx()
407 cxgb4_getpgtccfg(struct net_device *dev, int tc, u8 *prio_type, u8 *pgid, u8 *bw_per, u8 *up_tc_map, int local) cxgb4_getpgtccfg() argument
451 cxgb4_getpgtccfg_tx(struct net_device *dev, int tc, u8 *prio_type, u8 *pgid, u8 *bw_per, u8 *up_tc_map) cxgb4_getpgtccfg_tx() argument
461 cxgb4_getpgtccfg_rx(struct net_device *dev, int tc, u8 *prio_type, u8 *pgid, u8 *bw_per, u8 *up_tc_map) cxgb4_getpgtccfg_rx() argument
470 cxgb4_setpgtccfg_tx(struct net_device *dev, int tc, u8 prio_type, u8 pgid, u8 bw_per, u8 up_tc_map) cxgb4_setpgtccfg_tx() argument
567 cxgb4_setpgbwgcfg_tx(struct net_device *dev, int pgid, u8 bw_per) cxgb4_setpgbwgcfg_tx() argument
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_dcb.c691 u8 i, tsa, bw_per; qlcnic_dcb_fill_cee_pg_params() local
698 bw_per = QLC_DCB_GET_BWPER_PG(each->pg_bw_map[0], i); qlcnic_dcb_fill_cee_pg_params()
701 bw_per = QLC_DCB_GET_BWPER_PG(each->pg_bw_map[1], i); qlcnic_dcb_fill_cee_pg_params()
705 pg_cfg->total_bw_percent = bw_per; qlcnic_dcb_fill_cee_pg_params()
794 u8 *pgid, u8 *bw_per, u8 *up_tc_map) qlcnic_dcb_get_pg_tc_cfg_tx()
802 *prio = *pgid = *bw_per = *up_tc_map = 0; qlcnic_dcb_get_pg_tc_cfg_tx()
827 *bw_per = tc_cfg->bwg_percent; qlcnic_dcb_get_pg_tc_cfg_tx()
793 qlcnic_dcb_get_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 *prio, u8 *pgid, u8 *bw_per, u8 *up_tc_map) qlcnic_dcb_get_pg_tc_cfg_tx() argument

Completed in 113 milliseconds