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

2015-08-07 Thread David Miller
From: Ivan Vecera 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 > address=0x3000 flags=0x0050]

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

2015-08-07 Thread David Miller
From: WingMan Kwok 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 page size

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

2015-08-07 Thread David Miller
From: Mathieu Olivari 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 NSS_COMMON_CL

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

2015-08-07 Thread David Miller
From: Jason Wang 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 overflow > the sg

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 a

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

2015-08-07 Thread David Miller
From: Jeff Kirsher 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 majordomo info at http://vger.

[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 --- net/xfrm/xfrm_user.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/net/x

[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 --- net/tipc/server.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/tipc/ser

[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 --- net/sched/act_bpf.c | 4 +--- net/sched/cls_bpf.c | 4 +--- 2 files changed, 2 insertions(+), 6 dele

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 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 table is searched for the

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

2015-08-07 Thread richard.alpe
From: Richard Alpe 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 @@ -412,7 +412,7 @@ static in

[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 --- drivers/net/ethernet/cavium/liquidio/octeon_device.c | 4 +--- 1 file changed, 1 insertion(+), 3 del

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 r

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

[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 --- drivers/net/wireless/mac80211_hwsim.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dri

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

2015-08-07 Thread shh.xie
From: Madalin Bucur 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 mode. Signed-off-by: Madal

[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 --- tc/m_bpf.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/tc/m_bpf.c b/tc/m_bpf.c index c51f44f.

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 ; David Miller > Cc: o...@aepfle.de; gre...@linuxfoundation.org; jasow...@redhat.com; > driverdev-de...@linuxdriverproject.org; linux-ker...@vger.kernel.org; > step...@networkplumber.org; stefa...@redhat.com; netdev@vger.ke

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 ; David Miller > Cc: o...@aepfle.de; gre...@linuxfoundation.org; jasow...@redhat.com; > driverdev-de...@linuxdriverproject.org; linux-ker...@vger.kernel.org; > step...@networkplumber.org; stefa.

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 Acked-by: Daniel Borkmann Not sure where the rest of t

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 in

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

[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 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 --- .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c |4 ++-- 1 fi

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

2015-08-07 Thread Shahed Shaikh
From: Harish Patil Include local headers files after kernel's header files. Signed-off-by: Harish Patil Signed-off-by: Shahed Shaikh --- drivers/net/ethernet/qlogic/qlcnic/qlcnic.h|2 -- .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c|5 +++-- .../net/ethernet/qlogic/qlcni

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

2015-08-07 Thread Shahed Shaikh
From: Shahed Shaikh 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 firmware dump of iSCSI functio

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

2015-08-07 Thread Shahed Shaikh
From: Shahed Shaikh Signed-off-by: Shahed Shaikh --- 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 b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h index 17f37b7..06bcc73 100644 -

[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 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 feature, firmware can provid

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

2015-08-07 Thread Shahed Shaikh
From: Shahed Shaikh Signed-off-by: Shahed Shaikh --- .../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 b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c index

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

2015-08-07 Thread Shahed Shaikh
From: Shahed Shaikh This is a 83xx series based VF device Signed-off-by: Shahed Shaikh --- drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | 12 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c |5 - 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/driver

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) +{ + retur

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

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

2015-08-07 Thread Phil Sutter
Signed-off-by: Phil Sutter --- 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; i

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

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: > __xa

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 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 didn't encounter th

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

[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 --- drivers/net/can/flexcan.c | 2 +- 1 file changed, 1 inse

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 sam

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

2015-08-07 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov 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 --- I'll post the iproute2 patch if this one gets accepte

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 wrote: > > From: Nikolay Aleksandrov > > 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: Ni

[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 Cc: Alexander Duyck --- include/linux/skbuff.h | 6 +++--- 1 file changed, 3 insertions(+), 3 d

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

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

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

2015-08-07 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov 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 --- v2: return EOPNOTSUPP when vlan filtering isn't confi

[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 --- Cc: Ian Campbell Cc: Wei Liu Cc: netdev@vger.kernel.org Changes in v2: - Patch added --- drivers/net/xen-netback/netback.c | 14

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 bgx_init

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

2015-08-07 Thread Hannes Frederic Sowa
Hello, Alexander Duyck 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 there are two ways to

[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

[PATCH v3 17/20] net/xen-netfront: 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 using network device 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 the gran

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

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

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 a

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

2015-08-07 Thread Rick Jones
From: Rick Jones 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. Callers to neighb

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

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

2015-08-07 Thread David Miller
From: Sowmini Varadhan 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 changes to allow > a si

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

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

2015-08-07 Thread David Miller
From: Alexei Starovoitov 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 be used by rout

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

2015-08-07 Thread David Miller
From: Sathya Perla 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 were observed on La

[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 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 poll()/select()/epoll(), ar

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 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. > > Signed-off-by: Wenyu Z

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; W

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 wrote: > On 1 August 2015 at 12:17, Thomas Graf wrote: >> On 07/31/15 at 10:51am, Joe Stringer wrote: >>> On 31 July 2015 at 07:34, Hannes Frederic Sowa wrote: >>> > In general, this shouldn't be necessary as the packet should already be >>> > scrubbe

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

2015-08-07 Thread David Miller
From: 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 interfaces and accelerators

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

2015-08-07 Thread David Miller
From: Corcodel Marian 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 reporting correct */ This

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

2015-08-07 Thread David Miller
From: Madalin Bucur Date: Wed, 5 Aug 2015 18:41:28 +0300 > Export per CPU counters through debugfs. > > Signed-off-by: Madalin Bucur This is absolutely inappropriate. You can export these just fine via ethtool statistics. There is zero reason to add ugly debugfs crap for something like this.

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

2015-08-07 Thread David Miller
From: Antonio Quartulli 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 majord...@vger.kernel

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 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 >> >> failed to configure the page size for architectures with page size >> different than 4K. >> >> Signed-off-by: Carol L Soto >> --- > > Please pull this pat

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

2015-08-07 Thread David Miller
From: Tom Herbert 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 > 2. New map is

[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

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

[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 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 function pointer to

[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

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

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

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

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

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 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 properties wit

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 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 >>> >>> Find out which PHYs belong to which BGX instance in the ACPI way. >>> >>> Set the MAC

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