RE: [v13, 5/8] soc: fsl: add GUTS driver for QorIQ platforms

2016-10-27 Thread Y.B. Lu
> -Original Message- > From: Y.B. Lu > Sent: Friday, October 28, 2016 2:00 PM > To: 'Scott Wood'; linux-...@vger.kernel.org; ulf.hans...@linaro.org; Arnd > Bergmann > Cc: linuxppc-...@lists.ozlabs.org; devicet...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; linux-ker...@vger.ke

[v14, 3/8] dt: bindings: move guts devicetree doc out of powerpc directory

2016-10-27 Thread Yangbo Lu
Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ since it's used by not only PowerPC but also ARM. And add a specification for 'little-endian' property. Signed-off-by: Yangbo Lu Acked-by: Rob Herring Acked-by: Scott Wood --- Changes for v4: - Added this patch Chang

[v14, 7/8] base: soc: introduce soc_device_match() interface

2016-10-27 Thread Yangbo Lu
From: Arnd Bergmann We keep running into cases where device drivers want to know the exact version of the a SoC they are currently running on. In the past, this has usually been done through a vendor specific API that can be called by a driver, or by directly accessing some kind of version regist

[v14, 5/8] soc: fsl: add GUTS driver for QorIQ platforms

2016-10-27 Thread Yangbo Lu
The global utilities block controls power management, I/O device enabling, power-onreset(POR) configuration monitoring, alternate function selection for multiplexed signals,and clock control. This patch adds a driver to manage and access global utilities block. Initially only reading SVR and regis

[v14, 4/8] powerpc/fsl: move mpc85xx.h to include/linux/fsl

2016-10-27 Thread Yangbo Lu
Move mpc85xx.h to include/linux/fsl and rename it to svr.h as a common header file. This SVR numberspace is used on some ARM chips as well as PPC, and even to check for a PPC SVR multi-arch drivers would otherwise need to ifdef the header inclusion and all references to the SVR symbols. Signed-of

[v14, 8/8] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-10-27 Thread Yangbo Lu
The eSDHC of T4240-R1.0-R2.0 has incorrect vender version and spec version. Acturally the right version numbers should be VVN=0x13 and SVN = 0x1. This patch adds the GUTS driver support for eSDHC driver to match SoC. And fix host version to avoid that incorrect version numbers break down the ADMA d

[v14, 6/8] MAINTAINERS: add entry for Freescale SoC drivers

2016-10-27 Thread Yangbo Lu
Add maintainer entry for Freescale SoC drivers including the QE library and the GUTS driver now. Also add maintainer for QE library. Signed-off-by: Yangbo Lu Acked-by: Scott Wood Acked-by: Qiang Zhao --- Changes for v8: - Added this patch Changes for v9: - Added linux-arm mail l

[v14, 2/8] ARM64: dts: ls2080a: add device configuration node

2016-10-27 Thread Yangbo Lu
Add the dts node for device configuration unit that provides general purpose configuration and status for the device. Signed-off-by: Yangbo Lu Acked-by: Scott Wood --- Changes for v5: - Added this patch Changes for v6: - None Changes for v7: - None Changes for v8:

[v14, 0/8] Fix eSDHC host version register bug

2016-10-27 Thread Yangbo Lu
This patchset is used to fix a host version register bug in the T4240-R1.0-R2.0 eSDHC controller. To match the SoC version and revision, 10 previous version patchsets had tried many methods but all of them were rejected by reviewers. Such as - dts compatible method - syscon method

[v14, 1/8] dt: bindings: update Freescale DCFG compatible

2016-10-27 Thread Yangbo Lu
Update Freescale DCFG compatible with 'fsl,-dcfg' instead of 'fsl,ls1021a-dcfg' to include more chips such as ls1021a, ls1043a, and ls2080a. Signed-off-by: Yangbo Lu Acked-by: Rob Herring Signed-off-by: Scott Wood --- Changes for v8: - Added this patch Changes for v9: - Added a

Re: [PATCH v2] ip6_tunnel: Clear IP6CB in ip6_tnl_xmit() after encapsulation

2016-10-27 Thread Eli Cooper
On 2016/10/28 10:17, Tom Herbert wrote: > On Thu, Oct 27, 2016 at 6:52 PM, Eli Cooper wrote: >> > skb->cb may contain data from previous layers. In the observed scenario, >> > the garbage data were misinterpreted as IP6CB(skb)->frag_max_size, so >> > that small packets sent through the tunnel are

Did You Get My Message This Time?

2016-10-27 Thread Friedrich Mayrhofer
This is the second time i am sending you this mail.I, Friedrich Mayrhofer Donate $ 1,000,000.00 to You, Email Me personally for more details. Regards. Friedrich Mayrhofer

Re: [v13, 5/8] soc: fsl: add GUTS driver for QorIQ platforms

2016-10-27 Thread Scott Wood
On Fri, 2016-10-28 at 11:32 +0800, Yangbo Lu wrote: > + guts->regs = of_iomap(np, 0); > + if (!guts->regs) > + return -ENOMEM; > + > + /* Register soc device */ > + machine = of_flat_dt_get_machine_name(); > + if (machine) > + soc_dev_attr.machine = devm_

Hope you received my message

2016-10-27 Thread Friedrich Mayrhofer
-- This is the second time i am sending you this mail. I, Friedrich Mayrhofer Donate $ 1,000,000.00 to You, Email Me personally for more details. Regards.Friedrich Mayrhofer

