Re: Bug in tc of iproute2 ? Deleting single filter, deletes all the filters (apart from hashtable 800::) ...

2015-08-21 Thread Akshat Kakkar
I actually posted this on lartc first. But then it was suggested to post it over here as you guys might be able to guide better. Please help ... On Fri, Aug 21, 2015 at 10:38 AM, Akshat Kakkar wrote: > When I am trying to delete a single tc filter, it deleting all the > filters with the same pr

Re: [lkp] [rhashtable] 9d901bc0515: WARNING: CPU: 0 PID: 1 at arch/x86/mm/ioremap.c:63 __ioremap_check_ram+0x6a/0x99()

2015-08-21 Thread Huang Ying
On Fri, 2015-08-21 at 14:42 +0800, Herbert Xu wrote: > On Fri, Aug 21, 2015 at 02:05:19PM +0800, kernel test robot wrote: > > FYI, we noticed the below changes on > > > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > commit 9d901bc05153bbf33b5da2cd6266865e531f054

Re: [lkp] [rhashtable] 9d901bc0515: WARNING: CPU: 0 PID: 1 at arch/x86/mm/ioremap.c:63 __ioremap_check_ram+0x6a/0x99()

2015-08-21 Thread Herbert Xu
On Fri, Aug 21, 2015 at 03:09:42PM +0800, Huang Ying wrote: > > Sorry, my fault. There are OOM for parent commit too, just some dmesg > difference, which I miss understood. Please ignore this report. I > will be more careful next time. Thanks for the confirmation. -- Email: Herbert Xu Home P

[PATCH] net: phy: add interrupt support for aquantia phy

2015-08-21 Thread shh.xie
From: Shaohui Xie By implementing config_intr & ack_interrupt, now the phy can support link connect/disconnect interrupt. Signed-off-by: Shaohui Xie --- drivers/net/phy/aquantia.c | 49 ++ 1 file changed, 49 insertions(+) diff --git a/drivers/net/ph

[PATCH v3 00/22] FUJITSU Extended Socket network device driver

2015-08-21 Thread Taku Izumi
This patchsets adds FUJITSU Extended Socket network device driver. Extended Socket network device is a shared memory based high-speed network interface between Extended Partitions of PRIMEQUEST 2000 E2 series. You can get some information about Extended Partition and Extended Socket by referring t

[PATCH v3 01/22] fjes: Introduce FUJITSU Extended Socket Network Device driver

2015-08-21 Thread Taku Izumi
This patch adds the basic code of FUJITSU Extended Socket Network Device driver. When "PNP0C02" is found in ACPI DSDT, it evaluates "_STR" to check if "PNP0C02" is for Extended Socket device driver and retrieves ACPI resource information. Then creates platform_device. Signed-off-by: Taku Izumi -

[PATCH v3 06/22] fjes: buffer address regist/unregistration routine

2015-08-21 Thread Taku Izumi
This patch adds buffer address regist/unregistration routine. This function is mainly invoked when network device's activation (open) and deactivation (close) in order to retist/unregist shared buffer address. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 186 ++

[PATCH v3 22/22] fjes: ethtool support

2015-08-21 Thread Taku Izumi
This patch adds implementation for ethtool support. Signed-off-by: Taku Izumi --- drivers/net/fjes/Makefile | 2 +- drivers/net/fjes/fjes.h | 2 + drivers/net/fjes/fjes_ethtool.c | 137 drivers/net/fjes/fjes_main.c| 1 + 4 files ch

[PATCH v3 19/22] fjes: update_zone_task

2015-08-21 Thread Taku Izumi
This patch adds update_zone_task. Zoning information can be changed by user. This task is used to monitor if zoning information is changed or not. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 179 +++ drivers/net/fjes/fjes_hw.h | 1 + d

[PATCH v3 17/22] fjes: force_close_task

2015-08-21 Thread Taku Izumi
This patch adds force_close_task. This task is used to close network device forcibly. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_main.c | 13 + 2 files changed, 14 insertions(+) diff --git a/drivers/net/fjes/fjes.h b/drivers/net/fjes/fje

[PATCH v3 21/22] fjes: handle receive cancellation request interrupt

2015-08-21 Thread Taku Izumi
This patch adds implementation of handling IRQ of other receiver's receive cancellation request. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 78 1 file changed, 78 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net

[PATCH v3 09/22] fjes: raise_intr_rxdata_task

2015-08-21 Thread Taku Izumi
This patch add raise_intr_rxdata_task. Extended Socket Network Device is shared memory based, so someone's transmission denotes other's reception. In order to notify receivers, sender has to raise interruption of receivers. raise_intr_rxdata_task does this work. Signed-off-by: Taku Izumi --- dri

[PATCH v3 02/22] fjes: Hardware initialization routine

