Re: mlx5(4) jumbo receive

2018-04-25 Thread Ben RUBSON
On 26 Apr 2018, Rick Macklem wrote: Ryan Stone wrote: On Tue, Apr 24, 2018 at 4:55 AM, Konstantin Belousov >>wrote: +#ifndef MLX5E_MAX_RX_BYTES +#defineMLX5E_MAX_RX_BYTES MCLBYTES +#endif Why do you use a 2KB buffer rather than a PAGE_SIZE'd buffer? MJUMPAGESIZE should offer signifi

Re: mlx5(4) jumbo receive

2018-04-25 Thread Rick Macklem
Ryan Stone wrote: >On Tue, Apr 24, 2018 at 4:55 AM, Konstantin Belousov >>>wrote: >> +#ifndef MLX5E_MAX_RX_BYTES >> +#defineMLX5E_MAX_RX_BYTES MCLBYTES >> +#endif > >Why do you use a 2KB buffer rather than a PAGE_SIZE'd buffer? >MJUMPAGESIZE should offer significantly better performance fo

Re: mlx5(4) jumbo receive

2018-04-25 Thread Ryan Stone
On Tue, Apr 24, 2018 at 4:55 AM, Konstantin Belousov wrote: > +#ifndef MLX5E_MAX_RX_BYTES > +#defineMLX5E_MAX_RX_BYTES MCLBYTES > +#endif Why do you use a 2KB buffer rather than a PAGE_SIZE'd buffer? MJUMPAGESIZE should offer significantly better performance for jumbo frames without incre

[Bug 227720] Kernel panic in ppp server

2018-04-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227720 --- Comment #6 from Eugene Grosbein --- (In reply to Matt Allanson from comment #4) Kernel crashdump will be much more useful if kernel config file has: options KDB options KDB_TRACE options KDB_UNATTENDED options INVARIANTS options INVAR

Re: [netgraph] ng_bpf filter large list of IP addresses

2018-04-25 Thread Eugene Grosbein
25.04.2018 21:40, Reshad Patuck пишет: > Hey, > ​ > I have tried to write some c code to add a bpf filter to my ng_bpf node, but > its just segfaulting. > My c is not good enough to debug this. > ​ > What baffles me is that when I load a filter for 250 IP addresses using the > command in this lin

[Bug 227720] Kernel panic in ppp server

2018-04-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227720 --- Comment #5 from Matt Allanson --- (In reply to Eugene Grosbein from comment #3) The machine that's failing is the server. We have 18 tunnels at max, currently. -- You are receiving this mail because: You are the assignee for the bug.

[Bug 227720] Kernel panic in ppp server

2018-04-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227720 --- Comment #4 from Matt Allanson --- Created attachment 192809 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192809&action=edit Client and server config Waiting for the next crash to get the stack trace, attached are client an

Re: kldload ibcore.ko fails in snapshot: FreeBSD-12.0-CURRENT-amd64-20180329-r331740-disc1

2018-04-25 Thread Hans Petter Selasky
On 04/25/18 16:12, Julian Elischer wrote: On 24/4/18 3:15 pm, Hans Petter Selasky wrote: On 04/24/18 01:33, Somayajulu, David wrote: Hi All, kldload ibcore.ko fails in the above snapshot with the following error. # kldload -v /usr/obj/usr/src/amd64.amd64/sys/modules/ibcore/ibcore.ko kldload: a

Re: [netgraph] ng_bpf filter large list of IP addresses

2018-04-25 Thread Reshad Patuck
Hey, ​ I have tried to write some c code to add a bpf filter to my ng_bpf node, but its just segfaulting. My c is not good enough to debug this. ​ What baffles me is that when I load a filter for 250 IP addresses using the command in this link https://paste.ee/d/BHOoG/3 it loads fine. If I use 'n

Re: kldload ibcore.ko fails in snapshot: FreeBSD-12.0-CURRENT-amd64-20180329-r331740-disc1

2018-04-25 Thread Julian Elischer
On 24/4/18 3:15 pm, Hans Petter Selasky wrote: On 04/24/18 01:33, Somayajulu, David wrote: Hi All, kldload ibcore.ko fails in the above snapshot with the following error. # kldload -v /usr/obj/usr/src/amd64.amd64/sys/modules/ibcore/ibcore.ko kldload: an error occurred while loading module /usr

Re: QOS/TOS in carp/freebsd in general

2018-04-25 Thread Kristof Provost
On 25 Apr 2018, at 15:53, Nick Wolff wrote: On Mon, Apr 16, 2018, 6:55 PM Lee Brown wrote: setdscp cs7 from me to 224.0.0.18 You can do this in ipfw but not in pf as far as I'm aware. You can do this in pf too. set-tos ⟨string⟩ | ⟨number⟩ Enforces a TOS for matching IP pac

Use of radix_node_head

2018-04-25 Thread Sechang Son
Hi, Some of routing data structures were modified in BSD 11. Especially radix_node_head is sort of replaced by rib_head. Can somebody explain what this change is for? Also, radix_node_head is still defined and is used by some. What is the use of this old data structure and how it should be u

Re: QOS/TOS in carp/freebsd in general

2018-04-25 Thread Nick Wolff
On Mon, Apr 16, 2018, 6:55 PM Lee Brown wrote: > On Mon, Apr 16, 2018 at 1:27 AM, Tom Jones wrote: > > > On Sun, Apr 15, 2018 at 04:30:45PM -0400, Nick Wolff wrote: > > > Hi, > > > > > > I currently have a review in to make carp use dscp values on outgoing > > > packets. This will make it easie

[Bug 213606] [bxe] multicast (LACP/OSPF) not working with qlogic BCM57800

2018-04-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213606 Rodney W. Grimes changed: What|Removed |Added CC||n...@freebsd.org -- You are re

Re: multiple if_ipsec

2018-04-25 Thread Victor Gamov
On 23/04/2018 15:43, Andrey V. Elsukov wrote: Your security associations doesn't match your security policies. Probably you did interfaces reconfiguration without clearing old SAs. I think your configuration will work, if you first will done if_ipsec(4) configuration, then start racoon and it w

Re: Need Netgraph Help [fixed]

2018-04-25 Thread Julian Elischer
On 24/4/18 12:11 am, John Lyon wrote: If you found that thread, you found my answer. :-) I'm one of the posters on that particular PFSense thread. In short summary, I have a theory that should work but I haven't tested it yet due to a lack of opportunity. The netgraph code that forwards the EA

[Bug 227743] bxe cards require promisc for OSPF

2018-04-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227743 Eugene Grosbein changed: What|Removed |Added CC||eu...@freebsd.org Resolu

[Bug 213606] [bxe] multicast (LACP/OSPF) not working with qlogic BCM57800

2018-04-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213606 Eugene Grosbein changed: What|Removed |Added Assignee|n...@freebsd.org |davi...@freebsd.org -- You are

[Bug 174850] [bxe] [patch] bxe driver does not receive multicasts

2018-04-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=174850 Eugene Grosbein changed: What|Removed |Added See Also||https://bugs.freebsd.org/bu

[Bug 213606] [bxe] multicast (LACP/OSPF) not working with qlogic BCM57800

2018-04-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213606 Eugene Grosbein changed: What|Removed |Added CC||eda...@freebsd.org See

[Bug 213606] [bxe] LACP not working with qlogic BCM57800

2018-04-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213606 Eugene Grosbein changed: What|Removed |Added Summary|LACP not working with |[bxe] LACP not working with

[Bug 227720] Kernel panic in ppp server

2018-04-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227720 Kubilay Kocak changed: What|Removed |Added Status|New |Open Keywords|