Re: [PATCH v2 RESEND] ethtool: Include SFP serial number and date in EEPROM dump

2015-05-31 Thread Ben Hutchings
On Mon, 2015-05-18 at 19:46 -0700, Ed Swierk wrote: ethtool -m currently omits the serial number, date code, and other useful EEPROM fields defined in INF-8074, which is part of the SFF-8079 standard. This patch adds them. It also trims space characters from the end of ASCII text fields.

Re: [RFC 0/3] DSA and Marvell 88E6352 802.1q support

2015-05-31 Thread Guenter Roeck
On 05/31/2015 09:48 AM, Scott Feldman wrote: On Fri, May 29, 2015 at 3:42 PM, Guenter Roeck li...@roeck-us.net wrote: Scott, On 05/28/2015 10:02 PM, Scott Feldman wrote: On Thu, May 28, 2015 at 2:37 PM, Vivien Didelot vivien.dide...@savoirfairelinux.com wrote: This RFC is based on

packet encryption based on gre key value with ip xfrm command

2015-05-31 Thread Harsh Jain
Hi, I am trying to encrypt Gre packet have specific key values in GRE header with following command ip xfrm policy add src 192.168.1.9 dst 192.168.1.5 proto gre key 3 dir in tmpl src 192.168.1.9 dst 192.168.1.5 proto esp reqid 16387 mode transport But it is not working. If I remove the key 3

Re: [PATCH] net/ibm/emac: fix size of emac dump memory areas

2015-05-31 Thread Ben Hutchings
On Thu, 2015-05-21 at 19:11 +0400, Ivan Mikhaylov wrote: Fix in send of emac regs dump to ethtool which causing in wrong data interpretation on ethtool layer for MII and EMAC. Signed-off-by: Ivan Mikhaylov i...@ru.ibm.com Although this enables an improvement for EMAC4SYNC, this is a

Re: [RFC 1/3] net: dsa: add basic support for VLAN ndo

2015-05-31 Thread Scott Feldman
On Fri, May 29, 2015 at 3:57 PM, Vivien Didelot vivien.dide...@savoirfairelinux.com wrote: Scott, Can I ask details about this NETIF_F_HW_SWITCH_OFFLOAD flag? Why is it unneeded? Sorry, the commit message for that changes wasn't very good because it didn't capture the email discussion

Re: [RFC 0/3] DSA and Marvell 88E6352 802.1q support

2015-05-31 Thread Scott Feldman
On Fri, May 29, 2015 at 3:42 PM, Guenter Roeck li...@roeck-us.net wrote: Scott, On 05/28/2015 10:02 PM, Scott Feldman wrote: On Thu, May 28, 2015 at 2:37 PM, Vivien Didelot vivien.dide...@savoirfairelinux.com wrote: This RFC is based on v4.1-rc3. It is meant to get a glance to the

Re: [PATCH 1/1] net: core: 'ethtool' issue with querying phy settings

2015-05-31 Thread Ben Hutchings
On Fri, 2015-05-22 at 16:15 -0400, David Miller wrote: From: Arun Parameswaran apara...@broadcom.com Date: Wed, 20 May 2015 14:35:30 -0700 When trying to configure the settings for PHY1, using commands like 'ethtool -s eth0 phyad 1 speed 100', the 'ethtool' seems to modify other settings

Re: [PATCH 0/2] Fix couple of issues with 'ethtool' get/set API's

2015-05-31 Thread Ben Hutchings
On Fri, 2015-05-22 at 15:43 -0700, Arun Parameswaran wrote: Hi, The patch fixes 2 issues with 'ethtool' getting/setting parametres in the do_gset() do_sset() API's. I have pushed a patch to the Kernel to fix an issue in the handling of the 'ethtool' commands which got accepted. This Kernel

Re: [PATCH] ethtool: changes of emac_regs structure accordingly within driver emac_regs structure.

2015-05-31 Thread Ben Hutchings
On Thu, 2015-05-21 at 19:09 +0400, Ivan Mikhaylov wrote: In ibm_emac.c in ethtool size of emac structure which passing through to driver is nailed down and not correlating with current emac_regs structure. Signed-off-by: Ivan Mikhaylov i...@ru.ibm.com [...] This is not backward-compatible.

