Re: Silly experiments with netisr

2015-02-05 Thread hiren panchasara
On 02/05/15 at 11:19P, Sean Bruno wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 02/05/15 11:13, Adrian Chadd wrote: On 5 February 2015 at 11:03, Sean Bruno sbr...@ignoranthack.me wrote: Some questions came up around the office and we ended up doing some quite silly

IEE1588/PTP support for NIC drivers ?

2015-02-05 Thread Olivier Cochard-Labbé
Hi, Some network cards support IEE1588 hardware timestamp (like some Intel card), but their drivers didn't support this feature. I beleive there is a kernel feature missing for this suppport. Searching on the archive's mailing-list, I've found this post about some legal issue:

Re: Silly experiments with netisr

2015-02-05 Thread hiren panchasara
On 02/05/15 at 11:13P, Adrian Chadd wrote: On 5 February 2015 at 11:03, Sean Bruno sbr...@ignoranthack.me wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Some questions came up around the office and we ended up doing some quite silly things with lo0 and netcat. If one runs

[Bug 186449] ifconfig(8) fails to autoload if_tap.ko when creating vmnet interface

2015-02-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186449 Garrett Cooper,425-314-3911 n...@freebsd.org changed: What|Removed |Added Assignee|freebsd-net@FreeBSD.org

Re: configuring bridge to route L2 packets from one interface to the other

2015-02-05 Thread Sinha, Prokash
I got the bridge device created ( kernel config needed to be changed ). But don't know how the add works - Is it because of the lagg ??? 018780222f020d# ifconfig bridge0 addm bge0 addm bge1 ifconfig: BRDGADD bge0: Invalid argument Thanks, -p From: Sinha, Prokash Sinha

Silly experiments with netisr

2015-02-05 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Some questions came up around the office and we ended up doing some quite silly things with lo0 and netcat. If one runs a continuous netcat on localhost to another netcat listener on localhost that writes the output to /dev/null, netisr gets super

Re: Silly experiments with netisr

2015-02-05 Thread Adrian Chadd
On 5 February 2015 at 11:03, Sean Bruno sbr...@ignoranthack.me wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Some questions came up around the office and we ended up doing some quite silly things with lo0 and netcat. If one runs a continuous netcat on localhost to another netcat

Re: Silly experiments with netisr

2015-02-05 Thread Jim Thompson
On Feb 5, 2015, at 1:13 PM, Adrian Chadd adr...@freebsd.org wrote: On 5 February 2015 at 11:03, Sean Bruno sbr...@ignoranthack.me mailto:sbr...@ignoranthack.me wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Some questions came up around the office and we ended up doing some

Re: Silly experiments with netisr

2015-02-05 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 02/05/15 11:13, Adrian Chadd wrote: On 5 February 2015 at 11:03, Sean Bruno sbr...@ignoranthack.me wrote: Some questions came up around the office and we ended up doing some quite silly things with lo0 and netcat. If one runs a

[Differential] [Commented On] D1777: Associated fix for arp/nd6 timer usage.

2015-02-05 Thread rrs (Randall Stewart)
rrs added a comment. Jhb/Others So lets go through your scenario with code in arp: a) softclock dequeues callout to run -- Which calls softclock_call_cc We make it to line:676 and see that yes the user (arp) init'd with a rw_mtx and run the next line 677 (to get the lock). b) other

[Differential] [Commented On] D1777: Associated fix for arp/nd6 timer usage.

2015-02-05 Thread rrs (Randall Stewart)
rrs added a comment. Adrian: I know he said callout_drain, but just like in TCP that is *not* always possible. In the case of the arp/nd6 code lock are held (same as TCP) so you can't do a callout_drain. Thats why the original author put ref-counting in with the idea that the timer would kill

[Differential] [Accepted] D1691: sfxge: using 64-bit access for x86-64

2015-02-05 Thread gnn (George Neville-Neil)
gnn accepted this revision. This revision is now accepted and ready to land. REVISION DETAIL https://reviews.freebsd.org/D1691 To: arybchik, gnn Cc: freebsd-net ___ freebsd-net@freebsd.org mailing list

[Differential] [Commented On] D1691: sfxge: using 64-bit access for x86-64

2015-02-05 Thread arybchik (Andrew Rybchenko)
arybchik added a comment. Committed to src head REVISION DETAIL https://reviews.freebsd.org/D1691 To: arybchik, gnn Cc: freebsd-net ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send

[Differential] [Closed] D1691: sfxge: using 64-bit access for x86-64

2015-02-05 Thread arybchik (Andrew Rybchenko)
arybchik closed this revision. REVISION DETAIL https://reviews.freebsd.org/D1691 To: arybchik, gnn Cc: freebsd-net ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to

Re: Silly experiments with netisr

2015-02-05 Thread Scott Long via freebsd-net
On Feb 5, 2015, at 12:03 PM, Sean Bruno sbr...@ignoranthack.me wrote: Signed PGP part Some questions came up around the office and we ended up doing some quite silly things with lo0 and netcat. If one runs a continuous netcat on localhost to another netcat listener on localhost that

configuring bridge to route L2 packets from one interface to the other

2015-02-05 Thread Sinha, Prokash
Hi All, I'm trying to come up with a L2 forwarding from one interface to the other. Is creating a bridge a good idea ? The context: I will have ether_frame coming from client to one NIC port BCM ( the driver is bge), it will come to an interface, and want to forward to the other interface.

Re: Silly experiments with netisr

2015-02-05 Thread Adrian Chadd
On 5 February 2015 at 11:31, Scott Long via freebsd-net freebsd-net@freebsd.org wrote: On Feb 5, 2015, at 12:03 PM, Sean Bruno sbr...@ignoranthack.me wrote: Signed PGP part Some questions came up around the office and we ended up doing some quite silly things with lo0 and netcat. If one

Re: Silly experiments with netisr

2015-02-05 Thread hiren panchasara
On 02/05/15 at 12:31P, Scott Long via freebsd-net wrote: On Feb 5, 2015, at 12:03 PM, Sean Bruno sbr...@ignoranthack.me wrote: Signed PGP part Some questions came up around the office and we ended up doing some quite silly things with lo0 and netcat. If one runs a continuous

Re: Silly experiments with netisr

2015-02-05 Thread Jim Thompson
On Feb 5, 2015, at 2:23 PM, hiren panchasara hi...@strugglingcoder.info wrote: On 02/05/15 at 12:31P, Scott Long via freebsd-net wrote: Welcome to our workload. Granted, we don?t involve pf, but the majority of our CPU processing right now is spent in TCP (with the rest being spent