[v13, 8/8] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-10-27 Thread Yangbo Lu
The eSDHC of T4240-R1.0-R2.0 has incorrect vender version and spec version. Acturally the right version numbers should be VVN=0x13 and SVN = 0x1. This patch adds the GUTS driver support for eSDHC driver to match SoC. And fix host version to avoid that incorrect version numbers break down the ADMA d

[v13, 4/8] powerpc/fsl: move mpc85xx.h to include/linux/fsl

2016-10-27 Thread Yangbo Lu
Move mpc85xx.h to include/linux/fsl and rename it to svr.h as a common header file. This SVR numberspace is used on some ARM chips as well as PPC, and even to check for a PPC SVR multi-arch drivers would otherwise need to ifdef the header inclusion and all references to the SVR symbols. Signed-of

[v13, 7/8] base: soc: introduce soc_device_match() interface

2016-10-27 Thread Yangbo Lu
From: Arnd Bergmann We keep running into cases where device drivers want to know the exact version of the a SoC they are currently running on. In the past, this has usually been done through a vendor specific API that can be called by a driver, or by directly accessing some kind of version regist

[v13, 3/8] dt: bindings: move guts devicetree doc out of powerpc directory

2016-10-27 Thread Yangbo Lu
Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ since it's used by not only PowerPC but also ARM. And add a specification for 'little-endian' property. Signed-off-by: Yangbo Lu Acked-by: Rob Herring Acked-by: Scott Wood --- Changes for v4: - Added this patch Chang

[v13, 5/8] soc: fsl: add GUTS driver for QorIQ platforms

2016-10-27 Thread Yangbo Lu
The global utilities block controls power management, I/O device enabling, power-onreset(POR) configuration monitoring, alternate function selection for multiplexed signals,and clock control. This patch adds a driver to manage and access global utilities block. Initially only reading SVR and regis

[v13, 0/8] Fix eSDHC host version register bug

2016-10-27 Thread Yangbo Lu
This patchset is used to fix a host version register bug in the T4240-R1.0-R2.0 eSDHC controller. To match the SoC version and revision, 10 previous version patchsets had tried many methods but all of them were rejected by reviewers. Such as - dts compatible method - syscon method

[v13, 1/8] dt: bindings: update Freescale DCFG compatible

2016-10-27 Thread Yangbo Lu
Update Freescale DCFG compatible with 'fsl,-dcfg' instead of 'fsl,ls1021a-dcfg' to include more chips such as ls1021a, ls1043a, and ls2080a. Signed-off-by: Yangbo Lu Acked-by: Rob Herring Signed-off-by: Scott Wood --- Changes for v8: - Added this patch Changes for v9: - Added a

[v13, 2/8] ARM64: dts: ls2080a: add device configuration node

2016-10-27 Thread Yangbo Lu
Add the dts node for device configuration unit that provides general purpose configuration and status for the device. Signed-off-by: Yangbo Lu Acked-by: Scott Wood --- Changes for v5: - Added this patch Changes for v6: - None Changes for v7: - None Changes for v8:

Re: [PATCH v2 2/9] ipv6: sr: add code base for control plane support of SR-IPv6

2016-10-27 Thread Tom Herbert
On Wed, Oct 26, 2016 at 8:54 AM, David Lebrun wrote: > This patch adds the necessary hooks and structures to provide support > for SR-IPv6 control plane, essentially the Generic Netlink commands > that will be used for userspace control over the Segment Routing > kernel structures. > > The genetli

[v13, 6/8] MAINTAINERS: add entry for Freescale SoC drivers

2016-10-27 Thread Yangbo Lu
Add maintainer entry for Freescale SoC drivers including the QE library and the GUTS driver now. Also add maintainer for QE library. Signed-off-by: Yangbo Lu Acked-by: Scott Wood Acked-by: Qiang Zhao --- Changes for v8: - Added this patch Changes for v9: - Added linux-arm mail l

Re: [PATCH v2 1/5] kconfig: introduce the "imply" keyword

2016-10-27 Thread Nicolas Pitre
On Fri, 28 Oct 2016, Paul Bolle wrote: > On Tue, 2016-10-25 at 22:28 -0400, Nicolas Pitre wrote: > > The "imply" keyword is a weak version of "select" where the target > > config symbol can still be turned off, avoiding those pitfalls that come > > with the "select" keyword. > > > > This is usefu

Re: [PATCH v2 4/9] ipv6: sr: add core files for SR HMAC support

2016-10-27 Thread Tom Herbert
On Wed, Oct 26, 2016 at 8:54 AM, David Lebrun wrote: > This patch adds the necessary functions to compute and check the HMAC > signature > of an SR-enabled packet. Two HMAC algorithms are supported: hmac(sha1) and > hmac(sha256). > > In order to avoid dynamic memory allocation for each HMAC compu

Re: [PATCH v2 3/9] ipv6: sr: add support for SRH encapsulation and injection with lwtunnels

2016-10-27 Thread Tom Herbert
On Wed, Oct 26, 2016 at 8:54 AM, David Lebrun wrote: > This patch creates a new type of interfaceless lightweight tunnel (SEG6), > enabling the encapsulation and injection of SRH within locally emitted > packets and forwarded packets. > > From a configuration viewpoint, a seg6 tunnel would be conf

RE: [PATCH] e1000e: x86: e1000 driver trying to free already-free irq.

