[PATCH] net: Export bpf_prog_create_from_user().

2015-08-17 Thread David Miller
Signed-off-by: David S. Miller da...@davemloft.net --- net/core/filter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/core/filter.c b/net/core/filter.c index a50dbfa..f818422 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -1124,6 +1124,7 @@ int

[PATCH net-next v4 2/4] net: Change pseudohdr argument of inet_proto_csum_replace* to be a bool

2015-08-17 Thread Tom Herbert
inet_proto_csum_replace4,2,16 take a pseudohdr argument which indicates the checksum field carries a pseudo header. This argument should be a boolean instead of an int. Signed-off-by: Tom Herbert t...@herbertland.com --- include/net/checksum.h | 6 +++--- net/core/filter.c

[PATCH net-next v4 4/4] net: Identifier Locator Addressing module

2015-08-17 Thread Tom Herbert
Adding new module name ila. This implements ILA translation. Light weight tunnel redirection is used to perform the translation in the data path. This is configured by the ip -6 route command using the encap ila locator option, where locator is the value to set in destination locator of the

[PATCH net-next v4 0/4] net: Identifier Locator Addressing - Part I

2015-08-17 Thread Tom Herbert
This patch set provides rudimentary support for Identifier Locator Addressing or ILA. The basic concept of ILA is that we split an IPv6 address into a 64 bit locator and 64 bit identifier. The identifier is the identity of an entity in communication (who), and the locator expresses the location of

[PATCH net-next 0/3] D in DSA patches

2015-08-17 Thread Andrew Lunn
The D in DSA is distributed, meaning multiple switches can be connected together. Currently no mainline system does this, and so the code is broken. This patchset contains two fixes, and a small helper. With three of more switches, the current device tree binding is not sufficient to express the

[PATCH net-next 2/3] net: dsa: Add dsa_is_dsa_port() helper

2015-08-17 Thread Andrew Lunn
Add an inline helper for determining is a port is a DSA port. Signed-off-by: Andrew Lunn and...@lunn.ch --- drivers/net/dsa/mv88e6xxx.c | 5 ++--- include/net/dsa.h | 5 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/net/dsa/mv88e6xxx.c

[PATCH net-next 1/3] net: dsa: Allow multi hop routes to be expressed

2015-08-17 Thread Andrew Lunn
With more than two switches in a hierarchy, it becomes necessary to describe multi-hop routes between switches. The current binding does not allow this, although the older platform_data did. Extend the link property to be a list rather than a single phandle to a remote switch. It is then possible

[PATCH net-next 3/3] dsa: mv88e6xxx: Set DSA mode based on chip abilities

2015-08-17 Thread Andrew Lunn
Older devices only support a single DSA frame format, where as newer devices have two. Take this into account when configuring a DSA port. The port needs to be in plain old DSA mode, since this is a DSA link, where as the newer format can be used for the CPU port. Signed-off-by: Andrew Lunn

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

2015-08-17 Thread Kenneth Lee
Thanks, Arnd, You are right. This is the same IP as hip04_mdio.c. We just mis-understand the hardware design. We will merge them and re-submit the patches. On Fri, Aug 14, 2015 at 10:57:28PM +0200, Arnd Bergmann wrote: On Friday 14 August 2015 18:30:20 Kenneth Lee wrote: +#define

Re: [PATCH net-next v5 00/11] ipv6: Only create RTF_CACHE route after encountering pmtu exception

2015-08-17 Thread Alexander Holler
Am 15.08.2015 um 09:48 schrieb Alexander Holler: Am 30.07.2015 um 13:57 schrieb Alexander Holler: Am 29.07.2015 um 11:25 schrieb Alexander Holler: Am 23.05.2015 um 05:55 schrieb Martin KaFai Lau: To complete the discussion, that annoying behaviour is also a big information leak. Because

[PATCH net-next] r8169: Add tx_buf_sz and rx_buf_coef on rtl_cfg_info

2015-08-17 Thread Corcodel Marian
Put rx_buf_sz on rtl_cfg_info structure and add new parameter rx_buf_coef.Param rx_buf_sz may be different by nic's and same rx_buf_coef On RTL 8101 series rx_buf_coef is not equal with rx_buf_sz. Add --whitespace=warn on git Signed-off-by: Corcodel Marian corcodel.mar...@gmail.com diff

Re: Linux 4.2-rc6 regression: RIP: e030:[ffffffff8110fb18] [ffffffff8110fb18] detach_if_pending+0x18/0x80

2015-08-17 Thread Sander Eikelenboom
Saturday, August 15, 2015, 12:39:25 AM, you wrote: On Sat, 2015-08-15 at 00:09 +0200, Sander Eikelenboom wrote: On 2015-08-13 00:41, Eric Dumazet wrote: On Wed, 2015-08-12 at 23:46 +0200, Sander Eikelenboom wrote: Thanks for the reminder, but luckily i was aware of that, seen enough

RE: [PATCH] bridge: Enable configuration of ageing interval for bridges and switch devices.

2015-08-17 Thread Premkumar Jonnala
Hello Roopa, Thank you for the comments. Some thoughts/comments on IFLA_BR_AGEING_TIME. 1. Ageing interval using IFLA_BR_AGEING_TIME is set using 'ip link ..' command. Shouldn't bridge command be more appropriate for this? The earlier patch seems to allow configuration of other bridge

[PATCH net-next] tipc: don't sanity check non-existing TLV (NL compat)