Re: [RFC 0/3] DSA and Marvell 88E6352 802.1q support

2015-05-31 Thread Scott Feldman
On Sun, May 31, 2015 at 10:06 AM, Guenter Roeck li...@roeck-us.net wrote: On 05/31/2015 09:48 AM, Scott Feldman wrote: On Fri, May 29, 2015 at 3:42 PM, Guenter Roeck li...@roeck-us.net wrote: Scott, On 05/28/2015 10:02 PM, Scott Feldman wrote: On Thu, May 28, 2015 at 2:37 PM, Vivien

ethtool 4.0 released

2015-05-31 Thread Ben Hutchings
ethtool version 4.0 has been released. Home page: https://www.kernel.org/pub/software/network/ethtool/ Download link: https://www.kernel.org/pub/software/network/ethtool/ethtool-4.0.tar.xz Release notes: * Fix: Formatting of RX flow hash indirection table when size not

Re: [PATCH net V1] ethtool: Support for configurable RSS hash function

2015-05-31 Thread Ben Hutchings
On Tue, 2015-05-05 at 18:48 +0300, Amir Vadai wrote: On Mon, Apr 27, 2015 at 2:22 PM, Amir Vadai am...@mellanox.com wrote: From: Eyal Perry eya...@mellanox.com This ethtool patch adds support to set and get the current RSS hash function for the device through through the new hfunc field

linux-next: build failure after merge of the net-next tree

2015-05-31 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/net/ethernet/mellanox/mlx5/core/main.c: In function 'mlx5_irq_set_affinity_hint': drivers/net/ethernet/mellanox/mlx5/core/main.c:474:2: error: implicit declaration of function

Re: [PATCH net-next 01/14] sfc: Add sysfs entry for physical port

2015-05-31 Thread David Miller
From: Shradha Shah ss...@solarflare.com Date: Fri, 29 May 2015 11:01:06 +0100 In the case where we have multiple functions (PFs and VFs), this sysfs entry is useful to identify the physical port corresponding to the function we are interested in. Signed-off-by: Shradha Shah

Re: [cdc_ncm] guidance and help refactoring cdc_ncm

2015-05-31 Thread Greg KH
On Sun, May 31, 2015 at 04:37:11PM +0200, Enrico Mioso wrote: Hello guys. I am writing to you all to ask for help and assistance in refactoring the cdc_ncm driver to support newer devices. In particular - I would need step-by-step guidance in doing this: or any other kind of help would be

2.6.32.66 tcp regression OOPs