2016-10-27 Thread Brown, Aaron F
> From: netdev-ow...@vger.kernel.org [mailto:netdev- > ow...@vger.kernel.org] On Behalf Of David Singleton > Sent: Monday, October 17, 2016 9:51 AM > To: Kirsher, Jeffrey T > Cc: khalidm ; intel-wired-...@lists.osuosl.org; > netdev@vger.kernel.org; linux-ker...@vger.kernel.org > Subject: [PATCH] e

Re: [PATCH v2 1/9] ipv6: implement dataplane support for rthdr type 4 (Segment Routing Header)

2016-10-27 Thread Tom Herbert
On Wed, Oct 26, 2016 at 8:54 AM, David Lebrun wrote: > Implement minimal support for processing of SR-enabled packets > as described in > https://tools.ietf.org/html/draft-ietf-6man-segment-routing-header-02. > > This patch implements the following operations: > - Intermediate segment endpoint: in

Re: [net-next PATCH 3/3] net: Add support for XPS with QoS via traffic classes

2016-10-27 Thread Tom Herbert
On Thu, Oct 27, 2016 at 8:40 AM, Alexander Duyck wrote: > This patch adds support for setting and using XPS when QoS via traffic > classes is enabled. With this change we will factor in the priority and > traffic class mapping of the packet and use that information to correctly > select the queue

Re: [net-next PATCH 2/3] net: Refactor removal of queues from XPS map and apply on num_tc changes

2016-10-27 Thread Tom Herbert
On Thu, Oct 27, 2016 at 8:40 AM, Alexander Duyck wrote: > This patch updates the code for removing queues from the XPS map and makes > it so that we can apply the code any time we change either the number of > traffic classes or the mapping of a given block of queues. This way we > avoid having q

Re: [PATCH v2] ip6_tunnel: Clear IP6CB in ip6_tnl_xmit() after encapsulation

2016-10-27 Thread Tom Herbert
On Thu, Oct 27, 2016 at 6:52 PM, Eli Cooper wrote: > skb->cb may contain data from previous layers. In the observed scenario, > the garbage data were misinterpreted as IP6CB(skb)->frag_max_size, so > that small packets sent through the tunnel are mistakenly fragmented. > > This patch clears the co

Re: [PATCH net-next RFC WIP] Patch for XDP support for virtio_net

2016-10-27 Thread David Miller
From: Alexander Duyck Date: Thu, 27 Oct 2016 18:43:59 -0700 > On Thu, Oct 27, 2016 at 6:35 PM, David Miller wrote: >> From: "Michael S. Tsirkin" >> Date: Fri, 28 Oct 2016 01:25:48 +0300 >> >>> On Thu, Oct 27, 2016 at 05:42:18PM -0400, David Miller wrote: From: "Michael S. Tsirkin" Da

[PATCH v2] ip6_tunnel: Clear IP6CB in ip6_tnl_xmit() after encapsulation

2016-10-27 Thread Eli Cooper
skb->cb may contain data from previous layers. In the observed scenario, the garbage data were misinterpreted as IP6CB(skb)->frag_max_size, so that small packets sent through the tunnel are mistakenly fragmented. This patch clears the control buffer for the next layer, after an IPv6 header is inst

Re: [PATCH net-next RFC WIP] Patch for XDP support for virtio_net

2016-10-27 Thread Alexander Duyck
On Thu, Oct 27, 2016 at 6:35 PM, David Miller wrote: > From: "Michael S. Tsirkin" > Date: Fri, 28 Oct 2016 01:25:48 +0300 > >> On Thu, Oct 27, 2016 at 05:42:18PM -0400, David Miller wrote: >>> From: "Michael S. Tsirkin" >>> Date: Fri, 28 Oct 2016 00:30:35 +0300 >>> >>> > Something I'd like to un

Re: [PATCH net-next RFC WIP] Patch for XDP support for virtio_net

2016-10-27 Thread David Miller
From: "Michael S. Tsirkin" Date: Fri, 28 Oct 2016 01:25:48 +0300 > On Thu, Oct 27, 2016 at 05:42:18PM -0400, David Miller wrote: >> From: "Michael S. Tsirkin" >> Date: Fri, 28 Oct 2016 00:30:35 +0300 >> >> > Something I'd like to understand is how does XDP address the >> > problem that 100Byte

Re: [PATCH net-next 2/2] net/mlx4_en: Refactor the XDP forwarding rings scheme

2016-10-27 Thread Alexei Starovoitov
On Thu, Oct 27, 2016 at 05:52:04PM +0300, Tariq Toukan wrote: > Separately manage the two types of TX rings: regular ones, and XDP. > Upon an XDP set, do not borrow regular TX rings and convert them > into XDP ones, but allocate new ones, unless we hit the max number > of rings. > Which means that

RE: [PATCH net-next RFC WIP] Patch for XDP support for virtio_net

2016-10-27 Thread Shrijeet Mukherjee
> -Original Message- > From: Shrijeet Mukherjee [mailto:s...@cumulusnetworks.com] > Sent: Thursday, October 27, 2016 5:02 PM > To: John Fastabend ; Jesper Dangaard Brouer > ; David Miller > Cc: m...@redhat.com; shrij...@gmail.com; t...@herbertland.com; > netdev@vger.kernel.org; Roopa Prabh

Re: [PATCH v2 1/5] kconfig: introduce the "imply" keyword

