[PATCH net-next 1/3] ipv4: Lock-less per-packet multipath

2015-06-17 Thread Peter Nørlund
The current multipath attempted to be quasi random, but in most cases it behaved just like a round robin balancing. This patch refactors the algorithm to be exactly that and in doing so, avoids the spin lock. The new design paves the way for hash-based multipath, replacing the modulo with

[PATCH net-next 0/3] ipv4: Hash-based multipath routing

2015-06-17 Thread Peter Nørlund
This patch series enhances the IPv4 multipath code, adding support for hash-based multipath. The multipath algorithm is a per-route attribute (RTA_MP_ALGO) with some degree of binary compatibility with the old implementation (2.6.12 - 2.6.22), but without source level compatibility since

[PATCH net-next 3/3] ipv4: ICMP packet inspection for multipath

2015-06-17 Thread Peter Nørlund
ICMP packets are inspected to let them route together with the flow they belong to, allowing anycast environments to work with ECMP. Signed-off-by: Peter Nørlund p...@ordbogen.com --- net/ipv4/icmp.c | 27 ++- net/ipv4/route.c | 80

[PATCH net-next 2/3] ipv4: L3 and L4 hash-based multipath routing

2015-06-17 Thread Peter Nørlund
This patch adds L3 and L4 hash-based multipath routing, selectable on a per-route basis with the reintroduced RTA_MP_ALGO attribute. The default is now RT_MP_ALG_L3_HASH. Signed-off-by: Peter Nørlund p...@ordbogen.com --- include/net/ip_fib.h | 4 ++- include/net/route.h|

Re: [PATCH net-next 00/15] Simplify netfilter and network namespaces

2015-06-17 Thread Julian Anastasov
Hello, On Sun, 14 Jun 2015, Eric W. Biederman wrote: This patshset roots out all of the very weird network namespace computation logic (except for the code in ipvs) and fixes it. I really don't like how the code has been essentially guessing which network namespace to use.

DSA: Exposing CPU port [Was: Re: [PATCH 3/3] net: dsa: Allow configuration of CPU DSA port speeds/duplex]

2015-06-17 Thread Florian Fainelli
2015-06-17 11:09 GMT-07:00 Vivien Didelot vivien.dide...@savoirfairelinux.com: Hi Andrew, All, On 12/06/15 10:18, Andrew Lunn wrote: By default, DSA and CPU ports are configured to the maximum speed the switch supports. However there can be use cases where the peer device port is slower.

Re: macb napi strange behavior

2015-06-17 Thread Jaeden Amero
On 06/17/2015 11:09 AM, Nicolae Rosia wrote: I'm trying to determine why I have a huge number of IRQs for only a macb interface and the other one works just fine (low IRQ activity). I have activated IP forward and I'm just forwarding packets from eth0 to eth1. The platform is Zynq7, Linux

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

2015-06-17 Thread Andy Gospodarek
On Wed, Jun 17, 2015 at 06:05:32PM +0200, Nicolas Dichtel wrote: Le 15/06/2015 18:33, Andy Gospodarek a écrit : 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.

[PATCH net v2] packet: avoid out of bounds read in round robin fanout

2015-06-17 Thread Willem de Bruijn
From: Willem de Bruijn will...@google.com PACKET_FANOUT_LB computes f-rr_cur such that it is modulo f-num_members. It returns the old value unconditionally, but f-num_members may have changed since the last store. Ensure that the return value is always num. When modifying the logic, simplify it

Re: [RFC PATCH 0/2] sctp: add new getsockopt option SCTP_SOCKOPT_PEELOFF_KERNEL

2015-06-17 Thread Neil Horman
On Wed, Jun 17, 2015 at 10:40:26AM -0300, Marcelo Ricardo Leitner wrote: On 17-06-2015 10:16, Neil Horman wrote: On Wed, Jun 17, 2015 at 09:40:32AM -0300, Marcelo Ricardo Leitner wrote: On 17-06-2015 09:20, Neil Horman wrote: On Wed, Jun 17, 2015 at 08:38:10AM -0300, Marcelo Ricardo Leitner

Re: [PATCH] xilinx:Remove unused variable num_frag in the function axienet_start_xmit

2015-06-17 Thread Sören Brinkmann
On Wed, 2015-06-17 at 12:21PM -0400, Nicholas Krause wrote: On June 17, 2015 12:07:30 PM EDT, Sören Brinkmann soren.brinkm...@xilinx.com wrote: On Wed, 2015-06-17 at 11:52AM -0400, Nicholas Krause wrote: This removes the unused variable num_frag and the setting of it to the number of

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

2015-06-17 Thread Nicolas Dichtel
Le 17/06/2015 21:10, Andy Gospodarek a écrit : On Wed, Jun 17, 2015 at 06:05:32PM +0200, Nicolas Dichtel wrote: Le 15/06/2015 18:33, Andy Gospodarek a écrit : 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

Re: [PATCH 01/12] fsl/fman: Add the FMan FLIB headers