2015-05-31 Thread starlight . 2015q2
Hello, Apoligies if I have submitted to the wrong lists. Encountered a regression in 2.6.32.66 relative to 2.6.32.65. Crash eight minutes after boot. Will responded with additional details if the OOPS is not sufficent. Best Regards Linux version 2.6.32.66 (scrubbed) (gcc version 4.4.7

[PATCH] NFC: nci: hci: Fix releasing uninitialized skbs

2015-05-31 Thread Joe Perches
Several of these goto exit; uses should be direct returns as skb is not yet initialized by nci_hci_get_param(). Miscellanea: o Use !memcmp instead of memcmp() == 0 o Remove unnecessary goto from if () {... goto exit;} else {...} exit: Signed-off-by: Joe Perches j...@perches.com ---

Re: [PATCH RFC 2/3] dsa: Add support for multiple cpu ports.

2015-05-31 Thread Andrew Lunn
On Sat, May 30, 2015 at 02:09:55PM +0200, Bjørn Mork wrote: Andrew Lunn and...@lunn.ch writes: Some boards have two CPU interfaces connected to the switch, e.g. WiFi access points, with 1 port labeled WAN, 4 ports labeled lan1-lan4, and two port connected to the SoC. This patch

[PATCH 00/11] Replace module_init with an alternate initcall in non modules

2015-05-31 Thread Paul Gortmaker
This series of commits converts non-modular code that is using the module_init() call to hook itself into the system to instead use one of the alternate priority initcalls. Unlike the earlier series[1] that used device_initcall and hence was a runtime no-op, these commits change to one of the

[PATCH 03/11] netfilter: don't use module_init/exit in core IPV4 code

2015-05-31 Thread Paul Gortmaker
The file net/ipv4/netfilter.o is created based on whether CONFIG_NETFILTER is set. However that is defined as a bool, and hence this file with the core netfilter hooks will never be modular. So using module_init as an alias for __initcall can be somewhat misleading. Fix this up now, so that we

[PATCH] net: mv643xx_eth: Use setup_timer

2015-05-31 Thread Vaishali Thakkar
Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @change@ expression e, func, da; @@ -init_timer (e); +setup_timer (e, func, da); -e.data =

Re: [PATCH 1/1] net: core: 'ethtool' issue with querying phy settings

2015-05-31 Thread David Miller
From: Ben Hutchings b...@decadent.org.uk Date: Sun, 31 May 2015 20:54:06 +0100 On Fri, 2015-05-22 at 16:15 -0400, David Miller wrote: From: Arun Parameswaran apara...@broadcom.com Date: Wed, 20 May 2015 14:35:30 -0700 When trying to configure the settings for PHY1, using commands like

Re: [PATCH net 1/1] sfc: free multiple Rx buffers when required

2015-05-31 Thread David Miller
From: Shradha Shah ss...@solarflare.com Date: Fri, 29 May 2015 12:25:54 +0100 From: Daniel Pieczko dpiec...@solarflare.com When Rx packet data must be dropped, all the buffers associated with that Rx packet must be freed. Extend and rename efx_free_rx_buffer() to efx_free_rx_buffers() and

Re: pull-request: mac80211-next 2015-05-29

2015-05-31 Thread David Miller
From: Johannes Berg johan...@sipsolutions.net Date: Fri, 29 May 2015 13:25:14 +0200 It's been a while since I sent anything for -next, but with the merge window getting closer I wanted to send a few more things, mostly fixes. Of course I expect that tomorrow somebody will send an important

[PATCH] isdn/capi: Use setup_timer

2015-05-31 Thread Vaishali Thakkar
Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @change@ expression e1, e2, e3, e4, a, b; @@ -init_timer(e1); +setup_timer(e1, a, b); ...

Re: [PATCH v4] isdn: Use ktime_t instead of 'struct timeval'

2015-05-31 Thread David Miller
From: Tina Ruchandani ruchandani.t...@gmail.com Date: Sun, 31 May 2015 12:49:37 +0530 'struct timeval' uses 32-bit representation for seconds which will overflow in year 2038 and beyond. mISDN/clock.c needs to compute and store elapsed time in intervals of 125 microseconds. This patch replaces

Re: [PATCH net-next 0/3] s390/bpf: implement bpf_tail_call JIT support

2015-05-31 Thread David Miller
From: Alexei Starovoitov a...@plumgrid.com Date: Sat, 30 May 2015 10:42:08 -0700 This set is for net-next tree. Patch 3 adds bpf_tail_call() support for s390x JIT. It has a dependency on patches 1 and 2 that will also be submitted to stable via Martin Schwidefsky. In this kind of scenerio,

Re: [PATCH net-next 2/2] ebpf: misc core cleanup

2015-05-31 Thread David Miller
From: Daniel Borkmann dan...@iogearbox.net Date: Fri, 29 May 2015 23:23:07 +0200 Besides others, move bpf_tail_call_proto to the remaining definitions of other protos, improve comments a bit (i.e. remove some obvious ones, where the code is already self-documenting, add objectives for others),

Re: [PATCH net-next 1/2] ebpf: allow bpf_ktime_get_ns_proto also for networking

2015-05-31 Thread David Miller
From: Daniel Borkmann dan...@iogearbox.net Date: Fri, 29 May 2015 23:23:06 +0200 As this is already exported from tracing side via commit d9847d310ab4 (tracing: Allow BPF programs to call bpf_ktime_get_ns()), we might as well want to move it to the core, so also networking users can make use

Re: [PATCH] ethernet/intel: Use setup_timer

2015-05-31 Thread David Miller
From: Vaishali Thakkar vthakkar1...@gmail.com Date: Mon, 1 Jun 2015 10:13:49 +0530 Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows:

Re: [PATCH] xen: netback: fix error printf format string.

2015-05-31 Thread David Miller
From: Ian Campbell ian.campb...@citrix.com Date: Fri, 29 May 2015 17:22:04 +0100 drivers/net/xen-netback/netback.c: In function ‘xenvif_tx_build_gops’: drivers/net/xen-netback/netback.c:1253:8: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’

[PATCH net-next v2] rocker: remove rocker parameter from functions that have rocker_port parameter

2015-05-31 Thread Simon Horman
The rocker (switch) of a rocker_port may be trivially obtained from the latter it seems cleaner not to pass the former to a function when the latter is being passed anyway. rocker_port_rx_proc() is omitted from this change as it is a hot path case. Signed-off-by: Simon Horman

Re: [PATCH/RFC net-next] rocker: remove rocker parameter from functions that have rocker_port parameter

2015-05-31 Thread Simon Horman
On Thu, May 28, 2015 at 08:53:20AM -0700, Scott Feldman wrote: On Thu, May 28, 2015 at 2:18 AM, David Laight david.lai...@aculab.com wrote: From: Simon Horman Sent: 28 May 2015 04:23 The rocker (switch) of a rocker_port may be trivially obtained from the latter it seems cleaner not to

[PATCH] net: dl2k: Use setup_timer

2015-05-31 Thread Vaishali Thakkar
Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @change@ expression e1, e2, e3, e4, a, b; @@ -init_timer(e1); +setup_timer(e1, a, b); ...

Re: [PATCH] xen-netfront: Use setup_timer

2015-05-31 Thread David Miller
From: Vaishali Thakkar vthakkar1...@gmail.com Date: Mon, 1 Jun 2015 10:28:37 +0530 Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows:

[PATCH] ethernet/intel: Use setup_timer

2015-05-31 Thread Vaishali Thakkar
Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @change@ expression e1, e2, e3, e4, a, b; @@ -init_timer(e1); +setup_timer(e1, a, b); ...

Re: [PATCH net] udp: fix behavior of wrong checksums

2015-05-31 Thread David Miller
From: Eric Dumazet eric.duma...@gmail.com Date: Sat, 30 May 2015 09:16:53 -0700 From: Eric Dumazet eduma...@google.com We have two problems in UDP stack related to bogus checksums : 1) We return -EAGAIN to application even if receive queue is not empty. This breaks applications using

