Re: [RFC net-next 0/3] Proposal for VRF-lite

2015-06-09 Thread Thomas Graf
On 06/08/15 at 11:35am, Shrijeet Mukherjee wrote: [...] model with some performance paths that need optimization. (Specifically the output route selector that Roopa, Robert, Thomas and EricB are currently discussing on the MPLS thread) Thanks for posting these patches just in time. This

Re: [RFC net-next 2/3] VRF driver and needed infrastructure

2015-06-09 Thread Nicolas Dichtel
Le 08/06/2015 20:35, Shrijeet Mukherjee a écrit : From: Shrijeet Mukherjee s...@cumulusnetworks.com [snip] --- /dev/null +++ b/drivers/net/vrf.c [snip] + +static struct rtnl_link_ops vrf_link_ops __read_mostly = { + .kind = DRV_NAME, + .priv_size = sizeof(struct

Re: [RFC PATCH] cdc_ncm: support moving the NDP part of the frame to the end of NCM package

2015-06-09 Thread Enrico Mioso
First of all - thank you for your patience and time reading this message, reviewing my code. On Mon, 8 Jun 2015, Oliver Neukum wrote: ==Date: Mon, 8 Jun 2015 12:53:23 ==From: Oliver Neukum oneu...@suse.com ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: netdev@vger.kernel.org ==Subject: Re: [RFC

Re: [PATCH] crush:Make the function crush_ln static

2015-06-09 Thread Ilya Dryomov
On Tue, Jun 9, 2015 at 1:51 AM, Nicholas Krause xerofo...@gmail.com wrote: This makes the function, crush_ln static now due to having only one caller in its own definition and declaration file of mapper.c Signed-off-by: Nicholas Krause xerofo...@gmail.com --- net/ceph/crush/mapper.c | 2 +-

Re: [RFC net-next 0/3] Proposal for VRF-lite

2015-06-09 Thread Nicolas Dichtel
Le 08/06/2015 20:35, Shrijeet Mukherjee a écrit : From: Shrijeet Mukherjee s...@cumulusnetworks.com In the context of internet scale routing a requirement that always comes up is the need to partition the available routing tables into disjoint routing planes. A specific use case is the

[PATCH net-next] bridge: make br_fdb_delete also check if the port matches

2015-06-09 Thread Nikolay Aleksandrov
Before this patch the user-specified bridge port was ignored when deleting an fdb entry and thus one could delete an entry that belonged to any port. Example (eth0 and eth1 are br0 ports): bridge fdb add 00:11:22:33:44:55 dev eth0 master bridge fdb del 00:11:22:33:44:55 dev eth1 master (succeeds)

Re: [RFC PATCH] cdc_ncm: support moving the NDP part of the frame to the end of NCM package

2015-06-09 Thread Oliver Neukum
On Tue, 2015-06-09 at 09:46 +0200, Enrico Mioso wrote: ==Not another parameter please. If the alternate frames are processed as ==well as the current frames, all is well and we can generally produces ==such frames. If not, we want a black list. I would agree on this point: and I was

Re: [PATCH v3 1/2] sctp: rcu-ify addr_waitq

2015-06-09 Thread Neil Horman
On Mon, Jun 08, 2015 at 05:37:05PM +0200, Hannes Frederic Sowa wrote: On Mo, 2015-06-08 at 11:19 -0400, Neil Horman wrote: On Mon, Jun 08, 2015 at 04:59:18PM +0200, Hannes Frederic Sowa wrote: On Mon, Jun 8, 2015, at 16:46, Hannes Frederic Sowa wrote: Hi Marcelo, a few hints on

[PATCH 6/7] batman-adv: Remove unused post-VLAN ethhdr in batadv_gw_dhcp_recipient_get

2015-06-09 Thread Antonio Quartulli
From: Sven Eckelmann s...@narfation.org Signed-off-by: Sven Eckelmann s...@narfation.org Signed-off-by: Marek Lindner mareklind...@neomailbox.ch Signed-off-by: Antonio Quartulli anto...@meshcoding.com --- net/batman-adv/gateway_client.c | 5 - 1 file changed, 5 deletions(-) diff --git

[PATCH 5/7] batman-adv: Clarify calculation precedence for '' and '?'

2015-06-09 Thread Antonio Quartulli
From: Sven Eckelmann s...@narfation.org Signed-off-by: Sven Eckelmann s...@narfation.org Signed-off-by: Marek Lindner mareklind...@neomailbox.ch Signed-off-by: Antonio Quartulli anto...@meshcoding.com --- net/batman-adv/bat_iv_ogm.c| 2 +- net/batman-adv/main.h | 2 +-

[PATCH 4/7] batman-adv: Add required includes to all files

2015-06-09 Thread Antonio Quartulli
From: Sven Eckelmann s...@narfation.org The header files could not be build indepdent from each other. This is happened because headers didn't include the files for things they've used. This was problematic because the success of a build depended on the knowledge about the right order of local

[PATCH 7/7] batman-adv: change the MAC of each VLAN upon ndo_set_mac_address

2015-06-09 Thread Antonio Quartulli
From: Antonio Quartulli anto...@open-mesh.com The MAC address of the soft-interface is used to initialise the non-purge TT entry of each existing VLAN. Therefore when the user invokes ndo_set_mac_address() all the non-purge TT entries have to be updated, not only the one belonging to the

[PATCH 1/7] batman-adv: Use common Jenkins Hash implementation

2015-06-09 Thread Antonio Quartulli
From: Sven Eckelmann s...@narfation.org An unoptimized version of the Jenkins one-at-a-time hash function is used and partially copied all over the code wherever an hashtable is used. Instead the optimized version shared between the whole kernel should be used to reduce code duplication and use

[PATCH 3/7] batman-adv: add bat_neigh_free API

2015-06-09 Thread Antonio Quartulli
From: Antonio Quartulli anto...@open-mesh.com This API has to be used to let any routing protocol free neighbor specific allocated resources Signed-off-by: Antonio Quartulli anto...@open-mesh.com Signed-off-by: Marek Lindner mareklind...@neomailbox.ch Signed-off-by: Antonio Quartulli

[PATCH 2/7] batman-adv: split name from variable for uint mesh attributes

2015-06-09 Thread Antonio Quartulli
From: Antonio Quartulli anto...@open-mesh.com Some mesh attributes are behind substructs in the batadv_priv object and for this reason the name cannot be used anymore to refer to them. This patch allows to specify the variable name where the attribute is stored inside batadv_priv instead of

pull request: batman-adv 20150609

2015-06-09 Thread Antonio Quartulli
Hello David, this is our last batch of patches intended for net-next. You have 4 patches from Sven Eckelmann, most notably: 1/7 changes our hash implementation to use the Jenkins one provided by the kernel; 4/7 reorganizes the way we include headers so that each .c file has all it requires

[PATCH net-next 1/3] cxgb4: Add a debugfs entry to dump CIM MA logic analyzer logs

2015-06-09 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 + drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 47 ++ drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 21 ++

[PATCH net-next 0/3] Add cim_ma_la, cim_pif_la and tx_rate debugfs entry

2015-06-09 Thread Hariprasad Shenai
Hi, This patch series adds the following. Add debugfs entry to dump CIM MA logic analyzer and CIM PIF logic analyzer logs. Also adds support to dump tx rate of the channels in the adapter This patch series has been created against net-next tree and includes patches on cxgb4 driver. We have

Re: [PATCH] ssb: fix handling of ssb_pmu_get_alp_clock()

2015-06-09 Thread Ralf Baechle
On Sun, Jun 07, 2015 at 09:02:23AM +0200, Michael Büsch wrote: Signed-off-by: Michael Buesch m...@bues.ch Can some MIPS people take this, please? Will do, as usual. Unfortunately this missed my last pull request so it's going to Linus by the end of the week. Ralf -- To unsubscribe from

Re: [PATCH v2] can: mcp251x: not correct register address

2015-06-09 Thread Marc Kleine-Budde
On 05/30/2015 11:42 AM, Tomas Krcka wrote: v2: fix of corrupted patch This patch corrects addresses of acceptance filters. These registers are not in use, but values should be correct. Tested with MCP2515 and am3352 and also checked datasheets for MCP2515 and MCP2510. Signed-off-by:

pull-request: can-next 2015-05-06

2015-06-09 Thread Marc Kleine-Budde
/linux-can-next-for-4.2-20150609 for you to fetch changes up to dd895d7f21b244e7fd4c7477697e274de7e44ecb: can: cangw: introduce optional uid to reference created routing jobs (2015-06-09 09:39:49 +0200) linux-can-next-for-4.2

[PATCH net-next 2/3] cxgb4: Add debugfs entry to dump CIM PIF logic analyzer contents

2015-06-09 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 3 ++ drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 44 ++ drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 34 +

[PATCH net-next 3/3] cxgb4: Add debugfs entry to dump channel rate

2015-06-09 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 + drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 34 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 46 ++

Re: [RFC net-next 0/3] Proposal for VRF-lite

2015-06-09 Thread Nicolas Dichtel
Le 09/06/2015 16:21, David Ahern a écrit : Hi Nicolas: On 6/9/15 2:58 AM, Nicolas Dichtel wrote: I'm not really in favor of the name 'vrf'. This term is very controversial and having a consensus of what is/contains a 'vrf' is quite impossible. There was already a lot of discussions about this

Re: [RFC PATCH] cdc_ncm: support moving the NDP part of the frame to the end of NCM package

2015-06-09 Thread Dan Williams
On Tue, 2015-06-09 at 09:46 +0200, Enrico Mioso wrote: First of all - thank you for your patience and time reading this message, reviewing my code. On Mon, 8 Jun 2015, Oliver Neukum wrote: ==Date: Mon, 8 Jun 2015 12:53:23 ==From: Oliver Neukum oneu...@suse.com ==To: Enrico Mioso

[PATCH net-next] net/ethtool: Add current supported tunable options

2015-06-09 Thread Hadar Hen Zion
Add strings array of the current supported tunable options. Signed-off-by: Hadar Hen Zion had...@mellanox.com Reviewed-by: Amir Vadai am...@mellanox.com --- include/uapi/linux/ethtool.h | 6 ++ net/core/ethtool.c | 12 2 files changed, 18 insertions(+) diff --git

Re: [PATCH net] bridge: fix multicast router rlist endless loop

2015-06-09 Thread Herbert Xu
On Tue, Jun 09, 2015 at 02:32:28AM -0700, Nikolay Aleksandrov wrote: From: Nikolay Aleksandrov ra...@blackwall.org Since the addition of sysfs multicast router support if one set multicast_router to 2 more than once, then the port would be added to the hlist every time and could end up

Re: [RFC net-next 0/3] Proposal for VRF-lite

2015-06-09 Thread David Ahern
Hi Nicolas: On 6/9/15 2:58 AM, Nicolas Dichtel wrote: I'm not really in favor of the name 'vrf'. This term is very controversial and having a consensus of what is/contains a 'vrf' is quite impossible. There was already a lot of discussions about this topic on quagga ml that show that everybody

[PATCH] tipc: disconnect socket directly after probe failure

2015-06-09 Thread erik.hugne
From: Erik Hugne erik.hu...@ericsson.com If the TIPC connection timer expires in a probing state, a self abort message is supposed to be generated and delivered to the local socket. This is currently broken, and the abort message is actually sent out to the peer node with invalid addressing

Re: [PATCH] NET: Add ezchip ethernet driver

2015-06-09 Thread Alexey Brodkin
Hi Noam, Tal, On Tue, 2015-06-09 at 15:44 +0300, Noam Camus wrote: From: Tal Zilcer t...@ezchip.com Simple LAN device without multicast support. Device performance is not high and may be used for debug or management purposes. Device supports interrupts for RX and TX end. Device does not

net: Missed commit aff09ce303f83bd370772349238482ae422a2341 in stable trees

2015-06-09 Thread Kirill Tkhai
Hi, it looks like the bellow commit is missed in stable kernel versions. In our local 2.6.32 tree without this commit we observed a bridge dropping big packets. The fix is in mainstream kernel now. Please, look if it's need for stable 3.10 kernel etc. commit

Re: [RFC net-next 0/3] Proposal for VRF-lite

2015-06-09 Thread Shrijeet Mukherjee
On Tue, Jun 9, 2015 at 7:55 AM, Nicolas Dichtel nicolas.dich...@6wind.com wrote: Le 09/06/2015 16:21, David Ahern a écrit : Hi Nicolas: On 6/9/15 2:58 AM, Nicolas Dichtel wrote: I'm not really in favor of the name 'vrf'. This term is very controversial and having a consensus of what

Re: net-next: Panic in switchdev_port_attr_set_work+0x50/0x60

2015-06-09 Thread Scott Feldman
On Mon, Jun 8, 2015 at 10:04 AM, Brenden Blanco bbla...@plumgrid.com wrote: Hi netdev! I am running a net-next kernel, compiled this morning, git hash of 6508060232ee78200a2258aefeeb148ce9ed1526. The distro is Arch linux latest. The issue is reproducible 100% of the time. I create a new

Re: [PATCH net] bridge: fix multicast router rlist endless loop

2015-06-09 Thread Nikolay Aleksandrov
On Tue, Jun 9, 2015 at 5:12 PM, Herbert Xu herb...@gondor.apana.org.au wrote: On Tue, Jun 09, 2015 at 02:32:28AM -0700, Nikolay Aleksandrov wrote: From: Nikolay Aleksandrov ra...@blackwall.org Since the addition of sysfs multicast router support if one set multicast_router to 2 more than

Re: [PATCH net v2] tcp: Force updating pcount after skb_pull() during mtu probing

2015-06-09 Thread Martin KaFai Lau
On Tue, Jun 09, 2015 at 10:06:25AM -0700, Eric Dumazet wrote: I've been working on this, but still can get the bug triggering in tcp_fragment(), no matter what (Neal patch , yours, mine...) Can you describe the test case that can reproduce it? -- To unsubscribe from this list: send the line

[PATCH net v2] bridge: fix multicast router rlist endless loop

2015-06-09 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov ra...@blackwall.org Since the addition of sysfs multicast router support if one set multicast_router to 2 more than once, then the port would be added to the hlist every time and could end up linking to itself and thus causing an endless loop for rlist walkers. So to

Re: [PATCH net v2] tcp: Force updating pcount after skb_pull() during mtu probing

2015-06-09 Thread Eric Dumazet
On Mon, 2015-06-08 at 11:11 -0700, Eric Dumazet wrote: On Mon, 2015-06-08 at 10:58 -0700, Martin KaFai Lau wrote: It seems the invariant does not hold at this point also. Should the invariant fix be something for net-next? or Would you like to post a patch for it? This patch definitely

Re: [PATCH net v2] tcp: Force updating pcount after skb_pull() during mtu probing

2015-06-09 Thread Eric Dumazet
On Tue, 2015-06-09 at 10:45 -0700, Martin KaFai Lau wrote: On Tue, Jun 09, 2015 at 10:06:25AM -0700, Eric Dumazet wrote: I've been working on this, but still can get the bug triggering in tcp_fragment(), no matter what (Neal patch , yours, mine...) Can you describe the test case that can

Weird DHCP related problems with net-next

2015-06-09 Thread Florian Fainelli
Hi, I am observing a strange problem on net-next (not observed with net, bisection in progress) where the initial DHCP configuration using busybox's udhcpc is able to configure the local interface address and DNS serer, but not the default gateway. Restarting udhcpc a second time does not exhibit

[PATCH] net, swap: Remove a warning and clarify why sk_mem_reclaim is required when deactivating swap

2015-06-09 Thread Jeff Layton
From: Mel Gorman mgor...@suse.de Jeff Layton reported the following; [ 74.232485] [ cut here ] [ 74.233354] WARNING: CPU: 2 PID: 754 at net/core/sock.c:364 sk_clear_memalloc+0x51/0x80() [ 74.234790] Modules linked in: cts rpcsec_gss_krb5 nfsv4 dns_resolver nfs

Re: [PATCH v3 1/2] sctp: rcu-ify addr_waitq

2015-06-09 Thread Marcelo Ricardo Leitner
On Tue, Jun 09, 2015 at 07:36:38AM -0400, Neil Horman wrote: On Mon, Jun 08, 2015 at 05:37:05PM +0200, Hannes Frederic Sowa wrote: On Mo, 2015-06-08 at 11:19 -0400, Neil Horman wrote: On Mon, Jun 08, 2015 at 04:59:18PM +0200, Hannes Frederic Sowa wrote: On Mon, Jun 8, 2015, at 16:46,

Re: Weird DHCP related problems with net-next

2015-06-09 Thread Andrew Lunn
On Tue, Jun 09, 2015 at 11:54:50AM -0700, Florian Fainelli wrote: Hi, I am observing a strange problem on net-next (not observed with net, bisection in progress) where the initial DHCP configuration using busybox's udhcpc is able to configure the local interface address and DNS serer, but

Re: [PATCH 4.1] cfg80211: wext: clear sinfo struct before calling driver

2015-06-09 Thread David Miller
From: Johannes Berg johan...@sipsolutions.net Date: Tue, 9 Jun 2015 21:35:44 +0200 From: Johannes Berg johannes.b...@intel.com Until recently, mac80211 overwrote all the statistics it could provide when getting called, but it now relies on the struct having been zeroed by the caller. This

[PATCH 4.1] cfg80211: wext: clear sinfo struct before calling driver

2015-06-09 Thread Johannes Berg
From: Johannes Berg johannes.b...@intel.com Until recently, mac80211 overwrote all the statistics it could provide when getting called, but it now relies on the struct having been zeroed by the caller. This was always the case in nl80211, but wext used a static struct which could even cause

Re: Weird DHCP related problems with net-next

2015-06-09 Thread Florian Fainelli
Hi Andrew, On 09/06/15 12:22, Andrew Lunn wrote: On Tue, Jun 09, 2015 at 11:54:50AM -0700, Florian Fainelli wrote: Hi, I am observing a strange problem on net-next (not observed with net, bisection in progress) where the initial DHCP configuration using busybox's udhcpc is able to configure

Re: [PATCH v2 net-next 2/2] tcp: add CDG congestion control

2015-06-09 Thread Kenneth Klette Jonassen
On Tue, Jun 9, 2015 at 7:44 AM, Yuchung Cheng ych...@google.com wrote: On Mon, Jun 8, 2015 at 10:43 AM, Kenneth Klette Jonassen kenne...@ifi.uio.no wrote: … +enum cdg_state { + CDG_UNKNOWN = 0, + CDG_FULL= 0, why duplicate states? We explicitly infer a full or non-full

Fw: [Bug 99671] New: glibc deadlock in __check_pf() presumed due to missing netlink response

2015-06-09 Thread Stephen Hemminger
Begin forwarded message: Date: Mon, 8 Jun 2015 21:20:23 + From: bugzilla-dae...@bugzilla.kernel.org bugzilla-dae...@bugzilla.kernel.org To: shemmin...@linux-foundation.org shemmin...@linux-foundation.org Subject: [Bug 99671] New: glibc deadlock in __check_pf() presumed due to missing

Fw: [Bug 99711] New: AX25 ROSE module fails to unload

2015-06-09 Thread Stephen Hemminger
Begin forwarded message: Date: Tue, 9 Jun 2015 11:58:56 + From: bugzilla-dae...@bugzilla.kernel.org bugzilla-dae...@bugzilla.kernel.org To: shemmin...@linux-foundation.org shemmin...@linux-foundation.org Subject: [Bug 99711] New: AX25 ROSE module fails to unload

Re: [PATCH net-next V10 4/4] 8021AD: Flow key parsing and netlink attributes.

2015-06-09 Thread Thomas F Herbert
On 6/8/15 11:45 PM, Pravin Shelar wrote: On Tue, Jun 2, 2015 at 10:50 AM, Thomas F Herbert thomasfherb...@gmail.com wrote: Add support for 802.1ad to netlink parsing and flow conversation. Uses double nested encap attributes to represent double tagged vlan. This patch needs to be merged

Re: [RFC 6/9] net: dsa: mv88e6352: allow egress of unknown multicast

2015-06-09 Thread Vivien Didelot
Hi Guenter, On Jun 2, 2015, at 9:52 PM, Vivien Didelot vivien.dide...@savoirfairelinux.com wrote: On Jun 2, 2015, at 10:20 AM, Guenter Roeck li...@roeck-us.net wrote: On 06/01/2015 06:27 PM, Vivien Didelot wrote: This patch disables egress of unknown unicast destination addresses. Hi

[PATCH 1/1] net: fs_enet: Disable NETIF_F_SG feature for Freescale MPC5121

2015-06-09 Thread Alexander Popov
Commit 4fc9b87bae25 (net: fs_enet: Implement NETIF_F_SG feature) brings a trouble to Freescale MPC512x: a kernel oops happens during sending non-linear sk_buff with .data not aligned by 4. Log quotation: Unable to handle kernel paging request for data at address 0xd067c000 Faulting instruction

Re: [PATCH 1/1] net: fs_enet: Disable NETIF_F_SG feature for Freescale MPC5121

2015-06-09 Thread David Miller
From: Alexander Popov alex.po...@linux.com Date: Wed, 10 Jun 2015 02:57:42 +0300 skb_copy_from_linear_data() which doesn't work well for non-linear sk_buff: The correct fix is to use an SKB copy routine which can handle non-linear data. -- To unsubscribe from this list: send the line

Re: [PATCH v2 net-next 2/2] tcp: add CDG congestion control

2015-06-09 Thread Yuchung Cheng
On Tue, Jun 9, 2015 at 3:41 PM, Kenneth Klette Jonassen kenne...@ifi.uio.no wrote: On Tue, Jun 9, 2015 at 7:44 AM, Yuchung Cheng ych...@google.com wrote: On Mon, Jun 8, 2015 at 10:43 AM, Kenneth Klette Jonassen kenne...@ifi.uio.no wrote: … +enum cdg_state { + CDG_UNKNOWN = 0, +

Fw: [Bug 99461] New: recvfrom SYSCALL infinite loop/deadlock chewing 100% CPU [was __libc_recv (fd=fd@entry=300, buf=buf@entry=0x7f6042880600, n=n@entry=5, flags=-1, flags@entry=258) at ../sysdeps/uni

2015-06-09 Thread Stephen Hemminger
Begin forwarded message: Date: Fri, 5 Jun 2015 12:39:38 + From: bugzilla-dae...@bugzilla.kernel.org bugzilla-dae...@bugzilla.kernel.org To: shemmin...@linux-foundation.org shemmin...@linux-foundation.org Subject: [Bug 99461] New: recvfrom SYSCALL infinite loop/deadlock chewing 100% CPU

Re: Weird DHCP related problems with net-next

2015-06-09 Thread Florian Fainelli
On 09/06/15 13:31, Florian Fainelli wrote: Hi Andrew, On 09/06/15 12:22, Andrew Lunn wrote: On Tue, Jun 09, 2015 at 11:54:50AM -0700, Florian Fainelli wrote: Hi, I am observing a strange problem on net-next (not observed with net, bisection in progress) where the initial DHCP

Re: Weird DHCP related problems with net-next

2015-06-09 Thread Andrew Lunn
On Tue, Jun 09, 2015 at 01:31:31PM -0700, Florian Fainelli wrote: Hi Andrew, On 09/06/15 12:22, Andrew Lunn wrote: On Tue, Jun 09, 2015 at 11:54:50AM -0700, Florian Fainelli wrote: Hi, I am observing a strange problem on net-next (not observed with net, bisection in progress) where

[PATCH 1/1] bna: remove obsolete use of EXTRA_CFLAGS

2015-06-09 Thread Jiri Slaby
EXTRA_CFLAGS should be used on the command line only. Since EXTRA_CFLAGS here add only a non-existant path to compiler include paths (by -I), remove EXTRA_CFLAGS completely. Signed-off-by: Jiri Slaby jsl...@suse.cz --- drivers/net/ethernet/brocade/bna/Makefile | 2 -- 1 file changed, 2

Re: [PATCH] net/bonding: fix propagation of user-specified bond MAC

2015-06-09 Thread Nikolay Aleksandrov
On Mon, Jun 8, 2015 at 9:08 PM, Jarod Wilson ja...@redhat.com wrote: On 6/6/2015 8:20 PM, Jarod Wilson wrote: On 6/6/2015 9:29 AM, Nikolay Aleksandrov wrote: On Sat, Jun 6, 2015 at 12:24 AM, Jarod Wilson ja...@redhat.com wrote: Its possible for users to specify their own MAC address for a

Re: [RFC net-next 0/3] Proposal for VRF-lite

2015-06-09 Thread Nicolas Dichtel
Le 09/06/2015 12:15, Thomas Graf a écrit : On 06/08/15 at 11:35am, Shrijeet Mukherjee wrote: [...] model with some performance paths that need optimization. (Specifically the output route selector that Roopa, Robert, Thomas and EricB are currently discussing on the MPLS thread) Thanks for

Re: PROBLEM: there exists a wrong return value of function myri10ge_probe()

2015-06-09 Thread Hyong-Youb Kim
On Tue, Jun 09, 2015 at 07:08:34PM +0800, anna wrote: [...] mgp-sram_size satisfy the condition in line 4062, the value of status is 0. So the function myri10ge_probe() will return 0 to its caller functions when it runs error, leading to a wrong return value of function myri10ge_probe().

Re: [RFC net-next 2/3] VRF driver and needed infrastructure

2015-06-09 Thread Nikolay Aleksandrov
On Mon, Jun 8, 2015 at 8:35 PM, Shrijeet Mukherjee s...@cumulusnetworks.com wrote: From: Shrijeet Mukherjee s...@cumulusnetworks.com This driver borrows heavily from IPvlan and teaming drivers. Routing domains (VRF-lite) are created by instantiating a device and enslaving all routed

Re: [RFC net-next 0/3] Proposal for VRF-lite

2015-06-09 Thread Hannes Frederic Sowa
On Tue, Jun 9, 2015, at 14:30, Nicolas Dichtel wrote: Le 09/06/2015 12:15, Thomas Graf a écrit : On 06/08/15 at 11:35am, Shrijeet Mukherjee wrote: [...] model with some performance paths that need optimization. (Specifically the output route selector that Roopa, Robert, Thomas and EricB

Re: Problem with patch make nlmsg_end() and genlmsg_end() void

2015-06-09 Thread Eric Dumazet
On Tue, 2015-06-09 at 14:34 +0100, David Woodhouse wrote: On Wed, 2015-04-08 at 15:08 +0200, Johannes Berg wrote: On Wed, 2015-04-08 at 13:03 +0100, David Woodhouse wrote: I'm not sure if this is entirely fixed. In Fedora 22 (4.0.0-rc5-git4) I'm occasionally seeing glibc deadlock in

[net-next 10/18] ixgbe: fix issue with sfp events with new X550 devices

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com Add checks for systems that don't have SFP's to avoid incorrectly acting on interrupts that are falsely interpreted as SFP events. We do this by updating the ixgbe_is_sfp to be aware of the new X550 devices. This also includes a modified check

[net-next 14/18] ixgbe: Add support for another X550 device.

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com This patch adds support for another 10baseT X550 device. Signed-off-by: Don Skidmore donald.c.skidm...@intel.com Signed-off-by: Jeff Kirsher jeffrey.t.kirs...@intel.com --- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 1 +

[net-next 11/18] ixgbe: fix bug in not clearing counters for X550 devices

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com This check was missed in when this new MAC type was added. Since these counts can be incremented for X550 we need to clear them. Signed-off-by: Don Skidmore donald.c.skidm...@intel.com Tested-by: Krishneil Singh krishneil.k.si...@intel.com

[net-next 01/18] ixgbe: add array of MAC type dependent values

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com Some of the register addresses and format where unfortunately changed between MAC types. To get around this we add a const u32 *mvals pointer to the ixgbe_hw struct to point to an array of mac-type-dependent values. These can include register

[net-next 13/18] ixgbe: fix X550 PHY function pointers

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com A subset of the X550 function pointers didn't have default methods. This didn't cause any issue with previous X550 devices as they were all redefined. However future devices will need these default values. Signed-off-by: Don Skidmore

[net-next 02/18] ixgbe: add support for WoL and autoneg FC for some X550 devices

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com These Device ID could support both WoL and autoneg flow control. In the case of WoL this is indicated by the eeprom. This patch enables these devices this support. Signed-off-by: Don Skidmore donald.c.skidm...@intel.com Tested-by: Krishneil Singh

[net-next 00/18][pull request] Intel Wired LAN Driver Updates 2015-06-09

2015-06-09 Thread Jeff Kirsher
This series contains updates to ixgbe only. The series adds additional support for x550 support, such as WoL and auto-negotiation of flow control. Adds new PHY support (external PHY) for x550, as well as the new methods/functions needed to support the new PHY's. Fixed a bug found in code

Re: Fw: [Bug 99671] New: glibc deadlock in __check_pf() presumed due to missing netlink response

2015-06-09 Thread Eric Dumazet
On Tue, 2015-06-09 at 17:04 -0700, Stephen Hemminger wrote: Begin forwarded message: Date: Mon, 8 Jun 2015 21:20:23 + From: bugzilla-dae...@bugzilla.kernel.org bugzilla-dae...@bugzilla.kernel.org To: shemmin...@linux-foundation.org shemmin...@linux-foundation.org Subject: [Bug

[net-next 17/18] ixgbe: fix X550 default set_phy_power method

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com Even though X550 may later clear this value for certain devices set it initially to support copper. Signed-off-by: Don Skidmore donald.c.skidm...@intel.com Tested-by: Krishneil Singh krishneil.k.si...@intel.com Signed-off-by: Jeff Kirsher

[net-next 18/18] ixgbe: Remember to write ixfi changes after modifying

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com This patch corrects a bug in ixgbe_setup_ixfi_x550em where we were reading and modifying IXGBE_KRM_LINK_CTRL_1 but forgot to write the results back. Signed-off-by: Don Skidmore donald.c.skidm...@intel.com Tested-by: Krishneil Singh

[net-next 06/18] ixgbe: add X550 support for external PHY and forced 1G/10G support

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com This patch adds x550 external PHY interrupt and forced 1G/10G support. This included enabling and handling LSC and thermal sensor interrupt. ixgbe_handle_lasi() has been added for handling the interrupts received over SDP0 from the external 10baseT

[net-next 04/18] ixgbe: Add a PHY power state method

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com This new method will control the PHY power state. You pass in the state you wish to change to (ether on or off). For cases where this method is not used the current PHY power state behavior is maintained. Signed-off-by: Don Skidmore

[net-next 03/18] ixgbe: add define for X557 PHY ID

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com Add a define for the new PHY identification as well as it's mapping to the correct PHY type. Also allow ethtool to identify this type as well. Signed-off-by: Don Skidmore donald.c.skidm...@intel.com Tested-by: Krishneil Singh

[net-next 09/18] ixgbe: add support for interrupts from X550 external PHY

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com This patch adds support for receiving interrupts from a external copper PHY for the X550 part. This includes enabling, detection as well as re-enablement. Signed-off-by: Don Skidmore donald.c.skidm...@intel.com Tested-by: Krishneil Singh

[net-next 08/18] ixgbe: Add const string for overheat message

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com The over heat message is displayed for multiple reasons but the text is cut-n-pasted for each of these cases. This patch pulls the text from the same location. I noticed this as I am about to add another case. Signed-off-by: Don Skidmore

[net-next 15/18] ixgbe: add link check for X550 copper

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com This patch adds ixgbe_check_link_t_X550em for checking copper PHY link. We check that both the MAC and external PHY have link. This is to avoid a false link up between the internal and external PHY when the external PHY doesn't have link.

[net-next 16/18] ixgbe: Set lan_id before using I2C

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com We need to call the set_lan_id before accessing I2C and this wasn't being done so this patch corrects that. Likewise we do the same for QSFP just to be consistent. In the X550 case this is even more important as with out it the mux is not

[net-next 07/18] ixgbe: Add reset for X550 device

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com This patch adds a PHY reset function ixgbe_reset_phy_t_X550em. Which allows devices that have LASI support in enable their interrupt. Signed-off-by: Don Skidmore donald.c.skidm...@intel.com Tested-by: Krishneil Singh krishneil.k.si...@intel.com

[net-next 05/18] ixgbe: Restore ESDP settings after MAC reset

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com The I2C mux control relies on the SDP setting in the ESDP register so it is necessary to restore the value after a MAC reset. Combine all this functionality in to a support function. Signed-off-by: Don Skidmore donald.c.skidm...@intel.com

[net-next 12/18] ixgbe: fix X550 devices init flow

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore donald.c.skidm...@intel.com Reviewing the X550 copper init flow with the Si team resulted in a new simplified flow. We no longer wait for the PHY FW initialization complete bit to be set as this bit is only set once by the PHY at power on and then cleared on the first read. So

Re: [RFC net-next 2/3] VRF driver and needed infrastructure

2015-06-09 Thread Shrijeet Mukherjee
On Tue, Jun 9, 2015 at 5:35 AM, Nikolay Aleksandrov niko...@cumulusnetworks.com wrote: On Mon, Jun 8, 2015 at 8:35 PM, Shrijeet Mukherjee s...@cumulusnetworks.com wrote: vrf_kill_one_slave() calls netdev_rx_handler_unregister() which does synchronize_rcu() and here you're running with the

Re: [PATCH net v2] bridge: fix multicast router rlist endless loop

2015-06-09 Thread Herbert Xu
On Tue, Jun 09, 2015 at 10:23:57AM -0700, Nikolay Aleksandrov wrote: From: Nikolay Aleksandrov ra...@blackwall.org Since the addition of sysfs multicast router support if one set multicast_router to 2 more than once, then the port would be added to the hlist every time and could end up

Re: [PATCH RFC] net: phy: Introduced the PHY_AN_PENDING state

2015-06-09 Thread Florian Fainelli
Le 06/09/15 21:36, Keng Soon Cheah a écrit : The PHY_AN_PENDING state is put as a gate to enter the PHY_AN state where it will wait for any uncomplete auto-negotiation session to finish before starting a new one. This extra state could be used to workaround some auto-negotation issues from

[PATCH] atm: idt77105: Use setup_timer

2015-06-09 Thread Vaishali Thakkar
Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @change@ expression e1, e2, a; @@ -init_timer(e1); +setup_timer(e1, a, 0UL); ... when != a

[PATCH 3/3] csiostor:Adds debugfs support.

2015-06-09 Thread Praveen Madhavan
This patch adds debugfs support to dump adapter log, adapter queues, and fcoe DDP stats. Signed-off-by: Praveen Madhavan prave...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/t4_regs.h |1 + drivers/scsi/csiostor/Makefile |2 +- drivers/scsi/csiostor/csio_debugfs.c

[PATCH 1/3] csiostor:Add devlog mailbox support.

2015-06-09 Thread Praveen Madhavan
This patch adds devlog mailbox support required for debugfs. Signed-off-by: Praveen Madhavan prave...@chelsio.com --- drivers/scsi/csiostor/csio_hw.c | 72 +++-- drivers/scsi/csiostor/csio_hw.h | 12 +++ drivers/scsi/csiostor/csio_mb.c | 60

[PATCH 2/3] csiostor:Cleanup debugfs.

2015-06-09 Thread Praveen Madhavan
This patch cleanup existing debugfs. Debugfs support is moved into to new file in next patch of this series. Signed-off-by: Praveen Madhavan prave...@chelsio.com --- drivers/scsi/csiostor/csio_init.c | 132 -- drivers/scsi/csiostor/csio_init.h | 4 ++ 2

[PATCH 0/3] csiostor:Debugfs support update.

2015-06-09 Thread Praveen Madhavan
This patch series adds debugfs functionality to dump adapter log, adapter queues and fcoe DDP stats. This patch has been created against net-next. Praveen Madhavan (3): csiostor:Add devlog mailbox support. csiostor:Cleanup debugfs. csiostor:Adds debugfs support.

[PATCH] NET: Add ezchip ethernet driver

2015-06-09 Thread Noam Camus
From: Tal Zilcer t...@ezchip.com Simple LAN device without multicast support. Device performance is not high and may be used for debug or management purposes. Device supports interrupts for RX and TX end. Device does not support NAPI and also does not support DMA. It is used in EZchip NPS

Re: Problem with patch make nlmsg_end() and genlmsg_end() void

2015-06-09 Thread David Woodhouse
On Wed, 2015-04-08 at 15:08 +0200, Johannes Berg wrote: On Wed, 2015-04-08 at 13:03 +0100, David Woodhouse wrote: I'm not sure if this is entirely fixed. In Fedora 22 (4.0.0-rc5-git4) I'm occasionally seeing glibc deadlock in __check_pf() on a netlink recvmsg(), here:

Re: pull request: batman-adv 20150609

2015-06-09 Thread David Miller
From: Antonio Quartulli anto...@meshcoding.com Date: Tue, 9 Jun 2015 12:50:13 +0200 this is our last batch of patches intended for net-next. You have 4 patches from Sven Eckelmann, most notably: 1/7 changes our hash implementation to use the Jenkins one provided by the kernel; 4/7

[PATCH RFC] net: phy: Introduced the PHY_AN_PENDING state

2015-06-09 Thread Keng Soon Cheah
The PHY_AN_PENDING state is put as a gate to enter the PHY_AN state where it will wait for any uncomplete auto-negotiation session to finish before starting a new one. This extra state could be used to workaround some auto-negotation issues from certain vendors. an_pending_timeout module

[PATCH iproute2] ss: Correct state 'listen' to 'listening' in docs and command help

2015-06-09 Thread Brian Dyson
Minor change to correct states in ss command documentation and command line help. The correct state term is 'listening' not 'listen' (see definition of sstate_namel in misc/ss.c). Signed-off-by: Brian Dyson brian.dy...@cox.net --- doc/ss.sgml | 4 ++-- man/man8/ss.8 | 4 ++-- misc/ss.c | 4

Re: [PATCH v3] ipv6: Fix protocol resubmission

2015-06-09 Thread Hajime Tazaki
Hello Josh, Dave, my mobile ipv6 test on libos failed with this commit. This commit makes a destination option header handling (i.e., ipprot-handler == ipv6_destopt_rcv) failed since ipv6_destopt_rcv() seems to return a positive value to indicate to goto resubmission label. I will look for

Re: [PATCH v3] ipv6: Fix protocol resubmission

2015-06-09 Thread YOSHIFUJI Hideaki
Hi, Hajime Tazaki wrote: Hello Josh, Dave, my mobile ipv6 test on libos failed with this commit. This commit makes a destination option header handling (i.e., ipprot-handler == ipv6_destopt_rcv) failed since ipv6_destopt_rcv() seems to return a positive value to indicate to goto