Re: [PATCH v2] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread Zhiqiang Liu
> On Sat, 16 Mar 2019 13:24:39 +0800 > Zhiqiang Liu wrote: > >> I have updated the commit message as suggested by Eric. Even though I have >> read >> Documentation/networking/netdev-FAQ.rst as you mentioned. I am now still a >> little >> confused about the subject-prefix of v3 (net or net-next)

Re: [PATCH v2] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread Stefano Brivio
On Sat, 16 Mar 2019 13:24:39 +0800 Zhiqiang Liu wrote: > I have updated the commit message as suggested by Eric. Even though I have > read > Documentation/networking/netdev-FAQ.rst as you mentioned. I am now still a > little > confused about the subject-prefix of v3 (net or net-next). It's "ne

Re: [PATCH v2] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread Zhiqiang Liu
: > On Fri, 15 Mar 2019 14:26:10 -0700 > Eric Dumazet wrote: > >> On 03/15/2019 02:08 PM, Stefano Brivio wrote: >>> On Fri, 15 Mar 2019 11:56:01 -0700 >>> Eric Dumazet wrote: >>> On 03/15/2019 11:02 AM, David Miller wrote: > From: Eric Dumazet > Date: Fri, 15 Mar 2019 09:06:25

Re: [PATCH v2] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread Zhiqiang Liu
>>> On 03/15/2019 08:28 AM, Stefano Brivio wrote: On Fri, 15 Mar 2019 23:18:52 +0800 Zhiqiang Liu wrote: NACK, please read my and Eric's comments to v1 -- giving me more than 23 minutes to answer would have been a nice touch as well :) >>> >>> Sorry for the con

Re: [RFC PATCH net-next 1/3] net: rtnetlink: Add link-down reason to RTNL messages

2019-03-15 Thread Andrew Lunn
Hi Petr > +enum rtnl_link_down_reason_major { > + RTNL_LDR_OTHER, Does 'other' make any sense? Seem better to just not report anything at all, or add a comment that more reasons should be added at the end to reflect whatever the hardware or software can determine. > + RTNL_LDR_NO_CABLE,

Re: [RFC PATCH net-next 1/3] net: rtnetlink: Add link-down reason to RTNL messages

2019-03-15 Thread Jakub Kicinski
On Fri, 15 Mar 2019 17:56:07 +, Petr Machata wrote: > diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h > index e2091bb2b3a8..cfd9e86ff0ca 100644 > --- a/include/net/rtnetlink.h > +++ b/include/net/rtnetlink.h > @@ -110,6 +110,9 @@ struct rtnl_link_ops { > int

Re: [RFC PATCH net-next 0/3] RTNL: Add link-down reason reporting

2019-03-15 Thread Andrew Lunn
> The party with visibility into details of this process is the driver. Hi Petr In the general case, i would disagree with this. It is the PHY layer which knows about these things. phylib and phylink. The MAC driver has no idea, it just sees that the carrier is off. There are however some driver

Re: [PATCH 0/2] bpf: context casting for tail call and gtrace prog type

2019-03-15 Thread Kris Van Hees
On Wed, Mar 13, 2019 at 09:30:02AM -0700, Brendan Gregg wrote: > On Tue, Mar 12, 2019 at 9:54 AM Kris Van Hees > wrote: > > > > On Mon, Mar 11, 2019 at 11:03:10PM -0700, Brendan Gregg wrote: > > > On Mon, Mar 11, 2019 at 8:24 PM Kris Van Hees > > > wrote: > > > > > > > > On Mon, Mar 11, 2019 at

Re: [PATCH net-next v2 4/7] devlink: allow subports on devlink PCI ports

2019-03-15 Thread Jakub Kicinski
On Fri, 15 Mar 2019 22:12:13 +, Parav Pandit wrote: > > On Fri, 15 Mar 2019 21:08:14 +0100, Jiri Pirko wrote: > > > >> IIUC, Jiri/Jakub are proposing creation of 2 devlink objects for > > > >> each port - host facing ports and switch facing ports. This is in > > > >> addition to the netdevs t

pull-request: bpf 2019-03-16

2019-03-15 Thread Daniel Borkmann
Hi David, The following pull-request contains BPF updates for your *net* tree. The main changes are: 1) Fix a umem memory leak on cleanup in AF_XDP, from Björn. 2) Fix BTF to properly resolve forward-declared enums into their corresponding full enum definition types during deduplication, fro

