Re: scheduling while atomic from vmci_transport_recv_stream_cb in 3.16 kernels

2017-09-17 Thread Michal Hocko
On Fri 15-09-17 18:12:15, Ben Hutchings wrote: > On Thu, 2017-09-14 at 10:59 +0200, Michal Hocko wrote: > > On Wed 13-09-17 18:58:13, Jorgen S. Hansen wrote: > > [...] > > > The patch series look good to me. > > > > Thanks for double checking. Ben, could you merge this to 3.16 stable > > branch, p

[PATCH net-next] net: remove useless comments in dst.c

2017-09-17 Thread Duan Jiong
dst gc related code has been removed in commit 5b7c9a8ff828, so those comments are no longer useful. Signed-off-by: Duan Jiong --- net/core/dst.c | 17 - 1 file changed, 17 deletions(-) diff --git a/net/core/dst.c b/net/core/dst.c index a6c47da..a710d39 100644 --- a/net/core/dst

Re: [PATCH] bnx2x: drop packets where gso_size is too big for hardware

2017-09-17 Thread Daniel Axtens
Hi Eric, >> +if (unlikely(skb_shinfo(skb)->gso_size + hlen > >> MAX_PACKET_SIZE)) { >> +BNX2X_ERR("reported gso segment size plus headers " >> + "(%d + %d) > MAX_PACKET_SIZE; dropping pkt!", >> + skb_shinfo(

Re: [PATCH] vhost_net: conditionally enable tx polling

2017-09-17 Thread kbuild test robot
Hi Jason, [auto build test WARNING on vhost/linux-next] [also build test WARNING on v4.14-rc1 next-20170915] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Jason-Wang/vhost_net-conditionally-ena

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-09-17 Thread Yang, Wenyou
On 2017/9/14 13:06, Sekhar Nori wrote: On Thursday 14 September 2017 03:28 AM, Franklin S Cooper Jr wrote: On 08/18/2017 02:39 PM, Franklin S Cooper Jr wrote: During test transmitting using CAN-FD at high bitrates (4 Mbps) only resulted in errors. Scoping the signals I noticed that only a si

Re: Regression in throughput between kvm guests over virtual bridge

2017-09-17 Thread Jason Wang
On 2017年09月16日 03:19, Matthew Rosato wrote: It looks like vhost is slowed down for some reason which leads to more idle time on 4.13+VHOST_RX_BATCH=1. Appreciated if you can collect the perf.diff on host, one for rx and one for tx. perf data below for the associated vhost threads, baseline=4.

Re: [PATCH V2] tipc: Use bsearch library function

2017-09-17 Thread Joe Perches
On Sun, 2017-09-17 at 16:27 +, Jon Maloy wrote: > > -Original Message- > > From: Thomas Meyer [mailto:tho...@m3y3r.de] [] > > What about the other binary search implementation in the same file? Should > > I try to convert it it will it get NAKed for performance reasons too? > > The sea

Re: [PATCH net-next v2 0/7] korina: performance fixes and cleanup

2017-09-17 Thread Florian Fainelli
On 09/17/2017 10:23 AM, Roman Yeryomin wrote: > Changes from v1: > - use GRO instead of increasing ring size > - use NAPI_POLL_WEIGHT instead of defining own NAPI_WEIGHT > - optimize rx descriptor flags processing net-next is closed at the moment, but these look like reasonable changes, I would

Re: [PATCH net-next v2 7/7] net: korina: bump version

2017-09-17 Thread Florian Fainelli
On 09/17/2017 10:25 AM, Roman Yeryomin wrote: > Signed-off-by: Roman Yeryomin You can probably drop the version because it does not really make much sense for an in-kernel driver anyway. -- Florian

Re: [REGRESSION] Warning in tcp_fastretrans_alert() of net/ipv4/tcp_input.c

2017-09-17 Thread Oleksandr Natalenko
Hi. Just to note that it looks like disabling RACK and re-enabling FACK prevents warning from happening: net.ipv4.tcp_fack = 1 net.ipv4.tcp_recovery = 0 Hope I get semantics of these tunables right. On pátek 15. září 2017 21:04:36 CEST Oleksandr Natalenko wrote: > Hello. > > With net.ipv4.tcp

Re: [PATCH] hamradio: baycom: use new parport device model

2017-09-17 Thread Thomas Sailer
Acked-By: Thomas Sailer Am 17.09.2017 um 13:46 schrieb Sudip Mukherjee: Modify baycom driver to use the new parallel port device model. Signed-off-by: Sudip Mukherjee --- Not tested on real hardware, only tested on qemu and verified that the device is binding to the driver properly in epp_op

[PATCH net-next v2 7/7] net: korina: bump version

2017-09-17 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- drivers/net/ethernet/korina.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/korina.c b/drivers/net/ethernet/korina.c index d58aa4bfcb58..7cecd9dbc111 100644 --- a/drivers/net/ethernet/korina.c +++ b/drivers/net/ether

[PATCH net-next v2 4/7] net: korina: use GRO

2017-09-17 Thread Roman Yeryomin
Performance gain when receiving locally is 55->95Mbps and 50->65Mbps for NAT. Signed-off-by: Roman Yeryomin --- drivers/net/ethernet/korina.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/korina.c b/drivers/net/ethernet/korina.c index c210add9b654..5f36

[PATCH net-next v2 5/7] net: korina: whitespace cleanup

2017-09-17 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- drivers/net/ethernet/korina.c | 58 +++ 1 file changed, 31 insertions(+), 27 deletions(-) diff --git a/drivers/net/ethernet/korina.c b/drivers/net/ethernet/korina.c index 5f36e1703378..c26f0d84ba6b 100644 --- a/drivers/net

[PATCH net-next v2 6/7] net: korina: update authors

2017-09-17 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- drivers/net/ethernet/korina.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/korina.c b/drivers/net/ethernet/korina.c index c26f0d84ba6b..d58aa4bfcb58 100644 --- a/drivers/net/ethernet/korina.c +++ b/drivers/net/ethernet/korina.c @@ -4

[PATCH net-next v2 3/7] net: korina: use NAPI_POLL_WEIGHT

2017-09-17 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- drivers/net/ethernet/korina.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/korina.c b/drivers/net/ethernet/korina.c index e5466e19994a..c210add9b654 100644 --- a/drivers/net/ethernet/korina.c +++ b/drivers/net/ethernet/

[PATCH net-next v2 2/7] net: korina: optimize rx descriptor flags processing

2017-09-17 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- drivers/net/ethernet/korina.c | 87 ++- 1 file changed, 44 insertions(+), 43 deletions(-) diff --git a/drivers/net/ethernet/korina.c b/drivers/net/ethernet/korina.c index 98d686ed69a9..e5466e19994a 100644 --- a/drivers/net

[PATCH net-next v2 1/7] net: korina: don't use overflow and underflow interrupts

2017-09-17 Thread Roman Yeryomin
When such interrupts occur there is not much we can do. Dropping the whole ring doesn't help and only produces high packet loss. If we just ignore the interrupt the mac will drop one or few packets instead of the whole ring. Also this will lower the irq handling load and increase performance. Sig

[PATCH net-next v2 0/7] korina: performance fixes and cleanup

2017-09-17 Thread Roman Yeryomin
Changes from v1: - use GRO instead of increasing ring size - use NAPI_POLL_WEIGHT instead of defining own NAPI_WEIGHT - optimize rx descriptor flags processing Roman Yeryomin (7): net: korina: don't use overflow and underflow interrupts net: korina: optimize rx descriptor flags processing ne

Dear Talented

2017-09-17 Thread Kim Sharma
Dear Talented, I am Talent Scout For BLUE SKY FILM STUDIO, Present Blue sky Studio a Film Corporation Located in the United State, is Soliciting for the Right to use Your Photo/Face and Personality as One of the Semi -Major Role/ Character in our Upcoming ANIMATED Stereoscope 3D Movie-The Story of

Dear Talented

2017-09-17 Thread Kim Sharma
Dear Talented, I am Talent Scout For BLUE SKY FILM STUDIO, Present Blue sky Studio a Film Corporation Located in the United State, is Soliciting for the Right to use Your Photo/Face and Personality as One of the Semi -Major Role/ Character in our Upcoming ANIMATED Stereoscope 3D Movie-The Story of

RE: [PATCH V2] tipc: Use bsearch library function

2017-09-17 Thread Jon Maloy
> -Original Message- > From: Thomas Meyer [mailto:tho...@m3y3r.de] > Sent: Sunday, September 17, 2017 11:00 > To: Jon Maloy > Cc: Joe Perches ; Ying Xue ; > netdev@vger.kernel.org; tipc-discuss...@lists.sourceforge.net; linux- > ker...@vger.kernel.org; da...@davemloft.net > Subject: Re:

Re: Page allocator bottleneck

2017-09-17 Thread Tariq Toukan
On 15/09/2017 10:28 AM, Jesper Dangaard Brouer wrote: On Thu, 14 Sep 2017 19:49:31 +0300 Tariq Toukan wrote: Hi all, As part of the efforts to support increasing next-generation NIC speeds, I am investigating SW bottlenecks in network stack receive flow. Here I share some numbers I got for

Re: Page allocator bottleneck

2017-09-17 Thread Tariq Toukan
On 14/09/2017 11:19 PM, Andi Kleen wrote: Tariq Toukan writes: Congestion in this case is very clear. When monitored in perf top: 85.58% [kernel] [k] queued_spin_lock_slowpath Please look at the callers. Spinlock profiles without callers are usually useless because it's just blaming the me

Re: [PATCH V2] tipc: Use bsearch library function

2017-09-17 Thread Thomas Meyer
> Am 16.09.2017 um 15:20 schrieb Jon Maloy . >> >> What part of "very time critical" have you verified and benchmarked as >> inconsequential? >> >> Please post your results. > > I agree with Joe here. This change does not simplify anything, it does not > reduce the amount of code, plus that it

Re: 319554f284dd ("inet: don't use sk_v6_rcv_saddr directly") causes bind port regression

2017-09-17 Thread Cole Robinson
On 09/15/2017 01:51 PM, Josef Bacik wrote: > Finally got access to a box to run this down myself. This patch on top of > the other patches fixes the problem for me, could you verify it works for > you? Thanks, > Yup I can confirm that patch fixes things when applied on top of the previous 3 p

[pktgen script v2 1/2] Add some helper functions

2017-09-17 Thread Robert Hoo
From: Robert Hoo 1. given a device, get its NUMA belongings 2. given a device, get its queues' irq numbers. 3. given a NUMA node, get its cpu id list. Signed-off-by: Robert Hoo --- pktgen/functions.sh | 44 1 file changed, 44 insertions(+) diff --g

[pktgen script v2 2/2] Add pktgen script: pktgen_sample06_numa_awared_queue_irq_affinity.sh

2017-09-17 Thread Robert Hoo
From: Robert Hoo This script simply does: Detect $DEV's NUMA node belonging. Bind each thread (processor of NUMA locality) with each $DEV queue's irq affinity, 1:1 mapping. How many '-t' threads input determines how many queues will be utilized. If '-f' designates first cpu id, then offset in the

[pktgen script v2 0/2] Add a pktgen sample script of NUMA awareness

2017-09-17 Thread Robert Hoo
From: Robert Hoo It's hard to benchmark 40G+ network bandwidth using ordinary tools like iperf, netperf (see reference 1). Pktgen, packet generator from Kernel sapce, shall be a candidate. I derived this NUMA awared irq affinity sample script from multi-queue sample02, successfully benchmarked 4

[PATCH] hamradio: baycom: use new parport device model

2017-09-17 Thread Sudip Mukherjee
Modify baycom driver to use the new parallel port device model. Signed-off-by: Sudip Mukherjee --- Not tested on real hardware, only tested on qemu and verified that the device is binding to the driver properly in epp_open but then unbinding as the device was not found. drivers/net/hamradio/ba

RE: You've won the 10.5M lawsuit verdict!

2017-09-17 Thread info

Re: [PATCH net] net/sched: cls_matchall: fix crash when used with classful qdisc

2017-09-17 Thread Yotam Gigi
On 09/16/2017 03:02 PM, Davide Caratti wrote: > this script, edited from Linux Advanced Routing and Traffic Control guide > > tc q a dev en0 root handle 1: htb default a > tc c a dev en0 parent 1: classid 1:1 htb rate 6mbit burst 15k > tc c a dev en0 parent 1:1 classid 1:a htb rate 5mbit ceil 6mbi