[PATCH 2/3] gianfar_ptp: fix endianness in get_of_u32()

2016-02-21 Thread Yangbo Lu
Signed-off-by: Yangbo Lu --- drivers/net/ethernet/freescale/gianfar_ptp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/freescale/gianfar_ptp.c b/drivers/net/ethernet/freescale/gianfar_ptp.c index b40fba9..a86145c 100644 --- a/drivers/net/ethernet/frees

[PATCH 0/3] Patchset for gianfar ptp driver

2016-02-21 Thread Yangbo Lu
This patchset is to enable ptp support for ls1021a platform. The endianness issue in gianfar driver and gianfar ptp driver must be fixed, and a 1588 timer node must be added into dts. Yangbo Lu (3): ARM: dts: ls1021a: add 1588 timer node gianfar_ptp: fix endianness in get_of_u32() gianfar: f

[PATCH 1/3] ARM: dts: ls1021a: add 1588 timer node

2016-02-21 Thread Yangbo Lu
Signed-off-by: Yangbo Lu --- arch/arm/boot/dts/ls1021a.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 2c84ca2..ecf12dc 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@

[PATCH 3/3] gianfar: fix endianness for hardware timestamp

2016-02-21 Thread Yangbo Lu
Signed-off-by: Yangbo Lu --- drivers/net/ethernet/freescale/gianfar.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/freescale/gianfar.c b/drivers/net/ethernet/freescale/gianfar.c index 2aa7b40..20e8648 100644 --- a/drivers/net/ethernet/freescale/gianfar.c +++ b/drive

[PATCH net] bnxt_en: Fix zero padding of tx push data.

2016-02-21 Thread Michael Chan
The arithmetic to zero pad the last 64-bit word in the push buffer is not correct. 1. It should be pdata + length to get to the end. 2. 'pdata' is void pointer and passing it to PTR_ALIGN() will cast the aligned pointer to void. Pass 'end' which is u64 pointer to PTR_ALIGN() instead so that the a

Re: [PATCH] rtlwifi: pass struct rtl_stats by reference as it is more efficient

2016-02-21 Thread Alexander Stein
On Saturday 20 February 2016 22:10:27, Colin King wrote: > From: Colin Ian King > > passing rtl_stats by value is inefficient; the structure is over 300 > bytes in size and generally just one field (packet_report_type) > is being accessed, so the pass by value is a relatively large overhead. > Th

Re: [PATCH v2] gre: Avoid kernel panic by clearing IPCB before dst_link_failure called

2016-02-21 Thread Bernie Harris
> Again, I want to see this implemented in a way which causes things to be > treated consistently across all tunneling types. > > Which means fixing the exact problem, IPCB(skb)->opt needing initilization. > > Thanks. Thanks for the reply. I have revised my patch to apply to the range of tunnel t

[GIT] Networking