Re: [PATCH bpf] xsk: fix umem memory leak on cleanup

2019-03-15 Thread Daniel Borkmann
On 03/13/2019 03:15 PM, Björn Töpel wrote: > From: Björn Töpel > > When the umem is cleaned up, the task that created it might already be > gone. If the task was gone, the xdp_umem_release function did not free > the pages member of struct xdp_umem. > > It turned out that the task lookup was not

[PATCH net] gtp: change NET_UDP_TUNNEL dependency to select

2019-03-15 Thread Matteo Croce
Similarly to commit a7603ac1fc8c ("geneve: change NET_UDP_TUNNEL dependency to select"), GTP has a dependency on NET_UDP_TUNNEL which makes impossible to compile it if no other protocol depending on NET_UDP_TUNNEL is selected. Fix this by changing the depends to a select, and drop NET_IP_TUNNEL fr

Re: [PATCH net] tun: properly test for IFF_UP

2019-03-15 Thread David Miller
From: Eric Dumazet Date: Thu, 14 Mar 2019 20:19:47 -0700 > Same reasons than the ones explained in commit 4179cb5a4c92 > ("vxlan: test dev->flags & IFF_UP before calling netif_rx()") > > netif_rx_ni() or napi_gro_frags() must be called under a strict contract. > > At device dismantle phase, cor

Re: [PATCH v2] net: add documentation to socket.c

2019-03-15 Thread David Miller
From: Pedro Tammela Date: Thu, 14 Mar 2019 10:45:23 -0300 > Adds missing sphinx documentation to the > socket.c's functions. Also fixes some whitespaces. > > I also changed the style of older documentation as an > effort to have an uniform documentation style. > > Signed-off-by: Pedro Tammela

Re: r8169 driver from kernel 5.0 crashing - napi_consume_skb

2019-03-15 Thread Heiner Kallweit
On 15.03.2019 23:09, Alexander Duyck wrote: > On Fri, 2019-03-15 at 21:46 +0100, Heiner Kallweit wrote: >> On 15.03.2019 21:40, Alexander Duyck wrote: >>> On Fri, 2019-03-15 at 21:26 +0100, Heiner Kallweit wrote: On 15.03.2019 21:09, VDR User wrote: > Thanks for the additional info and

RE: [PATCH net-next v2 4/7] devlink: allow subports on devlink PCI ports

2019-03-15 Thread Parav Pandit
> -Original Message- > From: Jakub Kicinski > Sent: Friday, March 15, 2019 3:45 PM > To: Jiri Pirko > Cc: Parav Pandit ; Samudrala, Sridhar > ; da...@davemloft.net; > netdev@vger.kernel.org; oss-driv...@netronome.com > Subject: Re: [PATCH net-next v2 4/7] devlink: allow subports on dev

Re: r8169 driver from kernel 5.0 crashing - napi_consume_skb

2019-03-15 Thread Alexander Duyck
On Fri, 2019-03-15 at 21:46 +0100, Heiner Kallweit wrote: > On 15.03.2019 21:40, Alexander Duyck wrote: > > On Fri, 2019-03-15 at 21:26 +0100, Heiner Kallweit wrote: > > > On 15.03.2019 21:09, VDR User wrote: > > > > > > > > Thanks for the additional info and for testing 4.20.15. > > > > > > > > To

Re: [PATCH v2] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread Stefano Brivio
On Fri, 15 Mar 2019 14:26:10 -0700 Eric Dumazet wrote: > On 03/15/2019 02:08 PM, Stefano Brivio wrote: > > On Fri, 15 Mar 2019 11:56:01 -0700 > > Eric Dumazet wrote: > > > >> On 03/15/2019 11:02 AM, David Miller wrote: > >>> From: Eric Dumazet > >>> Date: Fri, 15 Mar 2019 09:06:25 -0700 >

RE: [PATCH net-next v2 4/7] devlink: allow subports on devlink PCI ports

