Re: [PATCH] Bluetooth: hci_smd: Qualcomm WCNSS HCI driver

2015-09-30 Thread Marcel Holtmann
Hi Bjorn, > The Qualcomm WCNSS chip provides two SMD channels to the BT core; one > for command and one for event packets. This driver exposes the two > channels as a hci device. > > Signed-off-by: Bjorn Andersson > --- > drivers/bluetooth/Kconfig | 11 +++ > drivers/bluetooth/Makefile | 1

Re: [PATCH 2/2] net: Microchip encx24j600 driver

2015-09-30 Thread kbuild test robot
Hi Jon, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: i386-allmodconfig (attached as .config) reproduce: git checkout abb68976e3057f70babddaf71802ed126d0297bc # save the attached .config to linux build tree make ARCH=i386 All

[PATCH 1/2] regmap: Allow installing custom reg_update_bits function

2015-09-30 Thread jon
From: Jon Ringle This commit allows installing a custom reg_update_bits function for cases where the hardware provides a mechanism to set or clear register bits without a read/modify/write cycle. Such is the case with the Microchip ENCX24J600. Signed-off-by: Jon Ringle --- drivers/base/regmap/

[PATCH 2/2] net: Microchip encx24j600 driver

2015-09-30 Thread jon
From: Jon Ringle This ethernet driver supports the Micorchip enc424j600/626j600 Ethernet controller over a SPI bus interface. This driver makes use of the regmap API to optimize access to registers by caching registers where possible. Signed-off-by: Jon Ringle --- drivers/net/ethernet/microchi

Re: [patch net-next] switchdev: bring back switchdev_obj and use it as a generic object param

