Date: Thu, 12 Sep 2019 10:26:14 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 240530] Patch to allow ng_source to inject into any netgraph network Message-ID: <bug-240530-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240530 Bug ID: 240530 Summary: Patch to allow ng_source to inject into any netgraph network Product: Base System Version: 12.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: lutz@donnerhacke.de Created attachment 207415 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207415&action=edit patch to ng_source in 12-STABLE train ng_source is a module for debugging and performance measurement within netgraph. The current implementation is designed to emit packets to an physical ethernet interface and tries to maximize the hardware throughput. There is already code to limit the packet rate injected (maxpps) further. The whole code is able to inject any netgraph messages into any netgraph network, despite the dependency to a physical interface prohibits this at the moment. This patch allows to use the ng_source module to be used in arbitary netgraph network. In order to limit the rate of packets injected, the maxpps part needs to be enforced if there is no assigned ethernet interface available. I personally use this patch to profile somewhat complex netgraph networks, which terminate in i.e. in eiface nodes. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240530-227>
