]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r340279
authorvmaffione <vmaffione@FreeBSD.org>
Mon, 3 Dec 2018 17:51:22 +0000 (17:51 +0000)
committervmaffione <vmaffione@FreeBSD.org>
Mon, 3 Dec 2018 17:51:22 +0000 (17:51 +0000)
commit27b96ba2e080c40f992a456b8c022c5e4a058925
tree3d2b336656d2bca2a68e891840ebc175ae96b759
parent31f8817ab0e841d27af38197927937052bea6826
MFC r340279

netmap: add load balancer program

Add the lb program, which is able to load-balance input traffic
received from a netmap port over M groups, with N netmap pipes in
each group. Each received packet is forwarded to one of the pipes
chosen from each group (using an L3/L4 connection-consistent hash function).
This also adds a man page for lb and some cross-references in related
man pages.

Reviewed by:    bcr, 0mp
Approved by:    gnn (mentor)
Differential Revision:  https://reviews.freebsd.org/D17735
share/man/man4/netmap.4
tools/tools/netmap/Makefile
tools/tools/netmap/README
tools/tools/netmap/bridge.8
tools/tools/netmap/ctrs.h [new file with mode: 0644]
tools/tools/netmap/lb.8 [new file with mode: 0644]
tools/tools/netmap/lb.c [new file with mode: 0644]
tools/tools/netmap/pkt_hash.c [new file with mode: 0644]
tools/tools/netmap/pkt_hash.h [new file with mode: 0644]