2016-10-27 Thread Paul Bolle
On Tue, 2016-10-25 at 22:28 -0400, Nicolas Pitre wrote: > The "imply" keyword is a weak version of "select" where the target > config symbol can still be turned off, avoiding those pitfalls that come > with the "select" keyword. > > This is useful e.g. with multiple drivers that want to indicate t

RE: [PATCH net-next RFC WIP] Patch for XDP support for virtio_net

2016-10-27 Thread Shrijeet Mukherjee
> > > > Looking at the virtio_net.c code, the function call receive_big() > > might actually be okay for XDP, unless the incoming packet is larger > > than PAGE_SIZE and thus uses several pages (via a linked list in page- > >private). > > > > The receive_mergeable() does not look compatible with XD

[PATCH net] enic: fix rq disable

2016-10-27 Thread Govindarajulu Varadarajan
When MTU is changed from 9000 to 1500 while there is burst of inbound 9000 bytes packets, adaptor sometimes delivers 9000 bytes packets to 1500 bytes buffers. This causes memory corruption and sometimes crash. This is because of a race condition in adaptor between "RQ disable" clearing descriptor

Re: [PATCH net 1/2] vxlan: avoid using stale vxlan socket.

2016-10-27 Thread Stephen Hemminger
On Thu, 27 Oct 2016 11:51:55 -0700 Pravin B Shelar wrote: > - vxlan->vn4_sock = NULL; > + rcu_assign_pointer(vxlan->vn4_sock, NULL); > #if IS_ENABLED(CONFIG_IPV6) > - vxlan->vn6_sock = NULL; > + rcu_assign_pointer(vxlan->vn6_sock, NULL); > if (ipv6 || metadata) User RCU_IN

[PATCH net 1/1] tipc: fix broadcast link synchronization problem

2016-10-27 Thread Jon Maloy
In commit 2d18ac4ba745 ("tipc: extend broadcast link initialization criteria") we tried to fix a problem with the initial synchronization of broadcast link acknowledge values. Unfortunately that solution is not sufficient to solve the issue. We have seen it happen that LINK_PROTOCOL/STATE packets

Re: AW: Redundancy support through HSR and PRP

2016-10-27 Thread Murali Karicheri
On 10/25/2016 09:24 AM, HEISE, Peter P wrote: > Hi Murali, hi Arvid, > > also no work on PRP from my side. > > Should be pretty straight forward to get PRP support from the existing HSR > code. Thanks Arvid and Peter! Basically I have following to be done w.r.t HSR/PRP. 1. Add PRP support 2.

Re: [PATCH 1/5] net: phy: broadcom: Add BCM54810 phy entry

2016-10-27 Thread Jon Mason
On Thu, Oct 27, 2016 at 11:15:05AM +0200, Andrew Lunn wrote: > On Wed, Oct 26, 2016 at 03:35:57PM -0400, Jon Mason wrote: > > From: Vikas Soni > > > > Add BCM54810 phy entry > > Hi Jon, Vikis > > The subject line is a bit misleading. It does more than add a PHY ID > entry. All of the parts are

Re: [PATCH] net: phy: at803x: the Atheros 8031 supports pause frames

2016-10-27 Thread Florian Fainelli
On 10/27/2016 03:24 PM, Timur Tabi wrote: > Florian Fainelli wrote: > >> Hu? In my experience that should not come from supporting Pause frames >> or not, but rather properly configuring a (RG)MII delay, but your >> mileage may vary. > > I can assure you, I'm more confused than you. I've been wo

Re: [PATCH net-next 5/5] ipv6: Compute multipath hash for forwarded ICMP errors from offending packet

2016-10-27 Thread Tom Herbert
On Mon, Oct 24, 2016 at 2:28 AM, Jakub Sitnicki wrote: > Same as for the transmit path, let's do our best to ensure that received > ICMP errors that may be subject to forwarding will be routed the same > path as flow that triggered the error, if it was going in the opposite > direction. > Unfortun

Re: [PATCH 4/5] net: ethernet: bgmac: add NS2 support

2016-10-27 Thread Ray Jui
On 10/27/2016 3:21 PM, Ray Jui wrote: > > > On 10/27/2016 1:51 PM, Jon Mason wrote: >> On Wed, Oct 26, 2016 at 02:50:39PM -0700, Florian Fainelli wrote: >>> On 10/26/2016 12:36 PM, Jon Mason wrote: Add support for the variant of amac hardware present in the Broadcom Northstar2 based S

Re: [PATCH net-next RFC WIP] Patch for XDP support for virtio_net

2016-10-27 Thread Michael S. Tsirkin
On Thu, Oct 27, 2016 at 05:42:18PM -0400, David Miller wrote: > From: "Michael S. Tsirkin" > Date: Fri, 28 Oct 2016 00:30:35 +0300 > > > Something I'd like to understand is how does XDP address the > > problem that 100Byte packets are consuming 4K of memory now. > > Via page pools. We're going

Re: [PATCH] net: phy: at803x: the Atheros 8031 supports pause frames

2016-10-27 Thread Timur Tabi
Florian Fainelli wrote: Hu? In my experience that should not come from supporting Pause frames or not, but rather properly configuring a (RG)MII delay, but your mileage may vary. I can assure you, I'm more confused than you. I've been working in this for almost two weeks, and not only does t

Re: [PATCH 4/5] net: ethernet: bgmac: add NS2 support

