Re: [PATCH v2 0/2] can: Add r8a7796 support to CAN/CAN FD

2016-11-24 Thread Marc Kleine-Budde
On 11/24/2016 05:11 PM, Chris Paterson wrote: > This series adds support for r8a7796 to rcar_can and rcar_canfd. > > Original series: [PATCH 0/3] arm64: dts: r8a7796: Add CAN/CAN FD support. > > Changes since v1: > - Split bindings documentation changes from device tree changes. > - Rebased on

Svare.//..

2016-11-24 Thread Santander Bank Plc
Mr. Steve Bhatti, Drift / regionsjef Santander Bank Plc, 47-48 Piccadilly PICCADILLY W1J0DT London, Storbritannia Good Day Kjære, Hvordan har du og familien det? Jeg håper mitt brev møter deg i ditt beste humør i dag. Jeg er Dr. Steve Bhatti, fra Harlesden North West London, leder for

[PATCH 2/3] xfrm: unbreak xfrm_sk_policy_lookup

2016-11-24 Thread Steffen Klassert
From: Florian Westphal if we succeed grabbing the refcount, then if (err && !xfrm_pol_hold_rcu) will evaluate to false so this hits last else branch which then sets policy to ERR_PTR(0). Fixes: ae33786f73a7ce ("xfrm: policy: only use rcu in xfrm_sk_policy_lookup")

pull request (net): ipsec 2016-11-25

2016-11-24 Thread Steffen Klassert
1) Fix a refcount leak in vti6. From Nicolas Dichtel. 2) Fix a wrong if statement in xfrm_sk_policy_lookup. From Florian Westphal. 3) The flowcache watermarks are per cpu. Take this into account when comparing to the threshold where we refusing new allocations. From Miroslav Urbanek.

[PATCH 3/3] flowcache: Increase threshold for refusing new allocations

2016-11-24 Thread Steffen Klassert
From: Miroslav Urbanek The threshold for OOM protection is too small for systems with large number of CPUs. Applications report ENOBUFs on connect() every 10 minutes. The problem is that the variable net->xfrm.flow_cache_gc_count is a global counter while the variable

[PATCH 1/3] vti6: flush x-netns xfrm cache when vti interface is removed

2016-11-24 Thread Steffen Klassert
From: Nicolas Dichtel This is the same fix than commit a5d0dc810abf ("vti: flush x-netns xfrm cache when vti interface is removed") This patch fixes a refcnt problem when a x-netns vti6 interface is removed: unregister_netdevice: waiting for vti6_test to become free.

RE: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-24 Thread Hayes Wang
> Mark Lord [mailto:ml...@pobox.com] > > Sent: Friday, November 25, 2016 12:44 AM > [...] > > The bad data in this case is ASCII: > > > > "SRC=m3400:/ TARGET=/m340" > > > > This data is what is seen in /run/mount/utab, a file that is read/written > > over NFS > on > > each boot. > > > >

RE: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-24 Thread Hayes Wang
Mark Lord [mailto:ml...@pobox.com] > Sent: Friday, November 25, 2016 12:44 AM [...] > The bad data in this case is ASCII: > > "SRC=m3400:/ TARGET=/m340" > > This data is what is seen in /run/mount/utab, a file that is read/written > over NFS on > each boot. > > "SRC=m3400:/

Re: [PATCH net-next] net/sched: cls_flower: verify root pointer before dereferncing it

2016-11-24 Thread Cong Wang
On Thu, Nov 24, 2016 at 4:17 PM, Daniel Borkmann wrote: > > > I'm not sure if setting a dummy object for each affected classifier is > making things better. Are you having this in mind as a target for -net? > > We do kfree_rcu() the head (tp->root) and likewise do we

Re: Large performance regression with 6in4 tunnel (sit)

2016-11-24 Thread Stephen Rothwell
Hi Eric, On Thu, 24 Nov 2016 19:54:04 -0800 Eric Dumazet wrote: > > Could you now report : > > ethtool -k eth0 Features for eth0: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6:

RE: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-24 Thread Hayes Wang
Mark Lord [mailto:ml...@pobox.com] > Sent: Thursday, November 24, 2016 11:25 PM [...] > x86 has near fully-coherent memory, so it is the "easy" platform > to get things working on. But Linux supports a very diverse number > of platforms, with varying degrees of cache/memory coherency, > and it

Re: Large performance regression with 6in4 tunnel (sit)

2016-11-24 Thread Eli Cooper
Hi Stephen, On 2016/11/25 10:45, Stephen Rothwell wrote: > Hi Eli, > > On Fri, 25 Nov 2016 10:18:12 +0800 Eli Cooper wrote: >> Sounds like TSO/GSO packets are not properly segmented and therefore >> dropped. >> >> Could you first try turning off segmentation offloading for the

[PATCH net] sit: Set skb->protocol properly in ipip6_tunnel_xmit()

2016-11-24 Thread Eli Cooper
Similar to commit ae148b085876 ("ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()"), sit tunnels also need to update skb->protocol; otherwise, TSO/GSO packets might not be properly segmented, which causes the packets being dropped. Reported-by: Stephen Rothwell