2015-08-17 Thread richard.alpe
From: Richard Alpe richard.a...@ericsson.com A zero length payload means that no TLV (Type Length Value) data has been passed. Prior to this patch a non-existing TLV could be sanity checked with TLV_OK() resulting in random behavior where a user sending an empty message occasionally got a

[PATCH net-next]:r8169: Add and modify some parameters

2015-08-17 Thread Corcodel Marian
Set InterFrame Gap time as largest posible for comp. Add InterFrameGap2 bit set on start. Signed-off-by: Corcodel Marian corcodel.mar...@gmail.com diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index eb2d2a4..ea0f327 100644 ---

Re: [Patch V3 4/9] openvswitch: Replace cpu_to_node() with cpu_to_mem() to support memoryless node

2015-08-17 Thread Pravin Shelar
On Sun, Aug 16, 2015 at 8:19 PM, Jiang Liu jiang@linux.intel.com wrote: Function ovs_flow_stats_update() allocates memory with __GFP_THISNODE flag set, which may cause permanent memory allocation failure on memoryless node. So replace cpu_to_node() with cpu_to_mem() to better support

RE: [Intel-wired-lan] [PATCH] e100: Add a check after pci_pool_create to avoid null pointer dereference

2015-08-17 Thread Brown, Aaron F
From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On Behalf Of Jia-Ju Bai Sent: Sunday, August 02, 2015 7:17 PM To: Kirsher, Jeffrey T; Brandeburg, Jesse Cc: netdev@vger.kernel.org; Jia-Ju Bai; intel-wired-...@lists.osuosl.org; linux-ker...@vger.kernel.org Subject:

RE: [Intel-wired-lan] [PATCH] e100: Release skb when DMA mapping is failed in e100_xmit_prepare

2015-08-17 Thread Brown, Aaron F
From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On Behalf Of Jia-Ju Bai Sent: Sunday, August 02, 2015 7:41 PM To: Kirsher, Jeffrey T; Brandeburg, Jesse Cc: netdev@vger.kernel.org; Jia-Ju Bai; intel-wired-...@lists.osuosl.org; linux-ker...@vger.kernel.org Subject:

[PATCH net-next v3] rocker: add debugfs support to dump internal tables

2015-08-17 Thread sfeldma
From: Scott Feldman sfel...@gmail.com tree /sys/kernel/debug/rocker /sys/kernel/debug/rocker └── 525400123501 ├── fdb_tbl ├── internal_vlan_tbl ├── neigh_tbl ├── of_dpa_flow_tbl └── of_dpa_group_tbl 1 directory, 5 files cat

Re: [PATCH v1 2/2] drivers: net: xgene: Adding support for TSO

