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

2015-08-21 Thread Corcodel Marian
Disable interrupts when close the interface. Signed-off-by: Corcodel Marian corcodel.mar...@gmail.com 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 +++

[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

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

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 eric.duma...@gmail.com wrote: On Thu, 2015-08-20 at 21:37 +0200,

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

2015-08-21 Thread Ursula Braun
From: Ursula Braun ursula.br...@de.ibm.com 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

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

2015-08-21 Thread Ursula Braun
From: Ursula Braun ursula.br...@de.ibm.com 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 ursula.br...@de.ibm.com --- include/linux/socket.h |

[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: 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 a

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

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 also

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

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, the

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 eric.duma...@gmail.com wrote: From: Eric Dumazet eduma...@google.com 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

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 on

[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-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

[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 p...@nwl.cc --- 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

[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,

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 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 p...@nwl.cc ---

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

2015-08-21 Thread Simon Horman
From: Julian Anastasov j...@ssi.bg 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.

[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

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

2015-08-21 Thread Simon Horman
From: Julian Anastasov j...@ssi.bg - 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 j...@ssi.bg Signed-off-by: Simon Horman ho...@verge.net.au

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

2015-08-21 Thread Simon Horman
From: Julian Anastasov j...@ssi.bg 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

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

2015-08-21 Thread Simon Horman
From: Raducu Deaconu rhadoo.i...@gmail.com 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

[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 rednivara...@gmail.com --- 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

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 v2 net-next] r8169: Add values missing in @get_stats64 from HW counters

2015-08-21 Thread Francois Romieu
Corinna Vinschen vinsc...@redhat.com : [...] 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

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 d...@cumulusnetworks.com 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

[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 v2 net-next] tcp: fix slow start after idle vs TSO/GSO

2015-08-21 Thread Eric Dumazet
From: Eric Dumazet eduma...@google.com 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

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 are idle to

[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 ++

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(struct

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 joestrin...@nicira.com wrote: On 19 August 2015 at 15:57, Pravin Shelar pshe...@nicira.com wrote: On Tue, Aug 18, 2015 at 4:39 PM, Joe Stringer joestrin...@nicira.com wrote: Add support for using conntrack helpers to assist protocol detection. The

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

2015-08-21 Thread David Miller
From: Brandeburg, Jesse jesse.brandeb...@intel.com 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'

[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 woojung@microchip.com --- 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

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 vinsc...@redhat.com : [...] 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 +++

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 knn...@gmail.com on

[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 woojung@microchip.com --- drivers/net/usb/lan78xx.c | 44 drivers/net/usb/lan78xx.h | 22 +++--- 2 files changed, 35 insertions(+), 31 deletions(-) diff --git

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 woojung@microchip.com --- drivers/net/usb/lan78xx.c | 44

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

2015-08-21 Thread David Daney
From: David Daney david.da...@cavium.com 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

[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,

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

2015-08-21 Thread Duan Andy
From: Florian Fainelli f.faine...@gmail.com 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

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 eric.duma...@gmail.com wrote: From: Eric Dumazet eduma...@google.com 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

[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 christopher.s.h...@intel.com 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

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

2015-08-21 Thread Duan Andy
From: David Miller da...@davemloft.net 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

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

2015-08-21 Thread Francois Romieu
Corinna Vinschen vinsc...@redhat.com : 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

[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

[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 p...@nwl.cc --- include/net/sch_generic.h | 1 + net/sched/sch_api.c | 3 ++-

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

2015-08-21 Thread Eric Dumazet
From: Eric Dumazet eduma...@google.com 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

[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 christopher.s.h...@intel.com 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

[net-next:master 790/1189] xt_TEE.c:undefined reference to `nf_dup_ipv6'

2015-08-21 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: a9e01ed986aa80d3092134428f453072752da223 commit: bbde9fc1824aab58bc78c084163007dd6c03fe5b [790/1189] netfilter: factor out packet duplication for IPv4/IPv6 config: x86_64-nfsroot (attached as .config)

[net-next:master 791/1189] net/ipv4/netfilter/nft_dup_ipv4.c:29:37: sparse: incorrect type in initializer (different base types)

2015-08-21 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: a9e01ed986aa80d3092134428f453072752da223 commit: d877f07112f1e5a247c6b585c971a93895c9f738 [791/1189] netfilter: nf_tables: add nft_dup expression reproduce: # apt-get install sparse git checkout

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 akshat.1...@gmail.com wrote: When I am trying to delete a single tc filter, it deleting all the

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 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 9d901bc05153bbf33b5da2cd6266865e531f0545 (rhashtable: Free bucket tables asynchronously after rehash)

RE: [PATCH v2.2 01/22] fjes: Introduce FUJITSU Extended Socket Network Device driver

2015-08-21 Thread Izumi, Taku
Dear David, Thank you for reviewing. I'll update patchset according to your comment. Sincerely, Taku Izumi -Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Friday, August 21, 2015 7:49 AM To: Izumi, Taku/泉 拓 Cc: netdev@vger.kernel.org;

[net-next:master 790/1189] net/ipv6/netfilter/nf_dup_ipv6.c:48:23: sparse: incorrect type in assignment (different base types)

2015-08-21 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: a9e01ed986aa80d3092134428f453072752da223 commit: bbde9fc1824aab58bc78c084163007dd6c03fe5b [790/1189] netfilter: factor out packet duplication for IPv4/IPv6 reproduce: # apt-get install sparse git checkout

Re: [PATCH 2/5] net: add Hisilicon Network Subsystem hnae framework support

2015-08-21 Thread Kenneth Lee
Thanks, Klimov, You are right. I will fix it in next patches. On Tue, Aug 18, 2015 at 03:12:02AM +0300, Alexey Klimov wrote: Date: Tue, 18 Aug 2015 03:12:02 +0300 From: Alexey Klimov klimov.li...@gmail.com To: Kenneth Lee liguo...@hisilicon.com CC: robh...@kernel.org, pawel.m...@arm.com,

[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 izumi.t...@jp.fujitsu.com --- drivers/net/fjes/fjes_hw.c | 179 +++

[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 izumi.t...@jp.fujitsu.com --- drivers/net/fjes/fjes_main.c | 78 1 file changed, 78 insertions(+) diff --git

[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

[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 izumi.t...@jp.fujitsu.com --- drivers/net/fjes/Makefile| 2 +- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_hw.c | 295

[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 izumi.t...@jp.fujitsu.com --- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_hw.c | 55 ++ drivers/net/fjes/fjes_hw.h | 12 +++

[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 izumi.t...@jp.fujitsu.com --- drivers/net/fjes/fjes_hw.c |

[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 izumi.t...@jp.fujitsu.com --- drivers/net/fjes/Makefile | 2 +- drivers/net/fjes/fjes.h | 2 + drivers/net/fjes/fjes_ethtool.c | 137

[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,

[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

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 Berg

[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 izumi.t...@jp.fujitsu.com --- 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 izumi.t...@jp.fujitsu.com --- 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 ---

[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 izumi.t...@jp.fujitsu.com --- drivers/net/fjes/fjes.h | 5 + drivers/net/fjes/fjes_main.c | 40 +++- 2 files changed, 44 insertions(+),

[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 izumi.t...@jp.fujitsu.com --- drivers/net/fjes/fjes.h | 3 ++ drivers/net/fjes/fjes_main.c | 126

[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 izumi.t...@jp.fujitsu.com ---

[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 izumi.t...@jp.fujitsu.com --- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_hw.c | 145 +

[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 izumi.t...@jp.fujitsu.com --- drivers/net/fjes/fjes_hw.c | 66 ++ drivers/net/fjes/fjes_hw.h | 1 + 2 files changed, 67 insertions(+) diff

[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 izumi.t...@jp.fujitsu.com --- drivers/net/fjes/fjes_hw.c | 31 +++ drivers/net/fjes/fjes_hw.h | 1 + drivers/net/fjes/fjes_main.c | 1 + 3

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 clemens.gru...@pqgruber.com 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

[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 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

[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 izumi.t...@jp.fujitsu.com --- drivers/net/fjes/fjes_hw.c | 40 ++ drivers/net/fjes/fjes_hw.h | 5 ++ drivers/net/fjes/fjes_main.c | 171 ++- 3 files

[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 izumi.t...@jp.fujitsu.com --- 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

[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 izumi.t...@jp.fujitsu.com --- 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

[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 izumi.t...@jp.fujitsu.com --- drivers/net/fjes/fjes.h | 2 ++

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

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

2015-08-21 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com By implementing config_intr ack_interrupt, now the phy can support link connect/disconnect interrupt. Signed-off-by: Shaohui Xie shaohui@freescale.com --- drivers/net/phy/aquantia.c | 49 ++ 1 file

[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 izumi.t...@jp.fujitsu.com --- drivers/net/fjes/fjes_hw.c | 101

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 ja...@zx2c4.com 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

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 David Miller
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. -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to