H A D | cxgb4_dcb.c | 408 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
|