Re: [scr265482] ip_tunnel.c

2016-11-24 Thread 于立洋1
>Bug is in the RFC for not describing how both ends would magically >synchronize, with a sequence protocol which is unidirectional, with no ACK >packets or whatever going back. >With no description, it means that RFC author(s) never considered one side of >the tunnel could die and restart.

Re: [scr265482] ip_tunnel.c

2016-11-24 Thread 于立洋1
Yeah you got it. Great!!! On Thu, Nov 24, 2016 at 9:11 PM, Liyang Yu (于立洋1) wrote: >> Please test my patch since you can reproduce it. > > Thanks cong, but Eric had said: "Really, this is not something that > can be solved by using 'a different initial sequence

Re: 答复: [scr265482] ip_tunnel.c

2016-11-24 Thread Cong Wang
On Thu, Nov 24, 2016 at 9:11 PM, Liyang Yu (于立洋1) wrote: >> Please test my patch since you can reproduce it. > > Thanks cong, but Eric had said: "Really, this is not something that > can be solved by using 'a different initial sequence number'" > So I don't

Re: [PATCH net-next] virtio-net: enable multiqueue by default

2016-11-24 Thread Jason Wang
On 2016年11月25日 12:43, Michael S. Tsirkin wrote: On Fri, Nov 25, 2016 at 12:37:26PM +0800, Jason Wang wrote: >We use single queue even if multiqueue is enabled and let admin to >enable it through ethtool later. This is used to avoid possible >regression (small packet TCP stream transmission).

Re: [PATCH net-next] virtio-net: enable multiqueue by default

2016-11-24 Thread Michael S. Tsirkin
On Fri, Nov 25, 2016 at 12:37:26PM +0800, Jason Wang wrote: > We use single queue even if multiqueue is enabled and let admin to > enable it through ethtool later. This is used to avoid possible > regression (small packet TCP stream transmission). But looks like an > overkill since: > > - single

[PATCH net-next] virtio-net: enable multiqueue by default

2016-11-24 Thread Jason Wang
We use single queue even if multiqueue is enabled and let admin to enable it through ethtool later. This is used to avoid possible regression (small packet TCP stream transmission). But looks like an overkill since: - single queue user can disable multiqueue when launching qemu - brings extra

Re: Large performance regression with 6in4 tunnel (sit)

2016-11-24 Thread Sven-Haegar Koch
On Fri, 25 Nov 2016, Stephen Rothwell wrote: > On Fri, 25 Nov 2016 10:18:12 +0800 Eli Cooper wrote: > > > > Sounds like TSO/GSO packets are not properly segmented and therefore > > dropped. > > > > Could you first try turning off segmentation offloading for the tunnel > >

Re: [scr265482] ip_tunnel.c

2016-11-24 Thread Eric Dumazet
On Thu, Nov 24, 2016 at 7:52 PM, Liyang Yu (于立洋1) wrote: > I accept that the issue is not a CVE candidate. But it's a bug isn't it Bug is in the RFC for not describing how both ends would magically synchronize, with a sequence protocol which is unidirectional, with no ACK

Re: [scr265482] ip_tunnel.c

2016-11-24 Thread Cong Wang
On Thu, Nov 24, 2016 at 5:39 PM, Liyang Yu (于立洋1) wrote: > BTW: > >Which RFC suggests UINT_MAX as GRE sequence number? Can you show me? https://tools.ietf.org/html/rfc2890 "The receiver maintains the sequence number value of the last successfully decapsulated packet.

Re: Large performance regression with 6in4 tunnel (sit)

2016-11-24 Thread Eric Dumazet
On Fri, 2016-11-25 at 14:09 +1100, Stephen Rothwell wrote: > Hi Eric, > > On Thu, 24 Nov 2016 19:01:28 -0800 Eric Dumazet > wrote: > > > > Since I do not have this problem at all on my hosts, it could be a buggy > > ethernet driver. > > > > Could you share what NIC card

Re: [scr265482] ip_tunnel.c

2016-11-24 Thread 于立洋1
I accept that the issue is not a CVE candidate. But it's a bug isn't it Thank you for your suggestions, about the format of mail, and not next time. Everything has its meaning. If sequence number is a joke, why the guys put it into RFC , even implemented the feature. And if you means

Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-24 Thread Mark Lord
On 16-11-24 07:27 PM, Francois Romieu wrote: > > Through aliasing the URB was given a page that contains said (previously) > received file. The ethernet chip/usb host does not write anything in it. I don't see how that could be possible. Please elaborate. The URB buffers are statically

Re: Large performance regression with 6in4 tunnel (sit)

2016-11-24 Thread Stephen Rothwell
Hi Eric, On Thu, 24 Nov 2016 19:01:28 -0800 Eric Dumazet wrote: > > Since I do not have this problem at all on my hosts, it could be a buggy > ethernet driver. > > Could you share what NIC card and driver you are using ? # uname -a Linux bilbo 4.7.0-1-amd64 #1 SMP

