[PATCH iproute2 3/3 v2] add support to print 'linkdown' nexthop flag

2015-06-09 Thread Andy Gospodarek
Signed-off-by: Andy Gospodaerk Signed-off-by: Dinesh Dutt --- ip/iproute.c | 4 1 file changed, 4 insertions(+) diff --git a/ip/iproute.c b/ip/iproute.c index 3795baf..3369c49 100644 --- a/ip/iproute.c +++ b/ip/iproute.c @@ -451,6 +451,8 @@ int print_route(const struct sockaddr_nl *who, s

[PATCH net-next 1/3 v2] net: track link-status of ipv4 nexthops

2015-06-09 Thread Andy Gospodarek
Add a fib flag called RTNH_F_LINKDOWN to any ipv4 nexthops that are reachable via an interface where carrier is off. No action is taken, but additional flags are passed to userspace to indicate carrier status. This also includes a cleanup to fib_disable_ip to more clearly indicate what event made

[PATCH net-next 2/3 v2] net: ipv4 sysctl option to ignore routes when nexthop link is down

2015-06-09 Thread Andy Gospodarek
This feature is only enabled with the new per-interface or ipv4 global sysctls called 'ignore_routes_with_linkdown'. net.ipv4.conf.all.ignore_routes_with_linkdown = 0 net.ipv4.conf.default.ignore_routes_with_linkdown = 0 net.ipv4.conf.lo.ignore_routes_with_linkdown = 0 ... When the above sysctls

[PATCH net-next 0/3 v2] changes to make ipv4 routing table aware of next-hop link status

2015-06-09 Thread Andy Gospodarek
This series adds the ability to have the Linux kernel track whether or not a particular route should be used based on the link-status of the interface associated with the next-hop. Before this patch any link-failure on an interface that was serving as a gateway for some systems could result in tho

RE: [RFC,v3 02/10] dpaa_eth: add support for DPAA Ethernet

2015-06-09 Thread Jianhua Xie
> -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+jianhua.xie=freescale@lists.ozlabs.org] On Behalf Of Madalin > Bucur > Sent: Wednesday, April 29, 2015 10:57 PM > To: netdev@vger.kernel.org; linuxppc-...@lists.ozlabs.org > Cc: linux-ker...@vger.kernel.org; Buc