2015-09-30 Thread Jiri Pirko
Wed, Sep 30, 2015 at 08:00:40PM CEST, vivien.dide...@savoirfairelinux.com wrote: >> diff --git a/include/net/switchdev.h b/include/net/switchdev.h >> index e11425e..a79a7f0 100644 >> --- a/include/net/switchdev.h >> +++ b/include/net/switchdev.h >> @@ -64,15 +64,23 @@ enum switchdev_obj_id { >>

Re: [patch net-next] switchdev: bring back switchdev_obj and use it as a generic object param

2015-09-30 Thread Jiri Pirko
Thu, Oct 01, 2015 at 05:44:55AM CEST, sfel...@gmail.com wrote: >On Wed, Sep 30, 2015 at 9:00 AM, Jiri Pirko wrote: >> From: Jiri Pirko >> >> Replace "void *obj" with a generic structure. Introduce couple of >> helpers along that. >> >> Signed-off-by: Jiri Pirko > >Looks good to me, except for th

Re: [PATCH] Bluetooth: hci_smd: Qualcomm WCNSS HCI driver

2015-09-30 Thread kbuild test robot
Hi Bjorn, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: arm-allmodconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/ma

Re: [patch net-next v3 02/10] switchdev: introduce transaction item queue for attr_set and obj_add

2015-09-30 Thread Scott Feldman
On Wed, Sep 30, 2015 at 11:56 AM, Vivien Didelot wrote: > Hi all, > > On Sep. Friday 25 (39) 11:03 AM, Vivien Didelot wrote: >> On Sep. Thursday 24 (39) 10:55 PM, David Miller wrote: >> > From: Scott Feldman >> > Date: Thu, 24 Sep 2015 22:29:43 -0700 >> > >> > > I'd rather keep 2-phase not option

Re: [PATCH v2 4/5] net: phy: Broadcom Cygnus internal Etherent PHY driver

2015-09-30 Thread kbuild test robot
Hi Arun, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: um-allyesconfig (attached as .config) reproduce: git checkout 0560b94805aa3bb38439b4f72b776d85d2aac394 # save the attached .config to linux build tree make ARCH=um All wa

Re: GPF in do_raw_spin_lock on Linux 4.1

2015-09-30 Thread Cong Wang
(Cc'ing Jamal) On Wed, Sep 30, 2015 at 5:49 PM, Vinson Lee wrote: > Hi. > > We've hit this GPF on several different machines on Linux 4.1. > > general protection fault: [#1] SMP > Modules linked in: sch_htb cls_basic act_mirred cls_u32 veth > sch_ingress netconsole configfs cpufreq_ondemand

Re: [patch net-next] switchdev: bring back switchdev_obj and use it as a generic object param

2015-09-30 Thread Scott Feldman
On Wed, Sep 30, 2015 at 9:00 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Replace "void *obj" with a generic structure. Introduce couple of > helpers along that. > > Signed-off-by: Jiri Pirko Looks good to me, except for the macro/enum collision Vivien pointed out. Vivien's suggestion to use S

[PATCH net-next V14 2/3] openvswitch: Check for vlan ethernet types for 8021.q or 802.1ad

2015-09-30 Thread Thomas F Herbert
Signed-off-by: Thomas F Herbert --- include/linux/if_vlan.h | 17 + 1 file changed, 17 insertions(+) diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h index 67ce5bd..88d1be4 100644 --- a/include/linux/if_vlan.h +++ b/include/linux/if_vlan.h @@ -627,6 +627,23 @@ stati

[PATCH net-next V14 3/3] openvswitch: 802.1ad: Flow handling, actions, vlan parsing and netlink attributes

2015-09-30 Thread Thomas F Herbert
Add support for 802.1ad including the ability to push and pop double tagged vlans. Add support for 802.1ad to netlink parsing and flow conversion. Uses double nested encap attributes to represent double tagged vlan. Inner TPID encoded along with ctci in nested attributes. Signed-off-by: Thomas F H

[PATCH net-next V14 1/3] openvswitch: 802.1ad uapi changes.

2015-09-30 Thread Thomas F Herbert
openvswitch: Add support for 8021.AD Change the description of the VLAN tpid field. Signed-off-by: Thomas F Herbert --- include/uapi/linux/openvswitch.h | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/include/uapi/linux/openvswitch.h b/include/uapi/linux/op

[PATCH net-next V14 0/3] openvswitch: Add support for 802.1ad

2015-09-30 Thread Thomas F Herbert
Although the Open Flow specification specified support for 802.1AD (qinq) as well as push and pop vlan headers, So far Open vSwitch has only supported a single tag header. This patch implements 802.1AD in the kernel module. This patch accompanies version 14 of the user level openvswitch patch sub

Re: List corruption on epoll_ctl(EPOLL_CTL_DEL) an AF_UNIX socket

2015-09-30 Thread Jason Baron
On 09/30/2015 03:34 AM, Michal Kubecek wrote: > On Wed, Sep 30, 2015 at 07:54:29AM +0200, Mathias Krause wrote: >> On 29 September 2015 at 21:09, Jason Baron wrote: >>> However, if we call connect on socket 's', to connect to a new socket 'o2', >>> we >>> drop the reference on the original socket

Re: List corruption on epoll_ctl(EPOLL_CTL_DEL) an AF_UNIX socket

2015-09-30 Thread Jason Baron
On 09/30/2015 01:54 AM, Mathias Krause wrote: > On 29 September 2015 at 21:09, Jason Baron wrote: >> However, if we call connect on socket 's', to connect to a new socket 'o2', >> we >> drop the reference on the original socket 'o'. Thus, we can now close socket >> 'o' without unregistering from

Re: [PATCH net 5/7] openvswitch: Reject ct_state unsupported bits

2015-09-30 Thread Pravin Shelar
On Wed, Sep 30, 2015 at 6:20 PM, Joe Stringer wrote: > On 30 September 2015 at 17:31, Pravin Shelar wrote: >> On Tue, Sep 29, 2015 at 3:39 PM, Joe Stringer wrote: >>> Previously, if userspace specified ct_state bits in the flow key which >>> are currently undefined (and therefore unsupported), t

Re: [PATCH 2/2] Convert smsc911x to use ACPI as well as DT

2015-09-30 Thread Al Stone
Adding Charles Garcia-Tobin from ARM On 09/25/2015 09:28 AM, Catalin Marinas wrote: > On Thu, Sep 24, 2015 at 07:10:38PM +0100, David Woodhouse wrote: >> On Thu, 2015-09-24 at 16:15 +0100, Catalin Marinas wrote: >>> With "PRP0001", they can skip the _DSD properties review process (not >>> that

Re: [RFT v3] geneve: implement support for IPv6-based tunnels

2015-09-30 Thread kbuild test robot
Hi John, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: x86_64-randconfig-s2-10010927 (attached as .config) reproduce: git checkout c1211d3ada9fc6f89f657c1d9c870de3baff506e # save the attached .config to linux build tree make AR

Re: [PATCH net 1/7] openvswitch: Make LABELS name more consistent

2015-09-30 Thread Joe Stringer
On 30 September 2015 at 17:31, Pravin Shelar wrote: > On Tue, Sep 29, 2015 at 3:39 PM, Joe Stringer wrote: >> Conntrack LABELS (plural) are exposed by conntrack; rename the OVS name >> for these to be consistent with conntrack. >> >> Fixes: c2ac667 "openvswitch: Allow matching on conntrack label"

Re: [PATCH net 5/7] openvswitch: Reject ct_state unsupported bits

2015-09-30 Thread Joe Stringer
On 30 September 2015 at 17:31, Pravin Shelar wrote: > On Tue, Sep 29, 2015 at 3:39 PM, Joe Stringer wrote: >> Previously, if userspace specified ct_state bits in the flow key which >> are currently undefined (and therefore unsupported), then they would be >> ignored. This could cause unexpected b

WARNING: iputils is not very fresh, upgrade is recommended; bug in iputils or kernel?

2015-09-30 Thread L. A. Walsh
According to the comment in the code: --- /* Sigh, IP_RECVERR for raw socket * was broken until 2.4.9. So, we ignore * the first error and warn on the second. */ if (once++ == 1) fprintf(stderr, "\rWARNING: kernel is not very f

GPF in do_raw_spin_lock on Linux 4.1

2015-09-30 Thread Vinson Lee
Hi. We've hit this GPF on several different machines on Linux 4.1. general protection fault: [#1] SMP Modules linked in: sch_htb cls_basic act_mirred cls_u32 veth sch_ingress netconsole configfs cpufreq_ondemand ipv6 dm_multipath scsi_dh video sbs sbshc hed acpi_pad acpi_ipmi sch_fq_codel pa

Re: [PATCH 4/4] net: phy: Broadcom Cygnus internal Etherent PHY driver

2015-09-30 Thread kbuild test robot
Hi Arun, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: x86_64-allmodconfig (attached as .config) reproduce: git checkout b16a22848521e4f0d2e071d6832add80f0596068 # save the attached .config to linux build tree make ARCH=x86_64 All error/warnin

Re: [PATCH net 2/7] openvswitch: Fix typos in CT headers

2015-09-30 Thread Pravin Shelar
On Tue, Sep 29, 2015 at 3:39 PM, Joe Stringer wrote: > These comments hadn't caught up to their implementations, fix them. > > Fixes: 7f8a436 "openvswitch: Add conntrack action" > Signed-off-by: Joe Stringer Acked-by: Pravin B Shelar -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH net 5/7] openvswitch: Reject ct_state unsupported bits

2015-09-30 Thread Pravin Shelar
On Tue, Sep 29, 2015 at 3:39 PM, Joe Stringer wrote: > Previously, if userspace specified ct_state bits in the flow key which > are currently undefined (and therefore unsupported), then they would be > ignored. This could cause unexpected behaviour in future if userspace is > extended to support a

Re: [PATCH net 7/7] openvswitch: Change CT_ATTR_FLAGS to CT_ATTR_COMMIT

2015-09-30 Thread Pravin Shelar
On Tue, Sep 29, 2015 at 3:39 PM, Joe Stringer wrote: > Previously, the CT_ATTR_FLAGS attribute, when nested under the > OVS_ACTION_ATTR_CT, encoded a 32-bit bitmask of flags that modify the > semantics of the ct action. It's more extensible to just represent each > flag as a nested attribute, and

Re: [PATCH net 4/7] openvswitch: Ensure flow is valid before executing ct

2015-09-30 Thread Pravin Shelar
On Tue, Sep 29, 2015 at 3:39 PM, Joe Stringer wrote: > The ct action uses parts of the flow key, so we need to ensure that it > is valid before executing that action. > > Fixes: 7f8a436 "openvswitch: Add conntrack action" > Signed-off-by: Joe Stringer Acked-by: Pravin B Shelar -- To unsubscribe

Re: [PATCH net 6/7] openvswitch: Extend ct_state match field to 32 bits

2015-09-30 Thread Pravin Shelar
On Tue, Sep 29, 2015 at 3:39 PM, Joe Stringer wrote: > The ct_state field was initially added as an 8-bit field, however six of > the bits are already being used and use cases are already starting to > appear that may push the limits of this field. This patch extends the > field to 32 bits while r

Re: [PATCH net 1/7] openvswitch: Make LABELS name more consistent

2015-09-30 Thread Pravin Shelar
On Tue, Sep 29, 2015 at 3:39 PM, Joe Stringer wrote: > Conntrack LABELS (plural) are exposed by conntrack; rename the OVS name > for these to be consistent with conntrack. > > Fixes: c2ac667 "openvswitch: Allow matching on conntrack label" > Signed-off-by: Joe Stringer > --- > include/uapi/linux

[PATCH v2 3/5] net: phy: Add Broadcom phy library for common interfaces

2015-09-30 Thread Arun Parameswaran
This patch adds the Broadcom phy library to consolidate common interfaces shared by Broadcom phy's. Moved the common interfaces to the 'bcm-phy-lib.c' and updated the Broadcom PHY drivers to use the new APIs. Signed-off-by: Arun Parameswaran --- drivers/net/phy/Kconfig | 6 ++ drivers/n

[PATCH v2 2/5] net: phy: Broadcom iProc MDIO bus driver

2015-09-30 Thread Arun Parameswaran
This patch adds support for the Broadcom iProc MDIO bus interface. The MDIO interface can be found in the Broadcom iProc family Soc's. The MDIO bus is accessed using a combination of command and data registers. This MDIO driver provides access to the Etherent GPHY's connected to the MDIO bus. Sig

[PATCH v2 5/5] net: phy: bcm7xxx: Modified to use global core register defines

2015-09-30 Thread Arun Parameswaran
Modified the bcm7xxx phy driver to remove local core register defines and use the common ones from "include/linux/brcmphy.h" Signed-off-by: Arun Parameswaran --- drivers/net/phy/bcm7xxx.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/net/phy/bcm7xxx.c b/dri

[PATCH v2 4/5] net: phy: Broadcom Cygnus internal Etherent PHY driver

2015-09-30 Thread Arun Parameswaran
Add support for the Broadcom Cygnus SoCs internal PHY's. The PHYs are 1000M/100M/10M capable with support for 'EEE' and 'APD' (Auto Power Down). This driver supports the following Broadcom Cygnus SoCs: - BCM583XX (BCM58300, BCM58302, BCM58303, BCM58305) - BCM113XX (BCM11300, BCM11320, BCM11350,

[PATCH v2 1/5] dt-bindings: net: Broadcom iProc MDIO bus driver device tree binding

2015-09-30 Thread Arun Parameswaran
Add device tree binding documentation for the Broadcom iProc MDIO bus driver. Signed-off-by: Arun Parameswaran --- .../devicetree/bindings/net/brcm,iproc-mdio.txt| 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,iproc

[PATCH v2 0/5] Add support for Broadcom's iProc MDIO and Cygnus Ethernet PHY

2015-09-30 Thread Arun Parameswaran
Hi This patchset adds support for the iProc MDIO interface and the Broadcom Cygnus SoC's internal Ethernet PHY. The internal Ethernet PHY(s) in the Cygnus SoC's are accessed via the MDIO interface found in most of the iProc based chips. The patch also consolidates the common API's used by the Bro

Re: Rate limiting AP bandwidth change messages in ieee80211_config_bw?

2015-09-30 Thread Josh Boyer
On Wed, Sep 30, 2015 at 3:04 PM, Johannes Berg wrote: > >> >> I'm not sure ratelimiting it would even work - it's not *that* high >> frequency? Not really sure though. >> >> I think we can do either, it's not such a terribly important message as >> far as I can tell. >> > > Seems like Emmanuel wou

Re: [PATCH v2 net-next 0/3] RDS: RDS-TCP perf enhancements

2015-09-30 Thread santosh shilimkar
On 9/30/2015 1:54 PM, Sowmini Varadhan wrote: A 3-part patchset that (a) improves current RDS-TCP perf by 2X-3X and (b) refactors earlier robustness code for better observability/scaling. Patch 1 is an enhancment of earlier robustness fixes that had used separate sockets for client and server

[PATCH] Bluetooth: hci_smd: Qualcomm WCNSS HCI driver

2015-09-30 Thread bjorn.andersson
From: Bjorn Andersson The Qualcomm WCNSS chip provides two SMD channels to the BT core; one for command and one for event packets. This driver exposes the two channels as a hci device. Signed-off-by: Bjorn Andersson --- drivers/bluetooth/Kconfig | 11 +++ drivers/bluetooth/Makefile | 1 +

Re: [PATCH v3 4/5] kcmp: add KCMP_FILE_PRIVATE_DATA

2015-09-30 Thread Tycho Andersen
On Wed, Sep 30, 2015 at 02:48:47PM -0700, Andy Lutomirski wrote: > On Wed, Sep 30, 2015 at 2:39 PM, Tycho Andersen > wrote: > > On Wed, Sep 30, 2015 at 11:56:25AM -0700, Andy Lutomirski wrote: > >> On Wed, Sep 30, 2015 at 11:55 AM, Tycho Andersen > >> wrote: > >> > On Wed, Sep 30, 2015 at 11:47:0

Re: [PATCH nf-next] netfilter: Line layout whitespace fixes

2015-09-30 Thread Pablo Neira Ayuso
On Thu, Sep 24, 2015 at 11:10:06AM +0100, Ian Morris wrote: > Fixes various whitespace issues detected by checkpatch (e.g. adding spaces > between operations, replacing spaces with tabs, etc) > > No changes detected by objdiff. These large cleanup patch causes problems for -stable maintainers, s

e1000_main_c_Remove checkpatch coding style errors

2015-09-30 Thread Janusz Wolak
>From 3ff533dfb7644ebf0e13f225fe7682f52b5c862d Mon Sep 17 00:00:00 2001 From: Janusz Wolak Date: Wed, 30 Sep 2015 23:44:13 +0200 Subject: [PATCH] Remove checkpatch coding style errors. Signed-off-by: Janusz Wolak --- drivers/net/ethernet/intel/e1000/e1000_main.c | 116 +++--

Re: [PATCH v3 4/5] kcmp: add KCMP_FILE_PRIVATE_DATA

2015-09-30 Thread Andy Lutomirski
On Wed, Sep 30, 2015 at 2:39 PM, Tycho Andersen wrote: > On Wed, Sep 30, 2015 at 11:56:25AM -0700, Andy Lutomirski wrote: >> On Wed, Sep 30, 2015 at 11:55 AM, Tycho Andersen >> wrote: >> > On Wed, Sep 30, 2015 at 11:47:05AM -0700, Andy Lutomirski wrote: >> >> On Wed, Sep 30, 2015 at 11:41 AM, Tyc

Re: [PATCH RFC 3/7] netfilter: add NF_INET_LOCAL_SOCKET_IN chain type

2015-09-30 Thread Florian Westphal
Daniel Mack wrote: > Of course you can drop certain packets at this point, depending on other > details. Say, for instance, you want to match all packets that are > received by a certain task and that are originated from IP addresses of > a specific subnet, and drop the rest. Rather than adding ma

Re: [RFC PATCH 1/3] net: dsa: Use devm_ prefixed allocations

2015-09-30 Thread Florian Fainelli
On 30/09/15 01:21, Neil Armstrong wrote: > To simplify and prevent memory leakage when unbinding, use > the devm_ memory allocation calls. > > Signed-off-by: Neil Armstrong For this entire series, on BCM7445 (using bcm_sf2) Tested-by: Florian Fainelli Thanks! -- Florian -- To unsubscribe fro

Re: [PATCH 1/4] dt-bindings: net: Broadcom iProc MDIO bus driver device tree binding

2015-09-30 Thread Arun Parameswaran
On 15-09-30 02:36 PM, Florian Fainelli wrote: > On 30/09/15 13:32, Arun Parameswaran wrote: >> Add device tree binding documentation for the Broadcom iProc MDIO >> bus driver. >> >> Signed-off-by: Arun Parameswaran >> --- >> .../devicetree/bindings/net/brcm,iproc-mdio.txt| 23 >> ++

Re: [PATCH 4/4] net: phy: Broadcom Cygnus internal Etherent PHY driver

2015-09-30 Thread Arun Parameswaran
On 15-09-30 02:37 PM, Florian Fainelli wrote: > On 30/09/15 13:32, Arun Parameswaran wrote: >> Add support for the Broadcom Cygnus SoCs internal PHY's. >> The PHYs are 1000M/100M/10M capable with support for 'EEE' >> and 'APD' (Auto Power Down). >> >> This driver supports the following Broadcom C

Re: DSA driver - how to glue to a PCI based NIC's mdio?

2015-09-30 Thread Andrew Lunn
> > information to the NIC's device driver. Better would be to have a > > small shim driver which is loaded on your PCI_ID/DEVICE_ID. That would > > instantiate the NIC driver, and insert a DSA platform device. > > I was thinking of this as well, but then I would still need that shim > to know the

Re: [RFC PATCH 1/3] net: dsa: Use devm_ prefixed allocations

2015-09-30 Thread Florian Fainelli
On 30/09/15 14:34, Fabio Estevam wrote: > On Wed, Sep 30, 2015 at 5:21 AM, Neil Armstrong > wrote: >> To simplify and prevent memory leakage when unbinding, use >> the devm_ memory allocation calls. >> >> Signed-off-by: Neil Armstrong >> --- >> net/dsa/dsa.c | 6 +++--- >> 1 file changed, 3 ins

Re: [PATCH v3 4/5] kcmp: add KCMP_FILE_PRIVATE_DATA

2015-09-30 Thread Tycho Andersen
On Wed, Sep 30, 2015 at 11:56:25AM -0700, Andy Lutomirski wrote: > On Wed, Sep 30, 2015 at 11:55 AM, Tycho Andersen > wrote: > > On Wed, Sep 30, 2015 at 11:47:05AM -0700, Andy Lutomirski wrote: > >> On Wed, Sep 30, 2015 at 11:41 AM, Tycho Andersen > >> wrote: > >> > On Wed, Sep 30, 2015 at 11:25:

Re: [PATCH 4/4] net: phy: Broadcom Cygnus internal Etherent PHY driver

2015-09-30 Thread Florian Fainelli
On 30/09/15 13:32, Arun Parameswaran wrote: > Add support for the Broadcom Cygnus SoCs internal PHY's. > The PHYs are 1000M/100M/10M capable with support for 'EEE' > and 'APD' (Auto Power Down). > > This driver supports the following Broadcom Cygnus SoCs: > - BCM583XX (BCM58300, BCM58302, BCM5830

Re: [PATCH 2/4] net: phy: Broadcom iProc MDIO bus driver

2015-09-30 Thread Florian Fainelli
On 30/09/15 13:32, Arun Parameswaran wrote: > This patch adds support for the Broadcom iProc MDIO bus interface. > The MDIO interface can be found in the Broadcom iProc family Soc's. > > The MDIO bus is accessed using a combination of command and data > registers. This MDIO driver provides access

[PATCH] net: lpc_eth: fix warnings caused by enabling unprepared clock

2015-09-30 Thread Vladimir Zapolskiy
If common clock framework is configured, the driver generates warnings, which are fixed by this change: WARNING: CPU: 0 PID: 1 at linux/drivers/clk/clk.c:727 clk_core_enable+0x2c/0xa4() Modules linked in: CPU: 0 PID: 1 Comm: swapper Not tainted 4.3.0-rc2+ #141 Hardware name: LPC32

Re: [PATCH 1/4] dt-bindings: net: Broadcom iProc MDIO bus driver device tree binding

2015-09-30 Thread Florian Fainelli
On 30/09/15 13:32, Arun Parameswaran wrote: > Add device tree binding documentation for the Broadcom iProc MDIO > bus driver. > > Signed-off-by: Arun Parameswaran > --- > .../devicetree/bindings/net/brcm,iproc-mdio.txt| 23 > ++ > 1 file changed, 23 insertions(+) > crea

[PATCH net-next 5/6] bridge: Remove br_nf_push_frag_xmit_sk

2015-09-30 Thread Eric W. Biederman
Now that this compatability function no longer has any callers remove it. Signed-off-by: "Eric W. Biederman" --- net/bridge/br_netfilter_hooks.c | 5 - 1 file changed, 5 deletions(-) diff --git a/net/bridge/br_netfilter_hooks.c b/net/bridge/br_netfilter_hooks.c index 815994d5b02d..370aa4d4c

Re: [RFC PATCH 1/3] net: dsa: Use devm_ prefixed allocations

2015-09-30 Thread Fabio Estevam
On Wed, Sep 30, 2015 at 5:21 AM, Neil Armstrong wrote: > To simplify and prevent memory leakage when unbinding, use > the devm_ memory allocation calls. > > Signed-off-by: Neil Armstrong > --- > net/dsa/dsa.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/net/dsa/

Re: [PATCH 3/4] net: phy: Add Broadcom phy library for common interfaces

2015-09-30 Thread Florian Fainelli
On 30/09/15 13:32, Arun Parameswaran wrote: > This patch adds the Broadcom phy library to consolidate common > interfaces shared by Broadcom phy's. > > Moved the common interfaces to the 'bcm-phy-lib.c' and updated > the Broadcom PHY drivers to use the new APIs. > > Signed-off-by: Arun Parameswar

[PATCH net-next 2/6] openvswitch: Pass net into ovs_fragment

2015-09-30 Thread Eric W. Biederman
In preparation for the ipv4 and ipv6 fragmentation code taking a net parameter pass a struct net into ovs_fragment where the v4 and v6 fragmentation code is called. Signed-off-by: "Eric W. Biederman" --- net/openvswitch/actions.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff

[PATCH net-next 1/6] openvswitch: Pass net into ovs_vport_output

2015-09-30 Thread Eric W. Biederman
When struct net starts being passed through the ipv4 and ipv6 fragment routines ovs_vport_output will need to take a net parameter. Prepare ovs_vport_output before that is needed and introduce ovs_vport_output_skk for the call sites that still need the old calling conventions. Signed-off-by: "Eric

[PATCH net-next 4/6] ipv6: Pass struct net through ip6_fragment

2015-09-30 Thread Eric W. Biederman
Signed-off-by: Eric W. Biederman --- include/linux/netfilter_ipv6.h | 4 ++-- include/net/ip6_route.h | 4 ++-- net/bridge/br_netfilter_hooks.c | 2 +- net/ipv6/ip6_output.c | 16 +++- net/ipv6/xfrm6_output.c | 10 -- net/openvswitch/actions.c

[PATCH net-next 6/6] openvswitch: Remove ovs_vport_output_sk

2015-09-30 Thread Eric W. Biederman
This was a compatibility function needed while the ipv4 and ipv6 fragmentation code was being modified to pass a struct net through them. Now that is complete this function has no more users so remove it. Signed-off-by: "Eric W. Biederman" --- net/openvswitch/actions.c | 5 - 1 file changed

[PATCH net-next 3/6] ipv4: Pass struct net through ip_fragment

2015-09-30 Thread Eric W. Biederman
Signed-off-by: "Eric W. Biederman" --- include/net/ip.h| 4 ++-- net/bridge/br_netfilter_hooks.c | 6 +++--- net/ipv4/ip_output.c| 44 +++-- net/openvswitch/actions.c | 2 +- 4 files changed, 26 insertions(+), 30 deletions(-

Re: DSA driver - how to glue to a PCI based NIC's mdio?

2015-09-30 Thread Florian Fainelli
On 30/09/15 14:27, Tim Harvey wrote: > On Wed, Sep 30, 2015 at 2:12 PM, Andrew Lunn wrote: >> On Wed, Sep 30, 2015 at 01:44:52PM -0700, Tim Harvey wrote: >>> Greetings, >>> >>> I'm working on adding DSA support for a PCIe expansion card (designed >>> by us) that has common PCIe NIC connected via i

[PATCH net-next 0/6] net: Pass net through ip fragmention

2015-09-30 Thread Eric W. Biederman
This is the next installment of my work to pass struct net through the output path so the code does not need to guess how to figure out which network namespace it is in, and ultimately routes can have output devices in another network namespace. This round focuses on passing net through ip fragme

Re: [PATCH net-next 2/2] openvswitch: netlink attributes for IPv6 tunneling

2015-09-30 Thread Jesse Gross
On Wed, Sep 30, 2015 at 2:05 PM, Jiri Benc wrote: > On Wed, 30 Sep 2015 13:18:40 -0700, Jesse Gross wrote: >> This function is used to report back information that is the result of >> the encapsulation process, such as the UDP source port chosen. Take a >> look at net/openvswitch/actions.c:output_

Re: [RFC PATCH 1/3] net: dsa: Use devm_ prefixed allocations

2015-09-30 Thread Andrew Lunn
Hi Neil I tested all three patches on a board with three switches. 1) Normal boot 2) Bad address set for the 3rd switch so that it was not found, so causing the probe to fail. No regressions observed. Tested-by: Andrew Lunn As Florian said, this is going in the right direction for modular

Re: DSA driver - how to glue to a PCI based NIC's mdio?

2015-09-30 Thread Tim Harvey
On Wed, Sep 30, 2015 at 2:12 PM, Andrew Lunn wrote: > On Wed, Sep 30, 2015 at 01:44:52PM -0700, Tim Harvey wrote: >> Greetings, >> >> I'm working on adding DSA support for a PCIe expansion card (designed >> by us) that has common PCIe NIC connected via its mii-bus to a Marvell >> MV88E6171. Becaus

Re: [PATCH 3/4] net: phy: Add Broadcom phy library for common interfaces

2015-09-30 Thread kbuild test robot
Hi Arun, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: i386-randconfig-i1-201539 (attached as .config) reproduce: git checkout 25a633b2114806a7ce7d4f171c4714880e2c721b # save the attached .config to linux build tree make ARCH=i386 All error/wa

Re: DSA driver - how to glue to a PCI based NIC's mdio?

2015-09-30 Thread Andrew Lunn
On Wed, Sep 30, 2015 at 01:44:52PM -0700, Tim Harvey wrote: > Greetings, > > I'm working on adding DSA support for a PCIe expansion card (designed > by us) that has common PCIe NIC connected via its mii-bus to a Marvell > MV88E6171. Because the NIC is a PCIe device, it has no device-tree > represe

Re: [PATCH net-next 2/2] openvswitch: netlink attributes for IPv6 tunneling

2015-09-30 Thread Jiri Benc
On Wed, 30 Sep 2015 13:18:40 -0700, Jesse Gross wrote: > This function is used to report back information that is the result of > the encapsulation process, such as the UDP source port chosen. Take a > look at net/openvswitch/actions.c:output_userspace(), particularly the > OVS_USERSPACE_ATTR_EGRES

[PATCH v2 net-next 1/3] RDS: Use a single TCP socket for both send and receive.

2015-09-30 Thread Sowmini Varadhan
Commit f711a6ae062c ("net/rds: RDS-TCP: Always create a new rds_sock for an incoming connection.") modified rds-tcp so that an incoming SYN would ignore an existing "client" TCP connection which had the local port set to the transient port. The motivation for ignoring the existing "client" connect

[PATCH v2 net-next 3/3] RDS-TCP: Set up MSG_MORE and MSG_SENDPAGE_NOTLAST as appropriate in rds_tcp_xmit

2015-09-30 Thread Sowmini Varadhan
For the same reasons as commit 2f5338442425 ("tcp: allow splice() to build full TSO packets") and commit 35f9c09fe9c7 ("tcp: tcp_sendpages() should call tcp_push() once"), rds_tcp_xmit may have multiple pages to send, so use the MSG_MORE and MSG_SENDPAGE_NOTLAST as hints to tcp_sendpage() Signed-o

[PATCH v2 net-next 0/3] RDS: RDS-TCP perf enhancements

2015-09-30 Thread Sowmini Varadhan
A 3-part patchset that (a) improves current RDS-TCP perf by 2X-3X and (b) refactors earlier robustness code for better observability/scaling. Patch 1 is an enhancment of earlier robustness fixes that had used separate sockets for client and server endpoints to resolve race conditions. It is possi

[PATCH v2 net-next 2/3] RDS-TCP: Do not bloat sndbuf/rcvbuf in rds_tcp_tune

2015-09-30 Thread Sowmini Varadhan
Using the value of RDS_TCP_DEFAULT_BUFSIZE (128K) clobbers efficient use of TSO because it inflates the size_goal that is computed in tcp_sendmsg/tcp_sendpage and skews packet latency, and the default values for these parameters actually results in significantly better performance. In request-resp

Re: [ovs-dev] [PATCH net-next 1/2] openvswitch: add tunnel protocol to sw_flow_key

2015-09-30 Thread Jiri Benc
On Wed, 30 Sep 2015 13:25:12 -0700, Jesse Gross wrote: > On Wed, Sep 30, 2015 at 1:13 PM, Pravin Shelar wrote: > > On Wed, Sep 30, 2015 at 12:09 AM, Jiri Benc wrote: > >> On Tue, 29 Sep 2015 13:41:34 -0700, Pravin Shelar wrote: > >>> We can add rather add TUNNEL_IPV6 flag to distinguish IPv4 and

Re: Problem with ICMP rate limiting and redirects

2015-09-30 Thread Eric Dumazet
On Wed, 2015-09-30 at 15:13 -0300, Hugo Vasconcelos Saldanha wrote: > Hi Eric, > > On Wed, Sep 30, 2015 at 1:42 PM, Eric Dumazet wrote: > > On Wed, 2015-09-30 at 13:10 -0300, Hugo Vasconcelos Saldanha wrote: > >> Hi, > >> > >> While updating the kernel from v3.2 to v3.14, I started to see a > >>

DSA driver - how to glue to a PCI based NIC's mdio?

2015-09-30 Thread Tim Harvey
Greetings, I'm working on adding DSA support for a PCIe expansion card (designed by us) that has common PCIe NIC connected via its mii-bus to a Marvell MV88E6171. Because the NIC is a PCIe device, it has no device-tree representation of its NIC or its mdio bus, but does register its mdio bus with

[PATCH 2/4] net: phy: Broadcom iProc MDIO bus driver

2015-09-30 Thread Arun Parameswaran
This patch adds support for the Broadcom iProc MDIO bus interface. The MDIO interface can be found in the Broadcom iProc family Soc's. The MDIO bus is accessed using a combination of command and data registers. This MDIO driver provides access to the Etherent GPHY's connected to the MDIO bus. Sig

[PATCH 0/4] Add support for Broadcom's iProc MDIO and Cygnus Ethernet PHY

2015-09-30 Thread Arun Parameswaran
Hi This patchset adds support for the iProc MDIO interface and the Broadcom Cygnus SoC's internal Ethernet PHY. The internal Ethernet PHY(s) in the Cygnus SoC's are accessed via the MDIO interface found in most of the iProc based chips. The patch also consolidates the common API's used by the Bro

[PATCH 4/4] net: phy: Broadcom Cygnus internal Etherent PHY driver

2015-09-30 Thread Arun Parameswaran
Add support for the Broadcom Cygnus SoCs internal PHY's. The PHYs are 1000M/100M/10M capable with support for 'EEE' and 'APD' (Auto Power Down). This driver supports the following Broadcom Cygnus SoCs: - BCM583XX (BCM58300, BCM58302, BCM58303, BCM58305) - BCM113XX (BCM11300, BCM11320, BCM11350,

[PATCH 3/4] net: phy: Add Broadcom phy library for common interfaces

2015-09-30 Thread Arun Parameswaran
This patch adds the Broadcom phy library to consolidate common interfaces shared by Broadcom phy's. Moved the common interfaces to the 'bcm-phy-lib.c' and updated the Broadcom PHY drivers to use the new APIs. Signed-off-by: Arun Parameswaran --- drivers/net/phy/Kconfig | 6 ++ drivers/n

[PATCH 1/4] dt-bindings: net: Broadcom iProc MDIO bus driver device tree binding

2015-09-30 Thread Arun Parameswaran
Add device tree binding documentation for the Broadcom iProc MDIO bus driver. Signed-off-by: Arun Parameswaran --- .../devicetree/bindings/net/brcm,iproc-mdio.txt| 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,iproc

Re: [ovs-dev] [PATCH net-next 1/2] openvswitch: add tunnel protocol to sw_flow_key

2015-09-30 Thread Jesse Gross
On Wed, Sep 30, 2015 at 1:13 PM, Pravin Shelar wrote: > On Wed, Sep 30, 2015 at 12:09 AM, Jiri Benc wrote: >> On Tue, 29 Sep 2015 13:41:34 -0700, Pravin Shelar wrote: >>> We can add rather add TUNNEL_IPV6 flag to distinguish IPv4 and IPv6 >>> tunnel keys. This can be stored in ip_tunnel_key.tun_f

Re: [PATCH net-next 2/2] openvswitch: netlink attributes for IPv6 tunneling

2015-09-30 Thread Jesse Gross
On Wed, Sep 30, 2015 at 12:28 AM, Jiri Benc wrote: > On Tue, 29 Sep 2015 20:05:00 -0700, Jesse Gross wrote: >> This appears to me to be a bug in the existing code. >> ovs_tunnel_get_egress_info() as a general mechanism is still in use >> and should work with both the old and new configuration meth

Re: [PATCH net-next 1/2] openvswitch: add tunnel protocol to sw_flow_key

2015-09-30 Thread Pravin Shelar
On Wed, Sep 30, 2015 at 12:09 AM, Jiri Benc wrote: > On Tue, 29 Sep 2015 13:41:34 -0700, Pravin Shelar wrote: >> We can add rather add TUNNEL_IPV6 flag to distinguish IPv4 and IPv6 >> tunnel keys. This can be stored in ip_tunnel_key.tun_flags. > > Not really. This was my original approach, too, bu

[PATCH] net: usb: asix: Fix crash on skb alloc failure

2015-09-30 Thread David B. Robins
If asix_rx_fixup_internal() fails to allocate rx->ax_skb, it will return but not clear rx->size. rx points to driver private data. A later call assumes that nonzero size means ax_skb was allocated and passes a null ax_skb to skb_put. Changed allocation failure return to clear size first. Found tes

Re: Rate limiting AP bandwidth change messages in ieee80211_config_bw?

2015-09-30 Thread Johannes Berg
> > I'm not sure ratelimiting it would even work - it's not *that* high > frequency? Not really sure though. > > I think we can do either, it's not such a terribly important message as > far as I can tell. > Seems like Emmanuel would like to see the message stay in some form - perhaps we shoul

Re: [PATCH v3 4/5] kcmp: add KCMP_FILE_PRIVATE_DATA

2015-09-30 Thread Andy Lutomirski
On Wed, Sep 30, 2015 at 11:55 AM, Tycho Andersen wrote: > On Wed, Sep 30, 2015 at 11:47:05AM -0700, Andy Lutomirski wrote: >> On Wed, Sep 30, 2015 at 11:41 AM, Tycho Andersen >> wrote: >> > On Wed, Sep 30, 2015 at 11:25:41AM -0700, Andy Lutomirski wrote: >> >> On Wed, Sep 30, 2015 at 11:13 AM, Ty

Re: [patch net-next v3 02/10] switchdev: introduce transaction item queue for attr_set and obj_add

2015-09-30 Thread Vivien Didelot
Hi all, On Sep. Friday 25 (39) 11:03 AM, Vivien Didelot wrote: > On Sep. Thursday 24 (39) 10:55 PM, David Miller wrote: > > From: Scott Feldman > > Date: Thu, 24 Sep 2015 22:29:43 -0700 > > > > > I'd rather keep 2-phase not optional, or at least make it some what of > > > a pain for drivers to o

Re: [PATCH v3 4/5] kcmp: add KCMP_FILE_PRIVATE_DATA

2015-09-30 Thread Tycho Andersen
On Wed, Sep 30, 2015 at 11:47:05AM -0700, Andy Lutomirski wrote: > On Wed, Sep 30, 2015 at 11:41 AM, Tycho Andersen > wrote: > > On Wed, Sep 30, 2015 at 11:25:41AM -0700, Andy Lutomirski wrote: > >> On Wed, Sep 30, 2015 at 11:13 AM, Tycho Andersen > >> wrote: > >> > This command allows comparing

Re: [PATCH v3 4/5] kcmp: add KCMP_FILE_PRIVATE_DATA

2015-09-30 Thread Andy Lutomirski
On Wed, Sep 30, 2015 at 11:41 AM, Tycho Andersen wrote: > On Wed, Sep 30, 2015 at 11:25:41AM -0700, Andy Lutomirski wrote: >> On Wed, Sep 30, 2015 at 11:13 AM, Tycho Andersen >> wrote: >> > This command allows comparing the underling private data of two fds. This >> > is useful e.g. to find out i

Re: [PATCH v3 2/5] seccomp: add the concept of a seccomp filter FD

2015-09-30 Thread Andy Lutomirski
On Wed, Sep 30, 2015 at 11:36 AM, Tycho Andersen wrote: > On Wed, Sep 30, 2015 at 11:27:34AM -0700, Andy Lutomirski wrote: >> On Wed, Sep 30, 2015 at 11:13 AM, Tycho Andersen >> wrote: >> > This patch introduces the concept of a seccomp fd, with a similar interface >> > and usage to ebpf fds. Ini

Re: [PATCH v3 4/5] kcmp: add KCMP_FILE_PRIVATE_DATA

2015-09-30 Thread Tycho Andersen
On Wed, Sep 30, 2015 at 11:25:41AM -0700, Andy Lutomirski wrote: > On Wed, Sep 30, 2015 at 11:13 AM, Tycho Andersen > wrote: > > This command allows comparing the underling private data of two fds. This > > is useful e.g. to find out if a seccomp filter is inherited, since struct > > seccomp_filte

Re: [PATCH net-next 5/6] ipv6: Call xfrm6_xlat_addr from ipv6_rcv

2015-09-30 Thread Tom Herbert
On Wed, Sep 30, 2015 at 2:06 AM, Steffen Klassert wrote: > On Tue, Sep 29, 2015 at 03:17:22PM -0700, Tom Herbert wrote: >> Call before performing NF_HOOK and routing in order to perform address >> translation in the receive path. >> >> Signed-off-by: Tom Herbert >> --- >> net/ipv6/ip6_input.c |

Re: [PATCH v3 2/5] seccomp: add the concept of a seccomp filter FD

2015-09-30 Thread Tycho Andersen
On Wed, Sep 30, 2015 at 11:27:34AM -0700, Andy Lutomirski wrote: > On Wed, Sep 30, 2015 at 11:13 AM, Tycho Andersen > wrote: > > This patch introduces the concept of a seccomp fd, with a similar interface > > and usage to ebpf fds. Initially, one is allowed to create, install, and > > dump these f

[RFT v3] geneve: implement support for IPv6-based tunnels

2015-09-30 Thread John W. Linville
Signed-off-by: John W. Linville --- v3: - declare geneve_remote_unspec as static v2: - do not require remote address for tx on metadata tunnels - pass correct sockaddr family to udp_tun_rx_dst in geneve_rx - accommodate both ipv4 and ipv6 sockets open on same tunnel - move declaration of geneve_

Re: [PATCH v3 4/5] kcmp: add KCMP_FILE_PRIVATE_DATA

2015-09-30 Thread Andy Lutomirski
On Wed, Sep 30, 2015 at 11:13 AM, Tycho Andersen wrote: > This command allows comparing the underling private data of two fds. This > is useful e.g. to find out if a seccomp filter is inherited, since struct > seccomp_filter are unique across tasks and are the private_data seccomp > fds. This is

Re: Rate limiting AP bandwidth change messages in ieee80211_config_bw?

2015-09-30 Thread Johannes Berg
On Wed, 2015-09-30 at 13:02 -0400, Josh Boyer wrote: > Hi Johannes, > > We've seen a handful of reports that seem to have verbose output from > the ieee80211_config_bw function in net/mac80211/mlme.c. It looks > similar to this: > > [ 66.578652] wlp3s0: AP xx:xx:xx:xx:xx changed bandwidth, new

Re: [PATCH v3 2/5] seccomp: add the concept of a seccomp filter FD

2015-09-30 Thread kbuild test robot
Hi Tycho, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: i386-alldefconfig (attached as .config) reproduce: git checkout 9613ae6bf5f111701614acb3eda3123d21a59239 # save the attached .config to linux build tree make ARCH=i386 All error/warnings

  1   2   3   4   >