Re: Large performance regression with 6in4 tunnel (sit)

2016-11-24 Thread Eric Dumazet
On Fri, 2016-11-25 at 13:45 +1100, Stephen Rothwell wrote: > So turning off tso brings performance up to IPv4 levels ... ok. > > Thanks for that, it solves my immediate problem. Since I do not have this problem at all on my hosts, it could be a buggy ethernet driver. Could you share what NIC

Re: [PATCH net 1/1] driver: macvtap: Unregister netdev rx_handler if macvtap_newlink fails

2016-11-24 Thread Jason Wang
On 2016年11月25日 10:05, f...@48lvckh6395k16k5.yundunddos.com wrote: From: Gao Feng The macvtap_newlink registers the netdev rx_handler firstly, but it does not unregister the handler if macvlan_common_newlink failed. Signed-off-by: Gao Feng ---

Re: Large performance regression with 6in4 tunnel (sit)

2016-11-24 Thread Stephen Rothwell
Hi Eli, On Fri, 25 Nov 2016 10:18:12 +0800 Eli Cooper wrote: > > Sounds like TSO/GSO packets are not properly segmented and therefore > dropped. > > Could you first try turning off segmentation offloading for the tunnel > interface? > ethtool -K sit0 tso off gso off On

Re: [PATCH 3/3] tools/virtio: use {READ,WRITE}_ONCE() in uaccess.h

2016-11-24 Thread Jason Wang
On 2016年11月24日 18:25, Mark Rutland wrote: As a step towards killing off ACCESS_ONCE, use {READ,WRITE}_ONCE() for the virtio tools uaccess primitives, pulling these in from . With this done, we can kill off the now-unused ACCESS_ONCE() definition. Signed-off-by: Mark Rutland

Re: [PATCH 2/3] vringh: kill off ACCESS_ONCE()

2016-11-24 Thread Jason Wang
On 2016年11月24日 18:25, Mark Rutland wrote: Despite living under drivers/ vringh.c is also used as part of the userspace virtio tools. Before we can kill off the ACCESS_ONCE()definition in the tools, we must convert vringh.c to use {READ,WRITE}_ONCE(). This patch does so, along with the

Re: [PATCH 1/3] tools/virtio: fix READ_ONCE()

2016-11-24 Thread Jason Wang
On 2016年11月24日 18:25, Mark Rutland wrote: The virtio tools implementation of READ_ONCE() has a single parameter called 'var', but erroneously refers to 'val' for its cast, and thus won't work unless there's a variable of the correct type that happens to be called 'var'. Fix this with

Re: Large performance regression with 6in4 tunnel (sit)

2016-11-24 Thread Eric Dumazet
On Fri, 2016-11-25 at 12:09 +1100, Stephen Rothwell wrote: > Hi all, > > This is a typical user error report i.e. a net well specified one :-) > > I am using a 6in4 tunnel from my Linux server at home (since my ISP > does not provide native IPv6) to another hosted Linus server (that has > native

Re: [scr265482] ip_tunnel.c

2016-11-24 Thread Eric Dumazet
On Thu, Nov 24, 2016 at 5:39 PM, Liyang Yu (于立洋1) wrote: > > > > > > > > BTW: > >Which RFC suggests UINT_MAX as GRE sequence number? Can you show me? > > > > > > RFC 2890 In any cases, this is absolutely not a security issue nor a CVE candidate. Please remove

Re: Large performance regression with 6in4 tunnel (sit)

2016-11-24 Thread Eli Cooper
Hi Stephen, On 2016/11/25 9:09, Stephen Rothwell wrote: > Hi all, > > This is a typical user error report i.e. a net well specified one :-) > > I am using a 6in4 tunnel from my Linux server at home (since my ISP > does not provide native IPv6) to another hosted Linus server (that has > native

Re: [RFC 02/10] IB/hfi-vnic: Virtual Network Interface Controller (VNIC) Bus driver

2016-11-24 Thread Vishwanathapura, Niranjana
On Thu, Nov 24, 2016 at 09:15:45AM -0700, Jason Gunthorpe wrote: On Wed, Nov 23, 2016 at 04:08:25PM -0800, Vishwanathapura, Niranjana wrote: In order to pass the hfi function pointers to the hfi_vnic ULP, I can, a) Have hfi_vnic ULP define an interface API for hfi1 driver to call to register

[PATCH net 1/1] driver: macvtap: Unregister netdev rx_handler if macvtap_newlink fails

2016-11-24 Thread fgao
From: Gao Feng The macvtap_newlink registers the netdev rx_handler firstly, but it does not unregister the handler if macvlan_common_newlink failed. Signed-off-by: Gao Feng --- drivers/net/macvtap.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-)

Re: [PATCH v2] net: dsa: mv88e6xxx: add MV88E6097 switch