2015-08-17 Thread David Miller
From: Iyappan Subramanian isubraman...@apm.com Date: Mon, 17 Aug 2015 14:33:05 -0700 + /* HW requires all header resides in the first buffer */ + if (skb_is_nonlinear(skb) + (skb_headlen(skb) hdr_len)) { +

Re: [PATCH] net: Move VRF change to udp_sendmsg to inlined function

2015-08-17 Thread David Miller
From: David Ahern d...@cumulusnetworks.com Date: Sat, 15 Aug 2015 18:11:59 -0600 Functionally equivalent, but as an inlined function with VRF config check it completely compiles out if VRF is not enabled. Suggested-by: Tom Herbert t...@herbertland.com Signed-off-by: David Ahern

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

2015-08-17 Thread David Miller
From: Govindarajulu Varadarajan _gov...@gmx.com Date: Sun, 16 Aug 2015 01:44:50 +0530 This series adds new devcmd2 support. The first two patches are code refactoring. devcmd is an interface for driver to communicate with fw/adaptor. It involves writing data to hardware registers and

[PATCH net-next v4 1/4] lwt: Add support to redirect dst.input

2015-08-17 Thread Tom Herbert
This patch adds the capability to redirect dst input in the same way that dst output is redirected by LWT. Also, save the original dst.input and and dst.out when setting up lwtunnel redirection. These can be called by the client as a pass- through. Signed-off-by: Tom Herbert t...@herbertland.com

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

2015-08-17 Thread Alexey Klimov
Hi Kenneth, just small minor question. On Fri, Aug 14, 2015 at 1:30 PM, Kenneth Lee liguo...@hisilicon.com wrote: HNAE (Hisilicon Network Acceleration Engine) is a framework to provide a unified ring buffer interface for Hisilicon Network Acceleration Engines. With the interface, upper layer

Re: [Patch V3 5/9] i40e: Use numa_mem_id() to better support memoryless node

2015-08-17 Thread David Rientjes
On Mon, 17 Aug 2015, Jiang Liu wrote: Function i40e_clean_rx_irq() tries to reuse memory pages allocated s/i40e_clean_rx_irq/i40e_clean_rx_irq_ps/ from the nearest node. To better support memoryless node, use numa_mem_id() instead of numa_node_id() to get the nearest node with memory.

[PATCH net-next v4 3/4] net: Add inet_proto_csum_replace_by_diff utility function

2015-08-17 Thread Tom Herbert
This function updates a checksum field value and skb-csum based on a value which is the difference between the old and new checksum. Signed-off-by: Tom Herbert t...@herbertland.com --- include/net/checksum.h | 2 ++ net/core/utils.c | 13 + 2 files changed, 15 insertions(+)

Re: [PATCH -next] smsc911x: Fix crash seen if neither ACPI nor OF is configured or used

2015-08-17 Thread Jeremy Linton
On 08/17/2015 05:14 PM, Guenter Roeck wrote: One nitpick I noticed after sending my patch: dev can never be NULL in smsc911x_probe_config(), so it does not really make sense to check if it is NULL. No, it doesn't... it should really be something like if (dev_fwnode(dev)) But dev_fwnode is

Re: [PATCH net-next v2] net: Updates to netif_index_is_vrf

2015-08-17 Thread David Miller
From: David Ahern d...@cumulusnetworks.com Date: Sun, 16 Aug 2015 07:49:20 -0600 As Eric noted netif_index_is_vrf is not called with rcu_read_lock held, so wrap the dev_get_by_index_rcu in rcu_read_lock and unlock. If VRF is not enabled or oif is 0 skip the device lookup. In both cases

Re: [PATCH] net: Fix docbook warning for IFF_VRF_MASTER enum

2015-08-17 Thread David Miller
From: David Ahern d...@cumulusnetworks.com Date: Sun, 16 Aug 2015 10:26:49 -0600 kbuild test robot reported: tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: d52736e24fe2e927c26817256f8d1a3c8b5d51a0 commit: 4e3c89920cd3a6cfce22c6f537690747c26128dd

Re: Linux 4.2-rc6 regression: RIP: e030:[ffffffff8110fb18] [ffffffff8110fb18] detach_if_pending+0x18/0x80

2015-08-17 Thread Jon Christopherson
On 08/17/2015 12:18 PM, Eric Dumazet wrote: From: Eric Dumazet eduma...@google.com snip Then can you try following fix as well ? Thanks ! [PATCH] timer: fix a race in __mod_timer() snip I have been running the latest code from git with the 2 patches in this thread applied. No issues

Re: [PATCH net-next 0/8] Driver updates 16-Aug-2015

2015-08-17 Thread David Miller
From: Achiad Shochat ach...@mellanox.com Date: Sun, 16 Aug 2015 16:04:44 +0300 This patchset contains bug fixes, new RSS and pause parameters ethtool options, and support for RX CHECKSUM_COMPLETE. Patchset was applied and tested over commit adc6310 (Merge branch 'mv88e6xxx-switchdev-fdb').

Re: [PATCH] inet: Move VRF table lookup to inlined function

2015-08-17 Thread David Miller
From: David Ahern d...@cumulusnetworks.com Date: Sun, 16 Aug 2015 17:13:27 -0600 Table lookup compiles out when VRF is not enabled. Signed-off-by: David Ahern d...@cumulusnetworks.com Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message

[net-next:master 904/905] drivers/net/ethernet/mellanox/mlx5/core/en_rx.c:173:44: sparse: incorrect type in argument 1 (different base types)

2015-08-17 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 9cd3778cd7e8f165675705511cfcd4ea6eb88d27 commit: bbceefce9adfc9cf7b4110727c96c841ba8c7964 [904/905] net/mlx5e: Support RX CHECKSUM_COMPLETE reproduce: # apt-get install sparse git checkout

Re: [PATCH] net: qmi_wwan: add HP lt4111 LTE/EV-DO/HSPA+ Gobi 4G Module

2015-08-17 Thread David Miller
From: David Ward david.w...@ll.mit.edu Date: Sat, 15 Aug 2015 20:12:30 -0400 This is an HP-branded Sierra Wireless EM7355: https://bugzilla.redhat.com/show_bug.cgi?id=1223646#c2 Signed-off-by: David Ward david.w...@ll.mit.edu Applied, thanks. -- To unsubscribe from this list: send the line

Re: pull request: bluetooth-next 2015-08-16

2015-08-17 Thread David Miller
From: Johan Hedberg johan.hedb...@gmail.com Date: Sun, 16 Aug 2015 09:05:28 +0300 Here's what's likely the last bluetooth-next pull request for 4.3: - 6lowpan/802.15.4 refactoring, cleanups fixes - Document 6lowpan netdev usage in Documentation/networking/6lowpan.txt - Support for UART

Re: [PATCH] net: phy: fix semicolon.cocci warnings

2015-08-17 Thread David Miller
From: kbuild test robot fengguang...@intel.com Date: Tue, 18 Aug 2015 06:31:42 +0800 drivers/net/phy/smsc.c:127:3-4: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Igor Plyatov plya...@gmail.com Signed-off-by: Fengguang Wu

Re: [PATCH] net: rtnetlink: be more strict when setting MAC address

2015-08-17 Thread Phil Sutter
On Mon, Aug 17, 2015 at 02:09:33PM -0700, David Miller wrote: From: Phil Sutter p...@nwl.cc Date: Mon, 17 Aug 2015 23:06:47 +0200 Upon evaluation of IFLA_ADDRESS and IFLA_BROADCAST messages, make sure the passed argument length matches dev-addr_len exactly. This fixes dubious

[no subject]

2015-08-17 Thread Kussner, Sara
Please contact me about this project (mrsyuen@outlook.com) Regards -- 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.kernel.org/majordomo-info.html

linux-next: manual merge of the net-next tree with the net tree

2015-08-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/usb/qmi_wwan.c between commit: a8079092c1bb (net: qmi_wwan: add HP lt4111 LTE/EV-DO/HSPA+ Gobi 4G Module) from the net tree and commit: 2070c48cf2b7 (qmi_wwan: Add support for Dell Wireless 5809e 4G

Re: [PATCH -next] smsc911x: Fix crash seen if neither ACPI nor OF is configured or used

2015-08-17 Thread Guenter Roeck
On 08/17/2015 02:19 PM, Jeremy Linton wrote: On 08/17/2015 03:45 PM, Guenter Roeck wrote: Commit 0b50dc4fc971 (Convert smsc911x to use ACPI as well as DT) makes the call to smsc911x_probe_config() unconditional, and no longer fails if there is no device node. device_get_phy_mode() is called

[net:master 10/12] drivers/net/phy/smsc.c:127:3-4: Unneeded semicolon

2015-08-17 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git master head: af19e68683ba9c29e778d0f8be5be61a0ebb4166 commit: 776829de90c5972895db398993ddfa9417ff8b01 [10/12] net: phy: workaround for buggy cable detection by LAN8700 after cable plugging coccinelle warnings: (new ones

[PATCH] net: phy: fix semicolon.cocci warnings

2015-08-17 Thread kbuild test robot
drivers/net/phy/smsc.c:127:3-4: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Igor Plyatov plya...@gmail.com Signed-off-by: Fengguang Wu fengguang...@intel.com --- smsc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[net-next:master 894/905] drivers/net/ethernet/cisco/enic/vnic_dev.c:1095:13: sparse: incorrect type in assignment (different address spaces)

2015-08-17 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 9cd3778cd7e8f165675705511cfcd4ea6eb88d27 commit: 373fb0873d4325a7afa04aec29ced0c122d1f8a9 [894/905] enic: add devcmd2 reproduce: # apt-get install sparse git checkout

Re: Linux 4.2-rc6 regression: RIP: e030:[ffffffff8110fb18] [ffffffff8110fb18] detach_if_pending+0x18/0x80

2015-08-17 Thread Jon Christopherson
This is very similar to the behavior I am seeing in this bug: https://bugzilla.kernel.org/show_bug.cgi?id=102911 -Jon -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: Linux 4.2-rc6 regression: RIP: e030:[ffffffff8110fb18] [ffffffff8110fb18] detach_if_pending+0x18/0x80

2015-08-17 Thread Sander Eikelenboom
Monday, August 17, 2015, 3:37:13 PM, you wrote: On Mon, 2015-08-17 at 11:09 +0200, Sander Eikelenboom wrote: Saturday, August 15, 2015, 12:39:25 AM, you wrote: On Sat, 2015-08-15 at 00:09 +0200, Sander Eikelenboom wrote: On 2015-08-13 00:41, Eric Dumazet wrote: On Wed, 2015-08-12 at

Re: [PATCH net-next] r8169: Add tx_buf_sz and rx_buf_coef on rtl_cfg_info

2015-08-17 Thread Eric Dumazet
On Mon, 2015-08-17 at 14:10 +0300, Corcodel Marian wrote: Put rx_buf_sz on rtl_cfg_info structure and add new parameter rx_buf_coef.Param rx_buf_sz may be different by nic's and same rx_buf_coef On RTL 8101 series rx_buf_coef is not equal with rx_buf_sz. Add --whitespace=warn on git

Re: [PATCH net-next] r8169: Add tx_buf_sz and rx_buf_coef on rtl_cfg_info

2015-08-17 Thread Ivan Vecera
On 17.8.2015 13:10, Corcodel Marian wrote: Put rx_buf_sz on rtl_cfg_info structure and add new parameter rx_buf_coef.Param rx_buf_sz may be different by nic's and same rx_buf_coef On RTL 8101 series rx_buf_coef is not equal with rx_buf_sz. Add --whitespace=warn on git Signed-off-by:

Re: Linux 4.2-rc6 regression: RIP: e030:[ffffffff8110fb18] [ffffffff8110fb18] detach_if_pending+0x18/0x80

2015-08-17 Thread Eric Dumazet
On Mon, 2015-08-17 at 11:09 +0200, Sander Eikelenboom wrote: Saturday, August 15, 2015, 12:39:25 AM, you wrote: On Sat, 2015-08-15 at 00:09 +0200, Sander Eikelenboom wrote: On 2015-08-13 00:41, Eric Dumazet wrote: On Wed, 2015-08-12 at 23:46 +0200, Sander Eikelenboom wrote: Thanks

Re: Linux 4.2-rc6 regression: RIP: e030:[ffffffff8110fb18] [ffffffff8110fb18] detach_if_pending+0x18/0x80

2015-08-17 Thread Sander Eikelenboom
Monday, August 17, 2015, 4:21:47 PM, you wrote: On Mon, 2015-08-17 at 09:02 -0500, Jon Christopherson wrote: This is very similar to the behavior I am seeing in this bug: https://bugzilla.kernel.org/show_bug.cgi?id=102911 OK, but have you applied the fix ?

Re: Linux 4.2-rc6 regression: RIP: e030:[ffffffff8110fb18] [ffffffff8110fb18] detach_if_pending+0x18/0x80

2015-08-17 Thread Eric Dumazet
On Mon, 2015-08-17 at 09:02 -0500, Jon Christopherson wrote: This is very similar to the behavior I am seeing in this bug: https://bugzilla.kernel.org/show_bug.cgi?id=102911 OK, but have you applied the fix ?

Re: [PATCH net-next]:r8169: Add and modify some parameters

2015-08-17 Thread Ivan Vecera
On 17.8.2015 12:26, Corcodel Marian wrote: Set InterFrame Gap time as largest posible for comp. Add InterFrameGap2 bit set on start. Why? Signed-off-by: Corcodel Marian corcodel.mar...@gmail.com diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c

Re: [PATCH net-next v2 1/4] packet: add classic BPF fanout mode

2015-08-17 Thread Eric Dumazet
On Fri, 2015-08-14 at 22:31 -0400, Willem de Bruijn wrote: From: Willem de Bruijn will...@google.com Add fanout mode PACKET_FANOUT_CBPF that accepts a classic BPF program to select a socket. This avoids having to keep adding special case fanout modes. One example use case is application

Re: [PATCH] wil6210: match wait_for_completion_timeout return type

2015-08-17 Thread Kalle Valo
Nicholas Mc Guire hof...@osadl.org writes: Return type of wait_for_completion_timeout is unsigned long not int. As remain is exclusively used for wait_for_completion_timeout here its type is simply changed to unsigned long. API conformance testing for completions with coccinelle spatches

Re: [PATCH 0/2] net: introduce IFF_NO_QUEUE as successor of zero tx_queue_len

2015-08-17 Thread Eric Dumazet
On Mon, 2015-08-17 at 08:51 +0200, Jesper Dangaard Brouer wrote: On Fri, 14 Aug 2015 10:41:53 +0200 Phil Sutter p...@nwl.cc wrote: On Thu, Aug 13, 2015 at 12:11:57PM -0700, Stephen Hemminger wrote: [...] But adding a flag risks breaking external scripts. Could you please

Re: [net-next:master 904/905] drivers/net/ethernet/mellanox/mlx5/core/en_rx.c:173:44: sparse: incorrect type in argument 1 (different base types)

2015-08-17 Thread David Miller
From: kbuild test robot fengguang...@intel.com Date: Tue, 18 Aug 2015 09:16:07 +0800 tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 9cd3778cd7e8f165675705511cfcd4ea6eb88d27 commit: bbceefce9adfc9cf7b4110727c96c841ba8c7964 [904/905] net/mlx5e: Support

RE: [PATCH] bridge: Enable configuration of ageing interval for bridges and switch devices.

2015-08-17 Thread Rosen, Rami
Hi, First, I agree about the need to propagate the ageing interval to switchdev devices, so that hardware based aging can be setup correctly. Second, in this occasion, I want to mention the need to turn off bridge ageing in the kernel as part of using switchdev devices. This is mentioned in

Re: [PATCH net-next v3] rocker: add debugfs support to dump internal tables

2015-08-17 Thread Jiri Pirko
Tue, Aug 18, 2015 at 12:36:17AM CEST, sfel...@gmail.com wrote: From: Scott Feldman sfel...@gmail.com tree /sys/kernel/debug/rocker /sys/kernel/debug/rocker └── 525400123501 ├── fdb_tbl ├── internal_vlan_tbl ├── neigh_tbl ├── of_dpa_flow_tbl └── of_dpa_group_tbl 1

RE: [v1 0/6] *** nps_enet fixups ***

2015-08-17 Thread Noam Camus
From: David Miller [mailto:da...@davemloft.net] Sent: Monday, August 17, 2015 8:36 PM You should not move TX completion out of NAPI handling, NAPI poll is exactly where it belongs. If you handle it in hardware interrupt context you have to use dev_kfree_skb_irq() which defers the

Re: [net-next RFC] net: ipv4: Send IGMP messages from highest scoped address

2015-08-17 Thread David Miller
From: Andrew Lunn and...@lunn.ch Date: Mon, 17 Aug 2015 18:09:24 +0200 This is RFC because i personally don't know if this is the best fix. The patch restores previous behavior, while still keeping the bug fix. It is not obvious what is the correct source address for an IGMP message when an

Re: [PATCH net-next v4 0/4] net: Identifier Locator Addressing - Part I

2015-08-17 Thread David Miller
From: Tom Herbert t...@herbertland.com Date: Mon, 17 Aug 2015 13:42:23 -0700 This patch set provides rudimentary support for Identifier Locator Addressing or ILA. Series applied, thanks Tom. -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to

Re: [net-next:master 894/905] drivers/net/ethernet/cisco/enic/vnic_dev.c:1095:13: sparse: incorrect type in assignment (different address spaces)

2015-08-17 Thread David Miller
From: kbuild test robot fengguang...@intel.com Date: Tue, 18 Aug 2015 09:07:32 +0800 sparse warnings: (new ones prefixed by ) drivers/net/ethernet/cisco/enic/vnic_dev.c:1095:13: sparse: incorrect type in assignment (different address spaces)

Re: [v1 0/6] *** nps_enet fixups ***

2015-08-17 Thread David Miller
From: Noam Camus no...@ezchip.com Date: Tue, 18 Aug 2015 05:04:20 + I followed Hardware Architecture section from: http://www.linuxfoundation.org/collaborate/workgroups/networking/napi and came up with reduce processing latency idea. That document has lots of incorrect advice, that's for

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

2015-08-17 Thread KY Srinivasan
-Original Message- From: Dexuan Cui Sent: Friday, August 7, 2015 3:27 AM To: KY Srinivasan k...@microsoft.com; David Miller da...@davemloft.net Cc: o...@aepfle.de; gre...@linuxfoundation.org; jasow...@redhat.com; driverdev-de...@linuxdriverproject.org;

[PATCH net-next v3 0/4] net: Identifier Locator Addressing - Part I

2015-08-17 Thread Tom Herbert
This patch set provides rudimentary support for Identifier Locator Addressing or ILA. The basic concept of ILA is that we split an IPv6 address into a 64 bit locator and 64 bit identifier. The identifier is the identity of an entity in communication (who), and the locator expresses the location of

Re: Linux 4.2-rc6 regression: RIP: e030:[ffffffff8110fb18] [ffffffff8110fb18] detach_if_pending+0x18/0x80

2015-08-17 Thread Jon Christopherson
On 08/17/2015 09:25 AM, Sander Eikelenboom wrote: OK, but have you applied the fix ? http://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=83fccfc3940c4a2db90fd7e7079f5b465cd8c6af It will be part of net iteration from David Miller to Linus Torvald. I did not have that

Re: [PATCH 0/2] net: introduce IFF_NO_QUEUE as successor of zero tx_queue_len

2015-08-17 Thread Jesper Dangaard Brouer
On Mon, 17 Aug 2015 06:44:51 -0700 Eric Dumazet eric.duma...@gmail.com wrote: On Mon, 2015-08-17 at 08:51 +0200, Jesper Dangaard Brouer wrote: On Fri, 14 Aug 2015 10:41:53 +0200 Phil Sutter p...@nwl.cc wrote: On Thu, Aug 13, 2015 at 12:11:57PM -0700, Stephen Hemminger wrote: [...]

Re: [PATCH net-next] tipc: don't sanity check non-existing TLV (NL compat)

2015-08-17 Thread David Miller
From: richard.a...@ericsson.com Date: Mon, 17 Aug 2015 14:15:10 +0200 From: Richard Alpe richard.a...@ericsson.com A zero length payload means that no TLV (Type Length Value) data has been passed. Prior to this patch a non-existing TLV could be sanity checked with TLV_OK() resulting in

Re: [PATCH] net/bonding: send arp in interval if no active slave

2015-08-17 Thread Jarod Wilson
On 2015-08-17 12:55 PM, Veaceslav Falico wrote: On Mon, Aug 17, 2015 at 12:23:03PM -0400, Jarod Wilson wrote: From: Uwe Koziolek uwe.kozio...@redknee.com With some very finicky switch hardware, active backup bonding can get into a situation where we play ping-pong between interfaces, trying to

Re: [v1 0/6] *** nps_enet fixups ***

2015-08-17 Thread David Miller
From: Noam Camus no...@ezchip.com Date: Mon, 17 Aug 2015 08:58:33 +0300 This patch set is a bunch of fixes to make nps_enet work correctly with all platforms, i.e. real device, emulation system, and simulation system. The main trigger for this patch set was that in our emulation system the TX

Re: [PATCH net-next v2 2/3] net: Add inet_proto_csum_replace_by_diff utility function

2015-08-17 Thread David Miller
From: Tom Herbert t...@herbertland.com Date: Mon, 17 Aug 2015 09:56:50 -0700 +void inet_proto_csum_replace_by_diff(__sum16 *sum, struct sk_buff *skb, + __wsum diff, int pseudohdr); ... +void inet_proto_csum_replace_by_diff(__sum16 *sum, struct sk_buff *skb, +

[PATCH net-next v2 3/3] net: Identifier Locator Addressing module

2015-08-17 Thread Tom Herbert
Adding new module name ila. This implements ILA translation. Light weight tunnel redirection is used to perform the translation in the data path. This is configured by the ip -6 route command using the encap ila locator option, where locator is the value to set in destination locator of the

[PATCH net-next v2 0/3] net: Identifier Locator Addressing

2015-08-17 Thread Tom Herbert
This patch set provides rudimentary support for Identifier Locator Addressing or ILA. The basic concept of ILA is that we split an IPv6 address into a 64 bit locator and 64 bit identifier. The identifier is the identity of an entity in communication (who), and the locator expresses the location of

[PATCH net-next v2 2/3] net: Add inet_proto_csum_replace_by_diff utility function

2015-08-17 Thread Tom Herbert
This function updates a checksum field value and skb-csum based on a value which is the difference between the old and new checksum. Signed-off-by: Tom Herbert t...@herbertland.com --- include/net/checksum.h | 2 ++ net/core/utils.c | 13 + 2 files changed, 15 insertions(+)

[PATCH net-next v2 1/3] lwt: Add support to redirect dst.input

2015-08-17 Thread Tom Herbert
This patch adds the capability to redirect dst input in the same way that dst output is redirected by LWT. Also, save the original dst.input and and dst.out when setting up lwtunnel redirection. These can be called by the client as a pass- through. Signed-off-by: Tom Herbert t...@herbertland.com

Re: [PATCH net-next] bnx2: Fix bandwidth allocation for some MF modes

2015-08-17 Thread David Miller
From: Yuval Mintz yuval.mi...@qlogic.com Date: Mon, 17 Aug 2015 08:28:25 +0300 Management firmware tells driver in case bandwidth configuration for a specific function exists, but [regretably] the same field has different meanings depending on the multi-function mode - it can either be a

Re: [PATCH] net/bonding: send arp in interval if no active slave

2015-08-17 Thread Veaceslav Falico
On Mon, Aug 17, 2015 at 12:23:03PM -0400, Jarod Wilson wrote: From: Uwe Koziolek uwe.kozio...@redknee.com With some very finicky switch hardware, active backup bonding can get into a situation where we play ping-pong between interfaces, trying to get one to come up as the active slave. There

[PATCH net-next] r8169: Replace TX_DMA_BURST

2015-08-17 Thread Corcodel Marian
Replace TX_DMA_BURST with 3 wich corespond on 128 descriptors send on Tx burst DMA .Packet size consist in unit of 128 descriptors. Ensure to keep this units grouped Signed-off-by: Corcodel Marian corcodel.mar...@gmail.com diff --git a/drivers/net/ethernet/realtek/r8169.c

Re: [PATCH net-next 1/4] packet: add BPF fanout mode

2015-08-17 Thread Eric Dumazet
On Fri, 2015-08-14 at 11:50 -0400, Willem de Bruijn wrote: From: Willem de Bruijn will...@google.com Add a fanout mode that accepts a BPF program to select a socket. This avoids having to keep adding special case fanout modes. One example use case is application layer load balancing. The

[net-next RFC] net: ipv4: Send IGMP messages from highest scoped address

2015-08-17 Thread Andrew Lunn
Patch 6a21165480a0 (net: ipv4: route: Fix sending IGMP messages with link address) changed the way the source address of an IGMP message was determined. Before that patch, a global scope addresses would be used from another interface, if there was no global scope address on the outgoing interface.

Re: [PATCH 0/2] net: introduce IFF_NO_QUEUE as successor of zero tx_queue_len

2015-08-17 Thread David Miller
From: Phil Sutter p...@nwl.cc Date: Thu, 13 Aug 2015 19:01:05 +0200 This series adds a new private net_device flag indicating that a device may (and probably should) be used without a queueing discipline attached to it. This is already common practice for many virtual device types like e.g.

[PATCH net-next v3 1/4] lwt: Add support to redirect dst.input

2015-08-17 Thread Tom Herbert
This patch adds the capability to redirect dst input in the same way that dst output is redirected by LWT. Also, save the original dst.input and and dst.out when setting up lwtunnel redirection. These can be called by the client as a pass- through. Signed-off-by: Tom Herbert t...@herbertland.com

Re: [PATCH net-next v3 4/4] net: Identifier Locator Addressing module

2015-08-17 Thread David Miller
From: Tom Herbert t...@herbertland.com Date: Mon, 17 Aug 2015 11:59:17 -0700 +static int ila_build_state(struct net_device *dev, struct nlattr *nla, +struct lwtunnel_state **ts) +{ + struct ila_params *p; + struct nlattr *tb[ILA_ATTR_MAX + 1]; + size_t

RE: [Intel-wired-lan] [Patch V3 6/9] i40evf: Use numa_mem_id() to better support memoryless node

2015-08-17 Thread Patil, Kiran
ACK. Thanks, -- Kiran P. -Original Message- From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On Behalf Of Jiang Liu Sent: Sunday, August 16, 2015 8:19 PM To: Andrew Morton; Mel Gorman; David Rientjes; Mike Galbraith; Peter Zijlstra; Wysocki, Rafael J; Tang Chen;

RE: [PATCH net-next] bnx2: Fix bandwidth allocation for some MF modes

2015-08-17 Thread Yuval Mintz
Please consider applying this one. Applied to net-next, thanks. Hi Dave, just noticed I've made a typo in the patch name :-( It's a bnx2x patch, not bnx2. Is it changable?-- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to majord...@vger.kernel.org

Re: [PATCH] Revert net: limit tcp/udp rmem/wmem to SOCK_{RCV,SND}BUF_MIN

2015-08-17 Thread David Miller
From: Calvin Owens calvinow...@fb.com Date: Thu, 13 Aug 2015 14:21:34 -0700 Commit 8133534c760d4083 (net: limit tcp/udp rmem/wmem to SOCK_{RCV,SND}BUF_MIN) modified four sysctls to enforce that the values written to them are not less than SOCK_MIN_{RCV,SND}BUF. That change causes 4096 to no

Re: [PATCH] net/bonding: send arp in interval if no active slave

2015-08-17 Thread Uwe Koziolek
On2015-08-17 07:12 PM,Jarod Wilson wrote: On 2015-08-17 12:55 PM, Veaceslav Falico wrote: On Mon, Aug 17, 2015 at 12:23:03PM -0400, Jarod Wilson wrote: From: Uwe Koziolek uwe.kozio...@redknee.com With some very finicky switch hardware, active backup bonding can get into a situation where we

Re: [PATCH/RFC] openvswitch: Retain parsed IPv6 header fields in flow on error skipping extension headers

2015-08-17 Thread Pravin Shelar
On Thu, Aug 13, 2015 at 6:30 PM, Simon Horman simon.hor...@netronome.com wrote: When an error occurs skipping IPv6 extension headers retain the already parsed IP protocol and IPv6 addresses in the flow. Also assume that the packet is not a fragment in the absence of information to the contrary;

Re: Linux 4.2-rc6 regression: RIP: e030:[ffffffff8110fb18] [ffffffff8110fb18] detach_if_pending+0x18/0x80

2015-08-17 Thread Sander Eikelenboom
On 2015-08-17 19:18, Eric Dumazet wrote: From: Eric Dumazet eduma...@google.com On Mon, 2015-08-17 at 16:25 +0200, Sander Eikelenboom wrote: Monday, August 17, 2015, 4:21:47 PM, you wrote: On Mon, 2015-08-17 at 09:02 -0500, Jon Christopherson wrote: This is very similar to the behavior I am

[PATCH net-next v3 4/4] net: Identifier Locator Addressing module

2015-08-17 Thread Tom Herbert
Adding new module name ila. This implements ILA translation. Light weight tunnel redirection is used to perform the translation in the data path. This is configured by the ip -6 route command using the encap ila locator option, where locator is the value to set in destination locator of the

[PATCH net-next v3 2/4] net: Change pseudohdr argument of inet_proto_csum_replace* to be a bool

2015-08-17 Thread Tom Herbert
inet_proto_csum_replace4,2,16 take a pseudohdr argument which indicates the checksum field carries a pseudo header. This argument should be a boolean instead of an int. Signed-off-by: Tom Herbert t...@herbertland.com --- include/net/checksum.h | 6 +++--- net/core/filter.c

[PATCH net-next v3 3/4] net: Add inet_proto_csum_replace_by_diff utility function

2015-08-17 Thread Tom Herbert
This function updates a checksum field value and skb-csum based on a value which is the difference between the old and new checksum. Signed-off-by: Tom Herbert t...@herbertland.com --- include/net/checksum.h | 2 ++ net/core/utils.c | 13 + 2 files changed, 15 insertions(+)

Re: [PATCH net-next] r8169: Replace TX_DMA_BURST

2015-08-17 Thread Sergei Shtylyov
On 08/17/2015 08:42 PM, Corcodel Marian wrote: Replace TX_DMA_BURST with 3 wich corespond on 128 s/on/to/? descriptors send on Tx burst DMA .Packet size consist in unit of 128 s/send/sent/? And please place period at the end of the statement, not at the beginning of a new one.

Re: [PATCH] net/wireless: enable wiphy device to suspend/resume asynchronously

2015-08-17 Thread Johannes Berg
On Mon, 2015-08-17 at 09:48 +0800, Fu, Zhonghui wrote: The suspend/resume timing of wiphy device and related devices will be ensured by their parent/child relationship. So, enabling wiphy device to suspend/resume asynchronously does not change any dependency. It can only take advantage

RE: [PATCH] net: phy: fix PHY_RUNNING in phy_state_machine

2015-08-17 Thread Shaohui Xie
-Original Message- From: Florian Fainelli [mailto:f.faine...@gmail.com] Sent: Saturday, August 15, 2015 1:02 AM To: shh@gmail.com; netdev@vger.kernel.org; da...@davemloft.net Cc: Xie Shaohui-B21989 Subject: Re: [PATCH] net: phy: fix PHY_RUNNING in phy_state_machine Le 08/13/15

Re: [PATCH v3] MIPS: Remove all the uses of custom gpio.h

2015-08-17 Thread Alexandre Courbot
On Tue, Aug 4, 2015 at 5:50 PM, Alban Bedel al...@free.fr wrote: Currently CONFIG_ARCH_HAVE_CUSTOM_GPIO_H is defined for all MIPS machines, and each machine type provides its own gpio.h. However only a handful really implement the GPIO API, most just forward everythings to gpiolib. The

RE: [PATCH] net: phy: fix PHY_RUNNING in phy_state_machine

2015-08-17 Thread Shaohui Xie
-Original Message- From: Florian Fainelli [mailto:f.faine...@gmail.com] Sent: Saturday, August 15, 2015 1:02 AM To: shh@gmail.com; netdev@vger.kernel.org; da...@davemloft.net Cc: Xie Shaohui-B21989 Subject: Re: [PATCH] net: phy: fix PHY_RUNNING in phy_state_machine Le 08/13/15

Re: [PATCH net-next v2] rocker: add debugfs support to dump internal tables

2015-08-17 Thread Scott Feldman
On Sun, Aug 16, 2015 at 11:36 PM, Jiri Pirko j...@resnulli.us wrote: Mon, Aug 17, 2015 at 05:32:06AM CEST, sfel...@gmail.com wrote: From: Scott Feldman sfel...@gmail.com tree /sys/kernel/debug/rocker /sys/kernel/debug/rocker └── 525400123501 ├── fdb_tbl ├── internal_vlan_tbl ├──

Re: [PATCH] net: phy: fix PHY_RUNNING in phy_state_machine

2015-08-17 Thread David Miller
From: shh@gmail.com Date: Fri, 14 Aug 2015 12:23:40 +0800 From: Shaohui Xie shaohui@freescale.com Currently, if phy state is PHY_RUNNING, we always register a CHANGE when phy works in polling or interrupt ignored, this will make the adjust_link being called even the phy link did Not

Re: [PATCH net-next] bnx2: Fix bandwidth allocation for some MF modes

2015-08-17 Thread David Miller
From: Yuval Mintz yuval.mi...@qlogic.com Date: Mon, 17 Aug 2015 19:08:39 + Please consider applying this one. Applied to net-next, thanks. Hi Dave, just noticed I've made a typo in the patch name :-( It's a bnx2x patch, not bnx2. Is it changable? Nope. -- To unsubscribe from this

Re: [PATCH net v2] ppp: fix device unregistration upon netns deletion

2015-08-17 Thread David Miller
From: Guillaume Nault g.na...@alphalink.fr Date: Fri, 14 Aug 2015 10:42:56 +0200 PPP devices may get automatically unregistered when their network namespace is getting removed. This happens if the ppp control plane daemon (e.g. pppd) exits while it is the last user of this namespace. This

  1   2   >