2019-03-15 Thread Parav Pandit
> -Original Message- > From: Jiri Pirko > Sent: Friday, March 15, 2019 3:08 PM > To: Parav Pandit > Cc: Samudrala, Sridhar ; Jakub Kicinski > ; da...@davemloft.net; > netdev@vger.kernel.org; oss-driv...@netronome.com > Subject: Re: [PATCH net-next v2 4/7] devlink: allow subports on dev

Re: regression from: net: phy: marvell: Avoid unnecessary soft reset

2019-03-15 Thread Florian Fainelli
On 3/15/19 1:52 AM, Phil Reid wrote: > G'day All, > > I've just update from kernel 4.19 to 5.0 on a custom board that has a > marvell > dsa mv88e6085 and the phy on the mv88e6085 will only connect at 10Mb/s with > the above mentioned patch applied. > > Bisecting the issue lead me to the following

Re: [PATCH net V3 1/2] net/sched: taprio: fix picos_per_byte miscalculation

2019-03-15 Thread Florian Fainelli
On 3/15/19 2:16 PM, Leandro Dorileo wrote: > The Time Aware Priority Scheduler is heavily dependent to link speed, > it relies on it to calculate transmission bytes per cycle, we can't > properly calculate the so called budget if the device has failed > to report the link speed. > > In that case w

Re: [PATCH v2] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread Eric Dumazet
On 03/15/2019 02:08 PM, Stefano Brivio wrote: > On Fri, 15 Mar 2019 11:56:01 -0700 > Eric Dumazet wrote: > >> On 03/15/2019 11:02 AM, David Miller wrote: >>> From: Eric Dumazet >>> Date: Fri, 15 Mar 2019 09:06:25 -0700 >>> On 03/15/2019 08:28 AM, Stefano Brivio wrote:

[PATCH net V3 1/2] net/sched: taprio: fix picos_per_byte miscalculation

2019-03-15 Thread Leandro Dorileo
The Time Aware Priority Scheduler is heavily dependent to link speed, it relies on it to calculate transmission bytes per cycle, we can't properly calculate the so called budget if the device has failed to report the link speed. In that case we can't dequeue packets assuming a wrong budget. This p

[PATCH net V3 2/2] net/sched: cbs: fix port_rate miscalculation

2019-03-15 Thread Leandro Dorileo
The Credit Based Shaper heavily depends on link speed to calculate the scheduling credits, we can't properly calculate the credits if the device has failed to report the link speed. In that case we can't dequeue packets assuming a wrong port rate that will result into an inconsistent credit distri

[PATCH net V3 0/2] net/sched: taprio: cbs: Fix using invalid link speed

2019-03-15 Thread Leandro Dorileo
This set fixes miscalculations based on invalid link speed values. Changes in v3: + yep pr_info() format warnings; Changes in v2: + fixed pr_info() format both on cbs and taprio patches; Leandro Dorileo (2): net/sched: taprio: fix picos_per_byte miscalculation net/sched: cbs: fix port_rate

Re: [PATCH v2] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread Stefano Brivio
On Fri, 15 Mar 2019 11:56:01 -0700 Eric Dumazet wrote: > On 03/15/2019 11:02 AM, David Miller wrote: > > From: Eric Dumazet > > Date: Fri, 15 Mar 2019 09:06:25 -0700 > > > >> > >> > >> On 03/15/2019 08:28 AM, Stefano Brivio wrote: > >>> On Fri, 15 Mar 2019 23:18:52 +0800 > >>> Zhiqiang Liu

Re: [PATCH iproute2-next 0/3] bond, bridge: add xstats json support

2019-03-15 Thread David Ahern
On 3/12/19 10:41 AM, Nikolay Aleksandrov wrote: > Hi, > This set adds json output support to the xstats API (patch 01) and then > adds json support to the bridge xstats output (patch 02) and adds xstats > output support (both plain text and json) for the bonding (patch 03). > It doesn't change the

Re: r8169 driver from kernel 5.0 crashing - napi_consume_skb

2019-03-15 Thread Heiner Kallweit
On 15.03.2019 21:40, Alexander Duyck wrote: > On Fri, 2019-03-15 at 21:26 +0100, Heiner Kallweit wrote: >> On 15.03.2019 21:09, VDR User wrote: >>> Thanks for the additional info and for testing 4.20.15. >>> To rule out that the issue is caused by a regression in network or >>> some oth

