ATENCIÓN;

2017-03-14 Thread administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de

[PATCH net] fjes: Fix wrong netdevice feature flags

2017-03-14 Thread Taku Izumi
This patch fixes netdev->features for Extended Socket network device. Currently Extended Socket network device's netdev->feature claims NETIF_F_HW_CSUM, however this is completely wrong. There's no feature of checksum offloading. That causes invalid TCP/UDP checksum and packet rjection when IP

Re: net/sctp: recursive locking in sctp_do_peeloff

2017-03-14 Thread Cong Wang
On Fri, Mar 10, 2017 at 12:04 PM, Dmitry Vyukov wrote: > On Fri, Mar 10, 2017 at 8:46 PM, Marcelo Ricardo Leitner > wrote: >> On Fri, Mar 10, 2017 at 4:11 PM, Dmitry Vyukov wrote: >>> Hello, >>> >>> I've got the following

Re: [PATCH v2 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-03-14 Thread Akshay Bhat
Hi Wolfgang, On Tue, Mar 14, 2017 at 2:08 PM, Wolfgang Grandegger wrote: ...snip >> /disconnect cable >> can0 2088 [8] 00 00 00 19 00 00 28 00 ERRORFRAME >> protocol-violation{{}{acknowledge-slot}} >> bus-error >>

Re: openvswitch conntrack and nat problem in first packet reply with RST

2017-03-14 Thread wenxu
you are correct! Thanks very much. It's works set a new example as following. ip,in_port=2 actions=ct(table=1,zone=1,nat) ip,in_port=3 actions=ct(table=1,zone=1,nat) table=1, ct_state=+new+trk,tcp,in_port=2,tp_dst=123 actions=ct(commit,zone=1,nat(src=2.2.1.7)),output:3 table=1,

Re: [PATCH v2 net-next] mlx4: Better use of order-0 pages in RX path

2017-03-14 Thread Alexei Starovoitov
On Tue, Mar 14, 2017 at 08:11:43AM -0700, Eric Dumazet wrote: > +static struct page *mlx4_alloc_page(struct mlx4_en_priv *priv, > + struct mlx4_en_rx_ring *ring, > + dma_addr_t *dma, > + unsigned int

[GIT] Networking

2017-03-14 Thread David Miller
1) Ensure that mtu is at least IPV6_MIN_MTU in ipv6 VTI tunnel driver, from Steffen Klassert. 2) Fix crashes when user tries to get_next_key on an LPM bpf map, from Alexei Starovoitov. 3) Fix detection of VLAN fitlering feature for bnx2x VF devices, from Michal Schmidt. 4) We can get

[PATCH net] bridge: ebtables: fix reception of frames DNAT-ed to bridge device

2017-03-14 Thread Linus Lüssing
When trying to redirect bridged frames to the bridge device itself via the ebtables nat-prerouting chain and the dnat target then this currently fails: The ethernet destination of the frame is dnat'ed to the MAC address of the bridge itself just fine and the correctly altered frame can even be

[PATCH] net: unix: properly re-increment inflight counter of GC discarded candidates

2017-03-14 Thread Andrey Ulanov
Dmitry has reported that a BUG_ON() condition in unix_notinflight() may be triggered by a simple code that forwards unix socket in an SCM_RIGHTS message. That is caused by incorrect unix socket GC implementation in unix_gc(). The GC first collects list of candidates, then (a) decrements their

Projects Finance & Business expansion

2017-03-14 Thread Slegt Financiële Dienstverlening B . V .
Dear Sir/Madam we are Slegt Financiële Dienstverlening B.V. Re: Projects Finance & Business expansion. Kindly be informed that we are investment company and we offer a wide range of project finance packages/services to Private, Corporate & Government Agencies. And Our Financing Options and

Re: [PATCHv2 net-next 0/4] update ipvs sysctl document

2017-03-14 Thread Hangbin Liu
2017-03-13 17:14 GMT+08:00 Simon Horman : >> > >> > Hangbin Liu (4): >> > ipvs: fix sync_threshold description and add sync_refresh_period, >> > sync_retries >> > ipvs: Document sysctl sync_qlen_max and sync_sock_size >> > ipvs: Document sysctl sync_ports >> > ipvs:

Re: [PATCH net-next 4/4] net-next: dsa: add dsa support for Mediatek MT7530 switch

2017-03-14 Thread kbuild test robot
Hi Sean, [auto build test WARNING on robh/for-next] [also build test WARNING on v4.11-rc2 next-20170310] [cannot apply to net-next/master net/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH net-next v3] net: ipv4: add support for ECMP hash policy choice

2017-03-14 Thread Tom Herbert
On Tue, Mar 14, 2017 at 5:24 PM, David Miller wrote: > From: Stephen Hemminger > Date: Tue, 14 Mar 2017 13:25:06 -0700 > >> On Tue, 14 Mar 2017 11:48:37 -0700 (PDT) >> David Miller wrote: >> >>> From: Nikolay Aleksandrov

Re: [PATCH net-next 4/4] net-next: dsa: add dsa support for Mediatek MT7530 switch

