Re: [RFC 2/9] net: dsa: add basic support for VLAN operations

2015-06-01 Thread Guenter Roeck
On 06/01/2015 06:27 PM, Vivien Didelot wrote: This patch adds the glue between DSA and switchdev to add and delete SWITCHDEV_OBJ_PORT_VLAN objects. This will allow the DSA switch drivers implementing the port_vlan_add and port_vlan_del functions to access the switch VLAN database through userspa

Re: [RFC] [PATCH] net: socket: Fix the wrong returns for recvmsg and sendmsg

2015-06-01 Thread Willy Tarreau
On Tue, Jun 02, 2015 at 02:43:54PM +0800, Junling Zheng wrote: > On 2015/6/2 14:27, Greg KH wrote: > > On Mon, Jun 01, 2015 at 10:23:57PM -0700, David Miller wrote: > >> From: Junling Zheng > >> Date: Tue, 2 Jun 2015 12:05:32 +0800 > >> > >>> So, the problem commit is 281c9c36 (net: compat: Update

Re: [RFC 3/9] net: dsa: mv88e6xxx: add support for VTU ops

2015-06-01 Thread Guenter Roeck
Vivien, On 06/01/2015 06:27 PM, Vivien Didelot wrote: This commit implements the port_vlan_add and port_vlan_del functions in the dsa_switch_driver structure for Marvell 88E6xxx compatible switches. This allows to access a switch VLAN Table Unit, and thus define VLANs from standard userspace co

Re: [PATCH net-next 5/5] rocker: remove support for legacy VLAN ndo ops

2015-06-01 Thread Toshiaki Makita
On 2015/06/02 14:24, David Miller wrote: > From: Toshiaki Makita > Date: Tue, 02 Jun 2015 13:51:06 +0900 > >> On 2015/06/02 3:39, sfel...@gmail.com wrote: >>> From: Scott Feldman >>> >>> Remove support for legacy ndo ops >>> .ndo_vlan_rx_add_vid/.ndo_vlan_rx_kill_vid. Rocker will use >>> bridge

Re: [RFC] [PATCH] net: socket: Fix the wrong returns for recvmsg and sendmsg

2015-06-01 Thread Junling Zheng
On 2015/6/2 14:27, Greg KH wrote: > On Mon, Jun 01, 2015 at 10:23:57PM -0700, David Miller wrote: >> From: Junling Zheng >> Date: Tue, 2 Jun 2015 12:05:32 +0800 >> >>> So, the problem commit is 281c9c36 (net: compat: Update >>> get_compat_msghdr() to match copy_msghdr_from_user() behaviour), >>> w

Re: [PATCH net] udp: fix behavior of wrong checksums

2015-06-01 Thread Eric Dumazet
On Sun, 2015-05-31 at 21:42 -0700, David Miller wrote: > From: Eric Dumazet > Date: Sat, 30 May 2015 09:16:53 -0700 > > > From: Eric Dumazet > > > > We have two problems in UDP stack related to bogus checksums : > > > > 1) We return -EAGAIN to application even if receive queue is not empty. >

Re: [RFC] [PATCH] net: socket: Fix the wrong returns for recvmsg and sendmsg

2015-06-01 Thread Junling Zheng
On 2015/6/2 13:23, David Miller wrote: > From: Junling Zheng > Date: Tue, 2 Jun 2015 12:05:32 +0800 > >> So, the problem commit is 281c9c36 (net: compat: Update >> get_compat_msghdr() to match copy_msghdr_from_user() behaviour), >> which fixes db31c55a6fb2 and brings the get_compat_msghdr() in li

Re: [PATCH net V1] ethtool: Support for configurable RSS hash function

2015-06-01 Thread Amir Vadai
On Sun, May 31, 2015 at 11:09 PM Ben Hutchings wrote: > > On Tue, 2015-05-05 at 18:48 +0300, Amir Vadai wrote: > > On Mon, Apr 27, 2015 at 2:22 PM, Amir Vadai wrote: > > > From: Eyal Perry > > > > > > This ethtool patch adds support to set and get the current RSS hash > > > function for the devi

[PATCH net v3 0/2] mpls: fix route del errors on wrong scope and type

2015-06-01 Thread Roopa Prabhu
From: Roopa Prabhu This patch fixes incorrect -EINVAL errors due to invalid scope and type during mpls route deletes. $ip -f mpls route add 100 as 200 via inet 10.1.1.2 dev swp1 $ip -f mpls route show 100 as to 200 via inet 10.1.1.2 dev swp1 $ip -f mpls route del 100 as 200 via inet 10.1.1.2 d

[PATCH net iproute2 v3 1/2] mpls: always set type as RTN_UNICAST for route add/deletes

2015-06-01 Thread Roopa Prabhu
From: Roopa Prabhu Kernel expects type RTN_UNICAST for mpls route/dels Signed-off-by: Vivek Venkataraman Signed-off-by: Roopa Prabhu Reviewed-by: Robert Shearman --- ip/iproute.c |5 + 1 file changed, 5 insertions(+) diff --git a/ip/iproute.c b/ip/iproute.c index 670a4c6..71c088b 1

[PATCH net v3 2/2] mpls: fix mpls route deletes to not check for route scope

2015-06-01 Thread Roopa Prabhu
From: Roopa Prabhu Ignore scope for route del messages Signed-off-by: Vivek Venkataraman Signed-off-by: Roopa Prabhu Reviewed-by: Robert Shearman --- net/mpls/af_mpls.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/mpls/af_mpls.c b/net/mpls/af_mpls.c index 7b3