Re: [PATCH net-next v2 4/7] devlink: allow subports on devlink PCI ports

2019-03-15 Thread Jakub Kicinski
On Fri, 15 Mar 2019 21:08:14 +0100, Jiri Pirko wrote: > >> IIUC, Jiri/Jakub are proposing creation of 2 devlink objects for each port > >> - > >> host facing ports and switch facing ports. This is in addition to the > >> netdevs > >> that are created today. To be clear I'm not in favour of the d

Re: [PATCH bpf] bpf: make bpf_skb_ecn_set_ce callable from BPF_PROG_TYPE_SCHED_ACT

2019-03-15 Thread Alexei Starovoitov
On Thu, Mar 14, 2019 at 05:28:58PM -0700, Peter Oskolkov wrote: > This helper is useful if a bpf tc filter sets skb->tstamp. > > Signed-off-by: Peter Oskolkov pls resubmit when bpf-next reopens.

Re: [PATCH v2 0/8] Allow checking SYN cookies from XDP and tc cls act

2019-03-15 Thread Alexei Starovoitov
On Thu, Mar 14, 2019 at 11:39:46AM +, Lorenz Bauer wrote: > This series adds the necessary helpers to determine wheter a given > (encapsulated) TCP packet belongs to a connection known to the network stack. > > * bpf_skc_lookup_tcp gives access to request and timewait sockets > * bpf_tcp_check

Re: r8169 driver from kernel 5.0 crashing - napi_consume_skb

2019-03-15 Thread Alexander Duyck
On Fri, 2019-03-15 at 21:26 +0100, Heiner Kallweit wrote: > On 15.03.2019 21:09, VDR User wrote: > > > > > > Thanks for the additional info and for testing 4.20.15. > > > > > > To rule out that the issue is caused by a regression in network or > > > > > > some other subsystem: Can you take the r816

Re: r8169 driver from kernel 5.0 crashing - napi_consume_skb

2019-03-15 Thread Heiner Kallweit
On 15.03.2019 21:09, VDR User wrote: > Thanks for the additional info and for testing 4.20.15. > To rule out that the issue is caused by a regression in network or > some other subsystem: Can you take the r8169.c from 4.20.15 and test > it on top of 5.0? > Meanwhile I'll look at

Re: [PATCH 1/1] bpftool: Allow referring to maps by its name

2019-03-15 Thread Jakub Kicinski
On Fri, 15 Mar 2019 16:48:00 -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Mar 15, 2019 at 07:41:35PM +, Quentin Monnet escreveu: > > 2019-03-15 12:16 UTC-0700 ~ Jakub Kicinski > > > On Fri, 15 Mar 2019 15:41:41 -0300, Arnaldo Carvalho de Melo wrote: > > > > While developing 'perf trace

Re: [PATCH net-next v2 4/7] devlink: allow subports on devlink PCI ports

2019-03-15 Thread Jiri Pirko
Fri, Mar 15, 2019 at 04:32:24PM CET, pa...@mellanox.com wrote: > > >> -Original Message- >> From: Samudrala, Sridhar >> Sent: Friday, March 15, 2019 12:58 AM >> To: Parav Pandit ; Jakub Kicinski >> >> Cc: Jiri Pirko ; da...@davemloft.net; >> netdev@vger.kernel.org; oss-driv...@netronome.c

Re: [PATCH 1/1] bpftool: Allow referring to maps by its name

2019-03-15 Thread Jakub Kicinski
On Fri, 15 Mar 2019 16:51:42 -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Mar 15, 2019 at 12:16:32PM -0700, Jakub Kicinski escreveu: > > Please do keep the current model of name val, IOW dump map *name* pids.. > > I don't have a problem with that, but what would be the problem with > support

Re: r8169 driver from kernel 5.0 crashing

2019-03-15 Thread VDR User
> > >> Thanks for the additional info and for testing 4.20.15. > > >> To rule out that the issue is caused by a regression in network or > > >> some other subsystem: Can you take the r8169.c from 4.20.15 and test > > >> it on top of 5.0? > > >> Meanwhile I'll look at the changes in the driver betwe

Re: [PATCH 1/1] bpftool: Allow referring to maps by its name