2017-03-14 Thread kbuild test robot
Hi Sean, [auto build test WARNING on robh/for-next] [also build test WARNING on v4.11-rc2 next-20170310] [cannot apply to net-next/master net/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH-v5 1/4] vsock: track pkt owner vsock

2017-03-14 Thread Peng Tao
So that we can cancel a queued pkt later if necessary. Signed-off-by: Peng Tao --- include/linux/virtio_vsock.h| 3 +++ net/vmw_vsock/virtio_transport_common.c | 7 +++ 2 files changed, 10 insertions(+) diff --git a/include/linux/virtio_vsock.h

[PATCH-v5 2/4] vhost-vsock: add pkt cancel capability

2017-03-14 Thread Peng Tao
To allow canceling all packets of a connection. Reviewed-by: Stefan Hajnoczi Reviewed-by: Jorgen Hansen Signed-off-by: Peng Tao --- drivers/vhost/vsock.c | 41 + include/net/af_vsock.h | 3

[PATCH-v5 3/4] vsock: add pkt cancel capability

2017-03-14 Thread Peng Tao
Reviewed-by: Stefan Hajnoczi Signed-off-by: Peng Tao --- net/vmw_vsock/virtio_transport.c | 42 1 file changed, 42 insertions(+) diff --git a/net/vmw_vsock/virtio_transport.c b/net/vmw_vsock/virtio_transport.c

[PATCH-v5 4/4] vsock: cancel packets when failing to connect

2017-03-14 Thread Peng Tao
Otherwise we'll leave the packets queued until releasing vsock device. E.g., if guest is slow to start up, resulting ETIMEDOUT on connect, guest will get the connect requests from failed host sockets. Reviewed-by: Stefan Hajnoczi Reviewed-by: Jorgen Hansen

[PATCH-v5 0/4] vsock: cancel connect packets when failing to connect

2017-03-14 Thread Peng Tao
Currently, if a connect call fails on a signal or timeout (e.g., guest is still in the process of starting up), we'll just return to caller and leave the connect packet queued and they are sent even though the connection is considered a failure, which can confuse applications with unwanted false

Re: [net-next 01/13] i40evf: fix client warnings

2017-03-14 Thread David Miller
From: Jeff Kirsher Date: Tue, 14 Mar 2017 17:44:44 -0700 > On Tue, 2017-03-14 at 17:39 -0700, David Miller wrote: >> From: Jeff Kirsher >> Date: Tue, 14 Mar 2017 15:32:56 -0700 >> >> > From: Faisal Latif >> >

Re: [net-next 01/13] i40evf: fix client warnings

2017-03-14 Thread Jeff Kirsher
On Tue, 2017-03-14 at 17:39 -0700, David Miller wrote: > From: Jeff Kirsher > Date: Tue, 14 Mar 2017 15:32:56 -0700 > > > From: Faisal Latif > > > > The function prototype in i40evf_client.h are giving warnings while > > compiling i40iwvf

Re: [net-next 01/13] i40evf: fix client warnings

2017-03-14 Thread David Miller
From: Jeff Kirsher Date: Tue, 14 Mar 2017 15:32:56 -0700 > From: Faisal Latif > > The function prototype in i40evf_client.h are giving warnings while > compiling i40iwvf module. Move these function prototypes to i40evf.h. > Also fix return

Re: [PATCH v2 0/5] MIPS: BPF: JIT fixes and improvements.

2017-03-14 Thread David Miller
From: David Daney Date: Tue, 14 Mar 2017 17:34:02 -0700 > On 03/14/2017 05:29 PM, David Miller wrote: >> From: David Daney >> Date: Tue, 14 Mar 2017 14:21:39 -0700 >> >>> Changes from v1: >>> >>> - Use unsigned access for SKF_AD_HATYPE >>>

Re: [PATCH v2 0/5] MIPS: BPF: JIT fixes and improvements.

2017-03-14 Thread David Daney
On 03/14/2017 05:29 PM, David Miller wrote: From: David Daney Date: Tue, 14 Mar 2017 14:21:39 -0700 Changes from v1: - Use unsigned access for SKF_AD_HATYPE - Added three more patches for other problems found. Testing the BPF JIT on Cavium OCTEON (mips64) with

Re: [PATCH v2 0/5] MIPS: BPF: JIT fixes and improvements.

2017-03-14 Thread David Miller
From: David Daney Date: Tue, 14 Mar 2017 14:21:39 -0700 > Changes from v1: > > - Use unsigned access for SKF_AD_HATYPE > > - Added three more patches for other problems found. > > > Testing the BPF JIT on Cavium OCTEON (mips64) with the test-bpf module >

Re: [PATCH net-next v3] net: ipv4: add support for ECMP hash policy choice

2017-03-14 Thread David Miller
From: Stephen Hemminger Date: Tue, 14 Mar 2017 13:25:06 -0700 > On Tue, 14 Mar 2017 11:48:37 -0700 (PDT) > David Miller wrote: > >> From: Nikolay Aleksandrov >> Date: Tue, 14 Mar 2017 17:58:46 +0200 >> >> > On

