Lines Matching refs:bw_per
408 u8 *prio_type, u8 *pgid, u8 *bw_per, in cxgb4_getpgtccfg() argument
416 *prio_type = *pgid = *bw_per = *up_tc_map = 0; in cxgb4_getpgtccfg()
443 *bw_per = pcmd.u.dcb.pgrate.pgrate[*pgid]; in cxgb4_getpgtccfg()
452 u8 *prio_type, u8 *pgid, u8 *bw_per, in cxgb4_getpgtccfg_tx() argument
456 return cxgb4_getpgtccfg(dev, (7 - tc), prio_type, pgid, bw_per, in cxgb4_getpgtccfg_tx()
462 u8 *prio_type, u8 *pgid, u8 *bw_per, in cxgb4_getpgtccfg_rx() argument
466 return cxgb4_getpgtccfg(dev, (7 - tc), prio_type, pgid, bw_per, in cxgb4_getpgtccfg_rx()
471 u8 prio_type, u8 pgid, u8 bw_per, in cxgb4_setpgtccfg_tx() argument
483 if (bw_per == DCB_ATTR_VALUE_UNDEFINED) in cxgb4_setpgtccfg_tx()
521 pcmd.u.dcb.pgrate.pgrate[pgid] = bw_per; in cxgb4_setpgtccfg_tx()
533 static void cxgb4_getpgbwgcfg(struct net_device *dev, int pgid, u8 *bw_per, in cxgb4_getpgbwgcfg() argument
554 *bw_per = pcmd.u.dcb.pgrate.pgrate[pgid]; in cxgb4_getpgbwgcfg()
557 static void cxgb4_getpgbwgcfg_tx(struct net_device *dev, int pgid, u8 *bw_per) in cxgb4_getpgbwgcfg_tx() argument
559 return cxgb4_getpgbwgcfg(dev, pgid, bw_per, 1); in cxgb4_getpgbwgcfg_tx()
562 static void cxgb4_getpgbwgcfg_rx(struct net_device *dev, int pgid, u8 *bw_per) in cxgb4_getpgbwgcfg_rx() argument
564 return cxgb4_getpgbwgcfg(dev, pgid, bw_per, 0); in cxgb4_getpgbwgcfg_rx()
568 u8 bw_per) in cxgb4_setpgbwgcfg_tx() argument
585 pcmd.u.dcb.pgrate.pgrate[pgid] = bw_per; in cxgb4_setpgbwgcfg_tx()