On Fri, Aug 12, 2016 at 10:17:17PM +0200, Daniel Borkmann wrote:
> While hashing out BPF's current_task_under_cgroup helper bits, it came
> to discussion that the skb_in_cgroup helper name was suboptimally chosen.
>
> Tejun says:
>
> So, I think in_cgroup should mean that the object is in that
>
Signed-off-by: Quan Nguyen
Signed-off-by: Iyappan Subramanian
Tested-by: Fushen Chen
---
Documentation/devicetree/bindings/net/apm-xgene-enet.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/apm-xgene-enet.txt
b/Documentation/devicetree/bindings/
This patch rearranges the port initialization sequence as recommended by
hardware specification. This patch also removes, mac_init() call from
xgene_enet_link_state(), as it was not required.
Signed-off-by: Iyappan Subramanian
Tested-by: Fushen Chen
---
drivers/net/ethernet/apm/xgene/xgene_ene
This patch fixes the backward compatibility on handling phy_connect(), by
iterating over the phy-handle, when new DT is used with older kernel.
Signed-off-by: Iyappan Subramanian
---
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c | 18 +-
1 file changed, 9 insertions(+), 9 deleti
This patch fixes the link recovery issue, by doing PCS reset
when the link is down.
Signed-off-by: Fushen Chen
Signed-off-by: Iyappan Subramanian
---
drivers/net/ethernet/apm/xgene/xgene_enet_hw.h| 6
drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 1 +
drivers/net/ethernet/apm/x
Since register_netdev() call in xgene_enet_probe() was moved down to
the end, it doesn't properly handle errors that may occur, by
deconstructing everything that was setup before the error occurred.
Signed-off-by: Iyappan Subramanian
---
drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 27
This patch fixes the backward compatibility when used with older kernel.
Signed-off-by: Iyappan Subramanian
---
arch/arm64/boot/dts/apm/apm-storm.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi
b/arch/arm64/boot/dts/apm/apm-storm.d
Added rxlos GPIO mapping by adding rxlos-gpios property.
Signed-off-by: Quan Nguyen
Signed-off-by: Iyappan Subramanian
Tested-by: Fushen Chen
---
arch/arm64/boot/dts/apm/apm-mustang.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/apm/apm-mustang.dts
b/arch/arm64/bo
This patch set fixes the following warning and issues,
1. Fix compiler warnings
- drivers: net: xgene: Fix compiler warnings
2. unmap DMA memory on xgene_Enet_delete_bufpoool()
- drivers: net: xgene: fix: Add dma_unmap_single
3. Delete descriptor rings and buffer pools on er
When 10GbE SFP+ module is not plugged in or cable is not connected,
the link status register does not report the proper state due
to floating signal. This patch checks the module present status via an
GPIO to determine whether to ignore the link status register and report
link down.
Signed-off-by:
Fixed compiler warnings reported with -Wmaybe-uninitialized W=1,
/drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function
‘xgene_enet_rx_frame’:
../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:455:27: warning:
variable ‘pdata’ set but not used [-Wunused-but-set-variable]
This patch fixes FPSel and NxtFPSel fields length to 5-bit value.
Signed-off-by: Quan Nguyen
Signed-off-by: Iyappan Subramanian
Tested-by: Fushen Chen
---
drivers/net/ethernet/apm/xgene/xgene_enet_cle.c | 17 -
drivers/net/ethernet/apm/xgene/xgene_enet_cle.h | 10 +++---
2
In addition to xgene_enet_delete_bufpool() freeing skbs, their associated
dma memory should also be unmapped.
Signed-off-by: Iyappan Subramanian
---
drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/drivers/net/et
xgene_enet_init_hw() should delete any descriptor rings and
buffer pools setup should le_ops->cle_init() return an error.
Signed-off-by: Iyappan Subramanian
---
drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/drive
From: Daniel Borkmann
Date: Fri, 12 Aug 2016 22:17:17 +0200
> While hashing out BPF's current_task_under_cgroup helper bits, it came
> to discussion that the skb_in_cgroup helper name was suboptimally chosen.
>
> Tejun says:
>
> So, I think in_cgroup should mean that the object is in that
>
From: Alexei Starovoitov
Date: Thu, 11 Aug 2016 18:17:15 -0700
> Two bpf improvements:
> 1. allow bpf helpers like bpf_map_lookup_elem() access packet data directly
> for XDP programs
> 2. enable bpf_get_prandom_u32() for tracing programs
Series applied, thanks.
From: Wei Yongjun
Date: Sat, 13 Aug 2016 01:54:15 +
> Fixes the following sparse warning:
>
> net/ipv6/sit.c:1129:6: warning:
> symbol 'ipip6_valid_ip_proto' was not declared. Should it be static?
>
> Signed-off-by: Wei Yongjun
Applied.
From: Sargun Dhillon
Date: Fri, 12 Aug 2016 08:54:35 -0700
> This patchset includes a helper and an example to determine whether the probe
> is
> currently executing in the context of a specific cgroup based on a cgroup bpf
> map / array. The helper checks the cgroupsv2 hierarchy based on the ha
On Wed, Aug 10, 2016 at 05:53:16PM -0700, Anoop Naravaram wrote:
> udp port limit
> --
> This property controls the limit of udp ports that can be used by the
> processes in a cgroup. The controller manages udp statistics (usage,
> limit, etc) for each cgroup. Every cgroup also keeps tr
On Wed, Aug 10, 2016 at 05:53:18PM -0700, Anoop Naravaram wrote:
> Created a file scripts/cgroup/net_cgroup_test.py that tests the
> functionality of the net cgroup as described in previous commit logs.
>
> Signed-off-by: Anoop Naravaram
> ---
> scripts/cgroup/net_cgroup_test.py | 359
> +++
On Wed, Aug 10, 2016 at 05:53:15PM -0700, Anoop Naravaram wrote:
> bind port ranges
>
> This property controls which ports the processes in a cgroup are allowed
> to bind to. If a process in a cgroup tries to bind a socket to a port
> that is not within the range(s) permitted by th
From: Xin Long
Date: Thu, 11 Aug 2016 20:52:58 +0800
> Now in the end of sctp_outq_flush, sctp calls sctp_packet_transmit
> in a loop. The return of current sctp_packet_transmit always covers
> the prior one's. If the last call of sctp_packet_transmit return a
> success, it may hide the error tha
From: Simon Wunderlich
Date: Fri, 12 Aug 2016 10:56:36 +0200
> this is our first feature pull request for batman-adv, there are at least two
> more to come (the bigger features come later).
>
> Please pull or let me know of any problem!
Pulled, thanks.
From: Bert Kenward
Date: Thu, 11 Aug 2016 12:59:20 +0100
> This series improves support for the recently released SFN8000 series
> of adapters. Specifically, it retrieves interrupt moderation timer
> settings directly from the adapter and uses those settings. It also
> uses a new event queue init
From: Vitaly Kuznetsov
Date: Thu, 11 Aug 2016 12:58:55 +0200
> We reset vf_inject on VF going down (netvsc_vf_down()) but we don't on
> VF removal (netvsc_unregister_vf()) so vf_inject stays 'true' while
> vf_netdev is already NULL and we're trying to inject packets into NULL
> net device in netv
From:
Date: Thu, 11 Aug 2016 17:51:00 +0800
> From: Sean Wang
>
> Since these critical sections protected by page_lock are all entered
> from the user context or bottom half context, they can be replaced
> with the spin_lock() or spin_lock_bh instead of spin_lock_irqsave().
>
> Signed-off-by:
Fixes the following sparse warning:
net/ipv6/sit.c:1129:6: warning:
symbol 'ipip6_valid_ip_proto' was not declared. Should it be static?
Signed-off-by: Wei Yongjun
---
net/ipv6/sit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index 696ed
From: Arnd Bergmann
Date: Wed, 10 Aug 2016 23:54:08 +0200
> When CONFIG_NET_DSA_HWMON is disabled, we get warnings about two unused
> functions whose only callers are all inside of an #ifdef:
>
> drivers/net/dsa/mv88e6xxx.c:3257:12: 'mv88e6xxx_mdio_page_write' defined but
> not used [-Werror=un
From: ggar...@abra.uab.cat
Date: Wed, 10 Aug 2016 17:24:34 +0200
> From: Gerard Garcia
>
> Remove unnecessary use of enable/disable callback notifications
> and the incorrect more space available check.
>
> The virtio_transport_tx_work handles when the TX virtqueue
> has more buffers available.
Using the software based channel scan mechanism from mac80211 keeps us
offline for 10-15 second, we should instead issue a start_scan/end_scan
on each channel reducing this time.
Signed-off-by: Bjorn Andersson
---
It's been a while since I posted this as an RFC, I have not received any
comments
The wcn36xx wifi driver follows the life cycle of the WLAN_CTRL SMD
channel, as such it should be a SMD client. This patch makes this
transition, now that we have the necessary frameworks available.
Signed-off-by: Bjorn Andersson
---
Resending this as the dependencies and the devicetree binding
From: Netanel Belgazal
Date: Wed, 10 Aug 2016 14:03:22 +0300
> This is a driver for the ENA family of networking devices.
>
> Signed-off-by: Netanel Belgazal
Applied, thanks.
From: Kedareswara rao Appana
Date: Wed, 10 Aug 2016 11:20:05 +0530
> The Gigabit Media Independent Interface (GMII) to Reduced Gigabit Media
> Independent Interface (RGMII) core provides the RGMII between RGMII-compliant
> Ethernet physical media devices (PHY) and the Gigabit Ethernet controller.
On Fri, Aug 12, 2016 at 09:58:51AM -0700, William Tu wrote:
> Hi,
>
> I've tested on ESXi version 5.5 and it seems OK.
> - VM1: Ubuntu 14.04, kernel 3.19 ---> OK 3 cpu dirs, possible = 0-2
> - VM2: Centos7, kernel 3.10 ---> OK 8 cpu dirs, possible = 0-7
>
> I tried another MacBook with Fusion, sa
On Fri, Aug 12, 2016 at 10:17:17PM +0200, Daniel Borkmann wrote:
> While hashing out BPF's current_task_under_cgroup helper bits, it came
> to discussion that the skb_in_cgroup helper name was suboptimally chosen.
>
> Tejun says:
>
> So, I think in_cgroup should mean that the object is in that
On Fri, Aug 12, 2016 at 12:58:15PM -0700, Stephen Hemminger wrote:
> On Thu, 11 Aug 2016 15:54:50 +0200
> Phil Sutter wrote:
>
> > On Thu, Aug 11, 2016 at 02:46:26PM +0100, Edward Cree wrote:
> > > On 10/08/16 12:14, Phil Sutter wrote:
> > > > Instead of printing 'expires -23sec' for expired (b
Lino Sanfilippo wrote:
You can either extend the refill function by one gfp_t parameter and then call
it
with GFP_KERNEL for the initial rx buffer allocation when the hw is brought up
and
then with GFP_ATOMIC for refilling in the NAPI handler. Or simply always use
GFP_ATOMIC.
In the latter cas
From: Colin Ian King
In the case where phydev->interrupts is not PHY_INTERRUPT_ENABLED
function vsc85xx_ack_interrupt is returning an uninitialized
garbage value. Fix this by initializing rc to zero.
Signed-off-by: Colin Ian King
---
drivers/net/phy/mscc.c | 2 +-
1 file changed, 1 insertion(
Hi,
I really dont want to be a killjoy, but...
> + int ret;
> +
> + skb = __netdev_alloc_skb_ip_align(adpt->netdev,
> + adpt->rxbuf_size, GFP_KERNEL);
This is also called in softirq context by the napi handler in which GFP_KER
While hashing out BPF's current_task_under_cgroup helper bits, it came
to discussion that the skb_in_cgroup helper name was suboptimally chosen.
Tejun says:
So, I think in_cgroup should mean that the object is in that
particular cgroup while under_cgroup in the subhierarchy of that
cgroup.
On Tue, 9 Aug 2016 14:41:36 -0700
Tom Herbert wrote:
> Signed-off-by: Tom Herbert
> ---
> ip/Makefile| 2 +-
> ip/ip.c| 3 +-
> ip/ip_common.h | 1 +
> ip/ipila.c | 268
> +
> 4 files changed, 272 insertions(+), 2 de
On Thu, 11 Aug 2016 15:54:50 +0200
Phil Sutter wrote:
> On Thu, Aug 11, 2016 at 02:46:26PM +0100, Edward Cree wrote:
> > On 10/08/16 12:14, Phil Sutter wrote:
> > > Instead of printing 'expires -23sec' for expired (but not yet garbage
> > > collected) routes, print 'expired 23sec' instead.
> >
On Tue, 9 Aug 2016 14:41:34 -0700
Tom Herbert wrote:
> Patch set includes:
>
> - Allow configuring checksum mode for ila LWT (e.g. configure
> checksum neutral
> - Configuration for performing ila translations using netfilter hook
> - fou encapsulation for ip6tnl and gre6
> - fou listener for
On Tue, 9 Aug 2016 10:34:30 +0200
Richard Alpe wrote:
> Introduce a generic function (nl_add_bearer_name()) that identifies a
> bearer and adds it to an existing netlink message. This reduces code
> complexity and makes the code a little bit easier to maintain.
>
> Signed-off-by: Richard Alpe
On Fri, 2016-08-12 at 11:20 -0700, Raghu Vatsavayi wrote:
> This patch adds support for cn23xx queue manipulation.
trivia:
> diff --git a/drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c
> b/drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c
[]
> @@ -315,6 +315,52 @@ static void cn23
On Fri, 2016-08-12 at 11:20 -0700, Raghu Vatsavayi wrote:
> This patch contains changes for firmware version management.
trivial note:
> diff --git a/drivers/net/ethernet/cavium/liquidio/liquidio_common.h
> b/drivers/net/ethernet/cavium/liquidio/liquidio_common.h
[]
> @@ -30,10 +30,26 @@
>
>
On Fri, 2016-08-12 at 11:20 -0700, Raghu Vatsavayi wrote:
> Consolidate common functionality of various devices
> from different files into lio_core.c/octeon_console.c.
trivial notes:
> diff --git a/drivers/net/ethernet/cavium/liquidio/lio_core.c
> b/drivers/net/ethernet/cavium/liquidio/lio_core
Brandon Cazander wrote:
> Is there anything I can provide or do to help get this issue fixed? Even with
> the patch provided, our application is still broken.
[..]
> I think that it is worth doing, as the original kernel change broke my user
> space program and could do the same to others as w
On Fri, Aug 12, 2016 at 03:46:19PM +0530, Shubhrajyoti Datta wrote:
> Some of the platforms like zynqmp ultrascale+ has a
> separate clock gate for the rx clock. Add an optional
> rx_clk so that the clock can be enabled.
>
> Signed-off-by: Shubhrajyoti Datta
> ---
> v2:
> fix warning
>
> Docume
On Thu, Aug 11, 2016 at 05:01:53PM +0800, Dongpo Li wrote:
> From: Li Dongpo
>
> Add three reset control signals, "mac_core_rst", "mac_ifc_rst" and
> "phy_rst".
> The following diagram explained how the reset signals work.
>
> SoC
> |--
On Thu, Aug 11, 2016 at 04:34:05PM -0500, Timur Tabi wrote:
> Add supports for ethernet controller HW on Qualcomm Technologies, Inc. SoC.
> This driver supports the following features:
> 1) Checksum offload.
> 2) Interrupt coalescing support.
> 3) SGMII phy.
> 4) phylib interface for external phy
>
Dave,
Following patchset adds support for new device CN23XX in
liquidio family of adapters. This V2 patch also resolved
all the comments from previous submission:
1) All cross compile issues reported by kbuild on SPARC,
Tile, ARM platfroms.
2) Refcount issue reported by kbuild.
3) Some minor is
This patch adds NAPI related support for cn23xx device.
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
drivers/net/ethernet/cavium/liquidio/lio_main.c | 10 ++
drivers/net/ethernet/cavium/liquidio/octeo
Adds support for data path related changes based
on octeon3 instruction header(ih3) for cn23xx.
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
drivers/net/ethernet/cavium/liquidio/lio_main.c| 35 +++--
.../net/
Adds support for RX control commands on cn23xx device.
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
drivers/net/ethernet/cavium/liquidio/lio_main.c| 100 ++---
.../net/ethernet/cavium/liquidio/
Adds support for pause frame and priv flag for cn23xx
device.
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 110 +
drivers/net/ethernet/caviu
Adds support for Instruction Queue(IQ) index manipulation
routines through bar1 of cn23xx.
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
.../ethernet/cavium/liquidio/cn23xx_pf_device.c| 66 +
Consolidate common functionality of various devices
from different files into lio_core.c/octeon_console.c.
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
drivers/net/ethernet/cavium/liquidio/Makefile | 23 +-
On 08/12/2016 10:30 AM, f...@48lvckh6395k16k5.yundunddos.com wrote:
From: Gao Feng
1. Use struct gre_base_hdr directly in pptp_gre_header instead of
duplicated members;
2. Use existing macros like GRE_KEY, GRE_SEQ, and so on instead of
duplicated macros defined by PPTP;
3. Add new macros like
This patch adds support for cn23xx queue manipulation.
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
.../ethernet/cavium/liquidio/cn23xx_pf_device.c| 193 +
drivers/net/ethernet/cavium/liqui
Adds support for watchdog based health monitoring
of octeon cores on cn23xx device.
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
drivers/net/ethernet/cavium/liquidio/lio_main.c| 124 -
.../
This patch contains changes for firmware version management.
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
drivers/net/ethernet/cavium/liquidio/lio_main.c| 12 ++--
.../net/ethernet/cavium/liquidio/liqu
Is there anything I can provide or do to help get this issue fixed? Even with
the patch provided, our application is still broken.
-Brandon
From: Brandon Cazander
Sent: Wednesday, August 3, 2016 8:47 AM
To: Florian Westphal
Cc: netdev@vger.kernel.org
Subject: Re: PROBLEM: TPROXY and DNAT broken
This patch adds work queue support for link status and
control commands.
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
drivers/net/ethernet/cavium/liquidio/lio_core.c| 5 +-
drivers/net/ethernet/cavium/liquidi
On Thu, Aug 11, 2016 at 05:01:52PM +0800, Dongpo Li wrote:
> From: Li Dongpo
>
> The "hix5hd2" is SoC name, add the generic ethernet driver name.
> The "hisi-gemac-v1" is the basic version and "hisi-gemac-v2" adds
> the SG/TXCSUM/TSO/UFO features.
> This patch only adds the SG(scatter-gather) dri
On Thu, Aug 11, 2016 at 10:12:44AM +0200, Heiko Stübner wrote:
> Hi Roger,
>
> Am Donnerstag, 11. August 2016, 15:24:46 schrieb Roger Chen:
> > Add constants and callback functions for the dwmac on rk3228/rk3229 socs.
> > As can be seen, the base structure is the same, only registers and the
> > b
This patch adds support for LED identification and ethtool
based statistics for cn23xx device.
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
.../ethernet/cavium/liquidio/cn23xx_pf_device.h| 2 +
drivers/net/e
Add support for cn23xx specific queue definitions and
features.
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
drivers/net/ethernet/cavium/Kconfig| 4 +-
.../ethernet/cavium/liquidio/cn23xx_pf_devi
Add support for cn23xx device init and sriov queue config.
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
drivers/net/ethernet/cavium/liquidio/Makefile | 1 +
.../ethernet/cavium/liquidio/cn23xx_pf_device.c
Add firmware download support for cn23xx device.
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
.../ethernet/cavium/liquidio/cn23xx_pf_device.c| 40 +++
.../ethernet/cavium/liquidio/cn23xx_pf_device.h|
Adds support for initializing cn23xx device registers
related to mac, input/output and pf global config.
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
.../ethernet/cavium/liquidio/cn23xx_pf_device.c| 295 ++
This patch adds support msix interrupt for cn23xx device.
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
.../ethernet/cavium/liquidio/cn23xx_pf_device.c| 174 --
.../net/ethernet/cavium/liquidio/cn66
This patch adds register definitions and structures for new
device cn23xx.
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
.../net/ethernet/cavium/liquidio/cn23xx_pf_regs.h | 602 +
1 file change
Add support of common irq enable functionality for both
iq(instruction queue) and oq(output queue).
Signed-off-by: Derek Chickles
Signed-off-by: Satanand Burla
Signed-off-by: Felix Manlunas
Signed-off-by: Raghu Vatsavayi
---
drivers/net/ethernet/cavium/liquidio/lio_main.c| 1 +
.../net/e
I got this:
UBSAN: Undefined behaviour in ./include/linux/log2.h:63:13
shift exponent 64 is too large for 64-bit type 'long unsigned int'
CPU: 1 PID: 721 Comm: kworker/1:1 Not tainted 4.8.0-rc1+ #87
On Fri, Aug 12, 2016 at 8:14 AM, Simon Horman
wrote:
> Ensure that the inner_protocol is set on transmit so that GSO segmentation,
> which relies on that field, works correctly.
>
> I have observed this is not the case when OvS transmits GRE using
> lwtunnel metadata (which it always does).
>
> Fi
Install the callbacks via the state machine.
The driver supports multiple instances and therefore the new
cpuhp_state_add_instance_nocalls() infrastrucure is used. The driver
currently uses get_online_cpus() to avoid missing a CPU hotplug event
while invoking virtnet_set_affinity(). This could be a
From: Sudarsana Kalluru
Date: Fri, 12 Aug 2016 05:00:40 +
> Thanks for the patch.
>
> Acked-by: Sudarsana Reddy Kalluru
Please do not quote patches like this, and top-post your Ack.
Please instead use canonical quoting, with some kind of delimiter
in the first column of the quoted materia
On 8/12/16 5:02 AM, Mike Manning wrote:
> If IPv6 is disabled when the option is set to keep IPv6
> addresses on link down, userspace is unaware of this as
> there is no such indication via netlink. The solution is to
> remove the IPv6 addresses in this case, which results in
> netlink messages ind
Hi,
I've tested on ESXi version 5.5 and it seems OK.
- VM1: Ubuntu 14.04, kernel 3.19 ---> OK 3 cpu dirs, possible = 0-2
- VM2: Centos7, kernel 3.10 ---> OK 8 cpu dirs, possible = 0-7
I tried another MacBook with Fusion, same issue happens, the cpu[0-9]
dirs are not equal to /sys/devices/system/c
From: Gao Feng
1. Use struct gre_base_hdr directly in pptp_gre_header instead of
duplicated members;
2. Use existing macros like GRE_KEY, GRE_SEQ, and so on instead of
duplicated macros defined by PPTP;
3. Add new macros like GRE_IS_ACK/SEQ and so on instead of
PPTP_GRE_IS_A/S and so on;
Signed-
On 08/12/2016 05:56 PM, Sargun Dhillon wrote:
This adds a bpf helper that's similar to the skb_in_cgroup helper to check
whether the probe is currently executing in the context of a specific
subset of the cgroupsv2 hierarchy. It does this based on membership test
for a cgroup arraymap. It is inva
ping_v6_sendmsg does not set flowi6_oif in response to
sin6_scope_id or sk_bound_dev_if, so it is not possible to use
these APIs to ping an IPv6 address on a different interface.
Instead, it sets flowi6_iif, which is incorrect but harmless.
Stop setting flowi6_iif, and support various ways of sett
On Fri, Aug 12, 2016 at 08:57:04AM -0700, Sargun Dhillon wrote:
> This test has a BPF program which writes the last known pid to call the
> sync syscall within a given cgroup to a map.
>
> The user mode program creates its own mount namespace, and mounts the
> cgroupsv2 hierarchy in there, as on
On 8/12/16 9:45 AM, Lorenzo Colitti wrote:
> On Wed, Aug 10, 2016 at 7:44 AM, YOSHIFUJI Hideaki
> wrote:
>>
I could see a point of view that says when bound_if is in play sending
to destinations on/via other interfaces--by any mechanism--should
effectively get ENETUNREACH (or someth
This patchset includes a helper and an example to determine whether the probe is
currently executing in the context of a specific cgroup based on a cgroup bpf
map / array. The helper checks the cgroupsv2 hierarchy based on the handle in
the map and if the current cgroup is equal to it, or a descend
Hi Sebastian,
On 08/12/2016 11:32 AM, Sebastian Andrzej Siewior wrote:
> On 2016-08-11 19:15:40 [+0300], Grygorii Strashko wrote:
>> Mark CPSW Rx/Tx IRQs as IRQF_NO_THREAD and avoid double scheduling on -RT
>> where this IRQs are forced threaded:
>> rx-irq
>> |- schedule threaded rx-irq handler
This test has a BPF program which writes the last known pid to call the
sync syscall within a given cgroup to a map.
The user mode program creates its own mount namespace, and mounts the
cgroupsv2 hierarchy in there, as on all current test systems
(Ubuntu 16.04, Debian), the cgroupsv2 vfs is unmo
This adds a bpf helper that's similar to the skb_in_cgroup helper to check
whether the probe is currently executing in the context of a specific
subset of the cgroupsv2 hierarchy. It does this based on membership test
for a cgroup arraymap. It is invalid to call this in an interrupt, and
it'll retu
This commit adds an inline function to cgroup.h to check whether a given
task is under a given cgroup hierarchy. This is to avoid having to put
ifdefs in .c files to gate access to cgroups. When cgroups are disabled
this always returns true.
Signed-off-by: Sargun Dhillon
Cc: Alexei Starovoitov
C
Remove .owner and .bus fields since module_spi_driver() is used
which set them automatically.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Wei Yongjun
---
drivers/net/dsa/b53/b53_spi.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/dsa/b53/b5
On Wed, Aug 10, 2016 at 7:44 AM, YOSHIFUJI Hideaki
wrote:
>
> >> I could see a point of view that says when bound_if is in play sending
> >> to destinations on/via other interfaces--by any mechanism--should
> >> effectively get ENETUNREACH (or something).
> >
> > VRF uses this capability to send o
Add the missing free_netdev() before return from function macb_probe()
in the platform_get_irq() error handling case.
Fixes: c69618b3e4f2 ("net/macb: fix probe sequence to setup clocks earlier")
Signed-off-by: Wei Yongjun
---
drivers/net/ethernet/cadence/macb.c | 2 +-
1 file changed, 1 insertio
On Sun, Aug 07, 2016 at 05:12:30PM +0800, Xin Long wrote:
> Prior to this patch, If one route entry's RTA_PREFSRC and RTA_GATEWAY
> both were NULL, it was supposed to be restored ONLY as a local address.
>
> But as it didn't check tb[RTA_PREFSRC] when restoring local networks,
> rtattr_cmp would r
Hello, Alexei.
On Fri, Aug 12, 2016 at 08:21:21AM -0700, Alexei Starovoitov wrote:
> > lol I should have read the whole thread before replying twice. Sorry
> > about that. Yeah, if we can still rename it, let's do "under". It's
> > more intuitive and gives us the room to implement the real "in"
On Fri, Aug 12, 2016 at 09:29:35AM -0400, Tejun Heo wrote:
> Hello,
>
> On Fri, Aug 12, 2016 at 09:40:39AM +0200, Daniel Borkmann wrote:
> > > I actually wish we could rename skb_in_cgroup to skb_under_cgroup. If we
> > > ever
> > > introduced a check for absolute membership versus ancestral memb
On Fri, Aug 12, 2016 at 08:07:00AM -0700, Alexander Duyck wrote:
> On Fri, Aug 12, 2016 at 2:46 AM, Simon Horman
> wrote:
> > Ensure that the inner_protocol is set on transmit so that GSO segmentation,
> > which relies on that field, works correctly.
> >
> > I have observed this is not the case wh
Ensure that the inner_protocol is set on transmit so that GSO segmentation,
which relies on that field, works correctly.
I have observed this is not the case when OvS transmits GRE using
lwtunnel metadata (which it always does).
Fixes: 38720352412a ("gre: Use inner_proto to obtain inner header pr
On Fri, Aug 12, 2016 at 2:46 AM, Simon Horman
wrote:
> Ensure that the inner_protocol is set on transmit so that GSO segmentation,
> which relies on that field, works correctly.
>
> I have observed this is not the case when OvS transmits GRE using
> lwtunnel metadata (which it always does).
>
> Fi
On Thu, 11 Aug 2016 14:09:53 +0200
Vitaly Kuznetsov wrote:
> Yuval Mintz writes:
>
> >> +static void netvsc_inject_enable(struct net_device_context
> >> +*net_device_ctx) {
> >> + net_device_ctx->vf_inject = true;
> >> +}
> >> +
> >> +static void netvsc_inject_disable(struct net_device_context
1 - 100 of 184 matches
Mail list logo