Re: [PATCH v2 2/2] iproute2: add support for invisible qdisc dumping

2017-03-14 Thread Stephen Hemminger
On Wed, 8 Mar 2017 13:04:42 +0100 (CET) Jiri Kosina wrote: > From: Jiri Kosina > > Support the new TCA_DUMP_INVISIBLE netlink attribute that allows asking > kernel to perform 'full qdisc dump', as for historical reasons some of the > default qdiscs are

Re: [PATCH net-next v3] net: ipv4: add support for ECMP hash policy choice

2017-03-14 Thread David Ahern
On 3/14/17 5:27 PM, Stephen Hemminger wrote: > On Tue, 14 Mar 2017 15:38:40 -0700 > Roopa Prabhu wrote: > >>> That's what my initial version did, but this was discussed during >>> NetConf in Seville >>> and it was decided that it's best to make a global

Re: [PATCH iproute2] man: add examples to ip.8

2017-03-14 Thread Stephen Hemminger
On Sun, 12 Mar 2017 21:41:16 +0100 Alexander Alemayhu wrote: > Having some examples in the top level man page might make it a little bit > easier > for new users to get started. Reused some words / sentences from the existing > man pages. > > Suggested-by: 積丹尼 Dan

Re: [PATCH net-next v3] net: ipv4: add support for ECMP hash policy choice

2017-03-14 Thread Stephen Hemminger
On Tue, 14 Mar 2017 15:38:40 -0700 Roopa Prabhu wrote: > >> >> > That's what my initial version did, but this was discussed during > >> >> > NetConf in Seville > >> >> > and it was decided that it's best to make a global sysctl, thus the > >> >> > change. > >> >> >

[PATCH v4.11] cgroup, net_cls: iterate the fds of only the tasks which are being migrated

2017-03-14 Thread Tejun Heo
The net_cls controller controls the classid field of each socket which is associated with the cgroup. Because the classid is per-socket attribute, when a task migrates to another cgroup or the configured classid of the cgroup changes, the controller needs to walk all sockets and update the

Re: [net-next sample action optimization 3/3] openvswitch: Optimize sample action for the clone use cases

2017-03-14 Thread Andy Zhou
> Actions parameter which hints if it is recirc or sample. We can add > recic-id param and set it if it is recic case. > will this work? > Just posted v2. I added a patch in the end to implement this refactoring as suggested.

[net-next sample action optimization v2 0/4]

2017-03-14 Thread Andy Zhou
The sample action can be used for translating Openflow 'clone' action. However its implementation has not been sufficiently optimized for this use case. This series attempts to close the gap. Patch 3 commit message has more details on the specific optimizations implemented. Andy Zhou (4):

[net-next sample action optimization v2 3/4] openvswitch: Optimize sample action for the clone use cases

2017-03-14 Thread Andy Zhou
With the introduction of open flow 'clone' action, the OVS user space can now translate the 'clone' action into kernel datapath 'sample' action, with 100% probability, to ensure that the clone semantics, which is that the packet seen by the clone action is the same as the packet seen by the action

[net-next sample action optimization v2 4/4] Openvswitch: Refactor sample and recirc actions implementation

2017-03-14 Thread Andy Zhou
Added execute_or_defer_actions() that both sample and recirc action's implementation can use. Signed-off-by: Andy Zhou --- net/openvswitch/actions.c | 96 +-- 1 file changed, 59 insertions(+), 37 deletions(-) diff --git

[net-next sample action optimization v2 2/4] openvswitch: Refactor recirc key allocation.

2017-03-14 Thread Andy Zhou
The logic of allocating and copy key for each 'exec_actions_level' was specific to execute_recirc(). However, future patches will reuse as well. Refactor the logic into its own function clone_key(). Signed-off-by: Andy Zhou --- net/openvswitch/actions.c | 66

[net-next sample action optimization v2 1/4] openvswitch: Deferred fifo API change.

2017-03-14 Thread Andy Zhou
add_deferred_actions() API currently requires actions to be passed in as a fully encoded netlink message. So far both 'sample' and 'recirc' actions happens to carry actions as fully encoded netlink messages. However, this requirement is more restrictive than necessary, future patch will need to

Re: [PATCH v2 0/5] MIPS: BPF: JIT fixes and improvements.

2017-03-14 Thread David Daney
On 03/14/2017 03:49 PM, Alexei Starovoitov wrote: On Tue, Mar 14, 2017 at 02:21:39PM -0700, David Daney wrote: Changes from v1: - Use unsigned access for SKF_AD_HATYPE - Added three more patches for other problems found. Testing the BPF JIT on Cavium OCTEON (mips64) with the test-bpf

Re: [PATCH v2 0/5] MIPS: BPF: JIT fixes and improvements.

2017-03-14 Thread Alexei Starovoitov
On Tue, Mar 14, 2017 at 02:21:39PM -0700, David Daney wrote: > Changes from v1: > > - Use unsigned access for SKF_AD_HATYPE > > - Added three more patches for other problems found. > > > Testing the BPF JIT on Cavium OCTEON (mips64) with the test-bpf module > identified some failures and