Re: [PATCH net] tcp: fix child sockets to use system default congestion control if not set

2015-05-31 Thread David Miller
From: Daniel Borkmann dan...@iogearbox.net Date: Fri, 29 May 2015 20:24:25 +0200 On 05/29/2015 07:47 PM, Neal Cardwell wrote: Linux 3.17 and earlier are explicitly engineered so that if the app doesn't specifically request a CC module on a listener before the SYN arrives, then the child gets

Re: [PATCH net] net: dsa: Properly propagate errors from dsa_switch_setup_one

2015-05-31 Thread David Miller
From: Florian Fainelli f.faine...@gmail.com Date: Fri, 29 May 2015 10:29:46 -0700 While shuffling some code around, dsa_switch_setup_one() was introduced, and it was modified to return either an error code using ERR_PTR() or a NULL pointer when running out of memory or failing to setup a

Re: [PATCH] net: mv643xx_eth: Use setup_timer

2015-05-31 Thread David Miller
From: Vaishali Thakkar vthakkar1...@gmail.com Date: Mon, 1 Jun 2015 09:36:02 +0530 Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows:

RE: [v4] QE: Move QE from arch/powerpc to drivers/soc

2015-05-31 Thread Zhao Qiang
On Fri, Jan 30, 2015 at 1:22PM +0800, Wood Scott wrote: -Original Message- From: Wood Scott-B07421 Sent: Friday, January 30, 2015 1:22 PM To: Zhao Qiang-B45475 Cc: linux-ker...@vger.kernel.org; netdev@vger.kernel.org; linuxppc- d...@lists.ozlabs.org; Wood Scott-B07421; Xie

Re: [PATCH 0/3] net/rds: SOL_RDS socket option to explicitly select transport

2015-05-31 Thread David Miller
From: Sowmini Varadhan sowmini.varad...@oracle.com Date: Fri, 29 May 2015 17:28:06 -0400 Today the underlying transport (TCP or IB) for a PF_RDS socket is implicitly selected based on the local address used to bind(2) the PF_RDS socket. This results in some non-deterministic behavior when

[PATCH] xen-netfront: Use setup_timer

2015-05-31 Thread Vaishali Thakkar
Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @change@ expression e, func, da; @@ -init_timer (e); +setup_timer (e, func, da); -e.data =