Re: [RFC] [PATCH] net: socket: Fix the wrong returns for recvmsg and sendmsg

2015-06-01 Thread Greg KH
On Mon, Jun 01, 2015 at 10:23:57PM -0700, David Miller wrote: > From: Junling Zheng > Date: Tue, 2 Jun 2015 12:05:32 +0800 > > > So, the problem commit is 281c9c36 (net: compat: Update > > get_compat_msghdr() to match copy_msghdr_from_user() behaviour), > > which fixes db31c55a6fb2 and brings the

Patch "net: socket: Fix the wrong returns for recvmsg and sendmsg" has been added to the 3.10-stable tree

2015-06-01 Thread gregkh
This is a note to let you know that I've just added the patch titled net: socket: Fix the wrong returns for recvmsg and sendmsg to the 3.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Re: [RFC] [PATCH] net: socket: Fix the wrong returns for recvmsg and sendmsg

2015-06-01 Thread Junling Zheng
On 2015/6/2 12:44, Greg KH wrote: > On Tue, Jun 02, 2015 at 12:05:32PM +0800, Junling Zheng wrote: >> On 2015/6/2 9:21, Greg KH wrote: >>> On Mon, Jun 01, 2015 at 09:28:00AM +, Junling Zheng wrote: Hi, Greg: We found that after v3.10.73, recvmsg might return -EFAULT while -EINVAL

Re: [RFC 0/3] DSA and Marvell 88E6352 802.1q support

2015-06-01 Thread Scott Feldman
On Mon, Jun 1, 2015 at 5:18 PM, Vivien Didelot wrote: > > On May 29, 2015, at 1:02 AM, Scott Feldman sfel...@gmail.com wrote: >> On Thu, May 28, 2015 at 2:37 PM, Vivien Didelot >> wrote: >>> This RFC is based on v4.1-rc3. >>> >>> It is meant to get a glance to the commits responsible to implemen

Re: [PATCH net] net/mlx4: fix typo in mlx4_set_vf_mac

2015-06-01 Thread Or Gerlitz
On Mon, Jun 1, 2015 at 5:41 PM, wrote: > fix typo in mlx4_set_vf_mac > > Signed-off-by: Carol L Soto > --- > drivers/net/ethernet/mellanox/mlx4/cmd.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- a/drivers/net/ethernet/mellanox/mlx4/cmd.c > +++ b/drivers/net/ethernet/mellan

Re: [PATCH net-next 0/3] s390/bpf: implement bpf_tail_call JIT support

2015-06-01 Thread Alexei Starovoitov
On 5/31/15 9:39 PM, David Miller wrote: From: Alexei Starovoitov Date: Sat, 30 May 2015 10:42:08 -0700 This set is for net-next tree. Patch 3 adds bpf_tail_call() support for s390x JIT. It has a dependency on patches 1 and 2 that will also be submitted to stable via Martin Schwidefsky. In t

[PATCH net 2/2] s390/bpf: fix bpf frame pointer setup

2015-06-01 Thread Alexei Starovoitov
From: Michael Holzheu Currently the bpf frame pointer is set to the old r15. This is wrong because of packed stack. Fix this and adjust the frame pointer to respect packed stack. This now generates a prolog like the following: 3ff8001c3fa: eb67f0480024 stmg%r6,%r7,72(%r15) 3ff8001c400: e

[PATCH net 1/2] s390/bpf: fix stack allocation

2015-06-01 Thread Alexei Starovoitov
From: Michael Holzheu On s390x we have to provide 160 bytes stack space before we can call the next function. From the 160 bytes that we got from the previous function we only use 11 * 8 bytes and have 160 - 11 * 8 bytes left. Currently for BPF we allocate additional 160 - 11 * 8 bytes for the ne

[RFC cdc_ncm] introducing allocation mode

2015-06-01 Thread Enrico Mioso
First of all - hello everyone, and thank you for the help. I am here to learn something - so I am happy about having the opportunity of discussing this with you. I am a newbie in development, sure. On Mon, 1 Jun 2015, Oliver Neukum wrote: ==Date: Mon, 1 Jun 2015 14:00:22 ==From: Oliver Neukum =

Re: [PATCH net-next 5/5] rocker: remove support for legacy VLAN ndo ops

2015-06-01 Thread David Miller
From: Toshiaki Makita Date: Tue, 02 Jun 2015 13:51:06 +0900 > On 2015/06/02 3:39, sfel...@gmail.com wrote: >> From: Scott Feldman >> >> Remove support for legacy ndo ops >> .ndo_vlan_rx_add_vid/.ndo_vlan_rx_kill_vid. Rocker will use >> bridge_setlink/dellink exclusively for VLAN add/del operat

Re: [RFC] [PATCH] net: socket: Fix the wrong returns for recvmsg and sendmsg

2015-06-01 Thread David Miller
From: Junling Zheng Date: Tue, 2 Jun 2015 12:05:32 +0800 > So, the problem commit is 281c9c36 (net: compat: Update > get_compat_msghdr() to match copy_msghdr_from_user() behaviour), > which fixes db31c55a6fb2 and brings the get_compat_msghdr() in line > with copy_msghdr_from_user(). Upstream thi

Re: [PATCHv2 net-next 0/3] cxgb4/cxgb4vf: Adds support for Chelsio T6 adapter

2015-06-01 Thread David Miller
From: Hariprasad Shenai Date: Tue, 2 Jun 2015 13:59:37 +0530 > This patch series adds the following: > Adds NIC driver support for T6 adapter > Adds vNIC driver support for T6 adapter > > This patch series has been created against net-next tree and includes > patches on cxgb4 and cxgb4vf driver

