[Differential] [Abandoned] D4825: tcp/lro: Add network driver configurable LRO entry depth

2016-02-04 Thread sepherosa_gmail.com (Sepherosa Ziehau)
sepherosa_gmail.com abandoned this revision. sepherosa_gmail.com added a comment. Updated version at: https://reviews.freebsd.org/D5185 REVISION DETAIL https://reviews.freebsd.org/D4825 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: sepherosa_gmail.c

[Differential] [Commented On] D4825: tcp/lro: Add network driver configurable LRO entry depth

2016-02-04 Thread sepherosa_gmail.com (Sepherosa Ziehau)
sepherosa_gmail.com added a comment. In https://reviews.freebsd.org/D4825#110653, @hselasky wrote: > FYI > > https://reviews.freebsd.org/D1761 might be related to this one. > > Should you check that "lc->lro_hiwat" is greater or equal to "lc->ifp->if_mtu" ? > > --HPS I

[Differential] [Updated] D4825: tcp/lro: Add network driver configurable LRO entry depth

2016-02-04 Thread hselasky (Hans Petter Selasky)
hselasky added a comment. FYI https://reviews.freebsd.org/D1761 might be related to this one. Should you check that "lc->lro_hiwat" is greater or equal to "lc->ifp->if_mtu" ? --HPS REVISION DETAIL https://reviews.freebsd.org/D4825 EMAIL PREFERENCES https://reviews.freebsd.

[Differential] [Closed] D5175: hyperv/hn: Add an option to always do transmission scheduling

2016-02-04 Thread Phabricator
This revision was automatically updated to reflect the committed changes. Closed by commit rS295306: hyperv/hn: Add an option to always do transmission scheduling (authored by sephe). CHANGED PRIOR TO COMMIT https://reviews.freebsd.org/D5175?vs=12968&id=13040#toc REPOSITORY rS FreeBSD src re

[Differential] [Closed] D5167: hyperv/hn: Move LRO flush to the channel processing rollup

2016-02-04 Thread Phabricator
This revision was automatically updated to reflect the committed changes. Closed by commit rS295305: hyperv/hn: Move LRO flush to the channel processing rollup (authored by sephe). CHANGED PRIOR TO COMMIT https://reviews.freebsd.org/D5167?vs=12948&id=13039#toc REPOSITORY rS FreeBSD src repos

[Differential] [Closed] D5166: hyperv/hn: Increase LRO entry count to 128 by default

2016-02-04 Thread Phabricator
This revision was automatically updated to reflect the committed changes. Closed by commit rS295304: hyperv/hn: Increase LRO entry count to 128 by default (authored by sephe). CHANGED PRIOR TO COMMIT https://reviews.freebsd.org/D5166?vs=12947&id=13038#toc REPOSITORY rS FreeBSD src repository

[Differential] [Closed] D5159: hyperv/hn: Recover half of the chimney sending space

2016-02-04 Thread Phabricator
This revision was automatically updated to reflect the committed changes. Closed by commit rS295303: hyperv/hn: Recover half of the chimney sending space (authored by sephe). CHANGED PRIOR TO COMMIT https://reviews.freebsd.org/D5159?vs=12926&id=13037#toc REPOSITORY rS FreeBSD src repository

[Differential] [Closed] D5158: hyperv/hn: Factor out hn_encap from hn_start_locked()

2016-02-04 Thread Phabricator
This revision was automatically updated to reflect the committed changes. Closed by commit rS295302: hyperv/hn: Factor out hn_encap() from hn_start_locked() (authored by sephe). CHANGED PRIOR TO COMMIT https://reviews.freebsd.org/D5158?vs=12925&id=13036#toc REPOSITORY rS FreeBSD src reposito

[Differential] [Closed] D5104: hyperv/hn: Obey IFCAP_RXCSUM

2016-02-04 Thread Phabricator
This revision was automatically updated to reflect the committed changes. Closed by commit rS295301: hyperv/hn: Obey IFCAP_RXCSUM configure (authored by sephe). CHANGED PRIOR TO COMMIT https://reviews.freebsd.org/D5104?vs=12783&id=13035#toc REPOSITORY rS FreeBSD src repository CHANGES SINCE

[Differential] [Closed] D5103: hyperv/hn: Add sysctl to trust host side UDP and IP csum verification