2016-02-21 Thread David Miller
/git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio (2016-02-11 11:25:55 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net for you to fetch changes up to d856626d3b051a3ad7139ba59463b692c131f844: Merge tag 'linux-can-fix

Re: pull-request: can 2016-02-21

2016-02-21 Thread David Miller
From: Marc Kleine-Budde Date: Sun, 21 Feb 2016 16:27:37 +0100 > this is a pull reqeust of one patch for net/master. > > The patch is by Gerhard Uttenthaler and fixes a potential tx overflow in the > ems_usb driver. Pulled, thanks.

Re: [PATCH net 0/5] bnx2x: Fix 848xx phys

2016-02-21 Thread David Miller
From: Yuval Mintz Date: Sun, 21 Feb 2016 15:07:24 +0200 > This series contains link-related fixes, mostly for the 848xx phys > [2 patches are for 84833, and 2 patches are for 84858]. Series applied, thanks.

Re: [PATCH net-next 0/5] qed*: Driver updates

2016-02-21 Thread David Miller
From: Yuval Mintz Date: Sun, 21 Feb 2016 11:40:06 +0200 > This contains various minor changes to driver - changing memory allocation, > fixing a small theoretical bug, as well as some mostly-semantic changes. Series applied.

Re: pull request: bluetooth 2016-02-20

2016-02-21 Thread David Miller
From: Johan Hedberg Date: Sat, 20 Feb 2016 20:16:25 +0200 > Here's an important patch for 4.5 which fixes potential invalid pointer > access when processing completed Bluetooth HCI commands. > > Please let me know if there are any issues pulling. Thanks. Pulled, thanks.

Re: [PATCH next v4 0/3] IPvlan misc patches

2016-02-21 Thread David Miller
From: Mahesh Bandewar Date: Sat, 20 Feb 2016 19:31:22 -0800 > From: Mahesh Bandewar > > This is a collection of unrelated patches for IPvlan driver. > a. crub_skb() changes are added to ensure that the packets hit the > NF_HOOKS in masters' ns in L3 mode. > b. u16 change is bug fix while > c. t

Re: [PATCH v3] net: ethernet: davicom: fix devicetree irq resource

2016-02-21 Thread David Miller
From: Robert Jarzmik Date: Sat, 20 Feb 2016 21:45:26 +0100 > The dm9000 driver doesn't work in at least one device-tree > configuration, spitting an error message on irq resource : > [1.062495] dm9000 800.ethernet: insufficient resources > [1.068439] dm9000 800.ethernet: not found

Re: [net-next][PATCH 11/13] RDS: IB: add Fastreg MR (FRMR) detection support

2016-02-21 Thread David Miller
From: Santosh Shilimkar Date: Sat, 20 Feb 2016 03:30:02 -0800 > @@ -54,6 +55,8 @@ module_param(rds_ib_mr_8k_pool_size, int, 0444); > MODULE_PARM_DESC(rds_ib_mr_8k_pool_size, " Max number of 8K mr per HCA"); > module_param(rds_ib_retry_count, int, 0444); > MODULE_PARM_DESC(rds_ib_retry_count, "

Re: pull-request: can-next 2016-02-20

2016-02-21 Thread David Miller
From: Marc Kleine-Budde Date: Sat, 20 Feb 2016 15:09:42 +0100 > this is a pull request of 9 patch for net-next/master. > > The first 3 patches are from Damien Riegel, they add support for > Technologic Systems IP core to tje sja100 driver. The next patches 6 by > Marek Vasut (including one my me

Re: [PATCH can-next 1/2] CAN: rcar: add gen[12] fallback compatibility strings

2016-02-21 Thread Rob Herring
On Mon, Feb 22, 2016 at 11:15:49AM +0900, Simon Horman wrote: > Add fallback compatibility string for R-Car Gen 1 and Gen2 families. > This is in keeping with the fallback scheme being adopted wherever > appropriate for drivers for Renesas SoCs. > > Signed-off-by: Simon Horman > --- > Documentat

Re: [PATCH can-next 2/2] CAN: rcar: add device tree support for r8a779[234]

2016-02-21 Thread Rob Herring
On Mon, Feb 22, 2016 at 11:15:50AM +0900, Simon Horman wrote: > Simply document new compatibility string. > As a previous patch adds a generic R-Car Gen2 compatibility string > there appears to be no need for a driver updates. > > By documenting this compat sting it may be used in DTSs shipped, fo

Re: [PATCH] fmvj18x_cs: fix incorrect indexing of dev->dev_addr[] when copying the MAC address

2016-02-21 Thread David Miller
From: Ken Kawasaki Date: Sat, 20 Feb 2016 19:14:36 +0900 > fix incorrect indexing of dev->dev_addr[] when copying the MAC address > of FMV-J182 at buf[5]. > > Signed-off-by: Ken Kawasaki Applied, thanks.

Re: [PATCH net-next 0/6] BPF updates

2016-02-21 Thread David Miller
From: Daniel Borkmann Date: Fri, 19 Feb 2016 23:05:21 +0100 > This set contains various updates for eBPF, i.e. the addition of a > generic csum helper function and other misc bits that mostly improve > existing helpers and ease programming with eBPF on cls_bpf. For more > details, please see indi

Re: [net-next PATCH 0/2] GENEVE/VXLAN: Enable outer Tx checksum by default

2016-02-21 Thread David Miller
From: Alexander Duyck Date: Fri, 19 Feb 2016 11:26:17 -0800 > This patch series makes it so that we enable the outer Tx checksum > for IPv4 tunnels by default. Series applied, thanks Alex.

Re: [PATCH net] Driver: Vmxnet3: Update Rx ring 2 max size

2016-02-21 Thread David Miller
From: Shrikrishna Khare Date: Fri, 19 Feb 2016 11:19:52 -0800 > Device emulation supports max size of 4096. > > Signed-off-by: Shrikrishna Khare > Signed-off-by: Bhavesh Davda Applied, thanks.

Re: [PATCH v2 0/3] net: ti: netcp: restore get/set_pad_info() functionality

2016-02-21 Thread David Miller
From: Murali Karicheri Date: Fri, 19 Feb 2016 12:58:41 -0500 > This series fixes a regression and add some improvements for the ease > of maintainance. Incorporated comments against v1. > > Changelogs: > > v2 : combined 2-3 into one patch as this involves a header change > fixed a parse

Re: [PATCH net-next v2 0/3] lwtunnel: autoload of lwt modules

2016-02-21 Thread David Miller
From: Robert Shearman Date: Fri, 19 Feb 2016 09:43:15 + > Changes since v1: > - remove "LWTUNNEL_ENCAP_" prefix for the string form of the encaps >used when requesting the module to reduce duplication, and don't >bother returning strings for lwt modules using netdevices, both >su

Re: [PATCH net-next 1/3] gianfar: Map head TxBD first to skip a wmb()

2016-02-21 Thread David Miller
From: Claudiu Manoil Date: Fri, 19 Feb 2016 12:47:32 +0200 > The main point of this change is to update the buffer pointer of > the first BD way before the status field is updated, so that a > wmb() between these two operations is no longer needed. This is the completely bogus. The distance bet

Re: [PATCH] MAINTAINERS: Drop myself as xen netback maintainer

2016-02-21 Thread David Miller
From: Ian Campbell Date: Fri, 19 Feb 2016 11:44:51 + > Wei has been picking this up for quite a while now. > > Signed-off-by: Ian Campbell Applied, thanks Ian.

Re: [net-next] vlan: turn on unicast filtering on vlan device

2016-02-21 Thread David Miller
From: Zhang Shengju Date: Thu, 18 Feb 2016 10:00:11 + > Currently vlan device inherits unicast filtering flag from underlying > device. If underlying device doesn't support unicast filter, this will > put vlan device into promiscuous mode when it's stacked. > > Tun on IFF_UNICAST_FLT on the

Re: [PATCHv2] sctp: Fix port hash table size computation

2016-02-21 Thread David Miller
From: Neil Horman Date: Thu, 18 Feb 2016 16:10:57 -0500 > Dmitry Vyukov noted recently that the sctp_port_hashtable had an error in > its size computation, observing that the current method never guaranteed > that the hashsize (measured in number of entries) would be a power of two, > which the i

[PATCH can-next 2/2] CAN: rcar: add device tree support for r8a779[234]

2016-02-21 Thread Simon Horman
Simply document new compatibility string. As a previous patch adds a generic R-Car Gen2 compatibility string there appears to be no need for a driver updates. By documenting this compat sting it may be used in DTSs shipped, for example as part of ROMs. It must be used in conjunction with the Gen2

[PATCH can-next 0/2] CAN: rcar: add fallback and r8a779[234] bindings

2016-02-21 Thread Simon Horman
Hi, this series adds fallback bindings for R-Car Gen 1 and Gen 2 SoCs, and SoC-specific bindings for the r8a779[234] SoCs which are of the R-Car Gen 2 SoCs. The aim is to provide consistent bindings for R-Car Gen 1 and Gen 2 SoCs in a maner consistent with that progressively being used for driver

[PATCH can-next 1/2] CAN: rcar: add gen[12] fallback compatibility strings

2016-02-21 Thread Simon Horman
Add fallback compatibility string for R-Car Gen 1 and Gen2 families. This is in keeping with the fallback scheme being adopted wherever appropriate for drivers for Renesas SoCs. Signed-off-by: Simon Horman --- Documentation/devicetree/bindings/net/can/rcar_can.txt | 4 +++- drivers/net/can/rcar_

Re: [PATCH v3] net: ethernet: davicom: fix devicetree irq resource

2016-02-21 Thread Sergei Ianovich
On Sat, 2016-02-20 at 21:45 +0100, Robert Jarzmik wrote: > The dm9000 driver doesn't work in at least one device-tree > configuration, spitting an error message on irq resource : > [1.062495] dm9000 800.ethernet: insufficient resources > [1.068439] dm9000 800.ethernet: not found (-2

[PATCH v3] tunnel: Clear IPCB(skb)->opt before dst_link_failure called

2016-02-21 Thread Bernie Harris
IPCB may contain data from previous layers (in the observed case the qdisc layer). In the observed scenario, the data was misinterpreted as ip header options, which later caused the ihl to be set to an invalid value (<5). This resulted in an infinite loop in the mips implementation of ip_fast_csum.

[PATCH v3] tunnel: Clear IPCB(skb)->opt before dst_link_failure called

2016-02-21 Thread Bernie Harris
IPCB may contain data from previous layers (in the observed case the qdisc layer). In the observed scenario, the data was misinterpreted as ip header options, which later caused the ihl to be set to an invalid value (<5). This resulted in an infinite loop in the mips implementation of ip_fast_csum.

[no subject]

2016-02-21 Thread Bernie Harris
Thank you for the reply. I have revised the patch to apply to the range of tunnel types, and so only the opt field is cleared.

Re: [PATCH] ipv4: in new netns initialize sysctls in net.ipv4.conf.* with defaults

2016-02-21 Thread Eric W. Biederman
Konstantin Khlebnikov writes: > Currently initial net.ipv4.conf.all.* and net.ipv4.conf.default.* are > copied from init network namespace because static structures are used > for init_net. This makes no sense because new netns might be created > from any netns. This patch makes private copy also

[PATCH] l2tp_netlink: ignore -ESRCH of genlmsg_multicast_allns()

2016-02-21 Thread Alexander Couzens
If no one registered to the l2tp netlink group, genlmsg_multicast_allns returns -ESRCH. Ignore return code -ESRCH of genlmsg_mulitcast_allns within tunnel_create and session_create calls. Signed-off-by: Alexander Couzens --- net/l2tp/l2tp_netlink.c | 24 1 file changed,

[PATCH next v4 3/3] ipvlan: misc changes

2016-02-21 Thread Mahesh Bandewar
From: Mahesh Bandewar 1. scope correction for few functions that are used in single file. 2. Adjust variables that are used in fast-path to fit into single cacheline 3. Update rcv_frame() to skip shared check for frames coming over wire Signed-off-by: Mahesh Bandewar --- drivers/net/ipvlan/ipv

Re: iproute2 query

2016-02-21 Thread Stephen Hemminger
On Fri, 19 Feb 2016 20:12:04 +1100 Marcus Furlong wrote: > Hi, > > Just wondering if the following command should work: > > # ip route add 192.168.27.27/24 dev eth0 scope link src 192.168.27.27 > RTNETLINK answers: Invalid argument > > However, this command works: > > # ip route add 192.168.2

Re: [PATCH iproute2] iplink: bridge: remove unnecessary returns

2016-02-21 Thread Stephen Hemminger
On Thu, 18 Feb 2016 20:54:34 +0100 Nikolay Aleksandrov wrote: > From: Nikolay Aleksandrov > > invarg exits so no need to return, remove this c&p error from my recent > patches > > Signed-off-by: Nikolay Aleksandrov Applied

[PATCH next v4 2/3] ipvlan: mode is u16

2016-02-21 Thread Mahesh Bandewar
From: Mahesh Bandewar The mode argument was erronusly defined as u32 but it has always been u16. Also use ipvlan_set_mode() helper to set the mode instead of assigning directly. This should avoid future erronus assignments / updates. Signed-off-by: Mahesh Bandewar --- drivers/net/ipvlan/ipvlan

Re: [PATCH v2] net: fec: Add "phy-reset-active-low" property to DT

2016-02-21 Thread Sergei Shtylyov
Hello. On 02/09/2016 11:01 PM, Bernhard Walle wrote: We need that for a custom hardware that needs the reverse reset sequence. Signed-off-by: Bernhard Walle --- Changes compared to v1: - Add documentation to 'phy-reset-gpios' that flags are ignored as suggested by Andrew Lunn. Docume

[PATCH next v4 1/3] ipvlan: scrub skb before routing in L3 mode.

2016-02-21 Thread Mahesh Bandewar
From: Mahesh Bandewar Scrub skb before hitting the iptable hooks to ensure packets hit these hooks. Set the xnet param only when the packet is crossing the ns boundry so if the IPvlan slave and master belong to the same ns, the param will be set to false. Signed-off-by: Mahesh Bandewar CC: Cong

Re: [PATCH/RFC v4 net-next] ravb: Add dma queue interrupt support

2016-02-21 Thread Sergei Shtylyov
On 02/21/2016 06:42 PM, Sergei Shtylyov wrote: [...] From: Kazuya Mizuguchi This patch supports the following interrupts. - One interrupt for multiple (descriptor, error, management) - One interrupt for emac - Four interrupts for dma queue (best effort rx/tx, network control rx/tx) This pat

Important Update

2016-02-21 Thread Reserve Bank Of India
Dear Receipiant, Your Pending funds of £750,000 GBP has been released by RBI. To claim, send full details as follows, Name: , Mob No.: , Address: and Alternate E-mail: This is the last ever notification we are sending to you, if we do not receive your details, we will delete your email, and de

Re: [PATCH/RFC v5 net-next] ravb: Add dma queue interrupt support

2016-02-21 Thread Sergei Shtylyov
On 02/14/2016 10:39 PM, Yoshihiro Kaneko wrote: From: Kazuya Mizuguchi This patch supports the following interrupts. - One interrupt for multiple (error, gPTP) - One interrupt for emac - Four interrupts for dma queue (best effort rx/tx, network control rx/tx) This patch improve efficiency of

Re: Tools for sampling ethtool --statistics

2016-02-21 Thread Rana Shahout
> Hi All, > > I wrote a small tool[1] to extract ethtool --statistics|-S, sample and > present it in a more human readable manor. You might also find this > useful... > > https://github.com/netoptimizer/network-testing/blob/master/bin/ethtool_stats.pl > > The reason I wrote this script is that the

[PATCH next v4 0/3] IPvlan misc patches

2016-02-21 Thread Mahesh Bandewar
From: Mahesh Bandewar This is a collection of unrelated patches for IPvlan driver. a. crub_skb() changes are added to ensure that the packets hit the NF_HOOKS in masters' ns in L3 mode. b. u16 change is bug fix while c. the third patch is to group tx/rx variables in single cacheline Mahesh Bande

Re: [PATCH] virtio_net: switch to build_skb for mrg_rxbuf

2016-02-21 Thread Michael S. Tsirkin
On Sun, Feb 21, 2016 at 08:40:59PM +0200, Michael S. Tsirkin wrote: > For small packets data copy was observed to > take up about 15% CPU time. Switch to build_skb > and avoid the copy when using mergeable rx buffers. > > As a bonus, medium-size skbs that fit in a page will be > completely linear.

[PATCH] virtio_net: switch to build_skb for mrg_rxbuf

2016-02-21 Thread Michael S. Tsirkin
For small packets data copy was observed to take up about 15% CPU time. Switch to build_skb and avoid the copy when using mergeable rx buffers. As a bonus, medium-size skbs that fit in a page will be completely linear. Of course, we now need to lower the lower bound on packet size, to make sure a

Re: [PATCH next v4 1/3] ipvlan: scrub skb before routing in L3 mode.

2016-02-21 Thread Cong Wang
On Sat, Feb 20, 2016 at 7:31 PM, Mahesh Bandewar wrote: > From: Mahesh Bandewar > > Scrub skb before hitting the iptable hooks to ensure packets hit > these hooks. Set the xnet param only when the packet is crossing the > ns boundry so if the IPvlan slave and master belong to the same ns, > the p

[PATCH net 1/5] bnx2x: Fix link-forcing for KR2

2016-02-21 Thread Yuval Mintz
Currently, when link is using KR2 it cannot be forced to any speed other than 20g. Signed-off-by: Yuval Mintz --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c b/driver

Re: [PATCH] ipv4: in new netns initialize sysctls in net.ipv4.conf.* with defaults

2016-02-21 Thread Vasily Averin
Konstantin, I've investigated question with sysctls initialization inside namespaces some time ago. IIRC I've found people expect that sysctl values should be inherited from parent namespace. It allows node admin to adjust unsafe pre-compiled settings, and prepare adequate defaults before creat

[PATCH net 5/5] bnx2x: Fix 84833 phy command handler

2016-02-21 Thread Yuval Mintz
Current initialization sequence is lacking, causing some configurations to fail. Signed-off-by: Yuval Mintz --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 81 +++- drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h | 4 ++ 2 files changed, 56 insertions(+), 29 deletion

[PATCH net-next 3/5] qed: Change metadata needed for SPQ entries

2016-02-21 Thread Yuval Mintz
Each configuration element send via ramrod requires a Slow Path Queue entry. This slightly changes the way such an entry is configured, but contains mostly semantic changes [where more parameters are gathered in a sub-struct instead of being directly passed]. Signed-off-by: Yuval Mintz --- drive

[PATCH net 4/5] bnx2x: Fix led setting for 84858 phy.

2016-02-21 Thread Yuval Mintz
Signed-off-by: Yuval Mintz --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 94 ++-- drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h | 2 + 2 files changed, 91 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c b/drivers/net/e

[PATCH net-next 5/5] qed,qede: Bump driver versions to 8.7.0.0

2016-02-21 Thread Yuval Mintz
Signed-off-by: Yuval Mintz --- drivers/net/ethernet/qlogic/qed/qed.h | 2 +- drivers/net/ethernet/qlogic/qede/qede.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qed/qed.h b/drivers/net/ethernet/qlogic/qed/qed.h index d34da63..66b021e 10064

[PATCH net-next 4/5] qed: Introduce DMA_REGPAIR_LE

2016-02-21 Thread Yuval Mintz
FW hsi contains regpairs, mostly for 64-bit address representations. Since same paradigm is applied each time a regpair is filled, this introduces a new utility macro for setting such regpairs. Signed-off-by: Yuval Mintz --- drivers/net/ethernet/qlogic/qed/qed_l2.c | 9 +++-- drive

[PATCH net 3/5] bnx2x: Correct 84858 PHY fw version

2016-02-21 Thread Yuval Mintz
The phy's firmware version isn't being parsed properly as it's currently parsed like the rest of the 848xx phys. Signed-off-by: Yuval Mintz --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 92 1 file changed, 79 insertions(+), 13 deletions(-) diff --git a/drivers/

[PATCH net-next 0/5] qed*: Driver updates

2016-02-21 Thread Yuval Mintz
This contains various minor changes to driver - changing memory allocation, fixing a small theoretical bug, as well as some mostly-semantic changes. Dave, Please consider applying this series to `net-next'. Thanks, Yuval -- 1.8.3.1

[PATCH net-next 1/5] qed: Turn most GFP_ATOMIC into GFP_KERNEL

2016-02-21 Thread Yuval Mintz
Initial driver submission used GFP_ATOMIC almost inclusively when allocating memory. We now remedy this point, using GFP_KERNEL where it's possible. Signed-off-by: Yuval Mintz --- drivers/net/ethernet/qlogic/qed/qed_cxt.c | 2 +- drivers/net/ethernet/qlogic/qed/qed_dev.c | 6 +++--- drivers/net/

[PATCH net 0/5] bnx2x: Fix 848xx phys

2016-02-21 Thread Yuval Mintz
This series contains link-related fixes, mostly for the 848xx phys [2 patches are for 84833, and 2 patches are for 84858]. Dave, Please consider applying this series to `net'. Thanks, Yuval -- 1.8.3.1

[PATCH net 2/5] bnx2x: Fix 84833 RX CRC

2016-02-21 Thread Yuval Mintz
There's a problem in current 84833 phy configuration - in case 1Gb link is configured and jumbo-sized packets are being used, device will experience RX crc errors. Signed-off-by: Yuval Mintz --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 26 1 file changed, 26 in

[PATCH] ipv4: in new netns initialize sysctls in net.ipv4.conf.* with defaults

2016-02-21 Thread Konstantin Khlebnikov
Currently initial net.ipv4.conf.all.* and net.ipv4.conf.default.* are copied from init network namespace because static structures are used for init_net. This makes no sense because new netns might be created from any netns. This patch makes private copy also for init netns if network namespaces ar

[PATCH net-next 2/5] qed: Handle possible race in SB config

2016-02-21 Thread Yuval Mintz
Due to HW design, some of the memories are wide-bus and access to those needs to be sequentialized on a per-HW-block level; Read/write to a given HW-block might break other read/write to wide-bus memory done at ~same time. Status blocks initialization in CAU is done into such a wide-bus memory. Th

[PATCH] tcp: convert cached rtt from usec to jiffies when feeding initial rto

2016-02-21 Thread Konstantin Khlebnikov
Currently it's converted into msecs, thus HZ=1000 intact. Signed-off-by: Konstantin Khlebnikov Fixes: 740b0f1841f6 ("tcp: switch rtt estimations to usec resolution") --- net/ipv4/tcp_metrics.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/tcp_metrics.c b/net/ipv

Re: [PATCH] ipv4: in new netns initialize sysctls in net.ipv4.conf.* with defaults

2016-02-21 Thread Konstantin Khlebnikov
On 21.02.2016 12:25, Vasily Averin wrote: Konstantin, I've investigated question with sysctls initialization inside namespaces some time ago. IIRC I've found people expect that sysctl values should be inherited from parent namespace. It allows node admin to adjust unsafe pre-compiled settings,

Re: [PATCH/RFC v4 net-next] ravb: Add dma queue interrupt support

2016-02-21 Thread Sergei Shtylyov
Hello. Sorry for the late reply -- I was hoping to get AVB working on another gen2 board... On 02/08/2016 08:19 PM, Yoshihiro Kaneko wrote: [...] From: Kazuya Mizuguchi This patch supports the following interrupts. - One interrupt for multiple (descriptor, error, management) - One inte

[PROBLEM] 10ec:8168 r8169 won't connect

2016-02-21 Thread Luca Osvaldo Mastromatteo
Dear Realtek Maintainers, I'm writing this mail for letting you know a bug regarding the kernel module `r8169`. Downstream bug report (Ubuntu): https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1547151 Extended description: At school when I connect with my Ethernet cable to its network it doe

Re: [PATCH net-next V1 04/12] net/mlx5e: Support DCBNL IEEE ETS

2016-02-21 Thread Saeed Mahameed
On Thu, Feb 18, 2016 at 7:02 PM, Or Gerlitz wrote: > On Thu, Feb 18, 2016 at 12:32 PM, Saeed Mahameed wrote: > >> @@ -2164,6 +2233,9 @@ static void mlx5e_build_netdev(struct net_device >> *netdev) >> netdev->watchdog_timeo= 15 * HZ; >> >> netdev->ethtool_ops = &mlx5e_et

pull-request: can 2016-02-21

2016-02-21 Thread Marc Kleine-Budde
state (2016-02-19 23:51:40 -0500) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can.git tags/linux-can-fixes-for-4.5-20160221 for you to fetch changes up to 90cfde46586d2286488d8ed636929e936c0c9ab2: can: ems_usb: Fix possible tx overflow

Re: [PATCH] jme: remove the jme driver as it is no longer maintained

2016-02-21 Thread Diego Viola
On Sun, Feb 21, 2016 at 9:45 AM, One Thousand Gnomes wrote: >> I would appreciate some hint from someone who is more experienced with >> drivers. > > Start by testing > > - loading the driver as a module > - using the networking > - unloading the module (and checking it stays unloaded!) > > then

[PATCH] can: ems_usb: Fix possible tx overflow

2016-02-21 Thread Marc Kleine-Budde
From: Gerhard Uttenthaler This patch fixes the problem that more CAN messages could be sent to the interface as could be send on the CAN bus. This was more likely for slow baud rates. The sleeping _start_xmit was woken up in the _write_bulk_callback. Under heavy TX load this produced another bulk