Re: openvswitch conntrack and nat problem in first packet reply with RST

2017-03-14 Thread Joe Stringer
On 13 March 2017 at 20:18, wenxu wrote: > Hi all, > > There is a simple test for conntrack and nat in openvswitch. I want to do > stateful > firewall with conntrack then do nat > > netns1 port1 with ip 10.0.0.7 > netns2 port2 with ip 1.1.1.7 > > netns1 10.0.0.7 src -nat to

Re: [PATCH net-next v3] net: ipv4: add support for ECMP hash policy choice

2017-03-14 Thread Roopa Prabhu
On Tue, Mar 14, 2017 at 2:42 PM, Stephen Hemminger wrote: > On Tue, 14 Mar 2017 14:10:22 -0700 > Roopa Prabhu wrote: > >> On Tue, Mar 14, 2017 at 1:25 PM, Stephen Hemminger >> wrote: >> > On Tue, 14 Mar 2017

Re: [PATCH v2 0/5] MIPS: BPF: JIT fixes and improvements.

2017-03-14 Thread David Daney
On 03/14/2017 03:29 PM, Daniel Borkmann wrote: On 03/14/2017 10:21 PM, David Daney wrote: Changes from v1: - Use unsigned access for SKF_AD_HATYPE - Added three more patches for other problems found. Testing the BPF JIT on Cavium OCTEON (mips64) with the test-bpf module identified

[net-next 10/13] i40e/i40evf: Add support for mapping pages with DMA attributes

2017-03-14 Thread Jeff Kirsher
From: Alexander Duyck This patch adds support for DMA_ATTR_SKIP_CPU_SYNC and DMA_ATTR_WEAK_ORDERING. By enabling both of these for the Rx path we are able to see performance improvements on architectures that implement either one due to the fact that page mapping and

[net-next 11/13] i40e: Allow untrusted VFs to have more filters

2017-03-14 Thread Jeff Kirsher
From: Mitch Williams Our original filter limit of 8 was based on behavior that we saw from Linux VMs. Now we're running Other Operating Systems under KVM and we see that they commonly use more MAC filters. Since it seems weird to require people to enable trusted VFs

[net-next 06/13] i40e: don't add more vectors to num_lan_msix than number of CPUs

2017-03-14 Thread Jeff Kirsher
From: Jacob Keller This is a solution to avoid adding too many queues to num_lan_msix. A recent refactor of queue pairs accidentally added all remaining vectors to the num_lan_msix which can have adverse performance issues, due to enabling more queues than the number of

[net-next 13/13] i40e: rename auto_disable_flags to hw_disabled_flags

2017-03-14 Thread Jeff Kirsher
From: Harshitha Ramamurthy A previous commit introduced a field that tracks the features that are disabled due to HW resource limitations as opposed to the featured disabled by the user. This patch changes the name of the field to make it more readable since it

[net-next 12/13] i40e/i40evf: Change version from 1.6.27 to 2.1.7

2017-03-14 Thread Jeff Kirsher
From: Bimmy Pujari Signed-off-by: Bimmy Pujari Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/i40e/i40e_main.c | 6 +++---

[net-next 08/13] i40e: fix RSS queues only operating on PF0

2017-03-14 Thread Jeff Kirsher
From: Lihong Yang This patch fixes the issue that RSS offloading only works on PF0 by using the direct register writing of the hash keys for the VFs instead of using the admin queue command to do so. Change-ID: Ia02cda7dbaa23def342e8786097a2c03db6f580b Signed-off-by:

[net-next 04/13] i40evf: add client interface

2017-03-14 Thread Jeff Kirsher
From: Mitch Williams In preparation for upcoming RDMA-capable hardware, add a client interface to the VF driver. This is a slightly-simplified version of the PF client interface, with the names changed to protect the innocent. Due to the nature of the VF<->PF

[net-next 09/13] i40e: Clarify steps in MAC/VLAN filters initialization routine

2017-03-14 Thread Jeff Kirsher
From: Filip Sadowski This patch clarifies the reason for removal of automatically firmware-generated filter and explicit addition of filter which accepts frames with any VLAN id. Change-ID: Iabf180b6d61c4d8a36d3bcf8457c377a6f2aca0e Signed-off-by: Filip Sadowski

[net-next 00/13][pull request] 40GbE Intel Wired LAN Driver Updates 2017-03-14

2017-03-14 Thread Jeff Kirsher
This series contains updates to i40e and i40evf only. Faisal fixes a RDMA/iWARP compile warning by make sure the function prototypes are available in the client hooks in the VF driver. Aaron fixes an issue on x710 devices where simultaneous read accesses were interfering with each other, so make

[net-next 07/13] i40e: fix ethtool to get EEPROM data from X722 interface

