[patch net-next 00/10] mlxsw: Enable VRF offload

2017-03-13 Thread Jiri Pirko
From: Jiri Pirko Ido says: Packets received from netdevs enslaved to different VRF devices are forwarded using different FIB tables. In the Spectrum ASIC this is achieved by binding different router interfaces (RIFs) to different virtual routers (VRs). Each RIF represents an

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

2017-03-13 Thread Philippe Reynes
Hi Chris, On 3/13/17, Chris Roth wrote: > I can test it tomorrow. I'll pull a clean copy of 4.10.2, or do you > suggest a different version than that? I think that 4.10.2 is fine, there are no change on this driver between 4.10 and git (net-next). Thanks a lot for the

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

2017-03-13 Thread Pravin Shelar
On Fri, Mar 10, 2017 at 4:51 PM, Andy Zhou wrote: > 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

Re: [net-next:master 53/61] net/sched/sch_tbf.c:399:3: note: in expansion of macro 'if'

2017-03-13 Thread David Miller
From: kbuild test robot Date: Mon, 13 Mar 2017 14:49:27 +0800 >>> net/sched/sch_tbf.c:399:3: note: in expansion of macro 'if' > if (child != _qdisc); > ^~ >net/sched/sch_tbf.c:400:4: note: ...this statement, but the latter is > misleadingly indented as if

Re: [PATCH 1/1] r8169: replace init_timer with setup_timer

2017-03-13 Thread David Miller
From: Zhu Yanjun Date: Sun, 12 Mar 2017 05:02:54 -0400 > Replace init_timer with setup_timer to simplify the source code. > > Signed-off-by: Zhu Yanjun Applied.

Re: [PATCH net-next v2 00/17] net: dsa: mv88e6xxx: rework ATU support

2017-03-13 Thread David Miller
From: Vivien Didelot Date: Sat, 11 Mar 2017 16:12:46 -0500 > The purpose of this patch series is to rework the code related to the > Address Translation Unit (ATU), and bring support for it to the 88E6390 > family of switch chips. > > All Global (1) ATU

Re: [PATCH net] bpf: improve read-only handling

2017-03-13 Thread David Miller
From: Daniel Borkmann Date: Sat, 11 Mar 2017 16:55:49 +0100 > Improve bpf_{prog,jit_binary}_{un,}lock_ro() by throwing a > one-time warning in case of an error when the image couldn't > be set read-only, and also mark struct bpf_prog as locked when > bpf_prog_lock_ro() was

Re: [patch net-next 0/9] mlxsw: Add support for TC flower offload statistics

2017-03-13 Thread David Miller
From: Jiri Pirko Date: Sat, 11 Mar 2017 09:42:50 +0100 > Arkadi says: > This patchset adds support for retrieving TC flower statistics for > offloaded rules, which includes packets count, bytes count and last used > time stamp. Currently The statistics are gathered on a

[net-next:master 53/61] net/sched/sch_tbf.c:399:3: note: in expansion of macro 'if'