Re: [PATCH net-next 5/5] rocker: remove support for legacy VLAN ndo ops

2015-06-01 Thread Toshiaki Makita
On 2015/06/02 3:39, sfel...@gmail.com wrote: > From: Scott Feldman > > Remove support for legacy ndo ops > .ndo_vlan_rx_add_vid/.ndo_vlan_rx_kill_vid. Rocker will use > bridge_setlink/dellink exclusively for VLAN add/del operations. > > The legacy ops are needed if using 8021q driver module to

Re: [RFC] [PATCH] net: socket: Fix the wrong returns for recvmsg and sendmsg

2015-06-01 Thread Greg KH
On Tue, Jun 02, 2015 at 12:05:32PM +0800, Junling Zheng wrote: > On 2015/6/2 9:21, Greg KH wrote: > > On Mon, Jun 01, 2015 at 09:28:00AM +, Junling Zheng wrote: > >> Hi, Greg: > >> > >> We found that after v3.10.73, recvmsg might return -EFAULT while -EINVAL > >> was expected. > > > > That mea

Re: [RFC] [PATCH] net: socket: Fix the wrong returns for recvmsg and sendmsg

2015-06-01 Thread Junling Zheng
On 2015/6/2 9:21, Greg KH wrote: > On Mon, Jun 01, 2015 at 09:28:00AM +, Junling Zheng wrote: >> Hi, Greg: >> >> We found that after v3.10.73, recvmsg might return -EFAULT while -EINVAL >> was expected. > > That means I messed up and applied something I shouldn't have, right? > > Can you use

Re: [PATCHv2 net-next 2/3] cxgb4: Adds support for T6 adapter

2015-06-01 Thread Joe Perches
On Tue, 2015-06-02 at 13:59 +0530, Hariprasad Shenai wrote: > Adds NIC driver related changes for T6 adapter. Register related > changes, MC related changes, VF related changes, doorbell related > changes, debugfs changes, etc trivial notes: > diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4

Re: [PATCH] neighbour: Convert if statment in the function, neigh_add_timer to a WARN_ON

2015-06-01 Thread Cong Wang
On Mon, Jun 1, 2015 at 7:37 PM, YOSHIFUJI Hideaki/吉藤英明 wrote: > Nicholas Krause wrote: >> This converts the if statement for dumping the stack into a >> WARN_ON in order to make this function's debugging check >> simpler and have a cleaner output when this condition >> occurs inside this function

RE: [PATCH v5] QE: Move QE from arch/powerpc to drivers/soc

2015-06-01 Thread Zhao Qiang
On Tue, 2015-06-02 at 10:53, Wood Scott wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, June 02, 2015 10:53 AM > To: Zhao Qiang-B45475 > Cc: linuxppc-...@lists.ozlabs.org; linux-ker...@vger.kernel.org; > netdev@vger.kernel.org > Subject: Re: [PATCH v5] QE: Move QE f

[PATCHv2 net-next 3/3] cxgb4vf: Adds SRIOV driver changes for T6 adapter

2015-06-01 Thread Hariprasad Shenai
Adds vnic driver register related changes for T6 adapter Signed-off-by: Hariprasad Shenai --- drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 45 ++ drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h | 8 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c | 24

[PATCHv2 net-next 0/3] cxgb4/cxgb4vf: Adds support for Chelsio T6 adapter

2015-06-01 Thread Hariprasad Shenai
Hi, This patch series adds the following: Adds NIC driver support for T6 adapter Adds vNIC driver support for T6 adapter This patch series has been created against net-next tree and includes patches on cxgb4 and cxgb4vf driver. We have included all the maintainers of respective drivers. Kindly r

[PATCHv2 net-next 1/3] cxgb4: Add is_t6 macro and T6 register ranges

2015-06-01 Thread Hariprasad Shenai
Adds new macro is_t6 and adds the register address range for T6 adapter Signed-off-by: Hariprasad Shenai --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 10 + drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 344 + 2 files changed, 354 insertions(+) diff --git a/driver

[PATCHv2 net-next 2/3] cxgb4: Adds support for T6 adapter

2015-06-01 Thread Hariprasad Shenai
Adds NIC driver related changes for T6 adapter. Register related changes, MC related changes, VF related changes, doorbell related changes, debugfs changes, etc Signed-off-by: Hariprasad Shenai --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 11 +- drivers/net/ethernet/chelsio/cxgb4/cx

[PATCH v5] QE: Move QE from arch/powerpc to drivers/soc

2015-06-01 Thread Zhao Qiang
ls1 has qe and ls1 has arm cpu. move qe from arch/powerpc to drivers/soc/fsl to adapt to powerpc and arm Signed-off-by: Zhao Qiang --- Changes for v2: - move code to driver/soc Changes for v3: - change drivers/soc/qe to drivers/soc/fsl-qe Changes for v4: - move drivers/soc

Re: [PATCH net-next 0/3] cxgb4/cxgb4vf: Adds support for Chelsio T6 adapter

2015-06-01 Thread Hariprasad S
On Mon, Jun 01, 2015 at 17:04:29 -0700, David Miller wrote: > From: David Miller > Date: Mon, 01 Jun 2015 17:03:21 -0700 (PDT) > > > From: Hariprasad Shenai > > Date: Tue, 2 Jun 2015 06:32:02 +0530 > > > >> This patch series adds the following: > >> Adds NIC driver support for T6 adapter > >>