[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

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

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 g

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

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 mor

[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 --- doc/ss.sgml | 4 ++-- man/man8/ss.8 | 4 ++-- misc/ss.c | 4 ++-- 3 files chang

Re: pull request: batman-adv 20150609

2015-06-09 Thread David Miller
From: Antonio Quartulli 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 reorganizes the way we inc

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

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 wrote: > On Mon, Jun 8, 2015 at 8:35 PM, Shrijeet Mukherjee > wrote: > > vrf_kill_one_slave() calls netdev_rx_handler_unregister() which does > synchronize_rcu() and > here you're running with the queue spinlock held and softirqs disabled. >

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

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore 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 controlled properly. Signed-off-by:

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

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore 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 Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 17 +

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

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore 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 Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/ixgbe/ixgb

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

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore 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 Tested-by: Krishneil Singh Signed-o

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

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore 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. Signed-off-by: Don Skidmore Tested-

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

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore Even though X550 may later clear this value for certain devices set it initially to support copper. Signed-off-by: Don Skidmore Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 4 ++-- 1 file changed, 2 insertions(+

[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 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 PHY. ixgbe_enable_lasi_ext_t_

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

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore 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 Tested-by: Krishneil Singh Signed-off-by

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

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore 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 Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/ixgbe/ixgbe_eth

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

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore 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 Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/ixg

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

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore 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 Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher --- dr

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

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore 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 only the first instance of

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

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore 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 offsets, masks, whatever can be in

[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 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 Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/

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

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore 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 generating the EICR mask to be mo

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

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore This patch adds support for another 10baseT X550 device. Signed-off-by: Don Skidmore Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 1 + drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c | 1 + drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 1 +

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

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore 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 Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 2 +-

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

2015-06-09 Thread Jeff Kirsher
From: Don Skidmore 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 Tested-by: Krishneil Singh Signed-off-by

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

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 dead

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" > > To: "shemmin...@linux-foundation.org" > Subject: [Bug 99671] New: glibc deadlock in __check_pf() presumed due to

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

2015-06-09 Thread David Miller
From: Alexander Popov 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 "unsubscribe netdev" in the b

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 D

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 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 with earlier patch since it

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" To: "shemmin...@linux-foundation.org" Subject: [Bug 99461] New: recvfrom SYSCALL infinite loop/deadlock chewing 100% CPU [was __libc_recv (fd=fd@entry=300, buf=buf@entry=0x7f6042880600,

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" To: "shemmin...@linux-foundation.org" Subject: [Bug 99671] New: glibc deadlock in __check_pf() presumed due to missing netlink response https://bugzilla.kernel.org/show_bug.cgi?id=9967

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" To: "shemmin...@linux-foundation.org" Subject: [Bug 99711] New: AX25 ROSE module fails to unload https://bugzilla.kernel.org/show_bug.cgi?id=99711 Bug ID: 99711

[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 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 wrote: > On Tue, Jun 9, 2015 at 7:44 AM, Yuchung Cheng wrote: >> On Mon, Jun 8, 2015 at 10:43 AM, Kenneth Klette Jonassen >> wrote: > … > >>> +enum cdg_state { >>> + CDG_UNKNOWN = 0, >>> + CDG_FULL= 0, >> why duplicate state

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

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 wrote: > On Mon, Jun 8, 2015 at 10:43 AM, Kenneth Klette Jonassen > wrote: … >> +enum cdg_state { >> + CDG_UNKNOWN = 0, >> + CDG_FULL= 0, > why duplicate states? We explicitly infer a full or non-full queue in tcp_cdg_grad(). The un

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 p

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

2015-06-09 Thread David Miller
From: Johannes Berg Date: Tue, 9 Jun 2015 21:35:44 +0200 > From: Johannes Berg > > 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 u

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

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

2015-06-09 Thread Johannes Berg
From: Johannes Berg 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 values from one device leak t

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 1

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,

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 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 fscache xfs libc

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 ca

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

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

2015-06-09 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov 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 reproduce just do: ec

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 d

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 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 is/contain

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 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 Libvirt VM with som

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 wrote: > On Tue, Jun 09, 2015 at 02:32:28AM -0700, Nikolay Aleksandrov wrote: >> From: Nikolay Aleksandrov >> >> 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 th

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 aff09ce303f83bd370772349238482ae422a2

[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 Reviewed-by: Amir Vadai --- include/uapi/linux/ethtool.h | 6 ++ net/core/ethtool.c | 12 2 files changed, 18 insertions(+) diff --git a/include/uapi/linux/ethtool.h b/include/

[PATCH] tipc: disconnect socket directly after probe failure

2015-06-09 Thread erik.hugne
From: Erik Hugne 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 information. This will cause

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

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 > ==To: Enrico Mioso > ==Cc: netd

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 t

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 h

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

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: > > https://s

[PATCH] NET: Add ezchip ethernet driver

2015-06-09 Thread Noam Camus
From: Tal Zilcer 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 devices. Signed-off-by

[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 --- drivers/net/ethernet/chelsio/cxgb4/t4_regs.h |1 + drivers/scsi/csiostor/Makefile |2 +- drivers/scsi/csiostor/csio_debugfs.c | 1100

[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 --- 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 --- drivers/scsi/csiostor/csio_init.c | 132 -- drivers/scsi/csiostor/csio_init.h | 4 ++ 2 files changed, 4 insertio

[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. drivers/net/ethernet/chel

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 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 wrote: Its possible for users to specify their own MAC address for a bonded lin

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 a

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 wrote: > From: Shrijeet Mukherjee > > This driver borrows heavily from IPvlan and teaming drivers. > > Routing domains (VRF-lite) are created by instantiating a device > and enslaving all routed interfaces that participate in the domain. > As par

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 post

[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 --- drivers/net/ethernet/brocade/bna/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --gi

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: [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, > > > > > > >

[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 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 non-tagged network. Signe

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

2015-06-09 Thread Antonio Quartulli
From: Sven Eckelmann 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 better optimized cod

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

2015-06-09 Thread Antonio Quartulli
From: Antonio Quartulli This API has to be used to let any routing protocol free neighbor specific allocated resources Signed-off-by: Antonio Quartulli Signed-off-by: Marek Lindner Signed-off-by: Antonio Quartulli --- net/batman-adv/originator.c | 6 ++ net/batman-adv/types.h | 4 ++

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

2015-06-09 Thread Antonio Quartulli
From: Antonio Quartulli 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 using the name Signed-off

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

2015-06-09 Thread Antonio Quartulli
From: Sven Eckelmann 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 includes. Also sourc

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

2015-06-09 Thread Antonio Quartulli
From: Sven Eckelmann Signed-off-by: Sven Eckelmann Signed-off-by: Marek Lindner Signed-off-by: Antonio Quartulli --- net/batman-adv/bat_iv_ogm.c| 2 +- net/batman-adv/main.h | 2 +- net/batman-adv/translation-table.c | 42 +++--- 3 files

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 withou

[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 Signed-off-by: Sven Eckelmann Signed-off-by: Marek Lindner Signed-off-by: Antonio Quartulli --- net/batman-adv/gateway_client.c | 5 - 1 file changed, 5 deletions(-) diff --git a/net/batman-adv/gateway_client.c b/net/batman-adv/gateway_client.c index 14f0a22..bb01586

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 exp

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

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

2015-06-09 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov 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 reproduce just do: ec

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 [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 net_vrf), + .policy

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 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 multi-tenancy problem where each

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 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 > --- > net/ceph/crush/mapper.c | 2 +- > 1 file changed, 1 insertion(

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 ==To: Enrico Mioso ==Cc: netdev@vger.kernel.org ==Subject: Re: [RFC PATCH] cdc_ncm: support moving the N

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 --- 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 + drivers/net/ethernet/chelsio/cxgb4/t4_hw.h

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

  1   2   >