2019-03-15 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 15, 2019 at 12:16:32PM -0700, Jakub Kicinski escreveu: > Please do keep the current model of name val, IOW dump map *name* pids.. I don't have a problem with that, but what would be the problem with supporting both: bpftool map dump name pids_filtered and: bpftool map dump pids_

[PATCH v11 05/14] mm, arm64: untag user pointers in mm/gup.c

2019-03-15 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. mm/gup.c provides a kernel interface that accepts user addresses and manipulates user pages directly (for example get

Re: [PATCH 1/1] bpftool: Allow referring to maps by its name

2019-03-15 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 15, 2019 at 07:41:35PM +, Quentin Monnet escreveu: > 2019-03-15 12:16 UTC-0700 ~ Jakub Kicinski > > On Fri, 15 Mar 2019 15:41:41 -0300, Arnaldo Carvalho de Melo wrote: > > > While developing 'perf trace' and looking at BPF maps it puts in place I > > > noticed that one needs to fir

Re: [PATCH 1/1] bpftool: Allow referring to maps by its name

2019-03-15 Thread Quentin Monnet
2019-03-15 12:16 UTC-0700 ~ Jakub Kicinski On Fri, 15 Mar 2019 15:41:41 -0300, Arnaldo Carvalho de Melo wrote: While developing 'perf trace' and looking at BPF maps it puts in place I noticed that one needs to first use 'bpftool map' to lookup a map id to then use 'bpftool map dump map id '. T

Re: [PATCH 1/1] bpftool: Allow referring to maps by its name

2019-03-15 Thread Jakub Kicinski
On Fri, 15 Mar 2019 15:41:41 -0300, Arnaldo Carvalho de Melo wrote: > While developing 'perf trace' and looking at BPF maps it puts in place I > noticed that one needs to first use 'bpftool map' to lookup a map id to > then use 'bpftool map dump map id '. > > This is needed because everytime we re

Re: [PATCH v2] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread Eric Dumazet
On 03/15/2019 11:02 AM, David Miller wrote: > From: Eric Dumazet > Date: Fri, 15 Mar 2019 09:06:25 -0700 > >> >> >> On 03/15/2019 08:28 AM, Stefano Brivio wrote: >>> On Fri, 15 Mar 2019 23:18:52 +0800 >>> Zhiqiang Liu wrote: >>> In vxlan_destroy_tunnels func, unregister_netdevice_queue i

[PATCH 1/1] bpftool: Allow referring to maps by its name

2019-03-15 Thread Arnaldo Carvalho de Melo
While developing 'perf trace' and looking at BPF maps it puts in place I noticed that one needs to first use 'bpftool map' to lookup a map id to then use 'bpftool map dump map id '. This is needed because everytime we restart 'perf trace' the map IDs gets changed so we need to do the ID lookup aga

Re: [PATCH v2] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread David Miller
From: Eric Dumazet Date: Fri, 15 Mar 2019 09:06:25 -0700 > > > On 03/15/2019 08:28 AM, Stefano Brivio wrote: >> On Fri, 15 Mar 2019 23:18:52 +0800 >> Zhiqiang Liu wrote: >> >>> In vxlan_destroy_tunnels func, unregister_netdevice_queue is called after >>> gro_cells_destroy func. However, in un

Re: [PATCH v2] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread David Miller
From: Stefano Brivio Date: Fri, 15 Mar 2019 16:28:24 +0100 > On Fri, 15 Mar 2019 23:18:52 +0800 > Zhiqiang Liu wrote: > >> In vxlan_destroy_tunnels func, unregister_netdevice_queue is called after >> gro_cells_destroy func. However, in unregister_netdevice_queue func, the >> gro_cells_destroy f

[RFC PATCH net-next 1/3] net: rtnetlink: Add link-down reason to RTNL messages

2019-03-15 Thread Petr Machata
In general, after a port is put administratively up, certain handshake protocols have to finish successfully, otherwise the port is left in a NO-CARRIER or DORMANT state. When that happens, it would be useful to communicate the reasons to the administrator, so that the problem that prevents the lin

[RFC PATCH net-next 2/3] mlxsw: reg: Add Port Diagnostics Database Register

2019-03-15 Thread Petr Machata
The PDDR register enables to read the Phy debug database. Signed-off-by: Petr Machata --- drivers/net/ethernet/mellanox/mlxsw/reg.h | 54 +++ 1 file changed, 54 insertions(+) diff --git a/drivers/net/ethernet/mellanox/mlxsw/reg.h b/drivers/net/ethernet/mellanox/mlxs

[RFC PATCH net-next 3/3] mlxsw: spectrum: Add rtnl_link_ops

2019-03-15 Thread Petr Machata
In order to provide visibility into problems with bringing a link up, add rtnl_link_ops. Add the mandatory kind field. Add two new functions, mlxsw_sp_port_link_down_reason_get_size() to calculate the size necessary for the link-down reason attributes, and mlxsw_sp_port_fill_link_down_reason() to f

[RFC PATCH net-next 0/3] RTNL: Add link-down reason reporting

2019-03-15 Thread Petr Machata
In general, after a port is put administratively up, certain handshake protocols have to finish successfully, otherwise the port is left in a NO-CARRIER or DORMANT state. When that happens, it would be useful to communicate the reasons to the administrator, so that the problem that prevents the lin

[PATCH net] net: rose: fix a possible stack overflow

2019-03-15 Thread Eric Dumazet
rose_write_internal() uses a temp buffer of 100 bytes, but a manual inspection showed that given arbitrary input, rose_create_facilities() can fill up to 110 bytes. Lets use a tailroom of 256 bytes for peace of mind, and remove the bounce buffer : we can simply allocate a big enough skb and adjust

Re: [PATCH bpf] bpf: make bpf_skb_ecn_set_ce callable from BPF_PROG_TYPE_SCHED_ACT

2019-03-15 Thread Peter Oskolkov
On Fri, Mar 15, 2019 at 9:52 AM Martin Lau wrote: > > On Thu, Mar 14, 2019 at 05:28:58PM -0700, Peter Oskolkov wrote: > > This helper is useful if a bpf tc filter sets skb->tstamp. > > > For the patch, > Acked-by: Martin KaFai Lau > > Not sure if it should belong to bpf-next material though. Tha

Re: [PATCH bpf] bpf: make bpf_skb_ecn_set_ce callable from BPF_PROG_TYPE_SCHED_ACT

2019-03-15 Thread Martin Lau
On Thu, Mar 14, 2019 at 05:28:58PM -0700, Peter Oskolkov wrote: > This helper is useful if a bpf tc filter sets skb->tstamp. > For the patch, Acked-by: Martin KaFai Lau Not sure if it should belong to bpf-next material though.

Ik hoop echt dat je geniet van een uitstekende dag

2019-03-15 Thread dembaesmt
Ik dacht dat het onmogelijk was https://tiotacentloc1977.blogspot.no/

Re: [PATCH v2] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread Eric Dumazet
On 03/15/2019 08:28 AM, Stefano Brivio wrote: > On Fri, 15 Mar 2019 23:18:52 +0800 > Zhiqiang Liu wrote: > >> In vxlan_destroy_tunnels func, unregister_netdevice_queue is called after >> gro_cells_destroy func. However, in unregister_netdevice_queue func, the >> gro_cells_destroy func will als

RE: [PATCH net-next v2 4/7] devlink: allow subports on devlink PCI ports

2019-03-15 Thread Parav Pandit
> -Original Message- > From: Samudrala, Sridhar > Sent: Friday, March 15, 2019 12:58 AM > To: Parav Pandit ; Jakub Kicinski > > Cc: Jiri Pirko ; da...@davemloft.net; > netdev@vger.kernel.org; oss-driv...@netronome.com > Subject: Re: [PATCH net-next v2 4/7] devlink: allow subports on dev

Re: [PATCH v2] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread Stefano Brivio
On Fri, 15 Mar 2019 23:18:52 +0800 Zhiqiang Liu wrote: > In vxlan_destroy_tunnels func, unregister_netdevice_queue is called after > gro_cells_destroy func. However, in unregister_netdevice_queue func, the > gro_cells_destroy func will also call the gro_cells_destroy func as the > following routi

Re: [PATCH] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread Stefano Brivio
On Fri, 15 Mar 2019 22:55:52 +0800 Zhiqiang Liu wrote: > > On Fri, 15 Mar 2019 18:06:45 +0800 > > Zhiqiang Liu wrote: > > > >> From: "Suanming.Mou" > >> > >> With ad6c9986bcb6, GRO cells will be destroyed in vxlan_uninit. > > > > Thanks for cleaning this up. > > > > I think it would be n

[PATCH v2] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread Zhiqiang Liu
In vxlan_destroy_tunnels func, unregister_netdevice_queue is called after gro_cells_destroy func. However, in unregister_netdevice_queue func, the gro_cells_destroy func will also call the gro_cells_destroy func as the following routine: unregister_netdevice_many() -> rollback_registered_many() ->

Re: [PATCH] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread Zhiqiang Liu
> On Fri, 15 Mar 2019 18:06:45 +0800 > Zhiqiang Liu wrote: > >> From: "Suanming.Mou" >> >> With ad6c9986bcb6, GRO cells will be destroyed in vxlan_uninit. > > Thanks for cleaning this up. > > I think it would be nice if you could actually explain in the commit > message why this makes the call

Re: [PATCH] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread Eric Dumazet
On 03/15/2019 03:06 AM, Zhiqiang Liu wrote: > From: "Suanming.Mou" > > With ad6c9986bcb6, GRO cells will be destroyed in vxlan_uninit. > > Fixes: ad6c9986bcb6 ("vxlan: Fix GRO cells race condition between receive and > link delete") > This is a net-next candidate . The Fixes: tag is not n

Re: [PATCH net-next] net: phy: improve handling link_change_notify callback

2019-03-15 Thread David Wu
在 2019/3/13 上午1:50, Daniel Mack 写道: On 12/3/2019 1:27 PM, Heiko Stuebner wrote: Hi Andrew, Heiner, Am Montag, 4. März 2019, 21:06:30 CET schrieb Andrew Lunn: On Mon, Mar 04, 2019 at 11:30:25AM -0800, David Miller wrote: From: Heiner Kallweit Date: Sun, 3 Mar 2019 19:58:57 +0100 Currentl

Re: [PATCH] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread Stefano Brivio
On Fri, 15 Mar 2019 18:06:45 +0800 Zhiqiang Liu wrote: > From: "Suanming.Mou" > > With ad6c9986bcb6, GRO cells will be destroyed in vxlan_uninit. Thanks for cleaning this up. I think it would be nice if you could actually explain in the commit message why this makes the call in vxlan_destroy_

[PATCH iproute2-next] tc: m_connmark: fix action error messages

2019-03-15 Thread Kevin 'ldir' Darbyshire-Bryant
action m_connmark returns error messages identifying itself as the 'simple' action instead of 'connmark' action. e.g. tc filter add dev eth0 protocol all u32 match u32 0 0 flowid 1:1 \ action connmark index wrong simple: Illegal "index" bad action parsing parse_action: bad value (3:connmar

[no subject]

2019-03-15 Thread netdev
which

[PATCH] vxlan: remove the redundant gro_cells_destroy() calling.

2019-03-15 Thread Zhiqiang Liu
From: "Suanming.Mou" With ad6c9986bcb6, GRO cells will be destroyed in vxlan_uninit. Fixes: ad6c9986bcb6 ("vxlan: Fix GRO cells race condition between receive and link delete") Signed-off-by: Suanming.Mou --- drivers/net/vxlan.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff

regression from: net: phy: marvell: Avoid unnecessary soft reset

2019-03-15 Thread Phil Reid
G'day All, I've just update from kernel 4.19 to 5.0 on a custom board that has a marvell dsa mv88e6085 and the phy on the mv88e6085 will only connect at 10Mb/s with the above mentioned patch applied. Bisecting the issue lead me to the following patch. d6ab93364734bd (net: phy: marvell: Avoid un

Re: [PATCH net-next v2 4/7] devlink: allow subports on devlink PCI ports

2019-03-15 Thread Jiri Pirko
Thu, Mar 14, 2019 at 11:09:45PM CET, jakub.kicin...@netronome.com wrote: >On Thu, 14 Mar 2019 08:38:40 +0100, Jiri Pirko wrote: >> Wed, Mar 13, 2019 at 05:55:55PM CET, jakub.kicin...@netronome.com wrote: >> >On Wed, 13 Mar 2019 17:22:43 +0100, Jiri Pirko wrote: >> >> Wed, Mar 13, 2019 at 05:17:31