Re: [PATCH v5] QE: Move QE from arch/powerpc to drivers/soc

2015-06-01 Thread Scott Wood
On Tue, 2015-06-02 at 10:37 +0800, Zhao Qiang wrote: > ls1 has qe and ls1 has arm cpu. > move qe from arch/powerpc to drivers/soc/fsl > to adapt to powerpc and arm > > Signed-off-by: Zhao Qiang > --- > Changes for v2: > - move code to driver/soc > Changes for v3: > - change drivers/so

Re: [PATCH] neighbour: Convert if statment in the function, neigh_add_timer to a WARN_ON

2015-06-01 Thread YOSHIFUJI Hideaki/吉藤英明
Nicholas Krause wrote: > This converts the if statement for dumping the stack into a > WARN_ON in order to make this function's debugging check > simpler and have a cleaner output when this condition > occurs inside this function for when bugs related to > adding a duplicate neighbour table timer a

[RFC 4/9] net: dsa: mv88e6352: add support for VLAN

2015-06-01 Thread Vivien Didelot
This commit adds support for the VTU operations to the mv88e6352 driver. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6352.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/dsa/mv88e6352.c b/drivers/net/dsa/mv88e6352.c index b524bd3..838494a 100644 --- a/drivers/net/d

Re: [PATCH 2/2] Bluetooth: btusb: Add reset_resume function

2015-06-01 Thread Marcel Holtmann
Hi Laura, > Some USB hubs may lose power across suspend/resume. > Add a reset_resume callback to properly reset those bluetoot devices. > > Signed-off-by: Laura Abbott > --- > Now the setup function is called again with the HCI_RESET_RESUME > flag set. The various functions could then use that R

[RFC 9/9] net: dsa: fix EDSA frame from hwaccel frame

2015-06-01 Thread Vivien Didelot
If the underlying network device features NETIF_F_HW_VLAN_CTAG_TX, an EDSA frame is prepended with a 802.1q header once queued. To fix this, push the VLAN tag to the payload if present, before checking the frame protocol. [note: we may prefer to access directly VLAN TCI from hwaccel frames, but t

[RFC 7/9] net: dsa: mv88e6352: lock CPU port from learning addresses

2015-06-01 Thread Vivien Didelot
This commit disables SA learning and refreshing for the CPU port. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx.c | 8 +--- drivers/net/dsa/mv88e6xxx.h | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/net/dsa/mv88e6xxx.c b/drivers/net/dsa/mv88e6xxx.

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

2015-06-01 Thread Vivien Didelot
This patch disables egress of unknown unicast destination addresses. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx.c | 3 ++- drivers/net/dsa/mv88e6xxx.h | 5 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/net/dsa/mv88e6xxx.c b/drivers/net/dsa/mv88e6xxx

[RFC 5/9] net: dsa: mv88e6352: disable mirroring

2015-06-01 Thread Vivien Didelot
Disable the mirroring policy in the monitor control register, since this feature is not needed. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6352.c | 10 +++--- drivers/net/dsa/mv88e6xxx.h | 1 + 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/net/dsa/mv88e6

Re: [PATCH 1/2] Bluetooth: Add reset_resume function

2015-06-01 Thread Marcel Holtmann
Hi Laura, > Bluetooth devices off of some buses such as USB may lose power across > suspend/resume. When this happens, drivers may need to have the setup > function called again and behave differently than a cold power on. > Add a reset_resume function for drivers to call. During the > reset_resum

[RFC 8/9] net: dsa: mv88e6352: set port 802.1Q mode to Secure

2015-06-01 Thread Vivien Didelot
This commit changes the 802.1Q mode of each port from Disabled to Secure. This enables the VLAN support, by checking the VTU entries on ingress. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx.c | 14 +++--- drivers/net/dsa/mv88e6xxx.h | 5 + 2 files changed, 12 insertio

[RFC 2/9] net: dsa: add basic support for VLAN operations

2015-06-01 Thread Vivien Didelot
This patch adds the glue between DSA and switchdev to add and delete SWITCHDEV_OBJ_PORT_VLAN objects. This will allow the DSA switch drivers implementing the port_vlan_add and port_vlan_del functions to access the switch VLAN database through userspace commands such as "bridge vlan". Signed-off-b

[RFC 1/9] net: dsa: add basic support for switchdev obj

2015-06-01 Thread Vivien Didelot
This patch adds the switchdev operations to add and delete switchdev objects. This will be necessary to add fdb or VLAN entries. Signed-off-by: Vivien Didelot --- net/dsa/slave.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/net/dsa/slave.c b/net/ds

[RFC 0/9] net: dsa: mv88e6352: add 802.1q VLAN support

2015-06-01 Thread Vivien Didelot
This patchset brings support for the 802.1q and VLAN operations to the Marvell 88E6352 switch and compatibles. The patch 1/9 adds more glue between switchdev and DSA. Patches 2/9 to 4/9 add the VLAN operations to DSA and the mv88e6xxx family of switches. Patches 5/9 to 9/9 is the necessary confi

[RFC 3/9] net: dsa: mv88e6xxx: add support for VTU ops

2015-06-01 Thread Vivien Didelot
This commit implements the port_vlan_add and port_vlan_del functions in the dsa_switch_driver structure for Marvell 88E6xxx compatible switches. This allows to access a switch VLAN Table Unit, and thus define VLANs from standard userspace commands such as "bridge vlan". Signed-off-by: Vivien Dide

Re: [PATCH v2 net-next] vlan: Add GRO support for non hardware accelerated vlan

2015-06-01 Thread Toshiaki Makita
On 2015/06/02 8:51, David Miller wrote: > From: Toshiaki Makita > Date: Mon, 1 Jun 2015 21:55:06 +0900 > >> Currently packets with non-hardware-accelerated vlan cannot be handled >> by GRO. This causes low performance for 802.1ad and stacked vlan, as their >> vlan tags are currently not stripped

Re: [RFC] [PATCH] net: socket: Fix the wrong returns for recvmsg and sendmsg

2015-06-01 Thread Greg KH
On Mon, Jun 01, 2015 at 09:28:00AM +, Junling Zheng wrote: > Hi, Greg: > > We found that after v3.10.73, recvmsg might return -EFAULT while -EINVAL > was expected. That means I messed up and applied something I shouldn't have, right? Can you use 'git bisect' to find the problem patch? That'

[PATCH 2/2] Bluetooth: btusb: Add reset_resume function

2015-06-01 Thread Laura Abbott
Some USB hubs may lose power across suspend/resume. Add a reset_resume callback to properly reset those bluetoot devices. Signed-off-by: Laura Abbott --- Now the setup function is called again with the HCI_RESET_RESUME flag set. The various functions could then use that RESET_RESUME flag to dete

[PATCH 1/2] Bluetooth: Add reset_resume function

2015-06-01 Thread Laura Abbott
Bluetooth devices off of some buses such as USB may lose power across suspend/resume. When this happens, drivers may need to have the setup function called again and behave differently than a cold power on. Add a reset_resume function for drivers to call. During the reset_resume case, the flag HCI_

Re: [PATCH 1/1] net: core: 'ethtool' issue with querying phy settings

2015-06-01 Thread Ben Hutchings
On Mon, 2015-06-01 at 16:53 -0700, Arun Parameswaran wrote: > On 15-06-01 02:46 PM, David Miller wrote: > > From: Arun Parameswaran > > Date: Mon, 1 Jun 2015 14:41:43 -0700 > > > >> It would be nice for the 'ethtool' to be flexible to support querying > >> specific PHY irrespective of the net imp

[GIT] Networking

2015-06-01 Thread David Miller
1) Various VTI tunnel (mark handling, PMTU) bug fixes from Alexander Duyck and Steffen Klassert. 2) Revert ethtool PHY query change, it wasn't correct. The PHY address selected by the driver running the PHY to MAC connection decides what PHY address GET ethtool operations return informa