2015-08-21 Thread Taku Izumi
This patch adds hardware initialization routine to be invoked at driver's .probe routine. Signed-off-by: Taku Izumi --- drivers/net/fjes/Makefile| 2 +- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_hw.c | 295 +++ drivers/net/fjes/fj

[PATCH v3 08/22] fjes: net_device_ops.ndo_start_xmit

2015-08-21 Thread Taku Izumi
This patch adds net_device_ops.ndo_start_xmit callback, which is called when sending packets. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_hw.c | 55 ++ drivers/net/fjes/fjes_hw.h | 12 +++ drivers/net/fjes/fjes_main.c | 177

[PATCH v3 05/22] fjes: ES information acquisition routine

2015-08-21 Thread Taku Izumi
This patch adds ES information acquisition routine. ES information can be retrieved issuing information request command. ES information includes which receiver is same zone. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 101 +++ drivers/net/

[PATCH v3 15/22] fjes: net_device_ops.ndo_vlan_rx_add/kill_vid

2015-08-21 Thread Taku Izumi
This patch adds net_device_ops.ndo_vlan_rx_add_vid and net_device_ops.ndo_vlan_rx_kill_vid callback. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 27 +++ drivers/net/fjes/fjes_hw.h | 2 ++ drivers/net/fjes/fjes_main.c | 40 ++

[PATCH v3 14/22] fjes: net_device_ops.ndo_tx_timeout

2015-08-21 Thread Taku Izumi
This patch adds net_device_ops.ndo_tx_timeout callback. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 519976c..94ccc11 100644 --- a/drivers/net/fjes/fjes_ma

[PATCH v3 16/22] fjes: interrupt_watch_task

2015-08-21 Thread Taku Izumi
This patch adds interrupt_watch_task. This task is used to prevent delay of interrupts. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 5 + drivers/net/fjes/fjes_main.c | 40 +++- 2 files changed, 44 insertions(+), 1 deletion(-) diff --git

[PATCH v3 18/22] fjes: unshare_watch_task

2015-08-21 Thread Taku Izumi
This patch adds unshare_watch_task. Shared buffer's status can be changed into unshared. This task is used to monitor shared buffer's status. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 3 ++ drivers/net/fjes/fjes_main.c | 126 +++ 2 fil

[PATCH v3 20/22] fjes: epstop_task

2015-08-21 Thread Taku Izumi
This patch adds epstop_task. This task is used to process other receiver's cancellation request. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 31 +++ drivers/net/fjes/fjes_hw.h | 1 + drivers/net/fjes/fjes_main.c | 1 + 3 files changed, 33 insertio

[PATCH v3 04/22] fjes: platform_driver's .probe and .remove routine

2015-08-21 Thread Taku Izumi
This patch implements platform_driver's .probe and .remove routine, and also adds board specific private data structure. This driver registers net_device at platform_driver's .probe routine and unregisters net_device at its .remove routine. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h

[PATCH v3 07/22] fjes: net_device_ops.ndo_open and .ndo_stop

2015-08-21 Thread Taku Izumi
This patch adds net_device_ops.ndo_open and .ndo_stop callback. These function is called when network device activation and deactivation. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_hw.c | 145 + drivers/net/fjes/fjes_hw.h

[PATCH v3 03/22] fjes: Hardware cleanup routine

2015-08-21 Thread Taku Izumi
This patch adds hardware cleanup routine to be invoked at driver's .remove routine. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 66 ++ drivers/net/fjes/fjes_hw.h | 1 + 2 files changed, 67 insertions(+) diff --git a/drivers/net/fjes/fj

[PATCH v3 11/22] fjes: NAPI polling function

2015-08-21 Thread Taku Izumi
This patch adds NAPI polling function and receive related work. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 40 ++ drivers/net/fjes/fjes_hw.h | 5 ++ drivers/net/fjes/fjes_main.c | 171 ++- 3 files changed, 214 insertions(+),

[PATCH v3 13/22] fjes: net_device_ops.ndo_change_mtu

2015-08-21 Thread Taku Izumi
This patch adds net_device_ops.ndo_change_mtu. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 20feb3e..519976c 100644 --- a/drivers/net

[PATCH v3 12/22] fjes: net_device_ops.ndo_get_stats64

2015-08-21 Thread Taku Izumi
This patch adds net_device_ops.ndo_get_stats64 callback. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 6194962..20feb3e 100644 --- a/drivers/net/fjes/

[PATCH v3 10/22] fjes: tx_stall_task

2015-08-21 Thread Taku Izumi
This patch adds tx_stall_task. When receiver's buffer is full, sender stops its tx queue. This task is used to monitor receiver's status and when receiver's buffer is avairable, it resumes tx queue. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 2 ++ drivers/net/fjes/fjes_main.c

