[PATCH 4.10 70/75] x86/tlb: Fix tlb flushing when lguest clears PGE

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit 2c4ea6e28dbf15ab93632c5c189f3948366b8885 upstream. Fengguang reported random corruptions from various locations on x86-32 after commits d2852a224050 ("arch: add ARCH_HAS

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

2017-03-13 Thread Jiri Pirko
Mon, Mar 13, 2017 at 08:43:09AM CET, subas...@codeaurora.org wrote: >RmNet Data driver provides a transport agnostic MAP (multiplexing and Why "data"? Why not just "rmnet"?? Btw, what is "RmNet". Google does not give me much. Is it some priprietady Qualcomm thing? Is there some standard behind it

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

2017-03-13 Thread Subash Abhinov Kasiviswanathan
RmNet Data driver provides a transport agnostic MAP (multiplexing and aggregation protocol) support in embedded and bridge modes. Module provides virtual network devices which can be attached to any IP-mode physical device. This will be used to provide all MAP functionality on future hardware in a

[PATCH net-next 0/1 v2] net: Add support for rmnet_data driver

2017-03-13 Thread Subash Abhinov Kasiviswanathan
This patch adds support for the rmnet_data driver which is required to support recent chipsets using Qualcomm Technologies, Inc. modems. The data from hardware follows the multiplexing and aggregation protocol (MAP). This driver can be used to register onto any physical network device in IP mode.

[patch net-next 01/10] net: fib_rules: Add default rule indication

2017-03-13 Thread Jiri Pirko
From: Ido Schimmel Currently, when non-default (custom) FIB rules are used, devices capable of layer 3 offloading flush their tables and let the kernel do the forwarding instead. When these devices' drivers are loaded they register to the FIB notification chain, which lets them know about the ex

[patch net-next 05/10] net: vrf: Set slave's private flag before linking

2017-03-13 Thread Jiri Pirko
From: Ido Schimmel Allow listeners of the subsequent CHANGEUPPER notification to retrieve the VRF's table ID by calling l3mdev_fib_table() with the slave netdev. Without this change, the netdev won't be considered an L3 slave and the function would return 0. This is consistent with other master

[patch net-next 10/10] mlxsw: spectrum_router: Don't abort on l3mdev rules

2017-03-13 Thread Jiri Pirko
From: Ido Schimmel Now that port netdevs can be enslaved to a VRF master we need to make sure the device's routing tables won't be flushed upon the insertion of a l3mdev rule. Note that we assume the notified l3mdev rule is a simple rule as used by the VRF master. We don't check for the presence

[patch net-next 07/10] mlxsw: spectrum_router: Don't destroy RIF if L3 slave

2017-03-13 Thread Jiri Pirko
From: Ido Schimmel We usually destroy the netdev's router interface (RIF) when the last IP address is removed from it. However, we shouldn't do that if it's enslaved to an L3 master device. Signed-off-by: Ido Schimmel Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/spectrum

[patch net-next 09/10] mlxsw: spectrum_router: Add support for VRFs on top of bridges

2017-03-13 Thread Jiri Pirko
From: Ido Schimmel In a similar fashion to the previous patch, allow bridges and VLAN devices on top of bridges to be enslaved to a VRF master device. Signed-off-by: Ido Schimmel Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 52 +- driv

[patch net-next 02/10] ipv4: fib_rules: Add notifier info to FIB rules notifications

2017-03-13 Thread Jiri Pirko
From: Ido Schimmel Whenever a FIB rule is added or removed, a notification is sent in the FIB notification chain. However, listeners don't have a way to tell which rule was added or removed. This is problematic as we would like to give listeners the ability to decide which action to execute base

[patch net-next 08/10] mlxsw: spectrum_router: Add support for VRFs

2017-03-13 Thread Jiri Pirko
From: Ido Schimmel Allow port netdevs, LAG and VLAN devices stacked on top of these to be enslaved to a VRF master device. Upon enslavement, create a router interface (RIF) for the enslaved netdev and associate it with a virtual router (VR) based on the VRF's table ID. If a RIF already exists f

[patch net-next 06/10] mlxsw: spectrum_router: Associate RIFs with correct VR

2017-03-13 Thread Jiri Pirko
From: Ido Schimmel When a router interface (RIF) is created due to a netdev being enslaved to a VRF master, then it should be associated with the appropriate virtual router (VR) and not the default one. If netdev is a VRF slave, lookup the VR based on the VRF's table ID. Otherwise default to the

[patch net-next 03/10] ipv4: fib_rules: Dump FIB rules when registering FIB notifier

2017-03-13 Thread Jiri Pirko
From: Ido Schimmel In commit c3852ef7f2f8 ("ipv4: fib: Replay events when registering FIB notifier") we dumped the FIB tables and replayed the events to the passed notification block. However, we merely sent a RULE_ADD notification in case custom rules were in use. As explained in previous patch

[patch net-next 04/10] net: Add netif_is_vrf_master helper

2017-03-13 Thread Jiri Pirko
From: Ido Schimmel Drivers capable of offloading VRF configurations need to know the ports are enslaved to an actual VRF device and not some other L3 master. Add a flag to indicate netdev is a VRF master and a corresponding helper. Signed-off-by: Ido Schimmel Signed-off-by: Jiri Pirko --- dr

[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 enslaved netdev and

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 test. > Chris Philippe

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 packet seen by 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 != &noop_qdisc); > ^~ >net/sched/sch_tbf.c:400:4: note: ...this statement, but the latter is > misleadingly indented as if it is guarded by th

<    1   2   3   4