2017-03-13 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 429a372e3ec020534bd314dca94e5281dc453d29 commit: 49b499718fa1b0d639663cfd03085b9bfd23cdc8 [53/61] net: sched: make default fifo qdiscs appear in the dump config: i386-randconfig-x077-201711 (attached as

Re: [PATCH] mpls: Send route delete notifications when router module is unloaded

2017-03-13 Thread David Miller
From: David Ahern Date: Fri, 10 Mar 2017 09:46:15 -0800 > When the mpls_router module is unloaded, mpls routes are deleted but > notifications are not sent to userspace leaving userspace caches > out of sync. Add the call to mpls_notify_route in mpls_net_exit as >

Re: [PATCH] ambassador: use setup_timer

2017-03-13 Thread David Miller
From: Geliang Tang Date: Sat, 11 Mar 2017 08:46:56 +0800 > Use setup_timer() instead of init_timer() to simplify the code. > > Signed-off-by: Geliang Tang Applied.

Re: [PATCH net] selftests/bpf: fix broken build

2017-03-13 Thread David Miller
From: Alexei Starovoitov Date: Fri, 10 Mar 2017 22:05:55 -0800 > Recent merge of 'linux-kselftest-4.11-rc1' tree broke bpf test build. > None of the tests were building and test_verifier.c had tons of compiler > errors. > Fix it and add #ifdef CAP_IS_SUPPORTED to support old

Re: [PATCH] drop_monitor: use setup_timer

2017-03-13 Thread David Miller
From: Geliang Tang Date: Sat, 11 Mar 2017 08:46:59 +0800 > Use setup_timer() instead of init_timer() to simplify the code. > > Signed-off-by: Geliang Tang Applied.

Re: [PATCH] mpls: Do not decrement alive counter for unregister events

2017-03-13 Thread David Miller
From: David Ahern Date: Fri, 10 Mar 2017 14:11:39 -0800 > Multipath routes can be rendered usesless when a device in one of the > paths is deleted. For example: > > $ ip -f mpls ro ls > 100 > nexthop as to 200 via inet 172.16.2.2 dev virt12 > nexthop as to

Re: [PATCH net v4] xen-netback: fix race condition on XenBus disconnect

2017-03-13 Thread David Miller
From: Igor Druzhinin Date: Fri, 10 Mar 2017 21:36:22 + > In some cases during XenBus disconnect event handling and subsequent > queue resource release there may be some TX handlers active on > other processors. Use RCU in order to synchronize with them. > >

Re: [PATCH net-next 00/13] nfp: XDP adjust head support

2017-03-13 Thread David Miller
From: Jakub Kicinski Date: Fri, 10 Mar 2017 10:38:26 -0800 > This series adds support for XDP adjust head. Bulk of the code > is actually just paying technical debt. On reconfiguration request > nfp was allocating new resources separately leaving device running >

Re: [PATCH v5 net-next 0/9] prepare mac operations for multiple queues

2017-03-13 Thread David Miller
From: Joao Pinto Date: Fri, 10 Mar 2017 18:24:50 + > As agreed with David Miller, this patch-set is the first of 3 to enable > multiple queues in stmmac. > > This first one concentrates on mac operations adding functionalities as: > a) Configuration through DT > b)

Re: [PATCHv3 1/4] rds: ib: drop unnecessary rdma_reject

2017-03-13 Thread Yanjun Zhu
On 2017/3/13 14:32, Leon Romanovsky wrote: On Mon, Mar 13, 2017 at 01:43:45AM -0400, Zhu Yanjun wrote: When rdma_accept fails, rdma_reject is called in it. As such, it is not necessary to execute rdma_reject again. It is not always correct, according to the code, rdma_accept can fail and

Re: [PATCH v2 0/9] net: stmmac: Fixes and Tegra186 support

2017-03-13 Thread David Miller
From: Thierry Reding Date: Fri, 10 Mar 2017 17:34:52 +0100 > This series of patches start with a few cleanups that I ran across while > adding Tegra186 support to the stmmac driver. It then adds code for FIFO > size parsing from feature registers and finally enables

Re: [PATCH net] act_connmark: avoid crashing on malformed nlattrs with null parms

2017-03-13 Thread David Miller
From: Etienne Noss Date: Fri, 10 Mar 2017 16:55:32 +0100 > tcf_connmark_init does not check in its configuration if TCA_CONNMARK_PARMS > is set, resulting in a null pointer dereference when trying to access it. ... > Signed-off-by: Étienne Noss

Re: [PATCHv3 1/4] rds: ib: drop unnecessary rdma_reject

2017-03-13 Thread Leon Romanovsky
On Mon, Mar 13, 2017 at 01:43:45AM -0400, Zhu Yanjun wrote: > When rdma_accept fails, rdma_reject is called in it. As such, it is > not necessary to execute rdma_reject again. It is not always correct, according to the code, rdma_accept can fail and will return EINVAL and skip calling to

Re: [net-next v1] vxlan: use appropriate family on L3 miss