Re: [RFC][PATCH] x86: remove vmalloc.h from asm/io.h

2015-06-01 Thread Stephen Rothwell
Hi Dave, On Mon, 01 Jun 2015 15:59:31 -0700 (PDT) David Miller wrote: > > From: Stephen Rothwell > Date: Fri, 29 May 2015 19:18:47 +1000 > > > Nothing in asm/io.h uses anything from vmalloc.h, so remove the include > > and fix up the build problems in an allmodconfig (64 bit and 32 bit) > > bu

Re: [RFC 0/3] DSA and Marvell 88E6352 802.1q support

2015-06-01 Thread Vivien Didelot
On May 29, 2015, at 1:02 AM, Scott Feldman sfel...@gmail.com wrote: > On Thu, May 28, 2015 at 2:37 PM, Vivien Didelot > wrote: >> This RFC is based on v4.1-rc3. >> >> It is meant to get a glance to the commits responsible to implement the >> necessary NDOs between DSA and the Marvell 88E6352 swi

Re: [RFC 0/3] DSA and Marvell 88E6352 802.1q support

2015-06-01 Thread Florian Fainelli
On 31/05/15 14:21, Scott Feldman wrote: >> Hi Scott, >> >> If I understand you correctly, that means we would expect users to >> use bridge commands even on non-bridged dsa ports. I don't think we can >> make this kind of assumption. Users will expect configure VLANs on >> non-bridge ports as they

Re: [RFC net-next 0/3] IP imposition of per-nh MPLS encap

2015-06-01 Thread Thomas Graf
On 06/01/15 at 05:46pm, Robert Shearman wrote: > In order to be able to function as a Label Edge Router in an MPLS > network, it is necessary to be able to take IP packets and impose an > MPLS encap and forward them out. The traditional approach of setting > up an interface for each "tunnel" endpoi

Re: [PATCH 1/2] geneve: allow user to specify TTL for tunnel frames

2015-06-01 Thread David Miller
From: "John W. Linville" Date: Mon, 1 Jun 2015 15:51:34 -0400 > Signed-off-by: John W. Linville Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 2/2] geneve: allow user to specify TOS info for tunnel frames

2015-06-01 Thread David Miller
From: "John W. Linville" Date: Mon, 1 Jun 2015 15:51:35 -0400 > Signed-off-by: John W. Linville Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH net-next 0/3] cxgb4/cxgb4vf: Adds support for Chelsio T6 adapter

2015-06-01 Thread David Miller
From: David Miller Date: Mon, 01 Jun 2015 17:03:21 -0700 (PDT) > From: Hariprasad Shenai > Date: Tue, 2 Jun 2015 06:32:02 +0530 > >> This patch series adds the following: >> Adds NIC driver support for T6 adapter >> Adds vNIC driver support for T6 adapter >> >> This patch series has been crea

Re: [PATCH net-next 0/3] cxgb4/cxgb4vf: Adds support for Chelsio T6 adapter

2015-06-01 Thread David Miller
From: Hariprasad Shenai Date: Tue, 2 Jun 2015 06:32:02 +0530 > This patch series adds the following: > Adds NIC driver support for T6 adapter > Adds vNIC driver support for T6 adapter > > This patch series has been created against net-next tree and includes > patches on cxgb4 and cxgb4vf driver