2017-03-14 Thread Jeff Kirsher
From: Lihong Yang Currently ethtool -e will error out with a X722 interface as its EEPROM has a scope limit at offset 0x5B9FFF. This patch fixes the issue by setting the EEPROM length to the scope limit to avoid NVM read failure beyond that. Change-ID:

[net-next 01/13] i40evf: fix client warnings

2017-03-14 Thread Jeff Kirsher
From: Faisal Latif The function prototype in i40evf_client.h are giving warnings while compiling i40iwvf module. Move these function prototypes to i40evf.h. Also fix return code from u32 to int and this return code is consistent with i40e_client.h Change-Id:

[net-next 02/13] i40e: Acquire NVM lock before reads on all devices

2017-03-14 Thread Jeff Kirsher
From: Aaron Salter Acquire NVM lock before reads on all devices. Previously, locks were only used for X722 and later. Fixes an issue where simultaneous X710 NVM accesses were interfering with each other. Change-ID: If570bb7acf958cef58725ec2a2011cead6f80638

[net-next 03/13] i40e: fix up recent proxy and wol bits for X722_SUPPORT

2017-03-14 Thread Jeff Kirsher
From: Shannon Nelson Some opcodes added & reordered to be in numerical order with the rest of the opcodes. This patch adds admin queue structs to support Wake on LAN feature for X722. Signed-off-by: Shannon Nelson Signed-off-by: Carolyn

[net-next 05/13] i40e: KISS the client interface

2017-03-14 Thread Jeff Kirsher
From: Mitch Williams (KISS is Keep It Simple, Stupid. Or is it?) The client interface vastly overengineered for what it needs to do. It was originally designed to support multiple clients on multiple netdevs, possibly even with multiple drivers. None of this

Re: [PATCH v2 0/5] MIPS: BPF: JIT fixes and improvements.

2017-03-14 Thread Daniel Borkmann
On 03/14/2017 10:21 PM, David Daney wrote: Changes from v1: - Use unsigned access for SKF_AD_HATYPE - Added three more patches for other problems found. Testing the BPF JIT on Cavium OCTEON (mips64) with the test-bpf module identified some failures and unimplemented features. Nice,

Re: [RFC PATCH] sock: add SO_RCVQUEUE_SIZE getsockopt

2017-03-14 Thread Josh Hunt
On 03/13/2017 07:10 PM, David Miller wrote: From: Josh Hunt Date: Mon, 13 Mar 2017 18:34:41 -0500 In this particular case they really do want to know total # of bytes in the receive queue, not the data bytes they can consume from an application pov. The kernel currently

Re: [PATCH net-next v3] net: ipv4: add support for ECMP hash policy choice

2017-03-14 Thread Stephen Hemminger
On Tue, 14 Mar 2017 14:10:22 -0700 Roopa Prabhu wrote: > On Tue, Mar 14, 2017 at 1:25 PM, Stephen Hemminger > wrote: > > On Tue, 14 Mar 2017 11:48:37 -0700 (PDT) > > David Miller wrote: > > > >> From: Nikolay

[PATCH v2 0/5] MIPS: BPF: JIT fixes and improvements.

2017-03-14 Thread David Daney
Changes from v1: - Use unsigned access for SKF_AD_HATYPE - Added three more patches for other problems found. Testing the BPF JIT on Cavium OCTEON (mips64) with the test-bpf module identified some failures and unimplemented features. With this patch set we get: test_bpf: Summary:

[PATCH v2 2/5] MIPS: BPF: Add JIT support for SKF_AD_HATYPE.

2017-03-14 Thread David Daney
This let's us pass some additional "modprobe test-bpf" tests with JIT enabled. Reuse the code for SKF_AD_IFINDEX, but substitute the offset and size of the "type" field. Signed-off-by: David Daney --- arch/mips/net/bpf_jit.c | 21 + 1 file changed,