Re: RX packet loss on i.MX6Q running 4.2-rc7

2015-08-21 Thread Clemens Gruber
On Fri, Aug 21, 2015 at 06:49:20AM +0200, Jon Nettleton wrote: > On Fri, Aug 21, 2015 at 12:30 AM, Clemens Gruber > wrote: > > Hi, > > > > I am experiencing massive RX packet loss on my i.MX6Q (Chip rev 1.3) on > > Linux > > 4.2-rc7 with a Marvell 88E1510 Gigabit Ethernet PHY connected over RGMII

Re: DEBUG_LOCKS_WARN_ON(in_interrupt()) triggering in socket code

2015-08-21 Thread Jason A. Donenfeld
Bueller? ... Bueller? On Thu, Aug 20, 2015 at 2:39 AM, Jason A. Donenfeld wrote: > Hi folks, > > In setting up a socket, there are two functions I make use of that in > turn wind up calling static_key_slow_inc: setup_udp_tunnel_sock and > sk_set_memalloc. These both make use of static_key_slow_in

[PATCH net-next 1/1] sfc: Allow driver to cope with a lower number of VIs than it needs for RSS

2015-08-21 Thread Shradha Shah
Previously, the driver would refuse to load if it couldn't secure enough VIs from the MC to fulfill its RSS requirements. This was causing probe to fail on later functions in configuration where we'd run out of VIs, such as having many VFs. This change allows the driver to load with fewer VIs, dow

[PATCH v2 net-next] r8169: Add values missing in @get_stats64 from HW counters

2015-08-21 Thread Corinna Vinschen
The r8169 driver collects statistical information returned by @get_stats64 by counting them in the driver itself, even though many (but not all) of the values are already collected by tally counters (TCs) in the NIC. Some of these TC values are not returned by @get_stats64. Especially the receive

Re: [PATCH] lib/Makefile: remove CONFIG_AVERAGE build rule

2015-08-21 Thread Johannes Berg
On Fri, 2015-08-21 at 10:05 +, Valentin Rothberg wrote: > The Kconfig option AVERAGE and its implementation has been removed by > commit f4e774f55fe0 ("average: remove out-of-line implementation"). > Remove the dead build rule in lib/Makefile. D'oh, sorry about that. Reviewed-by: Johannes Ber

Re: [PATCH v2 net-next] r8169: Add values missing in @get_stats64 from HW counters

2015-08-21 Thread Corinna Vinschen
Sorry, I forgot to mention that I tested this patch on three different chip versions, RTL_GIGA_MAC_VER_23, RTL_GIGA_MAC_VER_33 and RTL_GIGA_MAC_VER_35. I couldn't test on pre-RTL_GIGA_MAC_VER_19, but the offset handling without counter reset already worked as expected on later chip versions, so I'

[PATCH net-next] route: fix breakage after moving lwtunnel state

2015-08-21 Thread Jiri Benc
__recnt and related fields need to be in its own cacheline for performance reasons. Commit 61adedf3e3f1 ("route: move lwtunnel state to dst_entry") broke that on 32bit archs, causing BUILD_BUG_ON in dst_hold to be triggered. This patch fixes the breakage by moving the lwtunnel state to the end of

Re: e1000e: possible reggresion?

2015-08-21 Thread Tomas Papan
Hi Eric, It was probalby it. Uptime 5+ hours and no problem. Thanks for the hint, I was compiling linus tree yesterday around 12:00 UTC, your change was added later. Regards Tomas On Thu, Aug 20, 2015 at 10:29 PM, Eric Dumazet wrote: > On Thu, 2015-08-20 at 21:37 +0200, Tomas Papan wrote: >> H

[PATCH V4 net-next 0/2] net: implement SMC-R solution