Re: [PATCH net-next 0/5] rocker: enable by default untagged VLAN support

2015-06-01 Thread David Miller
From: sfel...@gmail.com Date: Mon, 1 Jun 2015 11:39:01 -0700 > From: Scott Feldman > > This patch set is a followup to Simon Horman's RFC patch: > >[PATCH/RFC net-next] rocker: by default accept untagged packets > > Now, on port probe, we install untagged VLAN (vid=0) support for each por

Re: [PATCH net] Netfilter fix for net

2015-06-01 Thread David Miller
From: Pablo Neira Ayuso Date: Mon, 1 Jun 2015 19:54:01 +0200 > The following patch reverts the ebtables chunk that enforces counters that was > introduced in the recently applied d26e2c9ffa38 ('Revert "netfilter: ensure > number of counters is >0 in do_replace()"') since this breaks ebtables. >

Re: [PATCH 1/1] net: core: 'ethtool' issue with querying phy settings

2015-06-01 Thread David Miller
From: Arun Parameswaran Date: Mon, 1 Jun 2015 16:53:19 -0700 > Just so that I don’t make this mistake in the future and to > understand this better, does this mean that the 'phyad' parameter > specified in the 'ethtool' command line is ignored ? It cannot serve any valid purpose for a GET, so ye

Re: [RFC] [PATCH] net: socket: Fix the wrong returns for recvmsg and sendmsg

2015-06-01 Thread David Miller
From: Junling Zheng Date: Mon, 1 Jun 2015 09:28:00 + > We found that after v3.10.73, recvmsg might return -EFAULT while -EINVAL > was expected. > > We tested it through the recvmsg01 testcase come from LTP testsuit. It set > msg->msg_namelen to -1 and the recvmsg syscall returned errno 14, w

Re: [PATCH 1/1] net: core: 'ethtool' issue with querying phy settings

2015-06-01 Thread Arun Parameswaran
On 15-06-01 02:46 PM, David Miller wrote: > From: Arun Parameswaran > Date: Mon, 1 Jun 2015 14:41:43 -0700 > >> It would be nice for the 'ethtool' to be flexible to support querying >> specific PHY irrespective of the net implementation, but that is being >> discussed in the other thread. > > Pl

Re: [PATCH v2 net-next] vlan: Add GRO support for non hardware accelerated vlan

2015-06-01 Thread David Miller
From: Toshiaki Makita Date: Mon, 1 Jun 2015 21:55:06 +0900 > Currently packets with non-hardware-accelerated vlan cannot be handled > by GRO. This causes low performance for 802.1ad and stacked vlan, as their > vlan tags are currently not stripped by hardware. > > This patch adds GRO support fo

Re: [PATCH v6 2/8] tun: add tun_is_little_endian() helper

2015-06-01 Thread David Miller
From: "Michael S. Tsirkin" Date: Mon, 1 Jun 2015 12:29:43 +0200 > On Fri, Apr 24, 2015 at 02:24:38PM +0200, Greg Kurz wrote: >> Signed-off-by: Greg Kurz > > Dave, could you please ack merging this through > the virtio tree? Acked-by: David S. Miller -- To unsubscribe from this list: send the

Re: [PATCH v6 3/8] macvtap: introduce macvtap_is_little_endian() helper

2015-06-01 Thread David Miller
From: "Michael S. Tsirkin" Date: Mon, 1 Jun 2015 12:30:16 +0200 > On Fri, Apr 24, 2015 at 02:24:48PM +0200, Greg Kurz wrote: >> Signed-off-by: Greg Kurz > > Dave, could you pls ack merging this through the virtio tree? Acked-by: David S. Miller -- To unsubscribe from this list: send the line

Re: [net-next RFC 05/14] route: Per route tunnel metadata with RTA_TUNNEL

2015-06-01 Thread Thomas Graf
On 06/01/15 at 05:51pm, Robert Shearman wrote: > On 01/06/15 15:27, Thomas Graf wrote: > >Introduces a new Netlink attribute RTA_TUNNEL which allows routes > >to set tunnel transmit metadata and specify the tunnel endpoint or > >tunnel id on a per route basis. The route must point to a tunnel > >de

Re: [PATCH net-next] cxgb4: remove unused fn to enable/disable db coalescing

2015-06-01 Thread David Miller
From: Hariprasad Shenai Date: Mon, 1 Jun 2015 20:07:41 +0530 > Remove unused function cxgb4_enable_db_coalescing() and > cxgb4_disable_db_coalescing() > > Signed-off-by: Hariprasad Shenai Applied, thank you. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a

Re: pull-request: wireless-drivers 2015-06-01

2015-06-01 Thread David Miller
From: Kalle Valo Date: Mon, 01 Jun 2015 09:29:32 +0300 > here are three more important fixes I'm hoping to get to 4.1 still, I > hope I'm not too late with these. Please let me know if there are any > problems. Pulled, thanks Kalle. -- To unsubscribe from this list: send the line "unsubscribe ne

Re: [PATCH net-next v2] rocker: remove rocker parameter from functions that have rocker_port parameter

2015-06-01 Thread David Miller
From: Simon Horman Date: Mon, 1 Jun 2015 13:25:04 +0900 > The rocker (switch) of a rocker_port may be trivially obtained from > the latter it seems cleaner not to pass the former to a function when > the latter is being passed anyway. > > rocker_port_rx_proc() is omitted from this change as it

Re: [PATCH] vti6: Add pmtu handling to vti6_xmit.