Re: [PATCH v2 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-03-14 Thread Wolfgang Grandegger
Am 14.03.2017 um 19:08 schrieb Wolfgang Grandegger: Hello Akshay, Am 14.03.2017 um 17:20 schrieb Akshay Bhat: Hi Wolfgang, On 03/14/2017 08:11 AM, Wolfgang Grandegger wrote: ... snip ... A few other things to check: Run "cangen" and monitor the message with "candump -e any,0:0,#FFF".

[PATCH] net: sun: sungem: rix a possible null dereference

2017-03-14 Thread Philippe Reynes
The function gem_begin_auto_negotiation dereference the pointer ep before testing if it's null. This patch add a check on ep before dereferencing it. This issue was added by the patch 92552fdd557: "net: sun: sungem: use new api ethtool_{get|set}_link_ksettings". Reported-by: Dan Carpenter

[PATCH v2 4/5] MIPS: BPF: Quit clobbering callee saved registers in JIT code.

2017-03-14 Thread David Daney
If bpf_needs_clear_a() returns true, only actually clear it if it is ever used. If it is not used, we don't save and restore it, so the clearing has the nasty side effect of clobbering caller state. Also, don't emit stack pointer adjustment instructions if the adjustment amount is zero.

[PATCH v2 5/5] MIPS: BPF: Fix multiple problems in JIT skb access helpers.

2017-03-14 Thread David Daney
o Socket data is unsigned, so use unsigned accessors instructions. o Fix path result pointer generation arithmetic. o Fix half-word byte swapping code for unsigned semantics. Signed-off-by: David Daney --- arch/mips/net/bpf_jit_asm.S | 23 --- 1

[PATCH v2 3/5] MIPS: BPF: Use unsigned access for unsigned SKB fields.

2017-03-14 Thread David Daney
The SKB vlan_tci and queue_mapping fields are unsigned, don't sign extend these in the BPF JIT. In the vlan_tci case, the value gets masked so the change is not needed for correctness, but do it anyway for agreement with the types defined in struct sk_buff. Signed-off-by: David Daney

[PATCH v2 1/5] MIPS: uasm: Add support for LHU.

2017-03-14 Thread David Daney
The follow-on BPF JIT patches use the LHU instruction, so add it. Signed-off-by: David Daney --- arch/mips/include/asm/uasm.h | 1 + arch/mips/mm/uasm-mips.c | 1 + arch/mips/mm/uasm.c | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git

Re: [PATCH net-next 1/1 v2] net: rmnet_data: Initial implementation

2017-03-14 Thread Subash Abhinov Kasiviswanathan
I believe that this code should be a part of that driver, not a generic code in net/ ok, so? Hi Jiri I will move it to drivers/net and rename it to rmnet. -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation

Re: [PATCH net-next v3] net: ipv4: add support for ECMP hash policy choice

2017-03-14 Thread Roopa Prabhu
On Tue, Mar 14, 2017 at 1:25 PM, Stephen Hemminger wrote: > On Tue, 14 Mar 2017 11:48:37 -0700 (PDT) > David Miller wrote: > >> From: Nikolay Aleksandrov >> Date: Tue, 14 Mar 2017 17:58:46 +0200 >> >> > On 14/03/17

Re: [PATCH net-next v3] net: ipv4: add support for ECMP hash policy choice

2017-03-14 Thread Stephen Hemminger
On Tue, 14 Mar 2017 11:48:37 -0700 (PDT) David Miller wrote: > From: Nikolay Aleksandrov > Date: Tue, 14 Mar 2017 17:58:46 +0200 > > > On 14/03/17 17:55, Stephen Hemminger wrote: > >> On Tue, 14 Mar 2017 17:36:15 +0200 > >> Nikolay

Re: [PATCH net-next v3] net: ipv4: add support for ECMP hash policy choice

2017-03-14 Thread Nikolay Aleksandrov
> On Mar 14, 2017, at 5:36 PM, Nikolay Aleksandrov > wrote: > > This patch adds support for ECMP hash policy choice via a new sysctl > called fib_multipath_hash_policy and also adds support for L4 hashes. > The current values for fib_multipath_hash_policy are: > 0

Re: [PATCH net-next v3] net: ipv4: add support for ECMP hash policy choice

2017-03-14 Thread David Miller
From: Nikolay Aleksandrov Date: Tue, 14 Mar 2017 17:58:46 +0200 > On 14/03/17 17:55, Stephen Hemminger wrote: >> On Tue, 14 Mar 2017 17:36:15 +0200 >> Nikolay Aleksandrov wrote: >> >>> This patch adds support for ECMP hash policy choice

Re: [PATCH net-next] qed*: Add support for QL41xxx adapters

2017-03-14 Thread David Miller
From: Yuval Mintz Date: Tue, 14 Mar 2017 16:23:54 +0200 > This adds the necessary infrastructure changes for initializing > and working with the new series of QL41xxx adapaters. > > It also adds 2 new PCI device-IDs to qede: > - 0x8070 for QL41xxx PFs > - 0x8090 for

Re: [PATCH net 0/7] qed: Fixes series

2017-03-14 Thread David Miller
From: Yuval Mintz Date: Tue, 14 Mar 2017 15:25:57 +0200 > This address several different issues in qed. > The more significant portions: > > Patch #1 would cause timeout when qedr utilizes the highest > CIDs availble for it [or when future qede adapters would utilize >

Re: [patch net 0/2] mlxsw: Couple of fixes

2017-03-14 Thread David Miller
From: Jiri Pirko Date: Tue, 14 Mar 2017 13:59:59 +0100 > Couple or small fixes. Series applied, thanks Jiri.

Re: [PATCH] net: Resend IGMP memberships upon peer notification.

2017-03-14 Thread David Miller
From: Vladislav Yasevich Date: Tue, 14 Mar 2017 08:58:08 -0400 > When we notify peers of potential changes, it's also good to update > IGMP memberships. For example, during VM migration, updating IGMP > memberships will redirect existing multicast streams to the VM at the

Re: [PATCH net-next 0/4] gtp: support multiple APN's per GTP endpoint

2017-03-14 Thread David Miller
From: Andreas Schultz Date: Tue, 14 Mar 2017 13:42:44 +0100 (CET) > The specific use case of the API that is no longer supported was never used by > anyone. The only supported and documented API for the GTP module is libgtpnl. > libgtpnl has always required the now mandatory

Re: [PATCH v2 net-next 00/11] net: stmmac: prepare dma operations for multiple queues

2017-03-14 Thread Joao Pinto
Às 6:21 PM de 3/14/2017, David Miller escreveu: > From: Joao Pinto > Date: Tue, 14 Mar 2017 10:24:22 + > >> As agreed with David Miller, this patch-set is the second of 3 to enable >> multiple queues in stmmac. >> >> This second one concentrates on dma operations

Re: [PATCH v2 net-next 00/11] net: stmmac: prepare dma operations for multiple queues

2017-03-14 Thread David Miller
From: Joao Pinto Date: Tue, 14 Mar 2017 10:24:22 + > As agreed with David Miller, this patch-set is the second of 3 to enable > multiple queues in stmmac. > > This second one concentrates on dma operations adding functionalities as: > a) DMA Operation Mode

