]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
netmap: add load balancer program
authorvmaffione <vmaffione@FreeBSD.org>
Fri, 9 Nov 2018 08:43:40 +0000 (08:43 +0000)
committervmaffione <vmaffione@FreeBSD.org>
Fri, 9 Nov 2018 08:43:40 +0000 (08:43 +0000)
commit93a7ff50c08a505984e4312bf8f139f6c50d725f
treef04923dc47eba61e708eead977f3b5dee9786aae
parent17c10964b404c2906fa1a1edfe3c327ca4ba5d58
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
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]