[Bug 218517] ppp fails adding route with error Value too large to be stored in data type

2017-04-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218517

Mark Linimon  changed:

   What|Removed |Added

   Assignee|freebsd-b...@freebsd.org|freebsd-net@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 218579] Wake on Lan doesn't work for bge NIC driver

2017-04-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218579

Mark Linimon  changed:

   What|Removed |Added

   Assignee|freebsd-b...@freebsd.org|freebsd-net@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 215256] FreeBSD 11.0 Problem with natd

2017-04-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215256

Eugene Grosbein  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|New |Closed
Summary|FreeBSD 11.0 Problem with   |FreeBSD 11.0 Problem with
   |natd + carp |natd

--- Comment #6 from Eugene Grosbein  ---
Carp seems unrelated to the problem but a pair of natd instances in the same
broadcast domain are.

*** This bug has been marked as a duplicate of bug 209491 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 215256] FreeBSD 11.0 Problem with natd + carp

2017-04-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215256

--- Comment #5 from Eugene Grosbein  ---
(In reply to Don Randolph from comment #4)

That's temporary workaround until Someone(TM) fix the breakage.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 215256] FreeBSD 11.0 Problem with natd + carp

2017-04-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215256

--- Comment #4 from Don Randolph  ---
That looks like it has done the trick... thank you so much.  Is this going to
be the permanent fix or just a temporary work around?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 215256] FreeBSD 11.0 Problem with natd + carp

2017-04-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215256

Eugene Grosbein  changed:

   What|Removed |Added

 CC||eu...@freebsd.org

--- Comment #3 from Eugene Grosbein  ---
(In reply to Don Randolph from comment #2)

Your problem may be related to this one:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209491

Please try workaround mentioned there - add following rule to your ipfw
ruleset:

${fwcmd} add 51 deny ip from any to any out recv ${natd_interface} xmit
${natd_interface} diverted

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 215256] FreeBSD 11.0 Problem with natd + carp

2017-04-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215256

--- Comment #2 from Don Randolph  ---
Has anyone looked into this yet... it is still a problem on 11.0-RELEASE-p9.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: Netmap pipe zero-copy with NIC buffer?

2017-04-12 Thread Paras Jha
Thank you for the clarification!

On Wed, Apr 12, 2017 at 3:50 AM, Vincenzo Maffione 
wrote:

> netmap applications always bypass the kernel (network stack). There is
> only a distinction between ports opened in "native" mode and "emulated"
> mode.
> If NIC driver doesn't have native netmap support, the legacy driver is
> internally used by netmap to transmit and receive (and this is called
> "emulated mode").
> In any case (both in native and emulated mode) the netmap application sees
> netmap rings, and can zerocopy between two rings (in the same memory area)
> by simply swapping the ring slots.
>
> Of course, in emulated mode netmap internally transforms each ring slot
> into and mbuf and the other way around, possibly requiring a copy. And the
> whole thing is way slower.
> But this is unrelated to the zerocopy thing: your application isn't aware
> of the emulated or native mode and can zerocopy slots between netmap rings.
>
> Cheers,
>   Vincenzo
>
> 2017-04-12 4:04 GMT+02:00 Paras Jha :
>
>> Apologies, by KB I meant kernel bypass, since it is possible to open a
>> netmap port without bypassing the kernel. I didn't know if this would
>> affect it or not.
>>
>> On Sun, Apr 9, 2017 at 3:20 AM, Vincenzo Maffione 
>> wrote:
>>
>>> Hi,
>>>   Yes, when you nm_open("netmap:em3{2", ...), you're opening a netmap
>>> pipe in the same netmap memory area as the one used by
>>> nm_open("netmap:em3", ...).
>>> As a result, you can zero-copy packets from NIC rings to pipe rings.
>>>
>>> What do you mean by "KB mode"?
>>>
>>> Cheers,
>>>   Vincenzo
>>>
>>> 2017-04-08 19:56 GMT+02:00 Paras Jha :
>>>
 Hi all,

 Is it possible to have a netmap pipe share memory with a netmap port
 opened
 in KB mode for zero-copy purposes?

 All the best
 ___
 freebsd-net@freebsd.org mailing list
 https://lists.freebsd.org/mailman/listinfo/freebsd-net
 To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

>>>
>>>
>>>
>>> --
>>> Vincenzo Maffione
>>>
>>
>>
>
>
> --
> Vincenzo Maffione
>
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: Netmap pipe zero-copy with NIC buffer?

2017-04-12 Thread Vincenzo Maffione
netmap applications always bypass the kernel (network stack). There is only
a distinction between ports opened in "native" mode and "emulated" mode.
If NIC driver doesn't have native netmap support, the legacy driver is
internally used by netmap to transmit and receive (and this is called
"emulated mode").
In any case (both in native and emulated mode) the netmap application sees
netmap rings, and can zerocopy between two rings (in the same memory area)
by simply swapping the ring slots.

Of course, in emulated mode netmap internally transforms each ring slot
into and mbuf and the other way around, possibly requiring a copy. And the
whole thing is way slower.
But this is unrelated to the zerocopy thing: your application isn't aware
of the emulated or native mode and can zerocopy slots between netmap rings.

Cheers,
  Vincenzo

2017-04-12 4:04 GMT+02:00 Paras Jha :

> Apologies, by KB I meant kernel bypass, since it is possible to open a
> netmap port without bypassing the kernel. I didn't know if this would
> affect it or not.
>
> On Sun, Apr 9, 2017 at 3:20 AM, Vincenzo Maffione 
> wrote:
>
>> Hi,
>>   Yes, when you nm_open("netmap:em3{2", ...), you're opening a netmap
>> pipe in the same netmap memory area as the one used by
>> nm_open("netmap:em3", ...).
>> As a result, you can zero-copy packets from NIC rings to pipe rings.
>>
>> What do you mean by "KB mode"?
>>
>> Cheers,
>>   Vincenzo
>>
>> 2017-04-08 19:56 GMT+02:00 Paras Jha :
>>
>>> Hi all,
>>>
>>> Is it possible to have a netmap pipe share memory with a netmap port
>>> opened
>>> in KB mode for zero-copy purposes?
>>>
>>> All the best
>>> ___
>>> freebsd-net@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-net
>>> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
>>>
>>
>>
>>
>> --
>> Vincenzo Maffione
>>
>
>


-- 
Vincenzo Maffione
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"