Re: [PATCH v2 16/20] ARM: dts: sun50i-a64: enable dwmac-sun8i on pine64

2017-03-14 Thread Florian Fainelli
On 03/14/2017 07:18 AM, Corentin Labbe wrote: > The dwmac-sun8i hardware is present on the pine64 > It uses an external PHY via RMII. > > Signed-off-by: Corentin Labbe > --- > arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 15 +++ > 1 file changed,

Re: [PATCH net-next] bonding: add 802.3ad support for 25G speeds

2017-03-14 Thread Andy Gospodarek
On Tue, Mar 14, 2017 at 11:48:32AM -0400, Jarod Wilson wrote: > Cut-n-paste enablement of 802.3ad bonding on 25G NICs, which currently > report 0 as their bandwidth. > > CC: Jay Vosburgh > CC: Veaceslav Falico > CC: Andy Gospodarek >

Re: [PATCH v2 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-03-14 Thread Wolfgang Grandegger
Hello Akshay, Am 14.03.2017 um 17:20 schrieb Akshay Bhat: Hi Wolfgang, On 03/14/2017 08:11 AM, Wolfgang Grandegger wrote: ... snip ... A few other things to check: Run "cangen" and monitor the message with "candump -e any,0:0,#FFF". Then 1) disconnect the cable or 2) short-circuit CAN

Re: [PATCH v4] {net,IB}/{rxe,usnic}: Utilize generic mac to eui32 function

2017-03-14 Thread Leon Romanovsky
On Tue, Mar 14, 2017 at 04:01:57PM +0200, Yuval Shaia wrote: > This logic seems to be duplicated in (at least) three separate files. > Move it to one place so code can be re-use. > > Signed-off-by: Yuval Shaia > --- > v0 -> v1: > * Add missing #include > *

Re: [PATCH net-next RFC v1 00/27] afnetns: new namespace type for separation on protocol level

2017-03-14 Thread Eric W. Biederman
Hannes Frederic Sowa writes: > On 13.03.2017 23:06, Eric W. Biederman wrote: >> Michael Kerrisk writes: >> >>> On Mon, Mar 13, 2017 at 12:44 AM, Hannes Frederic Sowa >>> wrote: Hi, On Sun,

[PATCH v2 net-next 1/5] ldmvsw: better use of link up and down on ldom vswitch

2017-03-14 Thread Shannon Nelson
When an ldom VM is bound, the network vswitch infrastructure is set up for it, but was being forced 'UP' by the userland switch configuration script. When 'UP' but not actually connected to a running VM, the ipv6 neighbor probes fail (not a horrible thing) and start cluttering up the kernel logs.

[PATCH v2 net-next 3/5] sunvnet: track port queues correctly

2017-03-14 Thread Shannon Nelson
Track our used and unused queue indexies correctly. Otherwise, as ports dropped out and returned, they all eventually ended up with the same queue index. Orabug: 25190537 Signed-off-by: Shannon Nelson --- drivers/net/ethernet/sun/sunvnet_common.c | 24

Re: [PATCH net-next 09/12] net: bcmgenet: return EOPNOTSUPP for unknown ioctl commands

2017-03-14 Thread Doug Berger
On 03/14/2017 04:04 AM, David Laight wrote: > From: Doug Berger >> Sent: 14 March 2017 00:42 >> This commit changes the ioctl handling behavior to return the >> EOPNOTSUPP error code instead of the EINVAL error code when an >> unknown ioctl command value is detected. >> >> It also removes some

[PATCH v2 net-next 2/5] sunvnet: add stats to track ldom to ldom packets and bytes

2017-03-14 Thread Shannon Nelson
In this driver, there is a "port" created for the connection to each of the other ldoms; a netdev queue is mapped to each port, and they are collected under a single netdev. The generic netdev statistics show us all the traffic in and out of our network device, but don't show individual

[PATCH v2 net-next 4/5] sunvnet: count multicast packets

2017-03-14 Thread Shannon Nelson
Make sure multicast packets get counted in the device. Orabug: 25190537 Signed-off-by: Shannon Nelson --- drivers/net/ethernet/sun/sunvnet_common.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/sun/sunvnet_common.c