2017-03-13 Thread David Miller
From: Vincent Bernat Date: Fri, 10 Mar 2017 16:30:24 +0100 > When sending a L3 miss, the family is set to AF_INET even for IPv6. This > causes userland (eg "ip monitor") to be confused. Ensure we send the > appropriate family in this case. For L2 miss, keep using AF_INET. > >

Re: [PATCH] vlan: support ingress/egress priority map flushing

2017-03-13 Thread David Miller
From: Thierry Du Tre Date: Fri, 10 Mar 2017 15:41:35 +0100 > --- a/include/uapi/linux/if_vlan.h > +++ b/include/uapi/linux/if_vlan.h > @@ -20,6 +20,8 @@ > enum vlan_ioctl_cmds { > ADD_VLAN_CMD, > DEL_VLAN_CMD, > + FLUSH_VLAN_INGRESS_PRIORITY_CMD, > +

Re: [PATCH] Make IP 'forwarding' doc more precise

2017-03-13 Thread David Miller
From: Neil Jerram Date: Fri, 10 Mar 2017 12:24:57 + > It wasn't clear if the 'forwarding' setting needs to be enabled on the > interface that packets are received from, or on the interface that > packets are forwarded to, or both. > > In fact (according to my code reading)

Re: [PATCH v4 net-next 1/1] net: Eliminate duplicated codes by creating one new function in_dev_select_addr

2017-03-13 Thread David Miller
From: f...@ikuai8.com Date: Fri, 10 Mar 2017 12:38:47 +0800 > From: Gao Feng > > There are two duplicated loops codes which used to select right > address in current codes. Now eliminate these codes by creating > one new function in_dev_select_addr. > > Signed-off-by: Gao Feng

Re: [PATCHv2 net-next 0/7] sctp: add receiver-side procedures for stream reconf asoc reset and add streams and response

2017-03-13 Thread David Miller
From: Xin Long Date: Fri, 10 Mar 2017 12:11:05 +0800 > Patch 2/7, 4/7, 5/7, 6/7 are to implement the process of asoc reset request, > add streams requests and all kinds of responses. > > Patch 1/7 and 3/7 are ahead of 2/7 and 4/7 to add two event notification > for asoc

Re: [PATCH net-next] liquidio: optimize DMA in NUMA systems

2017-03-13 Thread David Miller
From: Felix Manlunas Date: Thu, 9 Mar 2017 17:03:24 -0800 > From: VSR Burru > > Optimize DMA in NUMA systems by allocating memory from NUMA node that NIC > is plugged in to; DMA will no longer cross NUMA nodes. If NIC IRQs are >

Re: [PATCH net-next 0/2] netvsc: fix module removal hangs

2017-03-13 Thread David Miller
From: Stephen Hemminger Date: Thu, 9 Mar 2017 15:04:13 -0800 > A couple of patches are necessary to make netvsc driver module > removable again. Series applied, thanks.

Re: [PATCH net] netvsc: handle select_queue when device is being removed

2017-03-13 Thread David Miller
From: Stephen Hemminger Date: Thu, 9 Mar 2017 14:58:29 -0800 > Move the send indirection table from the inner device (netvsc) > to the network device context. > > It is possible that netvsc_device is not present (remove in progress). > This solves potential use

Re: [PATCH] net: ethernet: aquantia: set net_device mtu when mtu is changed

2017-03-13 Thread David Miller
From: David Arcari Date: Wed, 8 Mar 2017 16:33:21 -0500 > When the aquantia device mtu is changed the net_device structure is not > updated. As a result the ip command does not properly reflect the mtu change. > > Commit 5513e16421cb incorrectly assumed that

Re: [net-next v2 00/10] QorIQ DPAA 1 updates

2017-03-13 Thread David Miller
From: Madalin Bucur Date: Thu, 9 Mar 2017 16:36:55 +0200 > This patch set introduces a series of fixes and features to the DPAA 1 > drivers. Besides activating hardware Rx checksum offloading, four traffic > classes are added for Tx traffic prioritisation. > > The changes

<    1   2   3   4