2016-02-04 Thread Phabricator
This revision was automatically updated to reflect the committed changes. Closed by commit rS295300: hyperv/hn: Add sysctls to trust host side UDP and IP csum verification (authored by sephe). CHANGED PRIOR TO COMMIT https://reviews.freebsd.org/D5103?vs=12782&id=13034#toc REPOSITORY rS FreeB

[Differential] [Closed] D5102: hyperv/hn: Enable UDP RXCSUM

2016-02-04 Thread Phabricator
This revision was automatically updated to reflect the committed changes. Closed by commit rS295299: hyperv/hn: Enable UDP RXCSUM (authored by sephe). CHANGED PRIOR TO COMMIT https://reviews.freebsd.org/D5102?vs=12780&id=13033#toc REPOSITORY rS FreeBSD src repository CHANGES SINCE LAST UPDAT

[Differential] [Closed] D5099: hyperv/hn: Enable IP header checksum offloading

2016-02-04 Thread Phabricator
This revision was automatically updated to reflect the committed changes. Closed by commit rS295298: hyperv/hn: Enable IP header checksum offloading (authored by sephe). CHANGED PRIOR TO COMMIT https://reviews.freebsd.org/D5099?vs=12775&id=13032#toc REPOSITORY rS FreeBSD src repository CHAN

[Differential] [Closed] D5098: hyperv/hn: Reorganize TX csum offloading

2016-02-04 Thread Phabricator
This revision was automatically updated to reflect the committed changes. Closed by commit rS295297: hyperv/hn: Reorganize TX csum offloading (authored by sephe). CHANGED PRIOR TO COMMIT https://reviews.freebsd.org/D5098?vs=12774&id=13031#toc REPOSITORY rS FreeBSD src repository CHANGES SIN

[Differential] [Closed] D5085: hyperv/hn: Avoid duplicate csum features settings

2016-02-04 Thread Phabricator
This revision was automatically updated to reflect the committed changes. Closed by commit rS295296: hyperv/hn: Avoid duplicate csum features settings (authored by sephe). CHANGED PRIOR TO COMMIT https://reviews.freebsd.org/D5085?vs=12744&id=13030#toc REPOSITORY rS FreeBSD src repository CH

[Differential] [Updated, 114 lines] D5185: tcp/lro: Allow network drivers to set the limit for TCP ACK/data segment aggregation limit

2016-02-04 Thread sepherosa_gmail.com (Sepherosa Ziehau)
sepherosa_gmail.com updated the summary for this revision. sepherosa_gmail.com updated this revision to Diff 13028. sepherosa_gmail.com added a comment. Address gallatin and adrian's concern. CHANGES SINCE LAST UPDATE https://reviews.freebsd.org/D5185?vs=12995&id=13028 REVISION DETAIL htt

[Bug 206932] Realtek 8111 card stops responding under high load in netmap mode

2016-02-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206932 Olivier - interfaSys sàrl changed: What|Removed |Added Version|10.2-STABLE |11.0-CURRENT --- Comme

[Differential] [Commented On] D5185: tcp/lro: Allow network drivers to set the limit for TCP ACK/data segment aggregation limit