[PATCH v2 net-next 5/5] sunvnet: xoff not needed when removing port link

2017-03-14 Thread Shannon Nelson
The sunvnet netdev is connected to the controlling ldom's vswitch for network bridging. However, for higher performance between ldoms, there also is a channel between each client ldom. These connections are represented in the sunvnet driver by a queue for each ldom. The driver uses select_queue

[PATCH v2 net-next 0/5] sunvnet: better connection management

2017-03-14 Thread Shannon Nelson
These patches remove some problems in handling of carrier state with the ldmvsw vswitch, remove an xoff misuse in sunvnet, and add stats for debug and tracking of point-to-point connections between the ldom VMs. v2: - added ldmvsw ndo_open to reset the LDC channel - updated copyrights Shannon

Re: [PATCH net-next 02/12] net: phy: bcm7xxx: add support for 28nm EPHY

2017-03-14 Thread Doug Berger
On 03/13/2017 07:43 PM, Andrew Lunn wrote: > On Mon, Mar 13, 2017 at 07:06:25PM -0700, Doug Berger wrote: >> On 03/13/2017 06:06 PM, Andrew Lunn wrote: >>> On Mon, Mar 13, 2017 at 05:41:32PM -0700, Doug Berger wrote: +static int bcm7xxx_28nm_ephy_01_afe_config_init(struct phy_device *phydev)

Re: [PATCH] net: usb: rtl8150: use new api ethtool_{get|set}_link_ksettings

2017-03-14 Thread Petko Manolov
On 17-03-13 17:00:20, Petko Manolov wrote: > On 17-03-12 23:16:25, Philippe Reynes wrote: > > The ethtool api {get|set}_settings is deprecated. We move this driver to > > new > > api {get|set}_link_ksettings. > > > > As I don't have the hardware, I'd be very pleased if someone may test this >

Re: net: deadlock between ip_expire/sch_direct_xmit

2017-03-14 Thread Cong Wang
On Tue, Mar 14, 2017 at 7:56 AM, Eric Dumazet wrote: > On Tue, Mar 14, 2017 at 7:46 AM, Dmitry Vyukov wrote: > >> I am confused. Lockdep has observed both of these stacks: >> >>CPU0CPU1 >> >>

Re: [RFC v1 for accelerated IPoIB 25/25] mlx5_ib: skeleton for mlx5_ib to support ipoib_ops

2017-03-14 Thread Erez Shitrit
On Tue, Mar 14, 2017 at 6:10 PM, Jason Gunthorpe wrote: > On Tue, Mar 14, 2017 at 04:53:24PM +0200, Erez Shitrit wrote: > >> > Why isn't this stuff in open/close? >> >> According to ipoib control flows, there is a different between >> open/close to init/cleanup

Re: [PATCH] net: Resend IGMP memberships upon peer notification.

2017-03-14 Thread Michael S. Tsirkin
On Tue, Mar 14, 2017 at 08:58:08AM -0400, Vladislav Yasevich wrote: > When we notify peers of potential changes, it's also good to update > IGMP memberships. For example, during VM migration, updating IGMP > memberships will redirect existing multicast streams to the VM at the > new location. >

Re: [PATCH] tcp_westwood: fix tcp_westwood_info() style mistakes

2017-03-14 Thread Stephen Hemminger
On Tue, 14 Mar 2017 15:26:24 +0800 Chun Long wrote: > From: chun Long > > replace comma to semi colons in tcp_westwood_info(). > > --- > net/ipv4/tcp_westwood.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH v2 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-03-14 Thread Akshay Bhat
Hi Wolfgang, On 03/14/2017 08:11 AM, Wolfgang Grandegger wrote: > ... snip ... >>> A few other things to check: >>> >>> Run "cangen" and monitor the message with "candump -e any,0:0,#FFF". >>> Then 1) disconnect the cable or 2) short-circuit CAN low and high at the >>> connector. You should

Re: [4.10+] sctp lockdep trace

2017-03-14 Thread Dave Jones
On Tue, Mar 14, 2017 at 11:35:33AM +0800, Xin Long wrote: > >> > [ 245.416594] ( > >> > [ 245.424928] sk_lock-AF_INET > >> > [ 245.433279] ){+.+.+.} > >> > [ 245.441889] , at: [] sctp_sendmsg+0x330/0xfe0 > >> > [sctp] > >> > [ 245.450167] > >> >stack backtrace: > >>

Re: [RFC v1 for accelerated IPoIB 04/25] IB/verb: Add ipoib_options struct and API

2017-03-14 Thread Jason Gunthorpe
On Tue, Mar 14, 2017 at 12:01:09AM -0700, Vishwanathapura, Niranjana wrote: > On Mon, Mar 13, 2017 at 02:01:36PM -0600, Jason Gunthorpe wrote: > >>+ /* multicast */ > >>+ int (*attach_mcast)(struct net_device *dev, struct ib_device *hca, > >>+ union ib_gid *gid, u16 lid,

  1   2   3   >