Re: [ovs-dev] [patch net-next 00/13] introduce rocker switch driver with openvswitch hardware accelerated datapath

2015-06-28 Thread Jiri Pirko
Mon, Jun 29, 2015 at 07:44:38AM CEST, neelugad...@gmail.com wrote: >Hi All, > >Shall we expect these changes to be available in the upcoming 2.4 release? >or is it still in development? Still in devel. > > > > > > >On Tue, Sep 16, 2014 at 9:28 PM, Jiri Pirko wrote: > >> Mon, Sep 08, 2014 at 03:5

Re: [PATCH RFC] tun, macvtap: higher order allocations for skbs

2015-06-28 Thread Jason Wang
On 06/18/2015 06:20 PM, Michael S. Tsirkin wrote: > Needs more testing. Anyone see anything wrong with this? > > Signed-off-by: Michael S. Tsirkin > --- > drivers/net/macvtap.c | 2 +- > drivers/net/tun.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/ne

Re: [PATCH RFC] net/unix: SO_REUSEPORT for AF_UNIX

2015-06-28 Thread Alex Gartrell
On Sun, Jun 28, 2015 at 2:52 AM, Conrad Hoffmann wrote: > Support the SO_REUSEPORT option for AF_UNIX (aka AF_LOCAL) sockets. Note > that unlike the IP implementations, the semantics for AF_UNIX sockets are > those of the original BSD implementation, i.e. each socket that > successfully reuses a p

Re: [RFC PATCHv4] net: fec: Ensure clocks are enabled while using mdio bus