Re: linux-next: build failure after merge of the net-next tree

2015-05-31 Thread David Miller
From: Stephen Rothwell s...@canb.auug.org.au Date: Mon, 1 Jun 2015 13:44:13 +1000 After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/net/ethernet/mellanox/mlx5/core/main.c: In function 'mlx5_irq_set_affinity_hint':

Re: [PATCH] net: dl2k: Use setup_timer

2015-05-31 Thread David Miller
From: Vaishali Thakkar vthakkar1...@gmail.com Date: Mon, 1 Jun 2015 09:55:10 +0530 Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows:

Re: [PATCH] isdn/capi: Use setup_timer

2015-05-31 Thread David Miller
From: Vaishali Thakkar vthakkar1...@gmail.com Date: Mon, 1 Jun 2015 07:10:15 +0530 Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows:

[PATCH net-next V1 4/4] net/mlx4_core: Make sure there are no pending async events when freeing CQ

2015-05-31 Thread Or Gerlitz
From: Matan Barak mat...@mellanox.com When freeing a CQ, we need to make sure there are no asynchronous events (on the ASYNC EQ) that could relate to this CQ before freeing it. This is done by introducing synchronize_irq. Signed-off-by: Matan Barak mat...@mellanox.com Signed-off-by: Ido Shamay

[PATCH net-next V1 1/4] net/mlx4_core: Demote simple multicast and broadcast flow steering rules

2015-05-31 Thread Or Gerlitz
From: Matan Barak mat...@mellanox.com In SRIOV, when simple (i.e - Ethernet L2 only) flow steering rules are created, always create them at MLX4_DOMAIN_NIC priority (instead of the real priority the function created them at). This is done in order to let multiple functions add broadcast/multicast

[PATCH net-next V1 2/4] net/mlx4: Add EQ pool

2015-05-31 Thread Or Gerlitz
From: Matan Barak mat...@mellanox.com Previously, mlx4_en allocated EQs and used them exclusively. This affected RoCE performance, as applications which are events sensitive were limited to use only the legacy EQs. Change that by introducing an EQ pool. This pool is managed by mlx4_core. EQs are

Re: [PATCH net-next 4/4] net/mlx4_core: Make sure there are no pending async events when freeing CQ

2015-05-31 Thread Or Gerlitz
On 5/31/2015 9:23 AM, David Miller wrote: I agree with Sergei that one empty line is sufficient here, don't make it into two. Please respin with this fixed. Sure, I prepared V1 to address that earlier today, and will send it now. Or. -- To unsubscribe from this list: send the line

[PATCH net-next V1 0/4] mlx4 driver update, May 28, 2015

2015-05-31 Thread Or Gerlitz
Hi Dave, The 1st patch fixes an issue with a function running DPDK overriding broadcast steering rules set by other functions. Please add this one to your -stable queue. The rest of the series from Matan and Ido deals with scaling the number of IRQs that serve RoCE applications to be in par

[PATCH net-next V1 3/4] net/mlx4_core: Move affinity hints to mlx4_core ownership

2015-05-31 Thread Or Gerlitz
From: Ido Shamay i...@mellanox.com Now that EQs management is in the sole responsibility of mlx4_core, the IRQ affinity hints configuration should be in its hands as well. request_irq is called only once by the first consumer (maybe mlx4_ib), so mlx4_en passes the affinity mask too late. We also

Re: [PATCH 2/9] ipv6: drop unneeded goto

2015-05-31 Thread David Miller
From: Julia Lawall julia.law...@lip6.fr Date: Thu, 28 May 2015 23:02:17 +0200 From: Julia Lawall julia.law...@lip6.fr Delete jump to a label on the next line, when that label is not used elsewhere. A simplified version of the semantic patch that makes this change is as follows:

Re: [PATCH net-next 0/2] hv_netvsc: Implement NUMA aware memory allocation

2015-05-31 Thread David Miller
From: K. Y. Srinivasan k...@microsoft.com Date: Thu, 28 May 2015 17:07:44 -0700 Allocate both receive buffer and send buffer from the NUMA node assigned to the primary channel. Series applied, thanks. -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message

Re: pull request: bluetooth-next 2015-05-28