2015-06-01 Thread David Miller
From: Alexander Duyck Date: Fri, 29 May 2015 11:28:26 -0700 > From: Steffen Klassert > > We currently rely on the PMTU discovery of xfrm. > However if a packet is localy sent, the PMTU mechanism > of xfrm tries to to local socket notification what > might not work for applications like ping tha

Re: [RFC][PATCH] x86: remove vmalloc.h from asm/io.h

2015-06-01 Thread David Miller
From: Stephen Rothwell Date: Fri, 29 May 2015 19:18:47 +1000 > Nothing in asm/io.h uses anything from vmalloc.h, so remove the include > and fix up the build problems in an allmodconfig (64 bit and 32 bit) > build. > > This may be the place where x86 builds get vmalloc.h implicitly included > an

Re: [PATCH net v2 2/2] mpls: fix mpls route deletes to not check for route scope

2015-06-01 Thread David Miller
From: Roopa Prabhu Date: Wed, 27 May 2015 11:37:05 -0700 > - if (rtm->rtm_scope != RT_SCOPE_UNIVERSE) > - goto errout; > + if (nlh->nlmsg_type != RTM_DELROUTE && > + rtm->rtm_scope != RT_SCOPE_UNIVERSE) > + goto errout; > + This is not indented

Re: [PATCH] bnx2x: Alloc 4k fragment for each rx ring buffer element

2015-06-01 Thread David Miller
From: Gabriel Krisman Bertazi Date: Wed, 27 May 2015 13:51:43 -0300 > Subject: [PATCH] bnx2x: Alloc 4k fragment for each rx ring buffer element > > The driver allocates one page for each buffer on the rx ring, which is > too much on architectures like ppc64 and can cause unexpected allocation >

Re: [PATCH] sctp: fix ASCONF list handling

2015-06-01 Thread Marcelo Ricardo Leitner
On Mon, Jun 01, 2015 at 10:00:28AM -0400, Neil Horman wrote: > On Fri, May 29, 2015 at 01:50:37PM -0300, Marcelo Ricardo Leitner wrote: > > On Fri, May 29, 2015 at 09:17:26AM -0400, Neil Horman wrote: > > > On Thu, May 28, 2015 at 11:46:29AM -0300, Marcelo Ricardo Leitner wrote: > > > > On Thu, May

Re: [v4] QE: Move QE from arch/powerpc to drivers/soc

2015-06-01 Thread Scott Wood
On Sun, 2015-05-31 at 23:09 -0500, Zhao Qiang-B45475 wrote: > On Fri, Jan 30, 2015 at 1:22PM +0800, Wood Scott wrote: > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Friday, January 30, 2015 1:22 PM > > To: Zhao Qiang-B45475 > > Cc: linux-ker...@vger.kernel.org; netdev@vger.

Re: [PATCH v3 net-next] openvswitch: include datapath actions with sampled-packet upcall to userspace

2015-06-01 Thread David Miller
From: Neil McKee Date: Tue, 26 May 2015 20:59:43 -0700 > If new optional attribute OVS_USERSPACE_ATTR_ACTIONS is added to an > OVS_ACTION_ATTR_USERSPACE action, then include the datapath actions > in the upcall. > > This Directly associates the sampled packet with the path it takes > through the

Re: [PATCH v2 net-next] vlan: Add GRO support for non hardware accelerated vlan

2015-06-01 Thread David Miller
From: Eric Dumazet Date: Mon, 01 Jun 2015 07:12:37 -0700 > Can we ensure offload_base contains a sensible order of expected > types ? This seemed easy enough to kill, so I pushed the following into net-next: [PATCH] net: Add priority to packet_offload objects. When we scan

Re: [PATCH 1/1] net: core: 'ethtool' issue with querying phy settings

2015-06-01 Thread David Miller
From: Arun Parameswaran Date: Mon, 1 Jun 2015 14:41:43 -0700 > It would be nice for the 'ethtool' to be flexible to support querying > specific PHY irrespective of the net implementation, but that is being > discussed in the other thread. Please stop arguing about this, it isn't valid. Your dev

Re: [PATCH 1/1] net: core: 'ethtool' issue with querying phy settings

2015-06-01 Thread Arun Parameswaran
On 15-06-01 11:05 AM, Ben Hutchings wrote: > On Sun, 2015-05-31 at 17:19 -0700, David Miller wrote: >> From: Ben Hutchings >> Date: Sun, 31 May 2015 20:54:06 +0100 >> >>> On Fri, 2015-05-22 at 16:15 -0400, David Miller wrote: From: Arun Parameswaran Date: Wed, 20 May 2015 14:35:30 -0700

Re: [PATCH 0/2] Fix couple of issues with 'ethtool' get/set API's

