Merge branch 'greg-throttling'
Add a tool to control Rx bandwidth throttling of the traffic that goes
from WR ports to Linux. It configures the FPGA module with a maximum allowed
bandwidth in KB/s. Throttling can be enabled to prevent Linux using 100% of
the processing power to receive Ethernet frames coming from WR ports to the
CPU.
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
Showing
- Kconfig 15 additions, 0 deletionsKconfig
- doc/wrs-user-manual.in 7 additions, 0 deletionsdoc/wrs-user-manual.in
- kernel/wbgen-regs/nic-regs.h 61 additions, 781 deletionskernel/wbgen-regs/nic-regs.h
- kernel/wbgen-regs/nic-regs.wb 396 additions, 330 deletionskernel/wbgen-regs/nic-regs.wb
- kernel/wr_nic/device.c 1 addition, 1 deletionkernel/wr_nic/device.c
- kernel/wr_nic/nic-mem.h 3 additions, 0 deletionskernel/wr_nic/nic-mem.h
- userspace/include/fpga_io.h 3 additions, 0 deletionsuserspace/include/fpga_io.h
- userspace/rootfs_override/etc/init.d/wrs_throttling.sh 78 additions, 0 deletionsuserspace/rootfs_override/etc/init.d/wrs_throttling.sh
- userspace/rootfs_override/etc/rcS/S62wrs_throttling.sh 1 addition, 0 deletionsuserspace/rootfs_override/etc/rcS/S62wrs_throttling.sh
- userspace/tools/.gitignore 1 addition, 0 deletionsuserspace/tools/.gitignore
- userspace/tools/Makefile 1 addition, 0 deletionsuserspace/tools/Makefile
- userspace/tools/wrs_throttling.c 165 additions, 0 deletionsuserspace/tools/wrs_throttling.c
This diff is collapsed.
This diff is collapsed.
userspace/tools/wrs_throttling.c
0 → 100644
Please register or sign in to comment