2015-06-17 Thread Scott Wood
On Wed, 2015-06-17 at 09:59 -0500, Liberman Igal-B31950 wrote: Regards, Igal Liberman. -Original Message- From: Wood Scott-B07421 Sent: Wednesday, June 10, 2015 9:54 PM To: Bucur Madalin-Cristian-B32716 Cc: netdev@vger.kernel.org; linux-ker...@vger.kernel.org; linuxppc-

Re: [PATCH 3/3] net: dsa: Allow configuration of CPU DSA port speeds/duplex

2015-06-17 Thread Vivien Didelot
Hi Andrew, All, On 12/06/15 10:18, Andrew Lunn wrote: By default, DSA and CPU ports are configured to the maximum speed the switch supports. However there can be use cases where the peer device port is slower. Allow a fixed-link property to be used with the DSA and CPU port in the device

Re: [PATCH net-next v2] ipv4: include NLM_F_APPEND flag in append route notifications

2015-06-17 Thread Scott Feldman
On Wed, Jun 17, 2015 at 11:07 AM, Roopa Prabhu ro...@cumulusnetworks.com wrote: From: Roopa Prabhu ro...@cumulusnetworks.com This patch adds NLM_F_APPEND flag to struct nlmsg_hdr-nlmsg_flags in newroute notifications if the route add was an append. (This is similar to how NLM_F_REPLACE is

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

2015-06-17 Thread Andy Gospodarek
On Wed, Jun 17, 2015 at 09:52:11PM +0200, Nicolas Dichtel wrote: Le 17/06/2015 21:10, Andy Gospodarek a écrit : On Wed, Jun 17, 2015 at 06:05:32PM +0200, Nicolas Dichtel wrote: Le 15/06/2015 18:33, Andy Gospodarek a écrit : This series adds the ability to have the Linux kernel track whether or

Re: macb napi strange behavior

2015-06-17 Thread Florian Fainelli
2015-06-17 12:00 GMT-07:00 Nicolae Rosia nicolae.ro...@gmail.com: Hi, On Wed, Jun 17, 2015 at 9:54 PM, Jaeden Amero jaeden.am...@ni.com wrote: On 06/17/2015 11:09 AM, Nicolae Rosia wrote: The times we've seen tons of interrupts on Ethernet with interrupts routed through the PL was when the

Re: [RFC V3] net: don't wait for order-3 page allocation

2015-06-17 Thread David Rientjes
On Fri, 12 Jun 2015, Vlastimil Babka wrote: diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 3cfff2a..41ec022 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -4398,7 +4398,7 @@ struct sk_buff *alloc_skb_with_frags(unsigned long header_len, while

Re: [PATCH net-next] switchdev: change BUG_ON to WARN for attr set failure case

2015-06-17 Thread Scott Feldman
On Thu, Jun 11, 2015 at 4:27 PM, David Miller da...@davemloft.net wrote: From: sfel...@gmail.com Date: Thu, 11 Jun 2015 11:20:42 -0700 From: Scott Feldman sfel...@gmail.com This particular BUG_ON condition was checking for attr set err in the COMMIT phase, which isn't expected (it's a

[PATCH net-next] switchdev: fdb filter_dev is always NULL for self (device), so remove check

2015-06-17 Thread sfeldma
From: Scott Feldman sfel...@gmail.com Remove the filter_dev check when dumping fdb entries, otherwise dump returns empty list. filter_dev is always passed as NULL when dumping fdbs on SELF. We want the fdbs installed on the device to be listed in the dump. Signed-off-by: Scott Feldman

Re: [PATCH v2 0/3] Fix Ethernet jumbo frames support for Armada 370 and 38x

2015-06-17 Thread Thomas Petazzoni
Simon, On Wed, 17 Jun 2015 19:22:17 +0200, Simon Guinot wrote: You should add a Fixes: tag to each commit to indicate which commit is being fixed by your patches. Also, I was a bit surprised by your statement that Armada 38x is also affected by the problem, since Armada 38x is more

Re: [PATCH net-next 00/15] Simplify netfilter and network namespaces

2015-06-17 Thread Eric W. Biederman
Julian Anastasov j...@ssi.bg writes: Hello, On Sun, 14 Jun 2015, Eric W. Biederman wrote: This patshset roots out all of the very weird network namespace computation logic (except for the code in ipvs) and fixes it. I really don't like how the code has been essentially guessing

[PATCH iproute2] tests: Add output testing

2015-06-17 Thread Vadim Kochan
From: Vadim Kochan vadi...@gmail.com Added possibility to check command output by grep from the testing script. Now TMP_OUT TMP_ERR are passed from Makefile and changed to STD_ERR STD_OUT. Also changed some existing tests to make output testing. Signed-off-by: Vadim Kochan vadi...@gmail.com

[PATCH 1/4] net: stmmac: dwmac-rk: remove unused gpio register defines

2015-06-17 Thread Heiko Stuebner
In a first version the driver did want to do some gpio wiggling, which of course never made it into the kernel, but somehow these register defines where forgotten. Remove them, as they shouldn't be here. Signed-off-by: Heiko Stuebner he...@sntech.de ---

[PATCH 0/4] net: stmmac: dwmac-rk: add support for rk3368

2015-06-17 Thread Heiko Stuebner
Apart from small cleanups, this series provides support for the dwmac on the new rk3368 ARM64 soc. Tested on a R88 board using a RMII phy. Heiko Stuebner (4): net: stmmac: dwmac-rk: remove unused gpio register defines net: stmmac: dwmac-rk: Fix clk rate when provided by soc net: stmmac:

Re: [PATCH net] ipv4: include NLM_F_APPEND flag in append route notifications

2015-06-17 Thread roopa
On 6/17/15, 10:31 AM, Alexander Duyck wrote: I'd say go with something closer to the original patch, but flip the logic like you have here, and lose the |= in favor of an = since you are either sending a message with 0 or NLM_F_APPEND. Anyway that is just my $.02. agreed, thanks alex, v2

[PATCH net-next v2] ipv4: include NLM_F_APPEND flag in append route notifications

2015-06-17 Thread Roopa Prabhu
From: Roopa Prabhu ro...@cumulusnetworks.com This patch adds NLM_F_APPEND flag to struct nlmsg_hdr-nlmsg_flags in newroute notifications if the route add was an append. (This is similar to how NLM_F_REPLACE is already part of new route replace notifications today) This helps userspace determine

Re: macb napi strange behavior

2015-06-17 Thread Nicolae Rosia
Hi, On Wed, Jun 17, 2015 at 9:54 PM, Jaeden Amero jaeden.am...@ni.com wrote: On 06/17/2015 11:09 AM, Nicolae Rosia wrote: The times we've seen tons of interrupts on Ethernet with interrupts routed through the PL was when the FPGA was unprogrammed (or in the process of being reprogrammed), or

Re: [PATCH net-next v2] ipv4: include NLM_F_APPEND flag in append route notifications

2015-06-17 Thread roopa
On 6/17/15, 11:30 AM, Scott Feldman wrote: On Wed, Jun 17, 2015 at 11:07 AM, Roopa Prabhu ro...@cumulusnetworks.com wrote: From: Roopa Prabhu ro...@cumulusnetworks.com This patch adds NLM_F_APPEND flag to struct nlmsg_hdr-nlmsg_flags in newroute notifications if the route add was an append.

Re: [PATCH net-next 43/43] netfilter: Skip unnecessary calls to synchronize_net

2015-06-17 Thread Eric W. Biederman
Patrick McHardy ka...@trash.net writes: On 17.06, Eric W. Biederman wrote: From: Eric W Biederman ebied...@xmission.com Signed-off-by: Eric W. Biederman ebied...@xmission.com --- net/netfilter/core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [PATCH net-next 00/15] Simplify netfilter and network namespaces

2015-06-17 Thread Julian Anastasov
Hello, On Wed, 17 Jun 2015, Eric W. Biederman wrote: p.s. I do have my patch that I can toss in your direction if you are interested. Of course... I'll be able to check it after 8 hours... Regards -- Julian Anastasov j...@ssi.bg -- To unsubscribe from this list: send the

[RFC PATCH net-next v2 4/5] rocker: add offload_fwd_mark support

2015-06-17 Thread sfeldma
From: Scott Feldman sfel...@gmail.com If device flags ingress packet as fwd offload, mark the skb-offlaod_fwd_mark using the ingress port's dev-offlaod_fwd_mark. This will be the hint to the kernel that this packet has already been forwarded by device to egress ports matching

[RFC PATCH net-next v2 1/5] net: don't reforward packets already forwarded by offload device

2015-06-17 Thread sfeldma
From: Scott Feldman sfel...@gmail.com Just before queuing skb for xmit on port, check if skb has been marked by switchdev port driver as already fordwarded by device. If so, drop skb. A non-zero skb-offload_fwd_mark field is set by the switchdev port driver/device on ingress to indicate the skb

[RFC PATCH net-next v2 3/5] switchdev: add offload_fwd_mark generator helper

2015-06-17 Thread sfeldma
From: Scott Feldman sfel...@gmail.com skb-offload_fwd_mark and dev-offload_fwd_mark are 32-bit and should be unique for device and may even be unique for a sub-set of ports within device, so add switchdev helper function to generate unique marks based on port's switch ID and group_ifindex.

[RFC PATCH net-next v2 2/5] net: add phys ID compare helper to test if two IDs are the same

2015-06-17 Thread sfeldma
From: Scott Feldman sfel...@gmail.com Signed-off-by: Scott Feldman sfel...@gmail.com --- include/linux/netdevice.h |7 +++ net/switchdev/switchdev.c |8 ++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index

[RFC PATCH net-next v2 5/5] switchdev: update documentation for offload_fwd_mark

2015-06-17 Thread sfeldma
From: Scott Feldman sfel...@gmail.com Signed-off-by: Scott Feldman sfel...@gmail.com --- Documentation/networking/switchdev.txt | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Documentation/networking/switchdev.txt b/Documentation/networking/switchdev.txt

[RFC PATCH net-next v2 0/5] switchdev: avoid duplicate packet forwarding

2015-06-17 Thread sfeldma
From: Scott Feldman sfel...@gmail.com (RFC because we're at rc7+ now) v2: - s/fwd_mark/offload_fwd_mark - use consume_skb rather than kfree_skb when dropping pkt on egress. - Use Jiri's suggestion to use ifindex of one of the ports in a group as the mark for all the ports in the group.

Re: [PATCH v2 1/3] net: mvneta: introduce compatible string marvell, armada-xp-neta

2015-06-17 Thread Jason Cooper
Hey Thomas, On Wed, Jun 17, 2015 at 10:43:12PM +0200, Thomas Petazzoni wrote: On Wed, 17 Jun 2015 17:01:12 +, Jason Cooper wrote: I disagree with this. We can't predict what incosistencies we'll discover in the future. We should only assign new compatible strings based on known IP

[PATCH 4/4] net: stmmac: dwmac-rk: add rk3368-specific data

2015-06-17 Thread Heiko Stuebner
Add constants and callback functions for the dwmac on rk3368 socs. As can be seen, the base structure is the same, only registers and the bits in them moved slightly. Signed-off-by: Heiko Stuebner he...@sntech.de --- .../devicetree/bindings/net/rockchip-dwmac.txt | 2 +-

Re: [PATCH] tipc:Make the function tipc_buf_append have a return type of bool

2015-06-17 Thread Ying Xue
On 06/18/2015 10:44 AM, Nicholas Krause wrote: This converts the function tipc_buf_append now due to this particular function only returning either one or zero as its return value. Signed-off-by: Nicholas Krause xerofo...@gmail.com Acked-by: Ying Xue ying@windriver.com ---

Re: [PATCH net 2/2] bridge: multicast: start querier timer when running user-space stp

2015-06-17 Thread Herbert Xu
On Wed, Jun 17, 2015 at 04:28:31AM -0700, Nikolay Aleksandrov wrote: From: Satish Ashok sas...@cumulusnetworks.com When STP is running in user-space and querier is configured, the querier timer is not started when a port goes to forwarding state. Signed-off-by: Satish Ashok

pull-request: wireless-drivers-next 2015-06-18

2015-06-17 Thread Kalle Valo
Hi Dave, here's one more pull request I would like to get to 4.2 if possible. Nothing major this time, just small stuff all over. Please let me know if you have any problems. Kalle The following changes since commit c39c4c6abb89d24454b63798ccbae12b538206a5: tcp: double default TSQ output

[PATCH net] Revert tcp: switch tcp_fastopen key generation to net_get_random_once

2015-06-17 Thread Christoph Paasch
This reverts commit 222e83d2e0aecb6a5e8d42b1a8d51332a1eba960. tcp_fastopen_reset_cipher really cannot be called from interrupt context. It allocates the tcp_fastopen_context with GFP_KERNEL and calls crypto_alloc_cipher, which allocates all kind of stuff with GFP_KERNEL. Thus, we might sleep

[PATCH 05/22] fjes: ES information acquisition routine

2015-06-17 Thread Taku Izumi
This patch adds ES information acquisition routine. ES information can be retrieved issuing information request command. ES information includes which receiver is same zone. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/fjes_hw.c | 101

[PATCH 17/22] fjes: force_close_task

2015-06-17 Thread Taku Izumi
This patch adds force_close_task. This task is used to close network device forcibly. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/fjes.h | 1 + drivers/platform/x86/fjes/fjes_main.c | 13 + 2 files changed, 14 insertions(+) diff --git

[PATCH 22/22] fjes: ethtool support

2015-06-17 Thread Taku Izumi
This patch adds implementation for ethtool support. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/Makefile | 2 +- drivers/platform/x86/fjes/fjes.h | 2 + drivers/platform/x86/fjes/fjes_ethtool.c | 135 +++

[PATCH 19/22] fjes: update_zone_task

2015-06-17 Thread Taku Izumi
This patch adds update_zone_task. Zoning information can be changed by user. This task is used to monitor if zoning information is changed or not. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/fjes_hw.c | 183 ++

Re: [PATCH 19/22] fjes: update_zone_task

2015-06-17 Thread Joe Perches
On Thu, 2015-06-18 at 09:49 +0900, Taku Izumi wrote: This patch adds update_zone_task. diff --git a/drivers/platform/x86/fjes/fjes_hw.c b/drivers/platform/x86/fjes/fjes_hw.c [] +static void fjes_hw_update_zone_task(struct work_struct *work) +{ Some of the line length can be removed here by

[PATCH 18/22] fjes: unshare_watch_task

2015-06-17 Thread Taku Izumi
This patch adds unshare_watch_task. Shared buffer's status can be changed into unshared. This task is used to monitor shared buffer's status. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/fjes.h | 3 + drivers/platform/x86/fjes/fjes_main.c | 152

[PATCH 21/22] fjes: handle receive cancellation request interrupt

2015-06-17 Thread Taku Izumi
This patch adds implementation of handling IRQ of other receiver's receive cancellation request. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/fjes_main.c | 85 +++ 1 file changed, 85 insertions(+) diff --git

[PATCH 14/22] fjes: net_device_ops.ndo_tx_timeout

2015-06-17 Thread Taku Izumi
This patch adds net_device_ops.ndo_tx_timeout callback. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/fjes_main.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/platform/x86/fjes/fjes_main.c b/drivers/platform/x86/fjes/fjes_main.c index

[PATCH 02/22] fjes: Hardware initialization routine

2015-06-17 Thread Taku Izumi
This patch adds hardware initialization routine to be invoked at driver's .probe routine. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/Makefile| 2 +- drivers/platform/x86/fjes/fjes_hw.c | 305 ++

[PATCH 12/22] fjes: net_device_ops.ndo_get_stats64

2015-06-17 Thread Taku Izumi
This patch adds net_device_ops.ndo_get_stats64 callback. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/fjes_main.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/platform/x86/fjes/fjes_main.c

[PATCH 03/22] fjes: Hardware cleanup routine

2015-06-17 Thread Taku Izumi
This patch adds hardware cleanup routine to be invoked at driver's .remove routine. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/fjes_hw.c | 66 + drivers/platform/x86/fjes/fjes_hw.h | 1 + 2 files changed, 67

[PATCH 04/22] fjes: platform_driver's .probe and .remove routine

2015-06-17 Thread Taku Izumi
This patch implements platform_driver's .probe and .remove routine, and also adds board specific private data structure. This driver registers net_device at platform_driver's .probe routine and unregisters net_device at its .remove routine. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com ---

[PATCH 11/22] fjes: NAPI polling function

2015-06-17 Thread Taku Izumi
This patch adds NAPI polling function and receive related work. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/fjes_hw.c | 46 + drivers/platform/x86/fjes/fjes_hw.h | 6 ++ drivers/platform/x86/fjes/fjes_main.c | 179

[PATCH 16/22] fjes: interrupt_watch_task

2015-06-17 Thread Taku Izumi
This patch adds interrupt_watch_task. This task is used to prevent delay of interrupts. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/fjes.h | 5 + drivers/platform/x86/fjes/fjes_main.c | 40 ++- 2 files changed, 44

[PATCH 09/22] fjes: raise_intr_rxdata_task

2015-06-17 Thread Taku Izumi
This patch add raise_intr_rxdata_task. Extended Socket Network Device is shared memory based, so someone's transmission denotes other's reception. In order to notify receivers, sender has to raise interruption of receivers. raise_intr_rxdata_task does this work. Signed-off-by: Taku Izumi

[PATCH 20/22] fjes: epstop_task

2015-06-17 Thread Taku Izumi
This patch adds epstop_task. This task is used to process other receiver's cancellation request. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/fjes_hw.c | 34 ++ drivers/platform/x86/fjes/fjes_hw.h | 1 +

[PATCH 15/22] fjes: net_device_ops.ndo_vlan_rx_add/kill_vid

2015-06-17 Thread Taku Izumi
This patch adds net_device_ops.ndo_vlan_rx_add_vid and net_device_ops.ndo_vlan_rx_kill_vid callback. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/fjes_hw.c | 27 +++ drivers/platform/x86/fjes/fjes_hw.h | 2 ++

[PATCH 06/22] fjes: buffer address regist/unregistration routine

2015-06-17 Thread Taku Izumi
This patch adds buffer address regist/unregistration routine. This function is mainly invoked when network device's activation (open) and deactivation (close) in order to retist/unregist shared buffer address. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com ---

[PATCH 10/22] fjes: tx_stall_task

2015-06-17 Thread Taku Izumi
This patch adds tx_stall_task. When receiver's buffer is full, sender stops its tx queue. This task is used to monitor receiver's status and when receiver's buffer is avairable, it resumes tx queue. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/fjes.h |

[PATCH 13/22] fjes: net_device_ops.ndo_change_mtu

2015-06-17 Thread Taku Izumi
This patch adds net_device_ops.ndo_change_mtu. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/fjes_main.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/platform/x86/fjes/fjes_main.c

[PATCH 08/22] fjes: net_device_ops.ndo_start_xmit

2015-06-17 Thread Taku Izumi
This patch adds net_device_ops.ndo_start_xmit callback, which is called when sending packets. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/fjes.h | 1 + drivers/platform/x86/fjes/fjes_hw.c | 58 +++ drivers/platform/x86/fjes/fjes_hw.h |

[PATCH 07/22] fjes: net_device_ops.ndo_open and .ndo_stop

2015-06-17 Thread Taku Izumi
This patch adds net_device_ops.ndo_open and .ndo_stop callback. These function is called when network device activation and deactivation. Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com --- drivers/platform/x86/fjes/fjes.h | 2 +- drivers/platform/x86/fjes/fjes_hw.c | 150

Re: [PATCH 3/3] net: dsa: Allow configuration of CPU DSA port speeds/duplex

2015-06-17 Thread Andrew Lunn
On Wed, Jun 17, 2015 at 02:09:52PM -0400, Vivien Didelot wrote: Hi Andrew, All, On 12/06/15 10:18, Andrew Lunn wrote: By default, DSA and CPU ports are configured to the maximum speed the switch supports. However there can be use cases where the peer device port is slower. Allow a

Re: [PATCH 01/22] fjes: Introduce FUJITSU Extended Socket Network Device driver

2015-06-17 Thread Joe Perches
On Thu, 2015-06-18 at 09:49 +0900, Taku Izumi wrote: This patch adds the basic code of FUJITSU Extended Socket Network Device driver. [] diff --git a/drivers/platform/x86/fjes/fjes_main.c b/drivers/platform/x86/fjes/fjes_main.c [] +static acpi_status fjes_get_acpi_resource(struct

[PATCH] fm10k: Report MAC address on driver load

2015-06-17 Thread Alexander Duyck
This change adds the MAC address to the list of values recorded on driver load. The MAC address represents the serial number of the unit and allows us to track the value should a card be replaced in a system. Signed-off-by: Alexander Duyck alexander.h.du...@redhat.com ---

[PATCH 00/22] FUJITSU Extended Socket network device driver

2015-06-17 Thread Taku Izumi
This patchsets adds FUJITSU Extended Socket network device driver. Extended Socket network device is a shared memory based high-speed network interface between Extended Partitions of PRIMEQUEST 2000 E2 series. You can get some information about Extended Partition and Extended Socket by referring

Re: [PATCH 22/22] fjes: ethtool support

2015-06-17 Thread Stephen Hemminger
On Thu, 18 Jun 2015 09:49:47 +0900 Taku Izumi izumi.t...@jp.fujitsu.com wrote: +static void fjes_get_ethtool_stats(struct net_device *netdev, + struct ethtool_stats *stats, u64 *data) +{ + struct fjes_adapter *adapter = netdev_priv(netdev); + int i; + char *p = NULL;

Re: [REGRESSION] NFS is creating a hidden port (left over from xs_bind() )

2015-06-17 Thread Steven Rostedt
On Fri, 12 Jun 2015 11:50:38 -0400 Steven Rostedt rost...@goodmis.org wrote: I reverted the following commits: c627d31ba0696cbd829437af2be2f2dee3546b1e 9e2b9f37760e129cee053cc7b6e7288acc2a7134 caf4ccd4e88cf2795c927834bc488c8321437586 And the issue goes away. That is, I watched the port

Re: [PATCH net 1/2] bridge: multicast: restore router configuration on port link down/up

2015-06-17 Thread Herbert Xu
On Wed, Jun 17, 2015 at 04:28:30AM -0700, Nikolay Aleksandrov wrote: From: Satish Ashok sas...@cumulusnetworks.com When a port goes through a link down/up the multicast router configuration is not restored. Signed-off-by: Satish Ashok sas...@cumulusnetworks.com Signed-off-by: Nikolay

[PATCH 01/22] fjes: Introduce FUJITSU Extended Socket Network Device driver

2015-06-17 Thread Taku Izumi
This patch adds the basic code of FUJITSU Extended Socket Network Device driver. When PNP0C02 is found in ACPI DSDT, it evaluates _STR to check if PNP0C02 is for Extended Socket device driver and retrieves ACPI resource information. Then creates platform_device. Signed-off-by: Taku Izumi

[PATCH next v2] bonding: Display LACP info only to CAP_NET_ADMIN capable user

2015-06-17 Thread Mahesh Bandewar
Actor and Partner details can be accessed via proc-fs, sys-fs entries or netlink interface. These interfaces are world readable at this moment. The earlier patch-series made the LACP communication secure to avoid nuisance attack from within the same L2 domain but it did not prevent someone

Re: [PATCH 02/22] fjes: Hardware initialization routine

2015-06-17 Thread Joe Perches
On Thu, 2015-06-18 at 09:49 +0900, Taku Izumi wrote: This patch adds hardware initialization routine to be invoked at driver's .probe routine. Trivial notes: Please run all your patches through scripts/checkpatch.pl and fix whatever messages it emits as you think appropriate. diff --git

Re: [Intel-wired-lan] [PATCH v6 3/3] ixgbe, ixgbevf: Add new mbox API to enable MC promiscuous mode

2015-06-17 Thread Alexander Duyck
On 06/17/2015 04:45 AM, Hiroshi Shimamoto wrote: From: Hiroshi Shimamoto h-shimam...@ct.jp.nec.com The limitation of the number of multicast address for VF is not enough for the large scale server with SR-IOV feature. IPv6 requires the multicast MAC address for each IP address to handle the

Re: [PATCH 08/11] IB/cma: Add net_dev and private data checks to RDMA CM

2015-06-17 Thread Jason Gunthorpe
On Tue, Jun 16, 2015 at 08:26:26AM +0300, Haggai Eran wrote: On 15/06/2015 20:08, Jason Gunthorpe wrote: On Mon, Jun 15, 2015 at 11:47:13AM +0300, Haggai Eran wrote: Instead of relying on a the ib_cm module to check an incoming CM request's private data header, add these checks to the RDMA

Re: [PATCH net-next 43/43] netfilter: Skip unnecessary calls to synchronize_net

2015-06-17 Thread Patrick McHardy
On 17.06, Eric W. Biederman wrote: From: Eric W Biederman ebied...@xmission.com Signed-off-by: Eric W. Biederman ebied...@xmission.com --- net/netfilter/core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/netfilter/core.c b/net/netfilter/core.c index

Re: [PATCH v2 0/3] Fix Ethernet jumbo frames support for Armada 370 and 38x

2015-06-17 Thread Simon Guinot
On Wed, Jun 17, 2015 at 05:24:58PM +0200, Thomas Petazzoni wrote: Dear Simon Guinot, On Wed, 17 Jun 2015 15:19:19 +0200, Simon Guinot wrote: This patch series fixes the Ethernet jumbo frames support for the SoCs Armada 370, 380 and 385. Unlike Armada XP, the Ethernet controller for

Re: [PATCH V3 0/2] pci: Provide a flag to access VPD through function 0

2015-06-17 Thread Alexander Duyck
On 06/17/2015 09:29 AM, Rustad, Mark D wrote: + Alex On Jun 5, 2015, at 2:59 PM, Rustad, Mark D mark.d.rus...@intel.com wrote: On Jun 3, 2015, at 11:46 AM, Mark D Rustad mark.d.rus...@intel.com wrote: Many multi-function devices provide shared registers in extended config space for

Re: [PATCH net] ipv4: include NLM_F_APPEND flag in append route notifications

2015-06-17 Thread Alexander Duyck
On 06/17/2015 09:20 AM, roopa wrote: On 6/17/15, 8:35 AM, Alexander Duyck wrote: @@ -1189,8 +1190,9 @@ int fib_table_insert(struct fib_table *tb, struct fib_config *cfg) fib_release_info(fi_drop); if (state FA_S_ACCESSED)

Re: [PATCH v2 1/3] net: mvneta: introduce compatible string marvell, armada-xp-neta

2015-06-17 Thread Thomas Petazzoni
Jason, On Wed, 17 Jun 2015 17:01:12 +, Jason Cooper wrote: I disagree with this. We can't predict what incosistencies we'll discover in the future. We should only assign new compatible strings based on known IP variations when we discover them. This seems fraught with demons since we

Re: [PATCH net-next] switchdev: fdb filter_dev is always NULL for self (device), so remove check

2015-06-17 Thread Samudrala, Sridhar
On 6/17/2015 4:08 PM, sfel...@gmail.com wrote: From: Scott Feldman sfel...@gmail.com Remove the filter_dev check when dumping fdb entries, otherwise dump returns empty list. filter_dev is always passed as NULL when dumping fdbs on SELF. We want the fdbs installed on the device to be listed

[PATCH v5 2/3] net/xen-netback: Remove unused code in xenvif_rx_action

2015-06-17 Thread Julien Grall
The variables old_req_cons and ring_slots_used are assigned but never used since commit 1650d5455bd2dc6b5ee134bd6fc1a3236c266b5b xen-netback: always fully coalesce guest Rx packets. Signed-off-by: Julien Grall julien.gr...@citrix.com Acked-by: Wei Liu wei.l...@citrix.com Cc: Ian Campbell

[PATCH v5 3/3] net/xen-netback: Don't mix hexa and decimal with 0x in the printf format

2015-06-17 Thread Julien Grall
Prepend 0x to all %x in order to avoid confusion while reading when there is other decimal value in the log. Also replace some of the hexadecimal print to decimal to uniformize the format with netfront. Signed-off-by: Julien Grall julien.gr...@citrix.com Acked-by: Ian Campbell

[PATCH v5 1/3] net/xen-netfront: Correct printf format in xennet_get_responses

2015-06-17 Thread Julien Grall
rx-status is an int16_t, print it using %d rather than %u in order to have a meaningful value when the field is negative. Also use %u rather than %x for rx-offset. Signed-off-by: Julien Grall julien.gr...@citrix.com Reviewed-by: David Vrabel david.vra...@citrix.com Cc: Konrad Rzeszutek Wilk

[PATCH net 1/2] bridge: multicast: restore router configuration on port link down/up

2015-06-17 Thread Nikolay Aleksandrov
From: Satish Ashok sas...@cumulusnetworks.com When a port goes through a link down/up the multicast router configuration is not restored. Signed-off-by: Satish Ashok sas...@cumulusnetworks.com Signed-off-by: Nikolay Aleksandrov niko...@cumulusnetworks.com Fixes: 0909e11758bd (bridge: Add

[PATCH net 0/2] bridge: multicast behaviour fixes

2015-06-17 Thread Nikolay Aleksandrov
Hi, Patch 01 fixes a problem when a router is configured and a port goes through a link down/up, the router configuration was not restored. Patch 02 starts the multicast querier when using user-space STP and a port goes to forwarding state. These are behaviour fixes and if you think they are more

[PATCH net 2/2] bridge: multicast: start querier timer when running user-space stp

2015-06-17 Thread Nikolay Aleksandrov
From: Satish Ashok sas...@cumulusnetworks.com When STP is running in user-space and querier is configured, the querier timer is not started when a port goes to forwarding state. Signed-off-by: Satish Ashok sas...@cumulusnetworks.com Signed-off-by: Nikolay Aleksandrov niko...@cumulusnetworks.com

[PATCH 2/2] net: via/Kconfig: replace USE_OF with OF_???

2015-06-17 Thread Antonio Borneo
USE_OF is used as intermediate Kconfig option by few arch's (ARM, MIPS, Xtensa). Replace instances of USE_OF outside of arch folders with proper OF_???. Signed-off-by: Antonio Borneo borneo.anto...@gmail.com --- drivers/net/ethernet/via/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 1/2] clocksource: Kconfig: replace USE_OF with OF

2015-06-17 Thread Antonio Borneo
USE_OF is used as intermediate Kconfig option by few arch's (ARM, MIPS, Xtensa); in all these cases it implies setting option OF too. Replace the only instance of USE_OF in clocksource with OF. Signed-off-by: Antonio Borneo borneo.anto...@gmail.com --- drivers/clocksource/Kconfig | 2 +- 1 file

[PATCH] net: via-rhine: remove unneeded include file

2015-06-17 Thread Antonio Borneo
Signed-off-by: Antonio Borneo borneo.anto...@gmail.com --- drivers/net/ethernet/via/via-rhine.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/via/via-rhine.c b/drivers/net/ethernet/via/via-rhine.c index de28504..a1aaf3a 100644 --- a/drivers/net/ethernet/via/via-rhine.c

[PATCH 0/2] replace USE_OF in drivers

2015-06-17 Thread Antonio Borneo
Kconfig option USE_OF is used as intermediate option by few arch's (ARM, MIPS, Xtensa); in all these cases USE_OF implies setting option OF and other OF_???. Outside arch folder, USE_OF is used only in two places. In both places, USE_OF can be replaced by OF or OF_???. This change reduces the

[PATCH v6 2/3] ixgbe: Add new ndo to trust VF

2015-06-17 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto h-shimam...@ct.jp.nec.com Implements the new netdev op to trust VF in ixgbe. The administrator can turn on and off VF trusted by ip command which supports trust message. # ip link set dev eth0 vf 1 trust on or # ip link set dev eth0 vf 1 trust off Send a ping to reset

[PATCH] mac80211: fix locking in update_vlan_tailroom_need_count()

2015-06-17 Thread Johannes Berg
From: Johannes Berg johannes.b...@intel.com Unfortunately, Michal's change to fix AP_VLAN crypto tailroom caused a locking issue that was reported by lockdep, but only in a few cases - the issue was a classic ABBA deadlock caused by taking the mtx after the key_mtx, where normally they're taken

[Q] sk-sk_protinfo leftovers

2015-06-17 Thread Denis Kirjanov
Hi, I've found the old thread about removing sk_protinfo member [0]. Back in 2005 Ralf mentioned that the ax25 case is more complicated. Have the things changed in the ax25 code since that time? Thanks! [0]: http://oss.sgi.com/archives/netdev/2005-03/msg03095.html -- To unsubscribe from this

[PATCH] net: Cavium: Bug fix: MAC address setting in shutdown state

2015-06-17 Thread Pavel Fedin
This bug pops up with NetworkManager on Fedora 21. NetworkManager tends to stop the interface (nicvf_stop() is called) before changing settings. In stopped state MAC cannot be sent to a PF. However, when the interface is restarted (nicvf_open() is called), we ping the PF using NIC_MBOX_MSG_READY

Re: [PATCH net] ipv4: include NLM_F_APPEND flag in append route notifications

2015-06-17 Thread Scott Feldman
On Tue, Jun 16, 2015 at 9:11 AM, Roopa Prabhu ro...@cumulusnetworks.com wrote: [snip] @@ -1203,6 +1204,8 @@ int fib_table_insert(struct fib_table *tb, struct fib_config *cfg) if (!(cfg-fc_nlflags NLM_F_APPEND)) fa = fa_first; + else

Re: [RFC PATCH 0/2] sctp: add new getsockopt option SCTP_SOCKOPT_PEELOFF_KERNEL

2015-06-17 Thread Marcelo Ricardo Leitner
On 17-06-2015 07:21, Neil Horman wrote: On Tue, Jun 16, 2015 at 07:42:31PM -0300, Marcelo Ricardo Leitner wrote: Hi, I'm trying to remove a direct dependency of dlm module on sctp one. Currently dlm code is calling sctp_do_peeloff() directly and only this call is causing the load of sctp

Re: [PATCH v6 1/3] if_link: Add control trust VF

2015-06-17 Thread Jeff Kirsher
On Wed, 2015-06-17 at 11:41 +, Hiroshi Shimamoto wrote: From: Hiroshi Shimamoto h-shimam...@ct.jp.nec.com Add netlink directives and ndo entry to trust VF user. This controls the special permission of VF user. The administrator will dedicatedly trust VF user to use some features which

  1   2   3   >