Lines Matching refs:bw_per
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()
564 static void cxgb4_getpgbwgcfg(struct net_device *dev, int pgid, u8 *bw_per, in cxgb4_getpgbwgcfg() argument
585 *bw_per = pcmd.u.dcb.pgrate.pgrate[pgid]; in cxgb4_getpgbwgcfg()
588 static void cxgb4_getpgbwgcfg_tx(struct net_device *dev, int pgid, u8 *bw_per) in cxgb4_getpgbwgcfg_tx() argument
590 return cxgb4_getpgbwgcfg(dev, pgid, bw_per, 1); in cxgb4_getpgbwgcfg_tx()
593 static void cxgb4_getpgbwgcfg_rx(struct net_device *dev, int pgid, u8 *bw_per) in cxgb4_getpgbwgcfg_rx() argument
595 return cxgb4_getpgbwgcfg(dev, pgid, bw_per, 0); in cxgb4_getpgbwgcfg_rx()
599 u8 bw_per) in cxgb4_setpgbwgcfg_tx() argument
616 pcmd.u.dcb.pgrate.pgrate[pgid] = bw_per; in cxgb4_setpgbwgcfg_tx()