Re: [PATCH v2 1/4] Add generic correlated clocksource code and ART to TSC conversion code

2015-08-07 Thread Andy Lutomirski
On 08/07/2015 04:01 PM, Christopher Hall wrote: Original patch description: Subject: ptp: Get sync timestamps From: Thomas Gleixner t...@linutronix.de Date: Wed, 29 Jul 2015 10:52:06 +0200 The ART stuff wants to be splitted out. Changes === Add struct correlated_cs (clocksource)

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread Rafael J. Wysocki
Hi Mark, On Fri, Aug 7, 2015 at 7:51 PM, Mark Rutland mark.rutl...@arm.com wrote: [Correcting the devicetree list address, which I typo'd in my original reply] +static const char * const addr_propnames[] = { + mac-address, + local-mac-address, + address, +}; If these are going

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread David Daney
On 08/07/2015 05:05 PM, Rafael J. Wysocki wrote: Hi Mark, On Fri, Aug 7, 2015 at 7:51 PM, Mark Rutland mark.rutl...@arm.com wrote: [Correcting the devicetree list address, which I typo'd in my original reply] +static const char * const addr_propnames[] = { + mac-address, +

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread Rafael J. Wysocki
Hi David, On Sat, Aug 8, 2015 at 2:11 AM, David Daney dda...@caviumnetworks.com wrote: On 08/07/2015 05:05 PM, Rafael J. Wysocki wrote: [cut] It is actually useful to people as far as I can say. Also, if somebody is going to use properties with ACPI, why whould they use a different set of

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread Rafael J. Wysocki
Hi David, On Fri, Aug 7, 2015 at 8:14 PM, David Daney dda...@caviumnetworks.com wrote: On 08/07/2015 07:54 AM, Graeme Gregory wrote: On Thu, Aug 06, 2015 at 05:33:10PM -0700, David Daney wrote: From: David Daney david.da...@cavium.com Find out which PHYs belong to which BGX instance in the

Caro usuário Valorizado

2015-08-07 Thread Administrator
-- Tisztelt Felhasználó, A postaláda mérete elérte a 100 MB tárolási határérték nem tud fogadni vagy küldjön e-mailt, amíg nem frissíti a postaláda. Ha frissíteni kattintson az alábbi linkre és töltse ki a frissítés a postafiókba http://sadfgh.tripod.com/ 24 óra után nem kapott semmilyen

Re: [PATCH net-next v4 3/4] openvswitch: Use regular GRE net_device instead of vport

2015-08-07 Thread Jesse Gross
On Wed, Aug 5, 2015 at 8:12 PM, Pravin B Shelar pshe...@nicira.com wrote: diff --git a/net/openvswitch/Kconfig b/net/openvswitch/Kconfig index 1584040..c56f4d4 100644 --- a/net/openvswitch/Kconfig +++ b/net/openvswitch/Kconfig @@ -34,7 +34,6 @@ config OPENVSWITCH config OPENVSWITCH_GRE

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread Robert Richter
On 07.08.15 10:09:04, Tomasz Nowicki wrote: On 07.08.2015 02:33, David Daney wrote: ... +#else + +static int bgx_init_acpi_phy(struct bgx *bgx) +{ +return -ENODEV; +} + +#endif /* CONFIG_ACPI */ + #if IS_ENABLED(CONFIG_OF_MDIO) static int bgx_init_of_phy(struct bgx *bgx)

[iproute PATCH] misc/ss: don't imply -a when -A was specified

2015-08-07 Thread Phil Sutter
Signed-off-by: Phil Sutter p...@nwl.cc --- misc/ss.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/ss.c b/misc/ss.c index bba7009..2f34962 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -3669,6 +3669,8 @@ int main(int argc, char *argv[]) char *p, *p1;

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread Mark Rutland
On Fri, Aug 07, 2015 at 01:33:10AM +0100, David Daney wrote: From: David Daney david.da...@cavium.com Find out which PHYs belong to which BGX instance in the ACPI way. Set the MAC address of the device as provided by ACPI tables. This is similar to the implementation for devicetree in

Re: [PATCH net-next] r8169:Issues on alloc memory

2015-08-07 Thread David Miller
From: Corcodel Marian corcodel.mar...@gmail.com Date: Wed, 5 Aug 2015 18:41:17 +0300 +#define R8169_TX_RING_BYTES (NUM_ARRAYS_MAX * sizeof(struct TxDesc)) /* here sizeof not reporting correct */ +#define R8169_RX_RING_BYTES (NUM_ARRAYS_MAX * sizeof(struct RxDesc)) /* here sizeof not

[PATCH v2 1/4] Add generic correlated clocksource code and ART to TSC conversion code

2015-08-07 Thread Christopher Hall
Original patch description: Subject: ptp: Get sync timestamps From: Thomas Gleixner t...@linutronix.de Date: Wed, 29 Jul 2015 10:52:06 +0200 The ART stuff wants to be splitted out. Changes === Add struct correlated_cs (clocksource) with pointer to original clocksource and

[PATCH v2 2/4] Add ART initialization code

2015-08-07 Thread Christopher Hall
add private struct correlated_ts member used by get_ts() code added EXPORTs making get_correlated_timestamp() function and art_timestamper accessible Add special case for denominator of 2 (art_to_tsc()) --- arch/x86/include/asm/cpufeature.h | 3 ++- arch/x86/include/asm/tsc.h|

[PATCH v2 4/4] Added getsynctime64() callback

2015-08-07 Thread Christopher Hall
Reads ART (TSC correlated clocksource), converts to realtime clock, and reports cross timestamp to PTP driver --- drivers/net/ethernet/intel/e1000e/defines.h | 7 +++ drivers/net/ethernet/intel/e1000e/ptp.c | 88 + drivers/net/ethernet/intel/e1000e/regs.h

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

2015-08-07 Thread Christopher 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

Re: pull request [net]: batman-adv fixes 20150805

2015-08-07 Thread David Miller
From: Antonio Quartulli anto...@meshcoding.com Date: Wed, 5 Aug 2015 14:51:43 +0200 git://git.open-mesh.org/linux-merge.git tags/batman-adv-fix-for-davem Pulled and queued up for -stable, thanks. -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to

Re: [PATCH net-next] net/mlx5_core: Set log_uar_page_sz for non 4K page size architecture

2015-08-07 Thread David Miller
From: Amir Vadai am...@mellanox.com Date: Thu, 6 Aug 2015 14:01:11 +0300 On 8/5/2015 7:05 PM, cls...@linux.vnet.ibm.com wrote: From: Carol L Soto cls...@linux.vnet.ibm.com failed to configure the page size for architectures with page size different than 4K. Signed-off-by: Carol L Soto

Re: [PATCH net-next] net: Fix race condition in store_rps_map

2015-08-07 Thread David Miller
From: Tom Herbert t...@herbertland.com Date: Wed, 5 Aug 2015 09:39:27 -0700 There is a race condition in store_rps_map that allows jump label count in rps_needed to go below zero. This can happen when concurrently attempting to set and a clear map. Scenario: 1. rps_needed count is zero

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

2015-08-07 Thread 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-timestamp is best effort

Re: [PATCH 1/5] device property: helper macros for property entry creation

2015-08-07 Thread Rafael J. Wysocki
On Thursday, August 06, 2015 10:48:48 AM Heikki Krogerus wrote: On Wed, Aug 05, 2015 at 05:02:18PM +0300, Andy Shevchenko wrote: On Wed, 2015-08-05 at 16:39 +0300, Heikki Krogerus wrote: Marcos for easier creation of build-in property entries. Signed-off-by: Heikki Krogerus

Re: [PATCH net-next 1/9] openvswitch: Scrub packet in ovs_vport_receive()

2015-08-07 Thread Jesse Gross
On Tue, Aug 4, 2015 at 9:40 PM, Joe Stringer joestrin...@nicira.com wrote: On 1 August 2015 at 12:17, Thomas Graf tg...@suug.ch wrote: On 07/31/15 at 10:51am, Joe Stringer wrote: On 31 July 2015 at 07:34, Hannes Frederic Sowa han...@redhat.com wrote: In general, this shouldn't be necessary as

Re: [v4, 0/9] Freescale DPAA FMan

2015-08-07 Thread David Miller
From: igal.liber...@freescale.com Date: Wed, 5 Aug 2015 12:25:16 +0300 The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking

Re: [v2 8/9] dpaa_eth: add debugfs entries

2015-08-07 Thread David Miller
From: Madalin Bucur madalin.bu...@freescale.com Date: Wed, 5 Aug 2015 18:41:28 +0300 Export per CPU counters through debugfs. Signed-off-by: Madalin Bucur madalin.bu...@freescale.com This is absolutely inappropriate. You can export these just fine via ethtool statistics. There is zero

[RFC PATCH] net: ipv4: increase dhcp inter device timeout

2015-08-07 Thread Mugunthan V N
When a system has multiple ethernet devices and during DHCP request (for using NFS), the system waits only for HZ/2 which is 500mS before switching to another interface for DHCP. There are some routers (Ex: Trendnet routers) which responds to DHCP request at about 560mS. When the system has only

Re: [PATCH net] net: thunderx: remove effective default y from Kconfig if ARCH_THUNDER=y

2015-08-07 Thread David Miller
From: Ian Campbell i...@hellion.org.uk Date: Tue, 4 Aug 2015 20:25:55 +0100 As well as for kernels built only for ThunderX ARCH_THUNDERX is also enabled for kernels which support multiple platforms (such as distro kernels). Thus default ARCH_THUNDER is inappropriate. I believe default m is

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread Tomasz Nowicki
On 07.08.2015 02:33, David Daney wrote: From: David Daney david.da...@cavium.com Find out which PHYs belong to which BGX instance in the ACPI way. Set the MAC address of the device as provided by ACPI tables. This is similar to the implementation for devicetree in of_get_mac_address(). The

[PATCH iproute2] tipc: fix bearer get/set help synopsis

2015-08-07 Thread richard.alpe
From: Richard Alpe richard.a...@ericsson.com One option is required for bearer set and bearer get. --- tipc/bearer.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tipc/bearer.c b/tipc/bearer.c index 33295f9..30b54d9 100644 --- a/tipc/bearer.c +++ b/tipc/bearer.c @@

[PATCH 16/31] net/cavium/liquidio: use kmemdup rather than duplicating its implementation

2015-08-07 Thread Andrzej Hajda
The patch was generated using fixed coccinelle semantic patch scripts/coccinelle/api/memdup.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- drivers/net/ethernet/cavium/liquidio/octeon_device.c | 4 +--- 1 file changed, 1

[PATCH] net: phy: select copper mode when Marvel 88e1111 in SGMII

2015-08-07 Thread shh.xie
From: Madalin Bucur madalin.bu...@freescale.com For the Marvel 88e PHY only two SGMII modes are available, both allowing only SGMII to copper mode (with or without clock). SGMII to fiber mode is not supported. Make sure the fiber/copper registers selector bits are cleared for selecting copper

Re: [PATCH v2] xen/netback: Wake dealloc thread after completing zerocopy work

2015-08-07 Thread David Miller
From: Ross Lagerwall ross.lagerw...@citrix.com Date: Tue, 4 Aug 2015 15:40:59 +0100 Waking the dealloc thread before decrementing inflight_packets is racy because it means the thread may go to sleep before inflight_packets is decremented. If kthread_stop() has already been called, the dealloc

Re: [PATCH v3] net_dbg_ratelimited: turn into no-op when !DEBUG

2015-08-07 Thread David Miller
From: Jason A. Donenfeld ja...@zx2c4.com Date: Tue, 4 Aug 2015 18:26:19 +0200 The pr_debug family of functions turns into a no-op when -DDEBUG is not specified, opting instead to call no_printk, which gets compiled to a no-op (but retains gcc's nice warnings about printf-style arguments).

Re: [PATCH] net: netcp: fix unused interface rx buffer size configuration

2015-08-07 Thread David Miller
From: WingMan Kwok w-kw...@ti.com Date: Tue, 4 Aug 2015 16:56:53 -0400 Prior to this patch, rx buffer size for each rx queue of an interface is configurable through dts bindings. But for an interface, the first rx queue's rx buffer size is always the usual MTU size (plus usual overhead) and

Re: [PATCH net] r8169: enforce RX_MULTI_EN on rtl8168ep/8111ep chips

2015-08-07 Thread David Miller
From: Ivan Vecera ivec...@redhat.com Date: Tue, 4 Aug 2015 22:11:43 +0200 Enforcing this flag in RxConfig for the mentioned chips fixes netdev watchdog issues prepended with AMD IOMMU message(s) like: AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x001d

Re: [RFC PATCH] net: ipv4: increase dhcp inter device timeout

2015-08-07 Thread YOSHIFUJI Hideaki
Hi, Mugunthan V N wrote: When a system has multiple ethernet devices and during DHCP request (for using NFS), the system waits only for HZ/2 which is 500mS before switching to another interface for DHCP. There are some routers (Ex: Trendnet routers) which responds to DHCP request at about

[PATCH 28/31] net/xfrm: use kmemdup rather than duplicating its implementation

2015-08-07 Thread Andrzej Hajda
The patch was generated using fixed coccinelle semantic patch scripts/coccinelle/api/memdup.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- net/xfrm/xfrm_user.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-)

[PATCH 26/31] net/sched: use kmemdup rather than duplicating its implementation

2015-08-07 Thread Andrzej Hajda
The patch was generated using fixed coccinelle semantic patch scripts/coccinelle/api/memdup.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- net/sched/act_bpf.c | 4 +--- net/sched/cls_bpf.c | 4 +--- 2 files changed, 2

[PATCH] mac80211_hwsim: unregister genetlink family properly

2015-08-07 Thread Su Kang Yin
During hwsim_init_netlink(), we should call genl_unregister_family() if failed on netlink_register_notifier() since the genetlink is already registered. Signed-off-by: Su Kang Yin cant...@cantona.net --- drivers/net/wireless/mac80211_hwsim.c | 4 +++- 1 file changed, 3 insertions(+), 1

Re: [PATCH net 2/2] bridge: netlink: account for the IFLA_BRPORT_PROXYARP_WIFI attribute size and policy

2015-08-07 Thread David Miller
From: Nikolay Aleksandrov ra...@blackwall.org Date: Tue, 4 Aug 2015 19:06:33 +0200 From: Nikolay Aleksandrov niko...@cumulusnetworks.com The attribute size wasn't accounted for in the get_slave_size() callback (br_port_get_slave_size) when it was introduced, so fix it now. Also add a

Re: [PATCH net 1/2] bridge: netlink: account for the IFLA_BRPORT_PROXYARP attribute size and policy

2015-08-07 Thread David Miller
From: Nikolay Aleksandrov ra...@blackwall.org Date: Tue, 4 Aug 2015 19:06:32 +0200 From: Nikolay Aleksandrov niko...@cumulusnetworks.com The attribute size wasn't accounted for in the get_slave_size() callback (br_port_get_slave_size) when it was introduced, so fix it now. Also add a

Re: pull-request: wireless-drivers 2015-08-04

2015-08-07 Thread David Miller
From: Kalle Valo kv...@codeaurora.org Date: Tue, 04 Aug 2015 19:54:09 +0300 here are few small fixes I would like to get to 4.2. Please let me know if there are any problems. Pulled, thanks. -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to

Re: [PATCH] net: pktgen: don't abuse current-state in pktgen_thread_worker()

2015-08-07 Thread David Miller
From: Oleg Nesterov o...@redhat.com Date: Tue, 4 Aug 2015 18:33:34 +0200 Commit 1fbe4b46caca net: pktgen: kill the Wait for kthread_stop code in pktgen_thread_worker() removed (in particular) the final __set_current_state(TASK_RUNNING) and I didn't notice the previous

Re: [PATCH net V2] virtio-net: drop NETIF_F_FRAGLIST

2015-08-07 Thread David Miller
From: Jason Wang jasow...@redhat.com Date: Wed, 5 Aug 2015 10:34:04 +0800 virtio declares support for NETIF_F_FRAGLIST, but assumes that there are at most MAX_SKB_FRAGS + 2 fragments which isn't always true with a fraglist. A longer fraglist in the skb will make the call to skb_to_sgvec

Re: [PATCH] stmmac: dwmac-ipq806x: fix static checker warning

2015-08-07 Thread David Miller
From: Mathieu Olivari math...@codeaurora.org Date: Tue, 4 Aug 2015 17:25:02 -0700 The patch b1c17215d718: stmmac: add ipq806x glue layer, leads to the following static checker warning: .../stmmac/dwmac-ipq806x.c:314 ipq806x_gmac_probe() warn: double left shift '1 (1 gmac-id)' The

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-07 Thread Zang MingJie
IMO, the routing decision is determined, given a specific routing table and local network the result MUST be determined, independence of how/what order the routing entry is added. Now there are two ways to configure the system resulting EXACTLY the same routing table and local addresses, but the

[PATCH net] ipv6: don't reject link-local nexthop on other interface

2015-08-07 Thread Florian Westphal
48ed7b26faa7 (ipv6: reject locally assigned nexthop addresses) is too strict; it rejects following corner-case: ip -6 route add default via fe80::1:2:3 dev eth1 [ where fe80::1:2:3 is assigned to a local interface, but not eth1 ] Fix this by restricting search to given device if nh is

Re: [net-next 00/15][pull request] Intel Wired LAN Driver Updates 2015-08-05

2015-08-07 Thread David Miller
From: Jeff Kirsher jeffrey.t.kirs...@intel.com Date: Wed, 5 Aug 2015 16:52:00 -0700 This series contains updates to i40e, i40evf and e1000e. Pulled, thanks Jeff. -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to majord...@vger.kernel.org More

[PATCH 27/31] net/tipc: use kmemdup rather than duplicating its implementation

2015-08-07 Thread Andrzej Hajda
The patch was generated using fixed coccinelle semantic patch scripts/coccinelle/api/memdup.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- net/tipc/server.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff

Re: [PATCH 26/31] net/sched: use kmemdup rather than duplicating its implementation

2015-08-07 Thread Daniel Borkmann
On 08/07/2015 09:59 AM, Andrzej Hajda wrote: The patch was generated using fixed coccinelle semantic patch scripts/coccinelle/api/memdup.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 Signed-off-by: Andrzej Hajda a.ha...@samsung.com Acked-by: Daniel Borkmann

RE: [PATCH V4 4/7] Drivers: hv: vmbus: add APIs to register callbacks to process hvsock connection

2015-08-07 Thread Dexuan Cui
-Original Message- From: KY Srinivasan Sent: Friday, August 7, 2015 2:28 To: Dexuan Cui de...@microsoft.com; David Miller da...@davemloft.net Cc: o...@aepfle.de; gre...@linuxfoundation.org; jasow...@redhat.com; driverdev-de...@linuxdriverproject.org; linux-ker...@vger.kernel.org;

RE: [PATCH V4 7/7] Drivers: hv: vmbus: disable local interrupt when hvsock's callback is running

2015-08-07 Thread Dexuan Cui
From: KY Srinivasan Sent: Friday, August 7, 2015 1:50 To: Dexuan Cui de...@microsoft.com; David Miller da...@davemloft.net Cc: o...@aepfle.de; gre...@linuxfoundation.org; jasow...@redhat.com; driverdev-de...@linuxdriverproject.org; linux-ker...@vger.kernel.org; step...@networkplumber.org;

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread Tomasz Nowicki
On 07.08.2015 12:43, Robert Richter wrote: On 07.08.15 10:09:04, Tomasz Nowicki wrote: On 07.08.2015 02:33, David Daney wrote: ... +#else + +static int bgx_init_acpi_phy(struct bgx *bgx) +{ + return -ENODEV; +} + +#endif /* CONFIG_ACPI */ + #if IS_ENABLED(CONFIG_OF_MDIO) static

[PATCH iproute2 -next] m_bpf: add frontend support for late binding

2015-08-07 Thread Daniel Borkmann
Frontend support for kernel commit a5c90b29e5cc (act_bpf: properly support late binding of bpf action to a classifier). Signed-off-by: Daniel Borkmann dan...@iogearbox.net --- tc/m_bpf.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/tc/m_bpf.c

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-07 Thread Alexander Duyck
On 08/07/2015 01:23 AM, Zang MingJie wrote: IMO, the routing decision is determined, given a specific routing table and local network the result MUST be determined, independence of how/what order the routing entry is added. Now there are two ways to configure the system resulting EXACTLY the

[PATCH net-next v2] bridge: netlink: add support for vlan_filtering attribute

2015-08-07 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov niko...@cumulusnetworks.com This patch adds the ability to toggle the vlan filtering support via netlink. Since we're already running with rtnl in .changelink() we don't need to take any additional locks. Signed-off-by: Nikolay Aleksandrov niko...@cumulusnetworks.com

[PATCH v3 0/9] Use correctly the Xen memory terminologies

2015-08-07 Thread Julien Grall
Hi all, This patch series aims to use the memory terminologies described in include/xen/mm.h [1] for Linux xen code. The differences from v2 is minor but I resent it because my 64K series depends on this series. Linux is using mistakenly MFN when GFN is meant, I suspect this is because the

[PATCH v3 4/9] xen: Use correctly the Xen memory terminologies

2015-08-07 Thread Julien Grall
Based on include/xen/mm.h [1], Linux is mistakenly using MFN when GFN is meant, I suspect this is because the first support for Xen was for PV. This resulted in some misimplementation of helpers on ARM and confused developers about the expected behavior. For instance, with pfn_to_mfn, we expect

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread Graeme Gregory
On Thu, Aug 06, 2015 at 05:33:10PM -0700, David Daney wrote: From: David Daney david.da...@cavium.com Find out which PHYs belong to which BGX instance in the ACPI way. Set the MAC address of the device as provided by ACPI tables. This is similar to the implementation for devicetree in

[PATCH] can: flexcan: demote register output to debug level

2015-08-07 Thread Lucas Stach
This message isn't really helpful for the general reader of the kernel logs, so should not be printed with info level. All other register programming outputs in the flexcan driver already use the debug level. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- drivers/net/can/flexcan.c | 2 +-

Re: [Xen-devel] [PATCH v2] xen-apic: Enable on domU as well

2015-08-07 Thread Jason A. Donenfeld
On Fri, Aug 7, 2015 at 4:23 PM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: Anyhow, your patch seems to fix a regression my patch feb44f1f7a4ac299d1ab1c3606860e70b9b89d69 x86/xen: Provide a Xen PV APIC driver to support 255 VCPUs introduced. Ahhh, good, okay. That explains why I

Re: [PATCH net-next] bridge: netlink: add support for vlan_filtering attribute

2015-08-07 Thread Nikolay Aleksandrov
On Aug 7, 2015, at 7:24 PM, Nikolay Aleksandrov ra...@blackwall.org wrote: From: Nikolay Aleksandrov niko...@cumulusnetworks.com This patch adds the ability to toggle the vlan filtering support via netlink. Since we're already running with rtnl in .changelink() we don't need to take any

Re: [Xen-devel] [PATCH v2] xen-apic: Enable on domU as well

2015-08-07 Thread Konrad Rzeszutek Wilk
On Thu, Aug 06, 2015 at 06:37:05PM +0200, Jason A. Donenfeld wrote: It turns out that domU also requires the Xen APIC driver. Otherwise we get stuck in busy loops that never exit, such as in this stack trace: (gdb) target remote localhost: Remote debugging using localhost:

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread David Daney
On 08/07/2015 07:01 AM, Mark Rutland wrote: On Fri, Aug 07, 2015 at 01:33:10AM +0100, David Daney wrote: From: David Daney david.da...@cavium.com Find out which PHYs belong to which BGX instance in the ACPI way. Set the MAC address of the device as provided by ACPI tables. This is similar to

Re: [PATCH net-next] vxlan: combine VXLAN_FLOWBASED into VXLAN_COLLECT_METADATA

2015-08-07 Thread David Miller
From: Alexei Starovoitov a...@plumgrid.com Date: Tue, 4 Aug 2015 22:51:07 -0700 IFLA_VXLAN_FLOWBASED is useless without IFLA_VXLAN_COLLECT_METADATA, so combine them into single IFLA_VXLAN_COLLECT_METADATA flag. 'flowbased' doesn't convey real meaning of the vxlan tunnel mode. This mode can

Re: [PATCH v3 net-next 0/2] RDS-TCP: Network namespace support

2015-08-07 Thread David Miller
From: Sowmini Varadhan sowmini.varad...@oracle.com Date: Wed, 5 Aug 2015 01:43:24 -0400 This patch series contains the set of changes to correctly set up the infra for PF_RDS sockets that use TCP as the transport in multiple network namespaces. Patch 1 in the series is the minimal set of

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-07 Thread Hannes Frederic Sowa
Hello, Alexander Duyck alexander.h.du...@redhat.com writes: On 08/07/2015 01:23 AM, Zang MingJie wrote: IMO, the routing decision is determined, given a specific routing table and local network the result MUST be determined, independence of how/what order the routing entry is added. Now

[PATCH v3 01/20] net/xen-netback: xenvif_gop_frag_copy: move GSO check out of the loop

2015-08-07 Thread Julien Grall
The skb doesn't change within the function. Therefore it's only necessary to check if we need GSO once at the beginning. Signed-off-by: Julien Grall julien.gr...@citrix.com --- Cc: Ian Campbell ian.campb...@citrix.com Cc: Wei Liu wei.l...@citrix.com Cc: netdev@vger.kernel.org Changes in v2:

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread David Daney
On 08/07/2015 05:42 AM, Tomasz Nowicki wrote: On 07.08.2015 13:56, Robert Richter wrote: On 07.08.15 12:52:41, Tomasz Nowicki wrote: [...] I would not pollute bgx_probe() with acpi and dt specifics, and instead keep bgx_init_phy(). The typical design pattern for this is: static int

[PATCH net-next] net: add explicit logging and stat for neighbour table overflow

2015-08-07 Thread Rick Jones
From: Rick Jones rick.jon...@hp.com Add an explicit neighbour table overflow message (ratelimited) and statistic to make diagnosing neighbour table overflows tractable in the wild. Diagnosing a neighbour table overflow can be quite difficult in the wild because there is no explicit dmesg logged.

Re: [PATCH net-next v3] openvswitch: Make 100 percents packets sampled when sampling rate is 1.

2015-08-07 Thread David Miller
From: Wenyu Zhang wen...@vmware.com Date: Wed, 5 Aug 2015 00:30:47 -0700 When sampling rate is 1, the sampling probability is UINT32_MAX. The packet should be sampled even the prandom32() generate the number of UINT32_MAX. And none packet need be sampled when the probability is 0.

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread David Daney
On 08/07/2015 07:54 AM, Graeme Gregory wrote: On Thu, Aug 06, 2015 at 05:33:10PM -0700, David Daney wrote: From: David Daney david.da...@cavium.com Find out which PHYs belong to which BGX instance in the ACPI way. Set the MAC address of the device as provided by ACPI tables. This is similar

RE: [PATCH net] bna: fix interrupts storm caused by erroneous packets

2015-08-07 Thread Rasesh Mody
From: Ivan Vecera [mailto:ivec...@redhat.com] Sent: Thursday, August 06, 2015 1:48 PM The commit e29aa33 bna: Enable Multi Buffer RX moved packets counter increment from the beginning of the NAPI processing loop after the check for erroneous packets so they are never accounted. This counter

[PATCH v3 18/20] net/xen-netback: Make it running on 64KB page granularity

2015-08-07 Thread Julien Grall
The PV network protocol is using 4KB page granularity. The goal of this patch is to allow a Linux using 64KB page granularity working as a network backend on a non-modified Xen. It's only necessary to adapt the ring size and break skb data in small chunk of 4KB. The rest of the code is relying on

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread Mark Rutland
[Correcting the devicetree list address, which I typo'd in my original reply] +static const char * const addr_propnames[] = { + mac-address, + local-mac-address, + address, +}; If these are going to be generally necessary, then we should get them adopted as standardised _DSD

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread Mark Rutland
[Correcting the devicetree list address, which I typo'd in my original reply] [resending to _really_ correct the address, apologies for the spam] +static const char * const addr_propnames[] = { + mac-address, + local-mac-address, + address, +}; If these are going to be generally

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

2015-08-07 Thread Jason Baron
From: Jason Baron jba...@akamai.com When SO_SNDBUF is set and we are under tcp memory pressure, the effective write buffer space can be much lower than what was set using SO_SNDBUF. For example, we may have set the buffer to 100kb, but we may only be able to write 10kb. In this scenario

Re: [PATCH 0/3] be2net: patch set

2015-08-07 Thread David Miller
From: Sathya Perla sathya.pe...@avagotech.com Date: Wed, 5 Aug 2015 03:27:47 -0400 This patch set contains 2 driver fixes to a Lancer HW issue and a fix to a double free bug. Pls apply to the net tree. Thanks! Patch 1 now enables filters only after creating RXQs. This is done as HW issues

[PATCH net-next] bridge: netlink: add support for vlan_filtering attribute

2015-08-07 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov niko...@cumulusnetworks.com This patch adds the ability to toggle the vlan filtering support via netlink. Since we're already running with rtnl in .changelink() we don't need to take any additional locks. Signed-off-by: Nikolay Aleksandrov niko...@cumulusnetworks.com

[PATCH] net-timestamp: Update skb_complete_tx_timestamp comment

2015-08-07 Thread Benjamin Poirier
After 62bccb8 net-timestamp: Make the clone operation stand-alone from phy timestamping the hwtstamps parameter of skb_complete_tx_timestamp() may no longer be NULL. Signed-off-by: Benjamin Poirier bpoir...@suse.com Cc: Alexander Duyck alexander.h.du...@redhat.com --- include/linux/skbuff.h | 6

tcp_update_metrics() fail fast before declaring variables

2015-08-07 Thread Donatas Abraitis
Hi folks, one short question regarding net.ipv4.tcp_no_metrics_save sysctl parameter. Code snippet is actually the following: void tcp_update_metrics(struct sock *sk) { struct tcp_sock *tp = tcp_sk(sk); struct dst_entry *dst = __sk_dst_get(sk); if (sysctl_tcp_nometrics_save) return;

[PATCH net-next 5/6] qlcnic: Don't use kzalloc unncecessarily for allocating large chunk of memory

2015-08-07 Thread Shahed Shaikh
From: Shahed Shaikh shahed.sha...@qlogic.com Driver allocates a large chunk of temporary buffer using kzalloc to copy FW image. As there is no real need of this memory to be physically contiguous, use vzalloc instead. Signed-off-by: Shahed Shaikh shahed.sha...@qlogic.com ---

[PATCH net-next 1/6] qlcnic: Rearrange ordering of header files inclusion

2015-08-07 Thread Shahed Shaikh
From: Harish Patil harish.pa...@qlogic.com Include local headers files after kernel's header files. Signed-off-by: Harish Patil harish.pa...@qlogic.com Signed-off-by: Shahed Shaikh shahed.sha...@qlogic.com --- drivers/net/ethernet/qlogic/qlcnic/qlcnic.h|2 --

[PATCH net-next 0/6] qlcnic: enhancements

2015-08-07 Thread Shahed Shaikh
From: Shahed Shaikh shahed.sha...@qlogic.com Hi Dave, This series adds few enhancements. o Patch from Harish reorders the sequence of header files inclusion, keeping kernel's header files on top. o Firmware introduced a new feature which allows driver to increases the size of

[PATCH net-next 6/6] qlcnic: Update version to 5.3.63

2015-08-07 Thread Shahed Shaikh
From: Shahed Shaikh shahed.sha...@qlogic.com Signed-off-by: Shahed Shaikh shahed.sha...@qlogic.com --- drivers/net/ethernet/qlogic/qlcnic/qlcnic.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread Tomasz Nowicki
On 07.08.2015 13:56, Robert Richter wrote: On 07.08.15 12:52:41, Tomasz Nowicki wrote: On 07.08.2015 12:43, Robert Richter wrote: On 07.08.15 10:09:04, Tomasz Nowicki wrote: On 07.08.2015 02:33, David Daney wrote: ... +#else + +static int bgx_init_acpi_phy(struct bgx *bgx) +{ +

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread Robert Richter
On 07.08.15 12:52:41, Tomasz Nowicki wrote: On 07.08.2015 12:43, Robert Richter wrote: On 07.08.15 10:09:04, Tomasz Nowicki wrote: On 07.08.2015 02:33, David Daney wrote: ... +#else + +static int bgx_init_acpi_phy(struct bgx *bgx) +{ + return -ENODEV; +} + +#endif /* CONFIG_ACPI

[PATCH net-next 2/6] qlcnic: Add support to enable capability to extend minidump for iSCSI

2015-08-07 Thread Shahed Shaikh
From: Shahed Shaikh shahed.sha...@qlogic.com In some cases it is required to capture minidump for iSCSI functions as part of default minidump collection process. To enable this, firmware exports it's capability and driver need to enable that capability by issuing a mailbox command. With this

[PATCH net-next 3/6] qlcnic: Print firmware minidump buffer and template header addresses

2015-08-07 Thread Shahed Shaikh
From: Shahed Shaikh shahed.sha...@qlogic.com Signed-off-by: Shahed Shaikh shahed.sha...@qlogic.com --- .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c

[PATCH net-next 4/6] qlcnic: Add new VF device ID 0x8C30

2015-08-07 Thread Shahed Shaikh
From: Shahed Shaikh shahed.sha...@qlogic.com This is a 83xx series based VF device Signed-off-by: Shahed Shaikh shahed.sha...@qlogic.com --- drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | 12 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c |5 - 2 files changed, 12