2016-02-04 Thread sepherosa_gmail.com (Sepherosa Ziehau)
sepherosa_gmail.com added a comment. I will adjust the patch accordingly. INLINE COMMENTS sys/netinet/tcp_lro.c:655 Sure :) sys/netinet/tcp_lro.c:684 Sounds fine to me. I did the byte limit before (https://reviews.freebsd.org/D4825). But it turns out the ACKs need seperate limit (appen

[Differential] [Commented On] D5185: tcp/lro: Allow network drivers to set the limit for TCP ACK/data segment aggregation limit

2016-02-04 Thread sepherosa_gmail.com (Sepherosa Ziehau)
sepherosa_gmail.com added inline comments. INLINE COMMENTS sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c:455 OK, I will split it out. REVISION DETAIL https://reviews.freebsd.org/D5185 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: sepherosa_gmail.com, n

[Bug 206904] tailq crash/nd inet6

2016-02-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206904 --- Comment #4 from Larry Rosenman --- vmcore's are ALL available, and I can give a @FreeBSD.org dev access. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd

[Bug 206904] tailq crash/nd inet6

2016-02-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206904 --- Comment #3 from Larry Rosenman --- Created attachment 166583 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=166583&action=edit and a 3rd -- You are receiving this mail because: You are the assignee for the bug.

[Bug 206904] tailq crash/nd inet6

2016-02-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206904 --- Comment #2 from Larry Rosenman --- Created attachment 166582 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=166582&action=edit another one -- You are receiving this mail because: You are the assignee for the bug. __

Re: swaping ring slots between NIC ring and Host ring does not always success

2016-02-04 Thread Victor Detoni
I'm sorry, I made mistake. To workaround this try `ip link set $IFACE promisc on` On Thu, Feb 4, 2016 at 10:04 PM, Xiaoye Sun wrote: > Yes. all the interfaces are up. Are you able to get ARP request when the > interfaces are down? > > > On Thursday, February 4, 2016, Victor Detoni > wrote: >

Re: swaping ring slots between NIC ring and Host ring does not always success

2016-02-04 Thread Xiaoye Sun
Yes. all the interfaces are up. Are you able to get ARP request when the interfaces are down? On Thursday, February 4, 2016, Victor Detoni wrote: > Both interfaces are up? Like ifconfig... up > > I had this the same problem and I solve with commands above > > Em quinta-feira, 4 de fevereiro de 2

Re: swaping ring slots between NIC ring and Host ring does not always success

2016-02-04 Thread Victor Detoni
Both interfaces are up? Like ifconfig... up I had this the same problem and I solve with commands above Em quinta-feira, 4 de fevereiro de 2016, Xiaoye Sun escreveu: > Hi Luigi, > > Thanks for your explanation. > > I used three machines to do this experiment. They are directly connected. > > [(

[Bug 206904] tailq crash/nd inet6

2016-02-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206904 Mark Linimon changed: What|Removed |Added Assignee|freebsd-b...@freebsd.org|freebsd-net@FreeBSD.org -- You are

[Bug 206932] Realtek 8111 card stops responding under high load in netmap mode

2016-02-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206932 Mark Linimon changed: What|Removed |Added Assignee|freebsd-b...@freebsd.org|freebsd-net@FreeBSD.org -- You are

Fwd: swaping ring slots between NIC ring and Host ring does not always success

2016-02-04 Thread Xiaoye Sun
Hi Luigi, Thanks for your explanation. I used three machines to do this experiment. They are directly connected. [(machine1) eth1]---[eth2 (machine2) eth3]---[eth4 (machine3)]. First, I tried to run bridge.c on machine2 using the command *bridge -i netmap:eth2 -i netmap:eth3*. (sender receiver

Re: dev.netmap.buf_size and packett size from host

2016-02-04 Thread Eduardo Meyer
when i disabled LRO it ruined communication on the port to network (altough from host was ok), everything else looks good and so far I had no problem with big packets coming from host, so -tso did it, thank you! On Thu, Feb 4, 2016 at 12:35 PM, Luigi Rizzo wrote: > disable all hardware accelerat

Re: 10.2-RELEASE-p12 pf+GRE crashing

2016-02-04 Thread Matthew Grooms
On 2/3/2016 6:47 PM, Matthew Grooms wrote: This turned out to be another issue that was patched in head but not back ported to stable. I can't explain why it didn't get tripped when GRE tunnels were disabled. With the patch applied, I can reload my rule sets again without crashing ... https:/

[Differential] [Commented On] D5185: tcp/lro: Allow network drivers to set the limit for TCP ACK/data segment aggregation limit

2016-02-04 Thread adrian (Adrian Chadd)
adrian added inline comments. INLINE COMMENTS sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c:455 this should be a separate commit REVISION DETAIL https://reviews.freebsd.org/D5185 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: sepherosa_gmail.com, netwo

[Differential] [Updated] D5185: tcp/lro: Allow network drivers to set the limit for TCP ACK/data segment aggregation limit

2016-02-04 Thread gallatin (Andrew Gallatin)
gallatin added a comment. It might be nice to make these general tunables that could be done centrally and apply to all drivers, but that's probably outside the scope of the review. INLINE COMMENTS sys/netinet/tcp_lro.c:655 Can you just initialize ack_append_limit to the max value for what

Re: dev.netmap.buf_size and packett size from host

2016-02-04 Thread Eduardo Meyer
mtu is good, TSO was on, thank you will retest right now. which other port features should I disable? I only disabled txcsum and rxcsum before, now tso on the list, anything else in netmap mode? On Thu, Feb 4, 2016 at 12:29 PM, Luigi Rizzo wrote: > Make sure you disable TSO on the interface use

Re: dev.netmap.buf_size and packett size from host

2016-02-04 Thread Luigi Rizzo
disable all hardware accelerations when using netmap. cheers luigi On Thu, Feb 4, 2016 at 3:34 PM, Eduardo Meyer wrote: > mtu is good, TSO was on, thank you will retest right now. > > which other port features should I disable? I only disabled txcsum and > rxcsum before, now tso on the list, any

Re: dev.netmap.buf_size and packett size from host

2016-02-04 Thread Luigi Rizzo
Make sure you disable TSO on the interface used in netmap mode, and then check that you use an MTU of 1500 on that interface. You should not receive frames larger than MTU coming from the host in these conditions. cheers luigi On Thu, Feb 4, 2016 at 3:26 PM, Eduardo Meyer wrote: > hello, > > I

dev.netmap.buf_size and packett size from host

2016-02-04 Thread Eduardo Meyer
hello, I have a netmap application which has host mode bridge/fwd, with default settings I have the following error some often: 884.260394 [2950] netmap_transmit igb1 from_host, drop packet size 2962 > 2048 the only application which relies on host mode is bird, so those packets are pr

RE: ixgbe: Network performance tuning (#TCP connections)

2016-02-04 Thread Hongjiang Zhang
Please check whether LRO is enabled on your FreeBSD server with "ifconfig". Linux default enables GRO (see the output of 'ethtool -k eth0'), which covers LRO optimization. Thanks Hongjiang Zhang -Original Message- From: owner-freebsd-...@freebsd.org [mailto:owner-freebsd-...@freebsd.org

RE: ixgbe: Network performance tuning (#TCP connections)

2016-02-04 Thread Hongjiang Zhang
Did you enable LRO on FreeBSD side (check 'ifconfig' output)? Linux default enables GRO (see the output of 'ethtool -k eth0'). Thanks Hongjiang Zhang -Original Message- From: owner-freebsd-...@freebsd.org [mailto:owner-freebsd-...@freebsd.org] On Behalf Of Meyer, Wolfgang Sent: Wednesda

[Bug 203630] [Hyper-V] [nat] [tcp] 10.2 NAT bug in TCP stack or hyperv netsvc driver

2016-02-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203630 --- Comment #29 from Eddy --- Hello everybody, The issue was fixed with patch r291156. I tested it on a clean FreeBSD install by recompiling the kernel in a test environment and it worked. It was merged to the STABLE 10 branch (Fri Dec 18

[Bug 203630] [Hyper-V] [nat] [tcp] 10.2 NAT bug in TCP stack or hyperv netsvc driver

2016-02-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203630 --- Comment #28 from Franco Fichtner --- Hello, We've run into this too over at OPNsense. This is a harsh regression from 10.1 to 10.2. It needs an errata for 10.2. Thank you, Franco -- You are receiving this mail because: You are on t

Re: ixgbe: Network performance tuning (#TCP connections)

2016-02-04 Thread Remy Nonnenmacher
On 02/03/16 14:37, Meyer, Wolfgang wrote: Hello, we are evaluating network performance on a DELL-Server (PowerEdge R930 with 4 Sockets, hw.model: Intel(R) Xeon(R) CPU E7-8891 v3 @ 2.80GHz) with 10 GbE-Cards. We use programs that on server side accepts connections on a IP-address+port from t

[Differential] [Updated] D5185: tcp/lro: Allow network drivers to set the limit for TCP ACK/data segment aggregation limit

2016-02-04 Thread sepherosa_gmail.com (Sepherosa Ziehau)
sepherosa_gmail.com updated the summary for this revision. REVISION DETAIL https://reviews.freebsd.org/D5185 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: sepherosa_gmail.com, network, adrian, delphij, royger, decui_microsoft.com, honzhan_microsoft.com,

[Differential] [Request, 117 lines] D5185: tcp/lro: Allow network drivers to set the limit for TCP ACK/data segment aggregation limit

2016-02-04 Thread sepherosa_gmail.com (Sepherosa Ziehau)
sepherosa_gmail.com created this revision. sepherosa_gmail.com added reviewers: network, adrian, delphij, royger, decui_microsoft.com, honzhan_microsoft.com, howard0su_gmail.com, gallatin, hselasky, np. sepherosa_gmail.com added subscribers: freebsd-net-list, freebsd-virtualization-list. Herald