2016-10-27 Thread Ray Jui
On 10/27/2016 1:51 PM, Jon Mason wrote: > On Wed, Oct 26, 2016 at 02:50:39PM -0700, Florian Fainelli wrote: >> On 10/26/2016 12:36 PM, Jon Mason wrote: >>> Add support for the variant of amac hardware present in the Broadcom >>> Northstar2 based SoCs. Northstar2 requires an additional register t

Re: [PATCH net-next v3 3/9] ipv6: sr: add support for SRH encapsulation and injection with lwtunnels

2016-10-27 Thread kbuild test robot
Hi David, [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/David-Lebrun/ipv6-implement-dataplane-support-for-rthdr-type-4-Segment-Routing-Header/20161027-233201 config: arm-iop13xx_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian

Re: [PATCH] net: phy: at803x: the Atheros 8031 supports pause frames

2016-10-27 Thread Florian Fainelli
On 10/27/2016 03:05 PM, Timur Tabi wrote: > The Atheros 8031 PHY supports the 802.3 extension for symmetric and > asymmetric pause frames, so set that to the list of features supported > by the phy. > > Signed-off-by: Timur Tabi > --- > > Without this patch, my NIC (the Qualcomm EMAC) receives a

Re: [net 4/4] i40e: fix call of ndo_dflt_bridge_getlink()

2016-10-27 Thread Greg
On Thu, 2016-10-27 at 14:27 -0700, Jeff Kirsher wrote: > From: Huaibin Wang > > Order of arguments is wrong. > The wrong code has been introduced by commit 7d4f8d871ab1, but is compiled > only since commit 9df70b66418e. > > Note that this may break netlink dumps. > > Fixes: 9df70b66418e ("i40e:

Re: [PATCH net-next 5/5] ipv6: Compute multipath hash for forwarded ICMP errors from offending packet

2016-10-27 Thread Jakub Sitnicki
On Thu, Oct 27, 2016 at 03:25 PM GMT, David Miller wrote: > From: Jakub Sitnicki > Date: Mon, 24 Oct 2016 11:28:52 +0200 > >> +inner_iph = skb_header_pointer( >> +skb, skb_transport_offset(skb) + sizeof(*icmph), >> +sizeof(_inner_iph), &_inner_iph); > > Please do not st

[PATCH] net: phy: at803x: the Atheros 8031 supports pause frames

2016-10-27 Thread Timur Tabi
The Atheros 8031 PHY supports the 802.3 extension for symmetric and asymmetric pause frames, so set that to the list of features supported by the phy. Signed-off-by: Timur Tabi --- Without this patch, my NIC (the Qualcomm EMAC) receives a lot of frame check sequence (aka CRC) errors, resulting i

Re: [PATCH net-next 4/5] ipv6: Compute multipath hash for sent ICMP errors from offending packet

2016-10-27 Thread Jakub Sitnicki
On Thu, Oct 27, 2016 at 03:24 PM GMT, David Miller wrote: > From: Jakub Sitnicki > Date: Mon, 24 Oct 2016 11:28:51 +0200 > >> diff --git a/include/linux/icmpv6.h b/include/linux/icmpv6.h >> index 57086e9..6282e03 100644 >> --- a/include/linux/icmpv6.h >> +++ b/include/linux/icmpv6.h >> @@ -45,4 +4

Re: [PATCH net-next 0/5] Route ICMPv6 errors with the flow when ECMP in use

2016-10-27 Thread Hannes Frederic Sowa
Hi, On 27.10.2016 17:23, David Miller wrote: > From: Jakub Sitnicki > Date: Mon, 24 Oct 2016 11:28:47 +0200 > >> However, for it to work IPv6 flow labels have to be same in both >> directions (i.e. reflected) or need to be chosen in a manner that >> ensures that the flow going in the opposite di

Re: [PATCH net-next RFC WIP] Patch for XDP support for virtio_net

2016-10-27 Thread David Miller
From: "Michael S. Tsirkin" Date: Fri, 28 Oct 2016 00:30:35 +0300 > Something I'd like to understand is how does XDP address the > problem that 100Byte packets are consuming 4K of memory now. Via page pools. We're going to make a generic one, but right now each and every driver implements a quic

[net-next PATCH 3/3] net: Add support for XPS with QoS via traffic classes

2016-10-27 Thread Alexander Duyck
This patch adds support for setting and using XPS when QoS via traffic classes is enabled. With this change we will factor in the priority and traffic class mapping of the packet and use that information to correctly select the queue. This allows us to define a set of queues for a given traffic c

[net-next PATCH 0/3] Add support for XPS when using DCB

2016-10-27 Thread Alexander Duyck
This patch series enables proper isolation between traffic classes when using XPS while DCB is enabled. Previously enabling XPS would cause the traffic to be potentially pulled from one traffic class into another on egress. This change essentially multiplies the XPS map by the number of traffic c

[net-next PATCH 2/3] net: Refactor removal of queues from XPS map and apply on num_tc changes

2016-10-27 Thread Alexander Duyck
This patch updates the code for removing queues from the XPS map and makes it so that we can apply the code any time we change either the number of traffic classes or the mapping of a given block of queues. This way we avoid having queues pulling traffic from a foreign traffic class. Signed-off-b

[net-next PATCH 1/3] net: Move functions for configuring traffic classes out of inline headers

2016-10-27 Thread Alexander Duyck
The functions for configuring the traffic class to queue mappings have other effects that need to be addressed. Instead of trying to export a bunch of new functions just relocate the functions so that we can instrument them directly with the functionality they will need. Signed-off-by: Alexander

Re: [PATCH net-next RFC WIP] Patch for XDP support for virtio_net

2016-10-27 Thread Michael S. Tsirkin
On Thu, Oct 27, 2016 at 02:09:08PM -0700, John Fastabend wrote: > On 16-10-27 01:55 AM, Jesper Dangaard Brouer wrote: > > On Wed, 26 Oct 2016 13:11:22 -0400 (EDT) > > David Miller wrote: > > > >> From: "Michael S. Tsirkin" > >> Date: Wed, 26 Oct 2016 20:07:19 +0300 > >> > >>> On Wed, Oct 26, 201

[net 0/4][pull request] Intel Wired LAN Driver Updates 2016-10-27

2016-10-27 Thread Jeff Kirsher
This series contains fixes to ixgbe and i40e. Emil fixes a NULL pointer dereference when a macvlan interface is brought up while the PF is still down. David root caused the original panic that was fixed by commit id (a036244c068612 "i40e: Fix kernel panic on enable/disable LLDP") and the fix was

[net 3/4] i40e: disable MSI-X interrupts if we cannot reserve enough vectors

2016-10-27 Thread Jeff Kirsher
From: Guilherme G Piccoli If we fail on allocating enough MSI-X interrupts, we should disable them since they were previously enabled in this point of code. Not disabling them can lead to WARN_ON() being triggered and subsequent failure in enabling MSI as a fallback; the below message was shown

[net 2/4] i40e: Fix configure TCs after initial DCB disable

2016-10-27 Thread Jeff Kirsher
From: David Ertman in commit a036244c068612a43fa8c0f33a0eb4daa4d8dba0 a fix was put into place to avoid a kernel panic when a non- supported traffic class configuration was put into place and then lldp was enabled/disabled on the link partner switch. This fix caused it to be necessary to unload/

[net 4/4] i40e: fix call of ndo_dflt_bridge_getlink()

2016-10-27 Thread Jeff Kirsher
From: Huaibin Wang Order of arguments is wrong. The wrong code has been introduced by commit 7d4f8d871ab1, but is compiled only since commit 9df70b66418e. Note that this may break netlink dumps. Fixes: 9df70b66418e ("i40e: Remove incorrect #ifdef's") Fixes: 7d4f8d871ab1 ("switchdev; add VLAN su

[net 1/4] ixgbe: fix panic when using macvlan with l2-fwd-offload enabled

2016-10-27 Thread Jeff Kirsher
From: Emil Tantilov Fix NULL pointer dereference in the case where a macvlan interface is brought up while the PF is still down: BUG: unable to handle kernel NULL pointer dereference at 0010 IP: [] ixgbe_alloc_rx_buffers+0x42/0x1a0 [ixgbe] Call Trace: [] ixgbe_configure_rx_ring+0x2e

Re: [PATCH 2/5] Documentation: devicetree: net: add NS2 bindings to amac

2016-10-27 Thread Florian Fainelli
On 10/27/2016 02:21 PM, Jon Mason wrote: > On Thu, Oct 27, 2016 at 11:17:57AM +0200, Andrew Lunn wrote: >> On Wed, Oct 26, 2016 at 03:35:58PM -0400, Jon Mason wrote: >>> Signed-off-by: Jon Mason >>> --- >>> Documentation/devicetree/bindings/net/brcm,amac.txt | 7 +-- >>> 1 file changed, 5 ins

Re: [PATCH 2/5] Documentation: devicetree: net: add NS2 bindings to amac

2016-10-27 Thread Jon Mason
On Thu, Oct 27, 2016 at 11:17:57AM +0200, Andrew Lunn wrote: > On Wed, Oct 26, 2016 at 03:35:58PM -0400, Jon Mason wrote: > > Signed-off-by: Jon Mason > > --- > > Documentation/devicetree/bindings/net/brcm,amac.txt | 7 +-- > > 1 file changed, 5 insertions(+), 2 deletions(-) > > > > diff --g

Re: [PATCH v2] net: skip genenerating uevents for network namespaces that are exiting

2016-10-27 Thread David Miller
From: Andrei Vagin Date: Mon, 24 Oct 2016 19:09:53 -0700 > No one can see these events, because a network namespace can not be > destroyed, if it has sockets. > > Unlike other devices, uevent-s for network devices are generated > only inside their network namespaces. They are filtered in > kobj_

Re: Pure polling mode for netdevices

2016-10-27 Thread Zach Brown
On Fri, Oct 21, 2016 at 11:41:46AM -0700, Eric Dumazet wrote: > On Fri, 2016-10-21 at 13:03 -0500, Zach Brown wrote: > > Is there a way to get NAPI to poll all the time? > > Or just any way to get netdevices to use only polling and no interrupts? > > > > We have some rt targets where the jitter ca

Re: [PATCH v2 net 1/1] net sched filters: fix notification of filter delete with proper handle

2016-10-27 Thread David Miller
From: Jamal Hadi Salim Date: Mon, 24 Oct 2016 20:18:27 -0400 > From: Jamal Hadi Salim > > Daniel says: > > While trying out [1][2], I noticed that tc monitor doesn't show the > correct handle on delete: > > $ tc monitor > qdisc clsact : dev eno1 parent :fff1 > filter dev eno1 ingress

Re: [PATCH net-next RFC WIP] Patch for XDP support for virtio_net

2016-10-27 Thread John Fastabend
On 16-10-27 01:55 AM, Jesper Dangaard Brouer wrote: > On Wed, 26 Oct 2016 13:11:22 -0400 (EDT) > David Miller wrote: > >> From: "Michael S. Tsirkin" >> Date: Wed, 26 Oct 2016 20:07:19 +0300 >> >>> On Wed, Oct 26, 2016 at 12:52:45PM -0400, David Miller wrote: From: "Michael S. Tsirkin" >>

Re: [PATCH 4/5] net: ethernet: bgmac: add NS2 support

2016-10-27 Thread Jon Mason
On Wed, Oct 26, 2016 at 02:50:39PM -0700, Florian Fainelli wrote: > On 10/26/2016 12:36 PM, Jon Mason wrote: > > Add support for the variant of amac hardware present in the Broadcom > > Northstar2 based SoCs. Northstar2 requires an additional register to be > > configured with the port speed/duple

Re: [PATCH] net: bgmac: fix spelling mistake: "connecton" -> "connection"

2016-10-27 Thread David Miller
From: Colin King Date: Mon, 24 Oct 2016 23:46:18 +0100 > From: Colin Ian King > > trivial fix to spelling mistake in dev_err message > > Signed-off-by: Colin Ian King Applied.

Re: [PATCH v3 net] flow_dissector: fix vlan tag handling

2016-10-27 Thread David Miller
From: Arnd Bergmann Date: Mon, 24 Oct 2016 23:40:30 +0200 > gcc warns about an uninitialized pointer dereference in the vlan > priority handling: > > net/core/flow_dissector.c: In function '__skb_flow_dissect': > net/core/flow_dissector.c:281:61: error: 'vlan' may be used uninitialized in > thi

Re: [PATCH] net: ipv6: Do not consider link state for nexthop validation

2016-10-27 Thread David Miller
From: David Ahern Date: Mon, 24 Oct 2016 12:27:23 -0700 > Similar to IPv4, do not consider link state when validating next hops. > > Currently, if the link is down default routes can fail to insert: > $ ip -6 ro add vrf blue default via 2100:2::64 dev eth2 > RTNETLINK answers: No route to host

[patch net-next v2] rocker: set physical device for port netdevice

2016-10-27 Thread Jiri Pirko
From: Jiri Pirko Do this so the sysfs has "device" link correctly set. Signed-off-by: Jiri Pirko --- v1->v2: - make pdev non-const as pointerd out by kbuild test robot --- drivers/net/ethernet/rocker/rocker_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/n

Re: [PATCH v2] net: ipv6: Fix processing of RAs in presence of VRF

2016-10-27 Thread David Miller
From: David Ahern Date: Mon, 24 Oct 2016 10:52:35 -0700 > rt6_add_route_info and rt6_add_dflt_router were updated to pull the FIB > table from the device index, but the corresponding rt6_get_route_info > and rt6_get_dflt_router functions were not leading to the failure to > process RA's: > >

Re: [PATCH] kalmia: avoid potential uninitialized variable use

2016-10-27 Thread David Miller
From: Arnd Bergmann Date: Mon, 24 Oct 2016 17:54:18 +0200 > The kalmia_send_init_packet() returns zero or a negative return > code, but gcc has no way of knowing that there cannot be a > positive return code, so it determines that copying the ethernet > address at the end of kalmia_bind() will ac

Re: [patch net-next] rocker: set physical device for port netdevice

2016-10-27 Thread Jiri Pirko
Thu, Oct 27, 2016 at 10:03:46PM CEST, l...@intel.com wrote: >Hi Jiri, > >[auto build test WARNING on net-next/master] > >url: >https://github.com/0day-ci/linux/commits/Jiri-Pirko/rocker-set-physical-device-for-port-netdevice/20161028-030044 >config: tile-allmodconfig (attached as .config) >comp

Re: [PATCH] ip6_tunnel: Clear IP6CB(skb)->frag_max_size in ip4ip6_tnl_xmit()

2016-10-27 Thread David Miller
From: Eli Cooper Date: Mon, 24 Oct 2016 23:07:12 +0800 > diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c > index 202d16a..4110562 100644 > --- a/net/ipv6/ip6_tunnel.c > +++ b/net/ipv6/ip6_tunnel.c > @@ -1205,6 +1205,7 @@ ip4ip6_tnl_xmit(struct sk_buff *skb, struct net_device > *dev) >

Re: [PATCH v2 net] macsec: Fix header length if SCI is added if explicitly disabled

2016-10-27 Thread David Miller
From: Tobias Brunner Date: Mon, 24 Oct 2016 15:44:26 +0200 > Even if sending SCIs is explicitly disabled, the code that creates the > Security Tag might still decide to add it (e.g. if multiple RX SCs are > defined on the MACsec interface). > But because the header length so far only depended on

Re: [PATCH net-next] ethernet: fix min/max MTU typos

2016-10-27 Thread David Miller
From: Stefan Richter Date: Mon, 24 Oct 2016 14:42:26 +0200 > Fixes: d894be57ca92('ethernet: use net core MTU range checking in more > drivers') > CC: Jarod Wilson > CC: Thomas Falcon > Signed-off-by: Stefan Richter Applied.

Re: [PATCH 0/5] genetlink improvements

2016-10-27 Thread David Miller
From: Johannes Berg Date: Mon, 24 Oct 2016 14:40:00 +0200 > This series contains some generic netlink improvements, making > the API safer to use, and making the function pointers in the > family struct safer by allowing it to be __ro_after_init. Looks great, series applied, thanks!

Re: [PATCH v4] skbedit: allow the user to specify bitmask for mark

2016-10-27 Thread David Miller
From: Antonio Quartulli Date: Mon, 24 Oct 2016 20:32:57 +0800 > The user may want to use only some bits of the skb mark in > his skbedit rules because the remaining part might be used by > something else. > > Introduce the "mask" parameter to the skbedit actor in order > to implement such functi

Re: [PATCH 1/2] Revert "at803x: fix suspend/resume for SGMII link"

2016-10-27 Thread David Miller
From: Zefir Kurtisi Date: Mon, 24 Oct 2016 12:40:53 +0200 > This reverts commit 98267311fe3b334ae7c107fa0e2413adcf3ba735. > > Suspending the SGMII alongside the copper side > made the at803x inaccessable while powered down, > e.g. it can't be re-probed after suspend. > > Signed-off-by: Zefir Ku

Re: [PATCH 2/2] at803x: double check SGMII side autoneg

2016-10-27 Thread David Miller
From: Zefir Kurtisi Date: Mon, 24 Oct 2016 12:40:54 +0200 > In SGMII mode, we observed an autonegotiation issue > after power-down-up cycles where the copper side > reports successful link establishment but the > SGMII side's link is down. > > This happened in a setup where the at8031 is > conne

Re: [patch net-next] rocker: set physical device for port netdevice

2016-10-27 Thread kbuild test robot
Hi Jiri, [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Jiri-Pirko/rocker-set-physical-device-for-port-netdevice/20161028-030044 config: tile-allmodconfig (attached as .config) compiler: tilegx-linux-gcc (GCC) 4.6.2 reproduce: wget https://

Re: [patch net-next] rocker: set physical device for port netdevice

2016-10-27 Thread kbuild test robot
Hi Jiri, [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Jiri-Pirko/rocker-set-physical-device-for-port-netdevice/20161028-030044 config: xtensa-allmodconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 4.9.0 reproduce: wget https:

Re: [PATCH net-next 1/3] net: core: Add a UID field to struct sock.

2016-10-27 Thread David Miller
From: Eric Dumazet Date: Thu, 27 Oct 2016 10:36:26 -0700 > On Fri, 2016-10-28 at 02:20 +0900, Lorenzo Colitti wrote: > >> diff --git a/net/core/sock.c b/net/core/sock.c >> index d8e4532e..831e4e8 100644 >> --- a/net/core/sock.c >> +++ b/net/core/sock.c >> @@ -1570,6 +1570,7 @@ struct sock *sk_cl

Re: [PATCH net-next 1/3] net: core: Add a UID field to struct sock.

2016-10-27 Thread kbuild test robot
Hi Lorenzo, [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Lorenzo-Colitti/net-core-Add-a-UID-field-to-struct-sock/20161028-020552 reproduce: make htmldocs All warnings (new ones prefixed by >>): include/linux/skbuff.h:947: warning: No descript

[PATCH 11/17] batman-adv: Allow selecting BATMAN V if CFG80211 is not built

2016-10-27 Thread Simon Wunderlich
From: Linus Lüssing With the new stub for cfg80211_get_station(), we can now build the BATMAN V protocol even with a kernel that was built without any wireless support. Signed-off-by: Linus Lüssing Signed-off-by: Sven Eckelmann Signed-off-by: Simon Wunderlich --- net/batman-adv/Kconfig | 2 +

[PATCH 07/17] batman-adv: Move batadv_sum_counter to soft-interface.c

2016-10-27 Thread Simon Wunderlich
From: Sven Eckelmann The function batadv_sum_counter is only used in soft-interface.c and has no special relevance for main.h. Signed-off-by: Sven Eckelmann Signed-off-by: Simon Wunderlich --- net/batman-adv/main.h | 21 - net/batman-adv/soft-interface.c | 21 +++

[PATCH 03/17] batman-adv: Add network_coding and mcast sysfs files to README

2016-10-27 Thread Simon Wunderlich
From: Sven Eckelmann Signed-off-by: Sven Eckelmann Signed-off-by: Simon Wunderlich --- Documentation/networking/batman-adv.txt | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Documentation/networking/batman-adv.txt b/Documentation/networking/batman-adv.txt index d

[PATCH 14/17] batman-adv: Use proper name for fragments list head

2016-10-27 Thread Simon Wunderlich
From: Sven Eckelmann The batman-adv codebase is using "list" for the list node (prev/next) and +"_list" for the head of a list. Not using this naming scheme can up in confusions because list_head is used for both the head of the list and the list node (prev/next) in each item of the list. Signed

[PATCH 02/17] batman-adv: Add B.A.T.M.A.N. V sysfs files to README

2016-10-27 Thread Simon Wunderlich
From: Sven Eckelmann Signed-off-by: Sven Eckelmann Signed-off-by: Simon Wunderlich --- Documentation/networking/batman-adv.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/networking/batman-adv.txt b/Documentation/networking/batman-adv.txt index 8a8d3d9..d

[PATCH 05/17] batman-adv: Document new nc, mcast and tpmeter log levels

2016-10-27 Thread Simon Wunderlich
From: Sven Eckelmann Signed-off-by: Sven Eckelmann Signed-off-by: Simon Wunderlich --- Documentation/networking/batman-adv.txt | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Documentation/networking/batman-adv.txt b/Documentation/networking/batman-adv.t

  1   2   3   >