Re: Forwarding packets to the host stack in net map lb app

2022-09-26 Thread Kim Shrier
Thanks for your input. In the interim, I have actually implemented your second (harder) option and it appears to be working quite well. I am still testing but it does look promising. Kim > On Sep 26, 2022, at 10:05 AM, Vincenzo Maffione wrote: > > I think you could avoid any modifications t

Re: Forwarding packets to the host stack in net map lb app

2022-09-26 Thread Vincenzo Maffione
I think you could avoid any modifications to lb(8) and take advantage of the "multiple pipe groups" feature. You open two groups, # lb -i netmap:em0/R -p mon:$N -p fwd:$M [...] Each group receives all the packets arriving on the RX (NIC) rings of em0. (I'm pretty sure) this happens without packet c

Forwarding packets to the host stack in net map lb app

2022-09-18 Thread Kim Shrier
I have a network monitoring program and I am using the lb app from netmap to distribute packets to netmap pipes. The monitor processes are successfully receiving packets. I would like to modify lb to send some packets to the host stack and have packets coming from the host stack go out on the mon