2015-06-28 Thread Andrew Lunn
> > @@ -3496,10 +3523,11 @@ static int __maybe_unused fec_suspend(struct > > device *dev) > > netif_device_detach(ndev); > > netif_tx_unlock_bh(ndev); > > fec_stop(ndev); > > - fec_enet_clk_enable(ndev, false); > > if (!(fep->wol_flag & FEC_

Re: [PATCH net 0/3] net: phy: bcm7xxx initial read/write workaround

2015-06-28 Thread David Miller
From: Florian Fainelli Date: Fri, 26 Jun 2015 10:39:03 -0700 > This patch series fixes occasional BCM7xxx PHY driver binding failure due > to a harware bug where the first read or write does not come out of the PHY > MDIO management controller. > > Since we have two different MDIO controllers us

Re: [PATCH net] net: bcmgenet: power on MII block for all MII modes

2015-06-28 Thread David Miller
From: Florian Fainelli Date: Fri, 26 Jun 2015 10:38:31 -0700 > The RGMII block is currently only powered on when using RGMII or > RGMII_NO_ID, which is not correct when using the GENET interface in MII > or Reverse MII modes. We always need to power on the RGMII interface for > this block to prop

Re: [PATCH net] bnx2x: fix DMA API usage

2015-06-28 Thread David Miller
From: Michal Schmidt Date: Fri, 26 Jun 2015 17:50:00 +0200 > With CONFIG_DMA_API_DEBUG=y bnx2x triggers the error "DMA-API: device > driver frees DMA memory with wrong function". > On archs where PAGE_SIZE > SGE_PAGE_SIZE it also triggers "DMA-API: > device driver frees DMA memory with different

Re: [PATCH] net: via: VIA_RHINE and VIA_VELOCITY should depend on HAS_DMA

2015-06-28 Thread David Miller
From: Geert Uytterhoeven Date: Fri, 26 Jun 2015 14:08:22 +0200 > If NO_DMA=y: ... > Before, the symbols depended implicitly on HAS_DMA through PCI or > USE_OF. Add explicit dependencies on HAS_DMA to fix this. > > Fixes: commit b7d3282a245f4428 ("net: via/Kconfig: replace USE_OF with > OF_???

RE: [RFC PATCHv4] net: fec: Ensure clocks are enabled while using mdio bus

2015-06-28 Thread Duan Andy
From: Andrew Lunn Sent: Monday, June 29, 2015 1:36 AM > To: netdev > Cc: Duan Fugang-B38611; Duan Fugang-B38611; Cory Tusar; Andrew Lunn > Subject: [RFC PATCHv4] net: fec: Ensure clocks are enabled while using > mdio bus > > When a switch is attached to the mdio bus, the mdio bus can be used whil

Re: [v2,9/9] fsl/fman: Add FMan MAC driver

2015-06-28 Thread Michael Ellerman
On Thu, 2015-06-25 at 21:25 -0500, Scott Wood wrote: > On Fri, 2015-06-26 at 12:21 +1000, Michael Ellerman wrote: > > On Thu, 2015-06-25 at 19:59 -0500, Scott Wood wrote: > > > On Fri, 2015-06-26 at 01:06 +0200, Paul Bolle wrote: > > > > (Evolution 3.16 is basically unbearable for replying to patch

[PATCH] mwifiex: usb: Fix double add error when submitting rx urb

2015-06-28 Thread Reyad Attiyat
There is an error that can occur where the driver adds the same URB to USB submission list twice. This happens since mwifiex_usb_submit_rem_rx can submit packets at same time as an rx urb complete callback. This causes list corruption and is fixed by not setting the skb to NULL when submitting a

Re: [net 00/10][pull request] Intel Wired LAN Driver Updates 2015-06-26

2015-06-28 Thread David Miller
From: Jeff Kirsher Date: Fri, 26 Jun 2015 03:20:30 -0700 > This series contains fixes for igb, e1000e and i40evf. > > Todd disables IPv6 extension header processing due to a hardware errata > and bumps the driver version. > > Yanir provides six fixes for e1000e. First is a fix for a locking is

Re: [PATCH v3] net/phy: tune get_phy_c45_ids to support more c45 phy

2015-06-28 Thread David Miller
From: Shengzhou Liu Date: Fri, 26 Jun 2015 17:58:52 +0800 > As some C45 10G PHYs(e.g. Cortina CS4315/CS4340 PHY) have > zero Devices In package, current driver can't get correct > devices_in_package value by non-zero Devices In package. > so let's probe more with zero Devices In package to suppor

Re: [PATCH net] bnx2x: fix lockdep splat

2015-06-28 Thread David Miller
From: Eric Dumazet Date: Fri, 26 Jun 2015 07:32:29 +0200 > From: Eric Dumazet > > Michel reported following lockdep splat ... > As bnx2x_init_ptp() is only called if bp->flags contains PTP_SUPPORTED, > we also need to guard bnx2x_stop_ptp() with same condition, otherwise > ptp_task workqueue i

Re: [PATCH] net: fec: don't access RACC register when not available

2015-06-28 Thread David Miller
From: Greg Ungerer Date: Fri, 26 Jun 2015 15:10:35 +1000 > From 8969de63989b8814a6db9d00b9d1ceabe40e8b11 Mon Sep 17 00:00:00 2001 > From: Greg Ungerer > Date: Sat, 20 Jun 2015 15:51:57 +1000 > Subject: [PATCH] net: fec: don't access RACC register when not available > > Not all silicon implement

Re: [net PATCH 1/1] net: phy: fix phy link up when limiting speed via device tree

2015-06-28 Thread David Miller
From: Mugunthan V N Date: Thu, 25 Jun 2015 22:21:02 +0530 > When limiting phy link speed using "max-speed" to 100mbps or less on a > giga bit phy, phy never completes auto negotiation and phy state > machine is held in PHY_AN. Fixing this issue by comparing the giga > bit advertise though phydev-

Re: [PATCH net] dsa: fix promiscuity leak on slave dev open error

2015-06-28 Thread David Miller
From: Date: Thu, 25 Jun 2015 16:50:13 +0300 > From: Gilad Ben-Yossef > > DSA master netdev promiscuity counter was not being properly > decremented on slave device open error path. > > Signed-off-by: Gilad Ben-Yossef Applied. -- To unsubscribe from this list: send the line "unsubscribe netde

Re: [PATCH] drivers: net: xgene: Pre-initialize ret in xgene_enet_get_resources()

2015-06-28 Thread David Miller
From: Geert Uytterhoeven Date: Thu, 25 Jun 2015 15:13:29 +0200 > If CONFIG_ACPI=n: > > drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function > ‘xgene_enet_get_resources’: > drivers/net/ethernet/apm/xgene/xgene_enet_main.c:951: warning: ‘ret’ may > be used uninitialized in this

Re: [PATCH] flow_dissector: Pre-initialize ip_proto in __skb_flow_dissect()

2015-06-28 Thread David Miller
From: Geert Uytterhoeven Date: Thu, 25 Jun 2015 15:10:32 +0200 > net/core/flow_dissector.c: In function ‘__skb_flow_dissect’: > net/core/flow_dissector.c:132: warning: ‘ip_proto’ may be used uninitialized > in this function > > Signed-off-by: Geert Uytterhoeven Applied, thanks.

Re: [PATCH] xen-netfront: Remove the meaningless code

2015-06-28 Thread David Miller
From: David Vrabel Date: Fri, 26 Jun 2015 16:15:18 +0100 > On 27/06/15 00:17, Liang Li wrote: >> The function netif_set_real_num_tx_queues() will return -EINVAL if >> the second parameter < 1, so call this function with the second >> parameter set to 0 is meaningless. > > Reviewed-by: David Vrab

Re: [PATCH net] ipv4: fix RCU lockdep warning from linkdown changes

2015-06-28 Thread David Miller
From: Andy Gospodarek Date: Fri, 26 Jun 2015 19:37:11 -0400 > The following lockdep splat was seen due to the wrong context for > grabbing in_dev. ... > This patch resolves that splat. > > Signed-off-by: Andy Gospodarek > Reported-by: Sergey Senozhatsky Applied, thanks Andy. -- To unsubscrib

Re: [PATCH net 1/1] tipc: purge backlog queue counters when broadcast link is reset

2015-06-28 Thread David Miller
From: Jon Maloy Date: Sun, 28 Jun 2015 09:44:44 -0400 > In commit 1f66d161ab3d8b518903fa6c3f9c1f48d6919e74 > ("tipc: introduce starvation free send algorithm") > we introduced a counter per priority level for buffers > in the link backlog queue. We also introduced a new > function tipc_link_purge

Re: [PATCH RFC net-next] vxlan: GRO support at tunnel layer

2015-06-28 Thread Tom Herbert
On Sun, Jun 28, 2015 at 10:20 AM, Ramu Ramamurthy wrote: > On 2015-06-26 17:46, Rick Jones wrote: >> >> On 06/26/2015 04:09 PM, Tom Herbert wrote: >>> >>> Add calls to gro_cells infrastructure to do GRO when receiving on a >>> tunnel. >>> >>> Testing: >>> >>> Ran 200 netperf TCP_STREAM instance >>

Re: [PATCH] - vxlan: gro not effective for intel 82599

2015-06-28 Thread Tom Herbert
On Sun, Jun 28, 2015 at 1:19 PM, Or Gerlitz wrote: > On Fri, Jun 26, 2015 at 10:59 PM, Tom Herbert wrote: > [...] >> Looks like GRO was never implemented for vxlan tunnels. The driver is >> simply calling netif_rx instead of using the GRO cells infrastructure. >> geneve is doing the same thing. F

Re: [PATCH] - vxlan: gro not effective for intel 82599

2015-06-28 Thread Or Gerlitz
On Fri, Jun 26, 2015 at 10:59 PM, Tom Herbert wrote: [...] > Looks like GRO was never implemented for vxlan tunnels. The driver is > simply calling netif_rx instead of using the GRO cells infrastructure. > geneve is doing the same thing. For other tunnels which are used in > foo-over-udp (GRE, IPI

[RFC PATCHv2 0/4] Fixed phy support for DSA ports

2015-06-28 Thread Andrew Lunn
This patchset allows fixed-link phys to be used for all DSA ports. The patch from Florian allows a phy to be identified as a pseudo phy, used when a MAC connects to a switch, SFP module, etc. The remaining patches allow fixed phys to be used with all switch ports, including the CPU port and DSA por

[RFC PATCHv2 1/4] net: phy: Allow PHY devices to identify themselves as Ethernet switches, etc.

2015-06-28 Thread Andrew Lunn
From: Florian Fainelli Some Ethernet MAC drivers using the PHY library require the hardcoding of link parameters when interfaced to a switch device, SFP module, switch to switch port, etc. This has typically lead to various ad-hoc implementations looking like this: - using a "fixed PHY" emulated

[RFC PATCHv2 2/4] dsa: mv88e6xxx: Allow speed/duplex of port to be configured

2015-06-28 Thread Andrew Lunn
The current code sets user ports to perform auto negotiation using the phy. CPU and DSA ports are configured to full duplex and maximum speed the switch supports. There are however use cases where the CPU has a slower port, and when user ports have SFP modules with fixed speed. In these cases, all

[RFC PATCHv2 3/4] net: dsa: Add dsa_is_dsa_port() helper

2015-06-28 Thread Andrew Lunn
Add an inline helper for determining is a port is a DSA port. Signed-off-by: Andrew Lunn --- drivers/net/dsa/mv88e6xxx.c | 5 ++--- include/net/dsa.h | 5 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/net/dsa/mv88e6xxx.c b/drivers/net/dsa/mv88e6xxx.c inde

[RFC PATCHv2 4/4] net: dsa: Allow configuration of CPU & DSA port speeds/duplex

2015-06-28 Thread Andrew Lunn
By default, DSA and CPU ports are configured to the maximum speed the switch supports. However there can be use cases where the peer device port is slower. Allow a fixed-link property to be used with the DSA and CPU port in the device tree, and use this information to configure the port. Signed-of

Re: [PATCH net] net: do not process device backlog during unregistration

2015-06-28 Thread Eric W. Biederman
Julian Anastasov writes: > commit 381c759d9916 ("ipv4: Avoid crashing in ip_error") > fixes a problem where processed packet comes from device > with destroyed inetdev (dev->ip_ptr). This is not expected > because inetdev_destroy is called in NETDEV_UNREGISTER > phase and packets should not be pr

Re: [RFC PATCH] cdc_ncm: add support for moving NDP to end of frames

2015-06-28 Thread Enrico Mioso
Now the code is running all-day in a virtual machine, which unfortunately isn't able to expose the problem. And with my braille display I am not able to read the output of the panic, when it happens, since execution of all the user-space processes isstopped somewhat immediately. The code seems

[RFC PATCHv4] net: fec: Ensure clocks are enabled while using mdio bus

2015-06-28 Thread Andrew Lunn
When a switch is attached to the mdio bus, the mdio bus can be used while the interface is not open. If the IPG clock is not enabled, MDIO reads/writes will simply time out. Add support for runtime PM to control the clocks and other resources. Enable/disable the clocks using runtime PM, with open()

Re: [PATCH RFC net-next] vxlan: GRO support at tunnel layer

2015-06-28 Thread Ramu Ramamurthy
On 2015-06-26 17:46, Rick Jones wrote: On 06/26/2015 04:09 PM, Tom Herbert wrote: Add calls to gro_cells infrastructure to do GRO when receiving on a tunnel. Testing: Ran 200 netperf TCP_STREAM instance - With fix (GRO enabled on VXLAN interface) Verify GRO is happening. 9084 MBps tp

Re: [PATCH net] dsa: fix promiscuity leak on slave dev open error

2015-06-28 Thread Andrew Lunn
> It has occurred to me that dev_set_promiscuity() and its brethren > dev_set_allmulti() may not be the best of interfaces: > > - On cursory inspection of code using these function their name > implies the value of the relevant counter is set to the value passed > as parameter, not incremented by

[PATCH net 1/1] tipc: purge backlog queue counters when broadcast link is reset

2015-06-28 Thread Jon Maloy
In commit 1f66d161ab3d8b518903fa6c3f9c1f48d6919e74 ("tipc: introduce starvation free send algorithm") we introduced a counter per priority level for buffers in the link backlog queue. We also introduced a new function tipc_link_purge_backlog(), to reset these counters to zero when the link is reset

Re: [PATCH net] dsa: fix promiscuity leak on slave dev open error

2015-06-28 Thread Gilad Ben-Yossef
On Fri, Jun 26, 2015 at 6:04 PM, Andrew Lunn wrote: > On Thu, Jun 25, 2015 at 04:50:13PM +0300, gil...@ezchip.com wrote: >> From: Gilad Ben-Yossef >> >> DSA master netdev promiscuity counter was not being properly >> decremented on slave device open error path. >> ... > Acked-by: Andrew Lunn T

[PATCH RFC] net/unix: SO_REUSEPORT for AF_UNIX

2015-06-28 Thread Conrad Hoffmann
Support the SO_REUSEPORT option for AF_UNIX (aka AF_LOCAL) sockets. Note that unlike the IP implementations, the semantics for AF_UNIX sockets are those of the original BSD implementation, i.e. each socket that successfully reuses a port completely takes over from the previous listener. The vast m

Re: [v2,8/9] fsl/fman: Add FMan Port Support

2015-06-28 Thread Scott Wood
Why are these two parts being submitted separately? Worse, the CC list seems to be different for each part as I'm not seeing the "DPAA ETH driver". -Scott On Sun, 2015-06-28 at 03:06 -0500, Liberman Igal-B31950 wrote: > Hi Paul, > All those exported functions are used by DPAA ETH driver, which

RE: [v2,8/9] fsl/fman: Add FMan Port Support

2015-06-28 Thread Liberman Igal
Hi Paul, All those exported functions are used by DPAA ETH driver, which was submitted by Bucur Madalin (only fm_port_get_buffer_time_stamp() is not used currently, I'll remove it). Regards, Igal Liberman. > -Original Message- > From: Paul Bolle [mailto:pebo...@tiscali.nl] > Sent: Frida

[RFC PATCH] cdc_ncm: add support for moving NDP to end of frames

2015-06-28 Thread Enrico Mioso
This patch adds support for moving the NDP (Network Data Pointer) part of an NCM frame to the end of it. This allows newer Huawei devices to work with upstream Linux driver. This functionality can be enabled by a cdc_ncm subdriver when binding to a device. Hence this patch updates them. This code