2015-08-21 Thread Ursula Braun
From: Ursula Braun Dave, this is V4 of my SMC-R patches: Since you are asking for a solution "100% in our own separate module with our own can of worms", we have to give up the transparent detection whether a communication peer can do SMC-R or not (this has been the purpose of the rejected TCP h

[PATCH V4 net-next 1/2] net: introduce socket family constants

2015-08-21 Thread Ursula Braun
From: Ursula Braun The new socket family is assigned the next available address / protocol family constant 41. Implementing SO_KEEPALIVE for SMC-R requires an extra hook in net/ipv4/timer.c. Signed-off-by: Ursula Braun --- include/linux/socket.h | 4 +++- include/net/smc.h | 13 +

Re: e1000e: possible reggresion?

2015-08-21 Thread Eric Dumazet
On Fri, 2015-08-21 at 12:48 +0200, Tomas Papan wrote: > Hi Eric, > > It was probalby it. Uptime 5+ hours and no problem. > > Thanks for the hint, I was compiling linus tree yesterday around 12:00 UTC, > your change was added later. Sure, let me know if you have any problems. A timer fix was als

Re: DEBUG_LOCKS_WARN_ON(in_interrupt()) triggering in socket code

2015-08-21 Thread Jason A. Donenfeld
Ahhh, interesting, so it turns out you can't do a number of things with a read_lock_bh held, because it increases the softirq count. Mystery solved. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at htt

Re: 答复: [PATCH 1/5] net: add Hisilicon Network Subsystem support (config and documents)

2015-08-21 Thread Arnd Bergmann
On Monday 17 August 2015 01:28:07 Liguozhu wrote: > Thanks, Arnd. > > Regarding the ae-name: it is the name of the Acceleration Engine. It is > provided > by the BIOS according to the position and the feature enabled of the IP. > So "soc0" means it is on SoC No. 0, while "n4" means it is running

Re: [PATCH 3/5] net: add Hisilicon Network Subsystem MDIO support

2015-08-21 Thread Arnd Bergmann
On Monday 17 August 2015 17:17:50 Kenneth Lee wrote: > Thanks, Arnd, > > You are right. This is the same IP as hip04_mdio.c. We just mis-understand the > hardware design. We will merge them and re-submit the patches. Ok, great! Arnd -- To unsubscribe from this list: send the line "unsub

Re: DEBUG_LOCKS_WARN_ON(in_interrupt()) triggering in socket code

2015-08-21 Thread Michal Kubecek
On Fri, Aug 21, 2015 at 03:42:33PM +0200, Jason A. Donenfeld wrote: > Ahhh, interesting, so it turns out you can't do a number of things > with a read_lock_bh held, because it increases the softirq count. > Mystery solved. You must not do anything that can sleep (like taking a mutex) while holding

Re: [net-next:master 1179/1189] include/linux/compiler.h:447:38: error: call to '__compiletime_assert_243' declared with attribute error: BUILD_BUG_ON failed: offsetof(struct dst_entry, __refcnt) & 63

2015-08-21 Thread Jiri Benc
On Thu, 20 Aug 2015 23:26:50 -0700 (PDT), David Miller wrote: > Yeah, I should have predicted this would happen on 32-bit builds when I saw > the adjustment of __pad_to_align_refcnt[] for 64-bit. > > Jiri, you might not have any reasonable options to fix this I'm afraid. Still working on this, th

Re: [PATCH net-next] tcp: fix slow start after idle vs TSO/GSO

2015-08-21 Thread Neal Cardwell
On Thu, Aug 20, 2015 at 1:08 PM, Eric Dumazet wrote: > From: Eric Dumazet > > slow start after idle might reduce cwnd, but we perform this > after first packet was cooked and sent. > > With TSO/GSO, it means that we might send a full TSO packet > even if cwnd should have been reduced to IW10. > >

[PATCH] /net/ethernet/3com/3c59x.c:Fixed coding style errors and warnings.

2015-08-21 Thread Ravinder Atla
Checks are also cleared Signed-off-by: Ravinder Atla --- drivers/net/ethernet/3com/3c59x.c | 39 +-- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/drivers/net/ethernet/3com/3c59x.c b/drivers/net/ethernet/3com/3c59x.c index 2d1ce3c..18d242c 10

[PATCH net-next] netfilter: ipset: Fixing unnamed union init

2015-08-21 Thread Elad Raz
In continue to proposed Vinson Lee's post [1], this patch fixes compilation issues founded at gcc 4.4.7. The initialization of .cidr field of unnamed unions causes compilation error in gcc 4.4.x. References Visible links [1] https://lkml.org/lkml/2015/7/5/74 Signed-off-by: Elad Raz --- net/net

[net-next PATCH 3/3] net: sched: fall back to noqueue when removing root qdisc

2015-08-21 Thread Phil Sutter
When removing the root qdisc, the interface should fall back to noqueue as the 'real' minimal qdisc instead of the default one. Therefore dev_graft_qdisc() has to be adjusted to assign noqueue if NULL was passed as new qdisc, and qdisc_graft() needs to assign noqueue to dev->qdisc instead of noop t

[net-next PATCH 1/3] net: sched: make noqueue_qdisc non-static

2015-08-21 Thread Phil Sutter
This needs to be referenced from within net/sched/sched_api.c later. Signed-off-by: Phil Sutter --- include/net/sch_generic.h | 1 + net/sched/sch_generic.c | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index 2eab0

[net-next PATCH 0/3] net: sched: allow switching qdisc to noqueue intuitively

2015-08-21 Thread Phil Sutter
This patch series improves the integration of the noqueue qdisc to become the fallback queueing if no other is attached to an interface. Before it was rather an add-on, a simpler alternative to a FIFO if no congestion is expected or possible. It has become the default qdisc for virtual interfaces,

[net-next PATCH 2/3] net: sched: allocate a handle to default qdiscs

2015-08-21 Thread Phil Sutter
Since tc_get_qdisc() does not allow to remove a qdisc with zero handle, a handle needs to be allocated to default qdiscs (currently pfifo_fast or mq) in order to allow removing them. Signed-off-by: Phil Sutter --- include/net/sch_generic.h | 1 + net/sched/sch_api.c | 3 ++- net/sched/sch_

Re: [net-next PATCH 2/3] net: sched: allocate a handle to default qdiscs

2015-08-21 Thread Eric Dumazet
On Fri, 2015-08-21 at 17:58 +0200, Phil Sutter wrote: > Since tc_get_qdisc() does not allow to remove a qdisc with zero handle, > a handle needs to be allocated to default qdiscs (currently pfifo_fast > or mq) in order to allow removing them. > > Signed-off-by: Phil Sutter > --- > include/net/sc

[PATCH 3/4 nf-next] ipvs: add sync_maxlen parameter for the sync daemon

2015-08-21 Thread Simon Horman
From: Julian Anastasov Allow setups with large MTU to send large sync packets by adding sync_maxlen parameter. The default value is now based on MTU but no more than 1500 for compatibility reasons. To avoid problems if MTU changes allow fragmentation by sending packets with DF=0. Problem reporte

[GIT PULL nf-next] Second Round of IPVS Updates for v4.3

2015-08-21 Thread Simon Horman
Hi Pablo, please consider these IPVS Updates for v4.3. I realise these are a little late in the cycle, so if you would prefer me to repost them for v4.4 then just let me know. The updates include: * A new scheduler from Raducu Deaconu * Enhanced configurability of the sync daemon from Julian Ana

[PATCH 4/4 nf-next] ipvs: add more mcast parameters for the sync daemon

2015-08-21 Thread Simon Horman
From: Julian Anastasov - mcast_group: configure the multicast address, now IPv6 is supported too - mcast_port: configure the multicast port - mcast_ttl: configure the multicast TTL/HOP_LIMIT Signed-off-by: Julian Anastasov Signed-off-by: Simon Horman --- include/net/ip_vs.h |

[PATCH 2/4 nf-next] ipvs: call rtnl_lock early

2015-08-21 Thread Simon Horman
From: Julian Anastasov When the sync damon is started we need to hold rtnl lock while calling ip_mc_join_group. Currently, we have a wrong locking order because the correct one is rtnl_lock->__ip_vs_mutex. It is implied from the usage of __ip_vs_mutex in ip_vs_dst_event() which is called under rt

[PATCH 1/4 nf-next] ipvs: Add ovf scheduler

2015-08-21 Thread Simon Horman
From: Raducu Deaconu The weighted overflow scheduling algorithm directs network connections to the server with the highest weight that is currently available and overflows to the next when active connections exceed the node's weight. Signed-off-by: Raducu Deaconu Acked-by: Julian Anastasov Sig

Re: [PATCH net-next] tcp: fix slow start after idle vs TSO/GSO

2015-08-21 Thread Eric Dumazet
On Fri, 2015-08-21 at 11:10 -0400, Neal Cardwell wrote: > Very nice catch, and this fix seems like a definite improvement. > > One potential issue is that the connection can restart from idle not > just because new data has been written (which this patch addresses), > but also because the receive

Re: [net-next PATCH 2/3] net: sched: allocate a handle to default qdiscs

2015-08-21 Thread Phil Sutter
On Fri, Aug 21, 2015 at 09:14:58AM -0700, Eric Dumazet wrote: [...] > > diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c > > index 1fb65f9..ab614ee 100644 > > --- a/net/sched/sch_generic.c > > +++ b/net/sched/sch_generic.c > > @@ -634,6 +634,11 @@ struct Qdisc *qdisc_create_dflt(struc

RE: [PATCH 0/4 net-next] enic: add devcmd2

2015-08-21 Thread Brandeburg, Jesse
This series introduces a compile error drivers/net/ethernet/cisco/enic/enic_main.c: In function 'enic_probe': drivers/net/ethernet/cisco/enic/enic_main.c:2490:3: error: label 'err_out_vnic_unregister' used but not defined goto err_out_vnic_unregister; ^ scripts/Makefile.build:258: recipe for

Re: [PATCHv4 net-next 10/10] openvswitch: Allow attaching helpers to ct action

2015-08-21 Thread Pravin Shelar
On Thu, Aug 20, 2015 at 5:47 PM, Joe Stringer wrote: > On 19 August 2015 at 15:57, Pravin Shelar wrote: >> On Tue, Aug 18, 2015 at 4:39 PM, Joe Stringer wrote: >>> Add support for using conntrack helpers to assist protocol detection. >>> The new OVS_CT_ATTR_HELPER attribute of the ct action spec

Re: [PATCH 0/4 net-next] enic: add devcmd2

2015-08-21 Thread David Miller
From: "Brandeburg, Jesse" Date: Fri, 21 Aug 2015 17:19:03 + > This series introduces a compile error > drivers/net/ethernet/cisco/enic/enic_main.c: In function 'enic_probe': > drivers/net/ethernet/cisco/enic/enic_main.c:2490:3: error: label > 'err_out_vnic_unregister' used but not defined >

Re: [PATCH v2] net: bcmgenet: fix uncleaned dma flags

2015-08-21 Thread Florian Fainelli
On 20/08/15 18:08, Jaedon Shin wrote: > Clean the dma flags of multiq ring buffer int the interface stop > process. This patch fixes that the genet is not running while the > interface is re-enabled. > > $ ifup eth0 - running after booting > $ ifdown eth0 > $ ifup eth0 - not running and occur tx_t

[PATCH v2 net-next] tcp: fix slow start after idle vs TSO/GSO

2015-08-21 Thread Eric Dumazet
From: Eric Dumazet slow start after idle might reduce cwnd, but we perform this after first packet was cooked and sent. With TSO/GSO, it means that we might send a full TSO packet even if cwnd should have been reduced to IW10. Moving the SSAI check in skb_entail() makes sense, because we slight

Re: [PATCH v2 net-next] r8169: Add values missing in @get_stats64 from HW counters

2015-08-21 Thread Francois Romieu
Corinna Vinschen : [...] > diff --git a/drivers/net/ethernet/realtek/r8169.c > b/drivers/net/ethernet/realtek/r8169.c > index f790f61..f26a48d 100644 > --- a/drivers/net/ethernet/realtek/r8169.c > +++ b/drivers/net/ethernet/realtek/r8169.c [...] > @@ -2179,6 +2191,47 @@ static int rtl8169_get_sse

ipg and dl2k mess

2015-08-21 Thread Ondrej Zary
Hello, I've got an Asus NX1101 card with ICPlus IP1000A chip: 02:01.0 Ethernet controller [0200]: Sundance Technology Inc / IC Plus Corp IP1000 Family Gigabit Ethernet [13f0:1023] (rev 41) Subsystem: ASUSTeK Computer Inc. NX1101 [1043:8180] Flags: bus master, 66MHz, medium devsel,

Re: [PATCH ipsec-next v2] xfrm: Use VRF master index if output device is enslaved

2015-08-21 Thread Steffen Klassert
On Fri, Aug 21, 2015 at 02:11:21AM +0300, Nikolay Aleksandrov wrote: > > > On Aug 21, 2015, at 1:06 AM, David Ahern wrote: > > > > Directs route lookups to VRF table. Compiles out if NET_VRF is not > > enabled. With this patch able to successfully bring up ipsec tunnels > > in VRFs, even with du

Re: [PATCH net-next v2] tcp: reduce cpu usage under tcp memory pressure when SO_SNDBUF is set

2015-08-21 Thread Jason Baron
On 08/11/2015 01:59 PM, Jason Baron wrote: > > > On 08/11/2015 12:12 PM, Eric Dumazet wrote: >> On Tue, 2015-08-11 at 11:03 -0400, Jason Baron wrote: >> >>> >>> Yes, so the test case I'm using to test against is somewhat contrived. >>> In that I am simply allocating around 40,000 sockets that a

[PATCH] rsi: Fix possible leak when loading firmware

2015-08-21 Thread Christian Engelmayer
Commit 5d5cd85ff441 ("rsi: Fix failure to load firmware after memory leak fix and fix the leak") also added a check on the allocation of DMA-accessible memory that may directly return. In that case the already allocated firmware data is leaked. Make sure the data is always freed correctly. Detected

[PATCH] iproute2: provide common json output formatter

2015-08-21 Thread Stephen Hemminger
Formatting JSON is moderately painful. Provide a simple API to do the syntax formatting. Use it to replace existing json in *stat commands. --- include/json_writer.h | 61 ++ lib/Makefile | 3 +- lib/json_writer.c | 312 ++ m

Re: [RFC PATCH v5 net-next 4/4] tcp: add NV congestion control

2015-08-21 Thread Lawrence Brakmo
Kenneth, thank you for your comments, I¹ve implemented most of the improvements you've mentioned. I¹m finishing the new patch and the updated results, they should be done by Monday (including cdg). On 8/5/15, 5:51 PM, "knn...@gmail.com on behalf of Kenneth Klette Jonassen" wrote: >On Wed, Aug 5

[PATCH net-next 1/2] lan78xx: change phy id and fix phy reset issue

2015-08-21 Thread Woojung.Huh
Patch to change internal PHYID to 1 and fix PHY reset issue. Signed-off-by: Woojung Huh --- drivers/net/usb/lan78xx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c index 39364a4..4bcbf28 100644 --- a/drivers/net/us

[PATCH net-next 2/2] lan78xx: update eee code

2015-08-21 Thread Woojung.Huh
Patch to pdate EEE code. Signed-off-by: Woojung Huh --- drivers/net/usb/lan78xx.c | 44 drivers/net/usb/lan78xx.h | 22 +++--- 2 files changed, 35 insertions(+), 31 deletions(-) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb

Re: [PATCH net-next 2/2] lan78xx: update eee code

2015-08-21 Thread Florian Fainelli
On 21/08/15 14:41, woojung@microchip.com wrote: > Patch to pdate EEE code. This really deserves a better explanation of what is it that you are fixing here. > > Signed-off-by: Woojung Huh > --- > drivers/net/usb/lan78xx.c | 44 > drivers/net/usb

Re: [PATCH v2 net-next] r8169: Add values missing in @get_stats64 from HW counters

2015-08-21 Thread Corinna Vinschen
On Aug 21 21:39, Francois Romieu wrote: > Corinna Vinschen : > [...] > > diff --git a/drivers/net/ethernet/realtek/r8169.c > > b/drivers/net/ethernet/realtek/r8169.c > > index f790f61..f26a48d 100644 > > --- a/drivers/net/ethernet/realtek/r8169.c > > +++ b/drivers/net/ethernet/realtek/r8169.c > [

[PATCH] phylib: Make PHYs children of their MDIO bus, not the bus' parent.

2015-08-21 Thread David Daney
From: David Daney commit 18ee49ddb0d2 ("phylib: rename mii_bus::dev to mii_bus::parent") changed the parent of PHY devices from the bus to the bus parent. Then, commit 4dea547fef1b ("phylib: rework to prepare for OF registration of PHYs") moved the code into phy_device.c At this point, it is so

RE: [PATCH v1 0/6] Add fec1 and fec2 support for i.MX7d sdb board

2015-08-21 Thread Duan Andy
From: Florian Fainelli > Sent: Friday, August 21, 2015 5:14 AM > To: David Miller; Duan Fugang-B38611 > Cc: netdev@vger.kernel.org; shawn...@kernel.org; linux-arm- > ker...@lists.infradead.org > Subject: Re: [PATCH v1 0/6] Add fec1 and fec2 support for i.MX7d sdb > board > > On 20/08/15 14:05, Da

RE: [PATCH v1 0/6] Add fec1 and fec2 support for i.MX7d sdb board

2015-08-21 Thread Duan Andy
From: David Miller Sent: Friday, August 21, 2015 5:06 AM > To: Duan Fugang-B38611 > Cc: shawn...@kernel.org; linux-arm-ker...@lists.infradead.org; > netdev@vger.kernel.org > Subject: Re: [PATCH v1 0/6] Add fec1 and fec2 support for i.MX7d sdb > board > > From: Fugang Duan > Date: Wed, 19 Aug 201

Re: [PATCH v2 net-next] r8169: Add values missing in @get_stats64 from HW counters

2015-08-21 Thread Francois Romieu
Corinna Vinschen : > On Aug 21 21:39, Francois Romieu wrote: [...] > > The code should propagate failure when both rtl8169_reset_counters and > > rtl8169_update_counters fail. > > This one I don't understand. Neither failing to reset the counters nor > failing to update the counters is fatal for

Re: [PATCH] phylib: Make PHYs children of their MDIO bus, not the bus' parent.

2015-08-21 Thread Florian Fainelli
On 21/08/15 16:16, David Daney wrote: > From: David Daney > > commit 18ee49ddb0d2 ("phylib: rename mii_bus::dev to mii_bus::parent") > changed the parent of PHY devices from the bus to the bus parent. > > Then, commit 4dea547fef1b ("phylib: rework to prepare for OF > registration of PHYs") moved

[net-next PATCH v2 3/3] net: sched: fall back to noqueue when removing root qdisc

2015-08-21 Thread Phil Sutter
When removing the root qdisc, the interface should fall back to noqueue as the 'real' minimal qdisc instead of the default one. Therefore dev_graft_qdisc() has to be adjusted to assign noqueue if NULL was passed as new qdisc, and qdisc_graft() needs to assign noqueue to dev->qdisc instead of noop t

[net-next PATCH v2 2/3] net: sched: allocate a handle to default qdiscs

2015-08-21 Thread Phil Sutter
Since tc_get_qdisc() does not allow to remove a qdisc with zero handle, a handle needs to be allocated to default qdiscs (currently pfifo_fast or mq) in order to allow removing them. Signed-off-by: Phil Sutter --- include/net/sch_generic.h | 1 + net/sched/sch_api.c | 3 ++- net/sched/sc

[net-next PATCH v2 1/3] net: sched: make noqueue_qdisc non-static

2015-08-21 Thread Phil Sutter
This needs to be referenced from within net/sched/sched_api.c later. Signed-off-by: Phil Sutter --- include/net/sch_generic.h | 1 + net/sched/sch_generic.c | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index 2eab0

[net-next PATCH v2 0/3] net: sched: allow switching qdisc to noqueue intuitively

2015-08-21 Thread Phil Sutter
This patch series improves the integration of the noqueue qdisc to become the fallback queueing if no other is attached to an interface. Before it was rather an add-on, a simpler alternative to a FIFO if no congestion is expected or possible. It has become the default qdisc for virtual interfaces,

[PATCH net-next] tcp: refine pacing rate determination

2015-08-21 Thread Eric Dumazet
From: Eric Dumazet When TCP pacing was added back in linux-3.12, we chose to apply a fixed ratio of 200 % against current rate, to allow probing for optimal throughput even during slow start phase, where cwnd can be doubled every other gRTT. At Google, we found it was better applying a different

Re: [PATCH net-next] tcp: refine pacing rate determination

2015-08-21 Thread Neal Cardwell
On Fri, Aug 21, 2015 at 8:38 PM, Eric Dumazet wrote: > From: Eric Dumazet > > When TCP pacing was added back in linux-3.12, we chose > to apply a fixed ratio of 200 % against current rate, > to allow probing for optimal throughput even during > slow start phase, where cwnd can be doubled every ot

Re: [PATCH v2 net-next] tcp: fix slow start after idle vs TSO/GSO

2015-08-21 Thread Neal Cardwell
On Fri, Aug 21, 2015 at 3:30 PM, Eric Dumazet wrote: > From: Eric Dumazet > > slow start after idle might reduce cwnd, but we perform this > after first packet was cooked and sent. > > With TSO/GSO, it means that we might send a full TSO packet > even if cwnd should have been reduced to IW10. > >

[PATCH v3 3/4] Add support for driver cross-timestamp to PTP_SYS_OFFSET ioctl

2015-08-21 Thread Christopher S. Hall
From: Christopher Hall This patch allows system and device time ("cross-timestamp") to be performed by the driver. Currently, the cross-timestamping is performed in the PTP_SYS_OFFSET ioctl. The PTP clock driver reads gettimeofday() and the gettime64() callback provided by the driver. The cross-

[PATCH v3 0/4] Patchset enabling hardware based cross-timestamps for next gen Intel platforms

2015-08-21 Thread Christopher S. Hall
6th generation Intel platforms will have an Always Running Timer (ART) that always runs when the system is powered and is available to both the CPU and various on-board devices. Initially, those devices include audio and network. The ART will give these devices the capability of precisely cross ti

[PATCH v3 1/4] Add correlated clocksource deriving system time from an auxiliary clocksource

2015-08-21 Thread Christopher S. Hall
Add struct correlated_cs with pointer to original clocksource and function pointer to convert correlated clocksource to the original Add get_correlated_timestamp() function which given specific correlated_cs and correlated_ts convert correlated counter value to system time Signed-

[PATCH v3 2/4] Added ART correlated clocksource and ART CPU feature

2015-08-21 Thread Christopher S. Hall
Add detect_art() call to early TSC initialization which reads ART->TSC numerator/denominator and sets CPU feature if present Add convert_art_to_tsc() function performing conversion ART to TSC Add art_timestamp referencing art_to_tsc() and clocksource_tsc enabling driver conversion

[PATCH v3 4/4] Enabling hardware supported PTP system/device crosstimestamping

2015-08-21 Thread Christopher S. Hall
From: Christopher Hall Add getsynctime() PTP device callback to cross timestamp system device clock using ART translation depends on platform being >= SPT and having ART getsynctime() reads ART (TSC-derived)/device cross timestamp and converts to realtime/device time repo

[PATCH, net-next]r8169:Disable interrupts.

2015-08-21 Thread Corcodel Marian
Disable interrupts when close the interface. Signed-off-by: Corcodel Marian diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 6cd7226..ea461fe 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c @@ -7548,6 +7

[PATCH v2 net-next] netfilter: ipset: Fixing unnamed union init

2015-08-21 Thread Elad Raz
In continue to proposed Vinson Lee's post [1], this patch fixes compilation issues founded at gcc 4.4.7. The initialization of .cidr field of unnamed unions causes compilation error in gcc 4.4.x. References Visible links [1] https://lkml.org/lkml/2015/7/5/74 Signed-off-by: Elad Raz --- net/net