2016-11-24 Thread Andrew Lunn
On Thu, Nov 24, 2016 at 10:14:49PM +0100, Stefan Eichenberger wrote: > Hi David > > On Thu, Nov 24, 2016 at 03:29:21PM -0500, David Miller wrote: > > From: Stefan Eichenberger > > Date: Tue, 22 Nov 2016 17:47:21 +0100 > > > > > Add support for the MV88E6097 switch. The change

GOOD DAY FRIEND

2016-11-24 Thread Mr. Piyush Gupta
-- Dear Friend, Good Day, I am Mr. Piyush Gupta as a (DBSHK) banker, I have funds worth of $25.500,000.00 to secretly secure and transfer in to your account of my late client who dead with next of kin, which i will like to invest in profitable business in your country. Please if you are

Large performance regression with 6in4 tunnel (sit)

2016-11-24 Thread Stephen Rothwell
Hi all, This is a typical user error report i.e. a net well specified one :-) I am using a 6in4 tunnel from my Linux server at home (since my ISP does not provide native IPv6) to another hosted Linus server (that has native IPv6 connectivity). The throughput for IPv6 connections has dropped

Re: [net-next PATCH v1 0/2] stmmac: dwmac-meson8b: configurable RGMII TX delay

2016-11-24 Thread Martin Blumenstingl
On Thu, Nov 24, 2016 at 7:55 PM, Florian Fainelli wrote: > Le 24/11/2016 à 09:05, Martin Blumenstingl a écrit : >> On Thu, Nov 24, 2016 at 4:56 PM, Jerome Brunet wrote: >>> On Thu, 2016-11-24 at 15:34 +0100, Martin Blumenstingl wrote: Currently

Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-24 Thread Francois Romieu
Mark Lord : [...] > >From tracing through the powerpc arch code, this is the buffer that > is being directly DMA'd into. And the USB layer does an invalidate_dcache > on that entire buffer before initiating the DMA (confirmed via printk). > > The driver itself NEVER writes

Re: [PATCH net-next] net/sched: cls_flower: verify root pointer before dereferncing it

2016-11-24 Thread Daniel Borkmann
On 11/24/2016 09:25 PM, David Miller wrote: From: Cong Wang Date: Tue, 22 Nov 2016 11:28:37 -0800 On Tue, Nov 22, 2016 at 8:11 AM, Jiri Pirko wrote: Tue, Nov 22, 2016 at 05:04:11PM CET, dan...@iogearbox.net wrote: Hmm, I don't think we want to

[PATCH net 1/1] tipc: resolve connection flow control compatibility problem

2016-11-24 Thread Jon Maloy
In commit 10724cc7bb78 ("tipc: redesign connection-level flow control") we replaced the previous message based flow control with one based on 1k blocks. In order to ensure backwards compatibility the mechanism falls back to using message as base unit when it senses that the peer doesn't support

Gigabit ethernet driver for Alacritechs SLIC devices

2016-11-24 Thread Lino Sanfilippo
Hi, this is the second version of the slicoss gigabit ethernet driver (which is a rework of the driver from Alacritech which can currently be found under drivers/staging/slicoss). The driver is supposed to support Mojave, Oasis and Kalahari cards, for both copper and fiber. If this code is

[PATCH v2 net-next 1/2] net: ethernet: slicoss: add slicoss gigabit ethernet driver

2016-11-24 Thread Lino Sanfilippo
Add driver for Alacritech gigabit ethernet cards with SLIC (session-layer interface control) technology. The driver provides basic support without SLIC for the following devices: - Mojave cards (single port PCI Gigabit) both copper and fiber - Oasis cards (single and dual port PCI-x Gigabit)

[PATCH v2 net-next 2/2] MAINTAINERS: add entry for slicoss ethernet driver

2016-11-24 Thread Lino Sanfilippo
Add myself as maintainer for the slicoss ethernet driver. Signed-off-by: Lino Sanfilippo --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6781a3f..bb9af28 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -562,6 +562,11

hey!

2016-11-24 Thread Brown Baby
I just wanna be your friend if you can reply me back, Call me Monica.

Re: [PATCH] stmmac ethernet: remove cut & paste code

2016-11-24 Thread Joe Perches
On Thu, 2016-11-24 at 22:44 +0100, Pavel Machek wrote: > On Thu 2016-11-24 12:05:25, Joe Perches wrote: > > On Thu, 2016-11-24 at 12:05 +0100, Pavel Machek wrote: > > > Remove duplicate code from _tx routines. > > > > trivia: > > > > > diff --git

Re: [PATCH] stmmac ethernet: remove cut & paste code

2016-11-24 Thread Pavel Machek
On Thu 2016-11-24 12:05:25, Joe Perches wrote: > On Thu, 2016-11-24 at 12:05 +0100, Pavel Machek wrote: > > Remove duplicate code from _tx routines. > > trivia: > > > diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c > > b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c > [] > >

Re: [PATCH net-next] tcp: enhance tcp_collapse_retrans() with skb_shift()

2016-11-24 Thread Eric Dumazet
On Thu, 2016-11-24 at 15:42 -0500, David Miller wrote: > From: Eric Dumazet > Date: Tue, 22 Nov 2016 10:57:33 -0800 > > > David, patch is marked 'Superseded' in > > https://patchwork.ozlabs.org/patch/695264/ > > > > Not sure what this means exactly ? > > Did I miss a

