mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Add iniital implementation of bandwidth control
This commit is contained in:
1 parent
a15500c493
commit
eb13d4ab04
2 files changed
+122
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#ifndef _RTL837X_BANDWIDTH_H_
|
||||
#define _RTL837X_BANDWIDTH_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
void bandwidth_setup(void) __banked;
|
||||
void bandwidth_ingress_set(uint8_t port, __xdata uint32_t bw) __banked;
|
||||
void bandwidth_ingress_disable(uint8_t port) __banked;
|
||||
void bandwidth_ingress_drop(uint8_t port) __banked;
|
||||
void bandwidth_egress_set(uint8_t port, __xdata uint32_t bw) __banked;
|
||||
void bandwidth_egress_disable(uint8_t port) __banked;
|
||||
void bandwidth_status(uint8_t port) __banked;
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user