2015-06-01 Thread David Miller
From: Ben Hutchings Date: Mon, 01 Jun 2015 20:29:23 +0100 > On Mon, 2015-06-01 at 12:12 -0700, Arun Parameswaran wrote: >> But this prevents the 'ethtool' from being used to get/set data of >> specific PHY's. > > That is fine because it is meant to manage the net device's own link (in > this cas

Re: [PATCH 0/2] Fix couple of issues with 'ethtool' get/set API's

2015-06-01 Thread Arun Parameswaran
On 15-06-01 12:29 PM, Ben Hutchings wrote: > On Mon, 2015-06-01 at 12:12 -0700, Arun Parameswaran wrote: >> On 15-06-01 11:07 AM, Ben Hutchings wrote: >>> On Mon, 2015-06-01 at 10:14 -0700, Arun Parameswaran wrote: On 15-05-31 12:59 PM, Ben Hutchings wrote: > On Fri, 2015-05-22 at 15:43 -0

Re: [PATCH] ipv4/udp: Verify multicast group is ours in upd_v4_early_demux()

2015-06-01 Thread Sergei Shtylyov
Hello. On 06/01/2015 07:34 PM, Shawn Bohrer wrote: From: Shawn Bohrer 421b3885bf6d56391297844f43fb7154a6396e12 "udp: ipv4: Add udp early demux" introduced a regression that allowed sockets bound to INADDR_ANY to receive packets from multicast groups that the socket had not joined. For examp

Re: [PATCH net-next v2] rocker: remove rocker parameter from functions that have rocker_port parameter

2015-06-01 Thread Andy Gospodarek
On Mon, Jun 01, 2015 at 01:25:04PM +0900, Simon Horman wrote: > The rocker (switch) of a rocker_port may be trivially obtained from > the latter it seems cleaner not to pass the former to a function when > the latter is being passed anyway. Excellent idea and commonly used in many other hardware dr

[PATCH 2/2] geneve: allow user to specify TOS info for tunnel frames

2015-06-01 Thread John W. Linville
Signed-off-by: John W. Linville --- I have the corresponding iproute2 patch ready, but I am holding it for now to avoid confusion on the list and such... drivers/net/geneve.c | 18 ++ include/uapi/linux/if_link.h | 1 + 2 files changed, 15 insertions(+), 4 deletions(-)

[PATCH 1/2] geneve: allow user to specify TTL for tunnel frames

2015-06-01 Thread John W. Linville
Signed-off-by: John W. Linville --- I have the corresponding iproute2 patch ready, but I am holding it for now to avoid confusion on the list and such... drivers/net/geneve.c | 18 ++ include/uapi/linux/if_link.h | 1 + 2 files changed, 15 insertions(+), 4 deletions(-)

[PATCH net-next 3/3] cxgb4vf: Adds SRIOV driver changes for T6 adapter

2015-06-01 Thread Hariprasad Shenai
Adds vnic driver register related changes for T6 adapter Signed-off-by: Hariprasad Shenai --- drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 45 ++ drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h | 8 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c | 24

[PATCH net-next 2/3] cxgb4: Adds support for T6 adapter

2015-06-01 Thread Hariprasad Shenai
Adds NIC driver related changes for T6 adapter. Register related changes, MC related changes, VF related changes, doorbell related changes, debugfs changes, etc Signed-off-by: Hariprasad Shenai --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 11 +- drivers/net/ethernet/chelsio/cxgb4/cx

[PATCH net-next 1/3] cxgb4: Add is_t6 macro and T6 register ranges

2015-06-01 Thread Hariprasad Shenai
Adds new macro is_t6 and adds the register address range for T6 adapter Signed-off-by: Hariprasad Shenai --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 10 + drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 344 + 2 files changed, 354 insertions(+) diff --git a/driver

[PATCH net-next 0/3] cxgb4/cxgb4vf: Adds support for Chelsio T6 adapter

2015-06-01 Thread Hariprasad Shenai
Hi, This patch series adds the following: Adds NIC driver support for T6 adapter Adds vNIC driver support for T6 adapter This patch series has been created against net-next tree and includes patches on cxgb4 and cxgb4vf driver. We have included all the maintainers of respective drivers. Kindly r

Re: [PULL] vhost: cleanups and fixes

2015-06-01 Thread Michael S. Tsirkin
The mail subject is wrong or course - the one in the pull request is correct. Sorry about that - this shouldn't interfere with merging it, I'll correct it for future requests. -- MST -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.ke

Re: [PATCH 0/2] Fix couple of issues with 'ethtool' get/set API's

2015-06-01 Thread Ben Hutchings
On Mon, 2015-06-01 at 12:12 -0700, Arun Parameswaran wrote: > On 15-06-01 11:07 AM, Ben Hutchings wrote: > > On Mon, 2015-06-01 at 10:14 -0700, Arun Parameswaran wrote: > >> On 15-05-31 12:59 PM, Ben Hutchings wrote: > >>> On Fri, 2015-05-22 at 15:43 -0700, Arun Parameswaran wrote: > Hi, > >>>

[PULL] vhost: cleanups and fixes

2015-06-01 Thread Michael S. Tsirkin
The following changes since commit c65b99f046843d2455aa231747b5a07a999a9f3d: Linux 4.1-rc6 (2015-05-31 19:01:07 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to 8a7b19d8b542b87bccc3eaaf81

Re: [PATCH 0/2] Fix couple of issues with 'ethtool' get/set API's

2015-06-01 Thread Arun Parameswaran
On 15-06-01 11:07 AM, Ben Hutchings wrote: > On Mon, 2015-06-01 at 10:14 -0700, Arun Parameswaran wrote: >> On 15-05-31 12:59 PM, Ben Hutchings wrote: >>> On Fri, 2015-05-22 at 15:43 -0700, Arun Parameswaran wrote: Hi, The patch fixes 2 issues with 'ethtool' getting/setting parametres in

Re: [PATCH net] bnx2x: Move statistics implementation into semaphores

2015-06-01 Thread David Miller
From: Yuval Mintz Date: Mon, 1 Jun 2015 15:08:18 +0300 > Commit dff173de84958 ("bnx2x: Fix statistics locking scheme") changed the > bnx2x locking around statistics state into using a mutex - but the lock > is being accessed via a timer which is forbidden. > > [If compiled with CONFIG_DEBUG_MUTE

  1   2   >