Re: stmmac ethernet in kernel 4.9-rc6: coalescing related pauses.

2016-11-24 Thread Pavel Machek
Hi! > >> I'm debugging strange delays during transmit in stmmac driver. They > >> seem to be present in 4.4 kernel (and older kernels, too). Workload is > >> burst of udp packets being sent, pause, burst of udp packets, ... ... > > 4.9-rc6 still has the delays. With the > > > > #define

Re: pull request: bluetooth 2016-11-23

2016-11-24 Thread David Miller
From: Johan Hedberg Date: Wed, 23 Nov 2016 09:29:12 +0200 > Sorry about the late pull request for 4.9, but we have one more > important Bluetooth patch that should make it to the release. It fixes > connection creation for Bluetooth LE controllers that do not have a >

Re: [PATCH v2] net: dsa: mv88e6xxx: add MV88E6097 switch

2016-11-24 Thread Stefan Eichenberger
Hi David On Thu, Nov 24, 2016 at 03:29:21PM -0500, David Miller wrote: > From: Stefan Eichenberger > Date: Tue, 22 Nov 2016 17:47:21 +0100 > > > Add support for the MV88E6097 switch. The change was tested on an Armada > > based platform with a MV88E6097 switch. > > > >

Re: [PATCH net 1/1] net sched filters: fix filter handle ID in tfilter_notify_chain()

2016-11-24 Thread David Miller
From: Roman Mashak Date: Tue, 22 Nov 2016 20:57:04 -0500 > Should pass valid filter handle, not the netlink flags. > > Fixes: 30a391a13ab92 ("net sched filters: pass netlink message flags in event > notification") > Signed-off-by: Roman Mashak >

Re: [PATCH net-next 2/2] samples/bpf: fix bpf loader

2016-11-24 Thread David Miller
From: Alexei Starovoitov Date: Tue, 22 Nov 2016 16:52:09 -0800 > llvm can emit relocations into sections other than program code > (like debug info sections). Ignore them during parsing of elf file > > Signed-off-by: Alexei Starovoitov Applied.

Re: [PATCH net-next 1/2] samples/bpf: fix sockex2 example

2016-11-24 Thread David Miller
From: Alexei Starovoitov Date: Tue, 22 Nov 2016 16:52:08 -0800 > since llvm commit "Do not expand UNDEF SDNode during insn selection lowering" > llvm will generate code that uses uninitialized registers for cases > where C code is actually uses uninitialized data. > So this sockex2

Re: [PATCH net-next] tuntap: remove unnecessary sk_receive_queue length check during xmit

2016-11-24 Thread David Miller
From: Jason Wang Date: Wed, 23 Nov 2016 10:26:49 +0800 > After commit 1576d9860599 ("tun: switch to use skb array for tx"), > sk_receive_queue was not used any more. So remove the uncessary > sk_receive_queue length check during xmit. > > Signed-off-by: Jason Wang

Re: [PATCH net-next v2] ethtool: Protect {get,set}_phy_tunable with PHY device mutex

2016-11-24 Thread David Miller
From: Florian Fainelli Date: Tue, 22 Nov 2016 13:55:31 -0800 > PHY drivers should be able to rely on the caller of {get,set}_tunable to > have acquired the PHY device mutex, in order to both serialize against > concurrent calls of these functions, but also against PHY state

Re: [PATCH net-next] mlx4: reorganize struct mlx4_en_tx_ring

2016-11-24 Thread David Miller
From: Eric Dumazet Date: Tue, 22 Nov 2016 15:56:10 -0800 > From: Eric Dumazet > > Goal is to reorganize this critical structure to increase performance. > > ndo_start_xmit() should only dirty one cache line, and access as few > cache lines as

Re: [PATCH net-next V2 0/7] Mellanox 100G mlx5 SRIOV switchdev update

2016-11-24 Thread David Miller
From: Saeed Mahameed Date: Tue, 22 Nov 2016 23:09:53 +0200 > This series from Roi and Or further enhances the new SRIOV switchdev > mode. Series applied, thanks.

Re: [PATCH net-next 0/5] net: phy: broadcom: Wirespeed/downshift support

2016-11-24 Thread David Miller
From: Florian Fainelli Date: Tue, 22 Nov 2016 11:40:53 -0800 > This patch series adds support for the Broadcom Wirespeed, aka downsfhit > feature > utilizing the recently added ethtool PHY tunables. > > Tested with two Gigabit link partners with a 4-wire cable having only

Re: [PATCH net-next] tcp: enhance tcp_collapse_retrans() with skb_shift()

2016-11-24 Thread David Miller
From: Eric Dumazet Date: Tue, 22 Nov 2016 10:57:33 -0800 > David, patch is marked 'Superseded' in > https://patchwork.ozlabs.org/patch/695264/ > > Not sure what this means exactly ? > Did I miss a mail/feedback/something ? I must have mistakenly marked it that way,