2015-05-31 Thread David Miller
From: Johan Hedberg johan.hedb...@gmail.com Date: Thu, 28 May 2015 12:31:43 +0300 Here's a set of patches intended for 4.2. The majority of the changes are on the 802.15.4 side of things rather than Bluetooth related: - All sorts of cleanups fixes to ieee802154 and related drivers -

Re: [PATCH net-next V1 0/4] mlx4 driver update, May 28, 2015

2015-05-31 Thread David Miller
From: Or Gerlitz ogerl...@mellanox.com Date: Sun, 31 May 2015 09:30:14 +0300 The 1st patch fixes an issue with a function running DPDK overriding broadcast steering rules set by other functions. Please add this one to your -stable queue. The rest of the series from Matan and Ido deals

Re: pull-request: mac80211 2015-05-28

2015-05-31 Thread David Miller
From: Johannes Berg johan...@sipsolutions.net Date: Thu, 28 May 2015 14:45:49 +0200 Please excuse the quick succession with another pull request - Ben pointed out to me that a fix I'd applied on -next is actually needed on 4.1 - we'll have to live with it being in both I suppose. Sorry about

Re: [PATCH net-next 0/3] net: systemport: misc improvements

2015-05-31 Thread David Miller
From: Florian Fainelli f.faine...@gmail.com Date: Thu, 28 May 2015 15:24:41 -0700 These patches are highly inspired by changes from Petri on bcmgenet, last patch is a misc fix that I had pending for a while, but is not a candidate for 'net' at this point. Applied, thanks Florian. -- To

Re: [PATCH 0/4] Netfilter updates for net-next

2015-05-31 Thread David Miller
From: Pablo Neira Ayuso pa...@netfilter.org Date: Fri, 29 May 2015 01:44:51 +0200 The following patchset contains Netfilter updates for net-next, they are: 1) default CONFIG_NETFILTER_INGRESS to y for easier compile-testing of all options. 2) Allow to bind a table to net_device. This

Re: [PATCH net-next] bpf: add missing rcu protection when releasing programs from prog_array

2015-05-31 Thread David Miller
From: Alexei Starovoitov a...@plumgrid.com Date: Thu, 28 May 2015 19:26:02 -0700 Normally the program attachment place (like sockets, qdiscs) takes care of rcu protection and calls bpf_prog_put() after a grace period. The programs stored inside prog_array may not be attached anywhere, so

Re: [PATCH net v2] switchdev: don't abort hardware ipv4 fib offload on failure to program fib entry in hardware

2015-05-31 Thread Scott Feldman
On Sat, May 30, 2015 at 2:00 AM, Jiri Pirko j...@resnulli.us wrote: Fri, May 29, 2015 at 05:39:46PM CEST, sfel...@gmail.com wrote: On Fri, May 29, 2015 at 12:50 AM, Jiri Pirko j...@resnulli.us wrote: Thu, May 21, 2015 at 07:46:54AM CEST, sfel...@gmail.com wrote: On Tue, May 19, 2015 at 1:28 PM,

Re: pull request: batman-adv 2015-05-29

2015-05-31 Thread David Miller
From: Antonio Quartulli anto...@meshcoding.com Date: Fri, 29 May 2015 11:05:12 +0200 after quite some time of silence (mostly due to me being rather busy and not because we did not have any active development) here you have my first batch intended for net-next/linux-4.1. In this patchset

[PATCH] bridge: fix br_multicast_query_expired() bug

2015-05-31 Thread David Miller
From: Eric Dumazet eduma...@google.com br_multicast_query_expired() querier argument is a pointer to a struct bridge_mcast_querier : struct bridge_mcast_querier { struct br_ip addr; struct net_bridge_port __rcu*port; }; Intent of the code was to clear port field, not the

Re: [PATCH net] bridge: fix br_multicast_query_expired() bug