Re: [PATCH net] bnxt: do not busy-poll when link is down

2016-11-24 Thread David Miller
From: Andy Gospodarek Date: Tue, 22 Nov 2016 13:14:08 -0500 > When busy polling while a link is down (during a link-flap test), TX > timeouts were observed as well as the following messages in the ring > buffer: > > bnxt_en 0008:01:00.2 enP8p1s0f2d2: Resp cmpl intr err msg:

Re: [PATCH 0/3] virtio/vringh: kill off ACCESS_ONCE()

2016-11-24 Thread Michael S. Tsirkin
On Thu, Nov 24, 2016 at 10:25:11AM +, Mark Rutland wrote: > For several reasons, it would be beneficial to kill off ACCESS_ONCE() > tree-wide, in favour of {READ,WRITE}_ONCE(). These work with aggregate types, > more obviously document their intended behaviour, and are necessary for tools >

RE: [PATCH v9 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-11-24 Thread Levy, Amir (Jer)
On Tue, Nov 22 2016, 07:28 PM, Simon Guinot wrote: > Hi Amir, > > I tested the thunderbolt-icm driver (v9 series) on an Gigabyte > motherboard > (Z170X-UD5 TH-CF) with a Thunderbolt 3 controller (Alpine Ridge 4C). > > I can see that the network interface is well created when the > motherboard

Re: [PATCH net] udplite: call proper backlog handlers

2016-11-24 Thread David Miller
From: Eric Dumazet Date: Tue, 22 Nov 2016 09:06:45 -0800 > From: Eric Dumazet > > In commits 93821778def10 ("udp: Fix rcv socket locking") and > f7ad74fef3af ("net/ipv6/udp: UDP encapsulation: break backlog_rcv into > __udpv6_queue_rcv_skb") UDP

Re: [PATCH v2] net: dsa: mv88e6xxx: add MV88E6097 switch

2016-11-24 Thread David Miller
From: Stefan Eichenberger Date: Tue, 22 Nov 2016 17:47:21 +0100 > Add support for the MV88E6097 switch. The change was tested on an Armada > based platform with a MV88E6097 switch. > > Signed-off-by: Stefan Eichenberger Applied to

Re: [PATCH net-next] net/sched: cls_flower: verify root pointer before dereferncing it

2016-11-24 Thread David Miller
From: Cong Wang Date: Tue, 22 Nov 2016 11:28:37 -0800 > On Tue, Nov 22, 2016 at 8:11 AM, Jiri Pirko wrote: >> Tue, Nov 22, 2016 at 05:04:11PM CET, dan...@iogearbox.net wrote: >>>Hmm, I don't think we want to have such an additional test in fast

[RFC PATCH net-next] ipv6: implement consistent hashing for equal-cost multipath routing

2016-11-24 Thread David Lebrun
When multiple nexthops are available for a given route, the routing engine chooses a nexthop by computing the flow hash through get_hash_from_flowi6 and by taking that value modulo the number of nexthops. The resulting value indexes the nexthop to select. This method causes issues when a new

Re: [PATCH] stmmac ethernet: remove cut & paste code

2016-11-24 Thread Joe Perches
On Thu, 2016-11-24 at 12:05 +0100, Pavel Machek wrote: > Remove duplicate code from _tx routines. trivia: > diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c > b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c [] > @@ -1960,6 +1960,38 @@ static void stmmac_tso_allocator(struct

Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-24 Thread Greg KH
On Thu, Nov 24, 2016 at 02:10:36PM -0500, Mark Lord wrote: > On 16-11-24 02:00 PM, Greg KH wrote: > > On Thu, Nov 24, 2016 at 01:34:08PM -0500, Mark Lord wrote: > >> One thought: bulk data streams are byte streams, not packets. > >> Scheduling on the USB bus can break up larger transfers across >

[PATCH 0/8] irda: w83977af_ir: Neatening

2016-11-24 Thread Joe Perches
On top of Arnd's overly long udelay patch because I noticed a misindented block. Even though I haven't turned on the netwinder in a box in in the garage in who knows how long, if this device is still used somewhere, might as well neaten the code too. Joe Perches (8): irda: w83977af_ir:

Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-24 Thread Mark Lord
On 16-11-24 02:00 PM, Greg KH wrote: > On Thu, Nov 24, 2016 at 01:34:08PM -0500, Mark Lord wrote: >> One thought: bulk data streams are byte streams, not packets. >> Scheduling on the USB bus can break up larger transfers across >> multiple in-kernel buffers. A "real" URB buffer on USB2 is max

[PATCH 3/8] irda: w83977af_ir: Remove unnecessary blank lines

2016-11-24 Thread Joe Perches
These just add unnecessary vertical whitespace. Signed-off-by: Joe Perches --- drivers/net/irda/w83977af_ir.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/net/irda/w83977af_ir.c b/drivers/net/irda/w83977af_ir.c index

[PATCH 4/8] irda: w83977af_ir: Neaten pointer comparisons

2016-11-24 Thread Joe Perches
Convert pointer comparisons to NULL. Signed-off-by: Joe Perches --- drivers/net/irda/w83977af_ir.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/net/irda/w83977af_ir.c b/drivers/net/irda/w83977af_ir.c index

[PATCH 1/8] irda: w83977af_ir: whitespace neatening

2016-11-24 Thread Joe Perches
Remove leading and trailing whitespace. git diff -w shows no differences. Signed-off-by: Joe Perches --- drivers/net/irda/w83977af_ir.c | 392 - 1 file changed, 196 insertions(+), 196 deletions(-) diff --git

[PATCH 8/8] irda: w83977af_ir: Fix misindented block

2016-11-24 Thread Joe Perches
One indent level too many is too many. Signed-off-by: Joe Perches --- drivers/net/irda/w83977af_ir.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/net/irda/w83977af_ir.c b/drivers/net/irda/w83977af_ir.c index

[PATCH 7/8] irda: w83977af_ir: Neaten logging

2016-11-24 Thread Joe Perches
Use more common logging style, standardize function output logging use. Miscellanea: o Add and use pr_fmt o Convert printks to pr_ Signed-off-by: Joe Perches --- drivers/net/irda/w83977af_ir.c | 48 -- 1 file changed, 23 insertions(+),

[PATCH 6/8] irda: w83977af_ir: Parenthesis alignment

2016-11-24 Thread Joe Perches
Neaten function declaration and definition arguments. Signed-off-by: Joe Perches --- drivers/net/irda/w83977af_ir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/irda/w83977af_ir.c b/drivers/net/irda/w83977af_ir.c index

[PATCH 5/8] irda: w83977af_ir: Use the common brace style

2016-11-24 Thread Joe Perches
Add braces where appropriate and remove an unnecessary else. Signed-off-by: Joe Perches --- drivers/net/irda/w83977af_ir.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/net/irda/w83977af_ir.c b/drivers/net/irda/w83977af_ir.c

[PATCH 2/8] irda: w83977af_ir: More whitespace neatening

2016-11-24 Thread Joe Perches
Add spaces around operators. git diff -w shows no differences. Signed-off-by: Joe Perches --- drivers/net/irda/w83977af_ir.c | 232 - 1 file changed, 116 insertions(+), 116 deletions(-) diff --git a/drivers/net/irda/w83977af_ir.c

Re: [PATCH net-next 1/4] net: mvneta: Convert to be 64 bits compatible

2016-11-24 Thread Florian Fainelli
Le 24/11/2016 à 07:01, Gregory CLEMENT a écrit : > Hi Arnd, > > On jeu., nov. 24 2016, Arnd Bergmann wrote: > >> On Thursday, November 24, 2016 4:37:36 PM CET Jisheng Zhang wrote: >>> solB (a SW shadow cookie) perhaps gives a better performance: in hot path, >>> such as

Re: wl1251 & mac address & calibration data

2016-11-24 Thread Aaro Koskinen
Hi, On Thu, Nov 24, 2016 at 04:20:45PM +0100, Pali Rohár wrote: > Proprietary, signed and closed bootloader NOLO does not support DT. So > for booting you need to append DTS file to kernel image. > > U-Boot is optional and can be used as intermediate bootloader between > NOLO and kernel. But

Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-24 Thread Greg KH
On Thu, Nov 24, 2016 at 01:34:08PM -0500, Mark Lord wrote: > One thought: bulk data streams are byte streams, not packets. > Scheduling on the USB bus can break up larger transfers across > multiple in-kernel buffers. A "real" URB buffer on USB2 is max 512 bytes. > The driver is providing

Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-24 Thread Mark Lord
On 16-11-24 01:42 PM, Greg KH wrote: > > Have you tried using usbmon? This system is running rootfs over NFS, so usbmon isn't realistically going to be usable in that scenario without a lot of reconfiguration of the setup (which in itself might obscure the original problem). There is a hardware

Re: [PATCH net v2 5/5] net: qcom/emac: fix of_node and phydev leaks

2016-11-24 Thread Timur Tabi
Johan Hovold wrote: Make sure to drop the reference taken by of_phy_find_device() during probe on probe errors and on driver unbind. Also drop the of_node reference taken by of_parse_phandle() in the same path. Fixes: b9b17debc69d ("net: emac: emac gigabit ethernet controller driver")

Re: [net-next PATCH v1 0/2] stmmac: dwmac-meson8b: configurable RGMII TX delay

2016-11-24 Thread Florian Fainelli
Le 24/11/2016 à 09:05, Martin Blumenstingl a écrit : > On Thu, Nov 24, 2016 at 4:56 PM, Jerome Brunet wrote: >> On Thu, 2016-11-24 at 15:34 +0100, Martin Blumenstingl wrote: >>> Currently the dwmac-meson8b stmmac glue driver uses a hardcoded 1/4 >>> cycle TX clock delay.

Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-24 Thread Mark Lord
On 16-11-24 01:34 PM, Mark Lord wrote: >From tracing through the powerpc arch code, this is the buffer that > is being directly DMA'd into. And the USB layer does an invalidate_dcache > on that entire buffer before initiating the DMA (confirmed via printk). Slight correction: the

Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-24 Thread Greg KH
On Thu, Nov 24, 2016 at 11:43:53AM -0500, Mark Lord wrote: > On 16-11-24 11:21 AM, David Miller wrote: > > From: Hayes Wang > > Date: Thu, 24 Nov 2016 13:26:55 + > > > > > I don't think the garbage results from our driver or device. > > This is my impression with what

Re: wl1251 & mac address & calibration data

2016-11-24 Thread Pali Rohár
On Thursday 24 November 2016 19:11:39 Sebastian Reichel wrote: > Hi, > > On Thu, Nov 24, 2016 at 05:49:33PM +0100, Pali Rohár wrote: > > On Thursday 24 November 2016 17:08:30 Sebastian Reichel wrote: > > > On Thu, Nov 24, 2016 at 04:20:45PM +0100, Pali Rohár wrote: > > > > On Thursday 24 November

Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-24 Thread Mark Lord
On 16-11-24 12:11 PM, David Miller wrote: > From: Mark Lord > Date: Thu, 24 Nov 2016 11:43:53 -0500 > >> So even if this were a platform memory coherency issue, one should >> still never see ASCII data at the beginning of an rx buffer. > > I'm not so convinced, since this is

[PATCH net v2 1/5] net: dsa: fix fixed-link-phy device leaks

2016-11-24 Thread Johan Hovold
Make sure to drop the reference taken by of_phy_find_device() when registering and deregistering the fixed-link PHY-device. Fixes: 39b0c705195e ("net: dsa: Allow configuration of CPU & DSA port speeds/duplex") Signed-off-by: Johan Hovold --- net/dsa/dsa.c | 5 - 1 file

[PATCH net v2 3/5] net: fsl/fman: fix phydev reference leak

2016-11-24 Thread Johan Hovold
Make sure to drop the reference taken by of_phy_find_device() during initialisation when later freeing the struct fman_mac. Fixes: 57ba4c9b56d8 ("fsl/fman: Add FMan MAC support") Signed-off-by: Johan Hovold --- drivers/net/ethernet/freescale/fman/fman_memac.c | 3 +++ 1 file

[PATCH net v2 0/5] net: fix phydev reference leaks

2016-11-24 Thread Johan Hovold
This series fixes a number of phydev reference leaks (and one of_node leak) due to failure to put the reference taken by of_phy_find_device(). Note that I did not try to fix drivers/net/phy/xilinx_gmii2rgmii.c which still leaks a reference. Against net but should apply just as fine to net-next.

[PATCH net v2 5/5] net: qcom/emac: fix of_node and phydev leaks

2016-11-24 Thread Johan Hovold
Make sure to drop the reference taken by of_phy_find_device() during probe on probe errors and on driver unbind. Also drop the of_node reference taken by of_parse_phandle() in the same path. Fixes: b9b17debc69d ("net: emac: emac gigabit ethernet controller driver") Signed-off-by: Johan Hovold

[PATCH net v2 4/5] net: fsl/fman: fix fixed-link-phydev reference leak

2016-11-24 Thread Johan Hovold
Make sure to drop the reference taken by of_phy_find_device() when looking up a fixed-link phydev during probe. Fixes: 57ba4c9b56d8 ("fsl/fman: Add FMan MAC support") Signed-off-by: Johan Hovold --- drivers/net/ethernet/freescale/fman/mac.c | 2 ++ 1 file changed, 2

Re: [PATCH v2] cpsw: ethtool: add support for getting/setting EEE registers

2016-11-24 Thread Florian Fainelli
+Peppe, Le 24/11/2016 à 07:38, Andrew Lunn a écrit : >> As for enabling advertising and correct working of cpsw do you mean it >> would be better to disable EEE in any PHY on cpsw initialization as >> long as cpsw doesn't provide support for EEE? >> >> We observe some strange behavior with our

[PATCH net v2 2/5] net: bcmgenet: fix phydev reference leak

2016-11-24 Thread Johan Hovold
Make sure to drop the reference taken by of_phy_find_device() when initialising MOCA PHYs. Fixes: 6ac9de5f6563 ("net: bcmgenet: Register link_update callback for all MoCA PHYs") Signed-off-by: Johan Hovold --- drivers/net/ethernet/broadcom/genet/bcmmii.c | 4 +++- 1 file

Re: wl1251 & mac address & calibration data

2016-11-24 Thread Sebastian Reichel
Hi, On Thu, Nov 24, 2016 at 05:49:33PM +0100, Pali Rohár wrote: > On Thursday 24 November 2016 17:08:30 Sebastian Reichel wrote: > > On Thu, Nov 24, 2016 at 04:20:45PM +0100, Pali Rohár wrote: > > > On Thursday 24 November 2016 16:13:17 Sebastian Reichel wrote: > > > > On Thu, Nov 24, 2016 at

  1   2   3   >