2015-05-31 Thread David Miller
From: Eric Dumazet eric.duma...@gmail.com Date: Thu, 28 May 2015 04:42:54 -0700 From: Eric Dumazet eduma...@google.com br_multicast_query_expired() querier argument is a pointer to a struct bridge_mcast_querier : struct bridge_mcast_querier { struct br_ip addr; struct

Re: [PATCH net v2] switchdev: don't abort hardware ipv4 fib offload on failure to program fib entry in hardware

2015-05-31 Thread Scott Feldman
On Sat, May 30, 2015 at 9:19 PM, John Fastabend john.fastab...@gmail.com wrote: On 05/30/2015 02:00 AM, Jiri Pirko wrote: Fri, May 29, 2015 at 05:39:46PM CEST, sfel...@gmail.com wrote: On Fri, May 29, 2015 at 12:50 AM, Jiri Pirko j...@resnulli.us wrote: Thu, May 21, 2015 at 07:46:54AM CEST,

Re: [PATCH net 0/3] bna: misc bugfixes

2015-05-31 Thread David Miller
From: Ivan Vecera ivec...@redhat.com Date: Thu, 28 May 2015 23:10:05 +0200 These patches fix several bugs found during device initialization debugging. Applied, thanks Ivan. -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to majord...@vger.kernel.org

Re: [PATCH net-next 4/4] net/mlx4_core: Make sure there are no pending async events when freeing CQ

2015-05-31 Thread David Miller
From: Or Gerlitz ogerl...@mellanox.com Date: Thu, 28 May 2015 18:41:16 +0300 @@ -369,6 +369,10 @@ void mlx4_cq_free(struct mlx4_dev *dev, struct mlx4_cq *cq) mlx4_warn(dev, HW2SW_CQ failed (%d) for CQN %06x\n, err, cq-cqn);

Re: [PATCH v3] isdn: Use ktime_t instead of 'struct timeval'

2015-05-31 Thread Tina Ruchandani
This doesn't compile: Oops, I sent an older version of the patch with a typo. I've correct this in a v4. (NS_PER_SEC - NSEC_PER_SEC). Thanks for taking a look at this. Tina -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to majord...@vger.kernel.org

Re: [PATCH] net: thunderx: add 64-bit dependency

2015-05-31 Thread David Miller
From: Arnd Bergmann a...@arndb.de Date: Thu, 28 May 2015 16:00:46 +0200 The thunderx ethernet driver fails to build on architectures that do not have an atomic readq() and writeq() function for 64-bit PCI bus access: drivers/net/ethernet/cavium/thunder/thunder_bgx.c: In function

Re: [PATCH v4 net-next 00/11] net: Increase inputs to flow_keys hashing

2015-05-31 Thread David Miller
From: Tom Herbert t...@herbertland.com Date: Thu, 28 May 2015 11:18:57 -0700 This patch set adds new fields to the flow_keys structure and hashes over these fields to get a better flow hash. In particular, these patches now include hashing over the full IPv6 addresses in order to defend

Re: [PATCH v2] netevent: remove automatic variable in register_netevent_notifier()

2015-05-31 Thread David Miller
From: Wang Long long.wangl...@huawei.com Date: Fri, 29 May 2015 01:02:08 + Remove automatic variable 'err' in register_netevent_notifier() and return the result of atomic_notifier_chain_register() directly. Signed-off-by: Wang Long long.wangl...@huawei.com Applied, thank you. -- To

[PATCH v4] isdn: Use ktime_t instead of 'struct timeval'

2015-05-31 Thread Tina Ruchandani
'struct timeval' uses 32-bit representation for seconds which will overflow in year 2038 and beyond. mISDN/clock.c needs to compute and store elapsed time in intervals of 125 microseconds. This patch replaces the usage of 'struct timeval' with 64-bit ktime_t which is y2038 safe. The patch also

RE: 4.0.4 - bnx2x - DEBUG_LOCKS_WARN_ON(in_interrupt())

2015-05-31 Thread Yuval Mintz
Hi, just wanted to report, that I'm getting following trace on 4.0.4 kernel: [ +0.301517] [ cut here ] [ +0.000227] WARNING: CPU: 0 PID: 0 at kernel/locking/mutex.c:877 mutex_trylock+0x15d/0x190() [ +0.000376] DEBUG_LOCKS_WARN_ON(in_interrupt()) ...

[cdc_ncm] guidance and help refactoring cdc_ncm

2015-05-31 Thread Enrico Mioso
Hello guys. I am writing to you all to ask for help and assistance in refactoring the cdc_ncm driver to support newer devices. In particular - I would need step-by-step guidance in doing this: or any other kind of help would be anyway greatly apreciated. 1 - What we need: We would need to