Re: [PATCH V1 vhost-next] vdpa/mlx5: Make vdpa core driver a distinct module

2020-09-28 Thread Eli Cohen
On Tue, Sep 29, 2020 at 02:51:12AM -0400, Michael S. Tsirkin wrote: > On Tue, Sep 29, 2020 at 09:34:33AM +0300, Eli Cohen wrote: > > On Tue, Sep 29, 2020 at 02:26:44AM -0400, Michael S. Tsirkin wrote: > > > On Tue, Sep 29, 2020 at 09:20:26AM +0300, Eli Cohen wrote: > > > > On Mon, Sep 28, 2020 at 0

Re: [PATCH V1 vhost-next] vdpa/mlx5: Make vdpa core driver a distinct module

2020-09-28 Thread Michael S. Tsirkin
On Tue, Sep 29, 2020 at 09:34:33AM +0300, Eli Cohen wrote: > On Tue, Sep 29, 2020 at 02:26:44AM -0400, Michael S. Tsirkin wrote: > > On Tue, Sep 29, 2020 at 09:20:26AM +0300, Eli Cohen wrote: > > > On Mon, Sep 28, 2020 at 03:55:09PM -0400, Michael S. Tsirkin wrote: > > > > On Thu, Sep 24, 2020 at 0

Re: [PATCH V1 vhost-next] vdpa/mlx5: Make vdpa core driver a distinct module

2020-09-28 Thread Eli Cohen
On Tue, Sep 29, 2020 at 02:26:44AM -0400, Michael S. Tsirkin wrote: > On Tue, Sep 29, 2020 at 09:20:26AM +0300, Eli Cohen wrote: > > On Mon, Sep 28, 2020 at 03:55:09PM -0400, Michael S. Tsirkin wrote: > > > On Thu, Sep 24, 2020 at 05:32:31PM +0300, Eli Cohen wrote: > > > > Change core vdpa function

Re: [PATCH V1 vhost-next] vdpa/mlx5: Make vdpa core driver a distinct module

2020-09-28 Thread Michael S. Tsirkin
On Tue, Sep 29, 2020 at 09:20:26AM +0300, Eli Cohen wrote: > On Mon, Sep 28, 2020 at 03:55:09PM -0400, Michael S. Tsirkin wrote: > > On Thu, Sep 24, 2020 at 05:32:31PM +0300, Eli Cohen wrote: > > > Change core vdpa functionality into a loadbale module such that upcoming > > > block implementation w

Re: [PATCH net v2] virtio-net: don't disable guest csum when disable LRO

2020-09-28 Thread Michael S. Tsirkin
On Tue, Sep 29, 2020 at 09:58:06AM +0800, xiangxia.m@gmail.com wrote: > From: Tonghao Zhang > > Open vSwitch and Linux bridge will disable LRO of the interface > when this interface added to them. Now when disable the LRO, the > virtio-net csum is disable too. That drops the forwarding perfor

Re: [PATCH 2/2] virtio-net: ethtool configurable RXCSUM

2020-09-28 Thread Michael S. Tsirkin
On Tue, Sep 29, 2020 at 02:10:56PM +0800, Tonghao Zhang wrote: > On Tue, Sep 29, 2020 at 1:55 PM Michael S. Tsirkin wrote: > > > > On Tue, Sep 29, 2020 at 09:45:24AM +0800, Tonghao Zhang wrote: > > > On Tue, Sep 29, 2020 at 3:25 AM Michael S. Tsirkin > > > wrote: > > > > > > > > On Mon, Sep 28,

Re: [PATCH v3] Bluetooth: Check for encryption key size on connect

2020-09-28 Thread Marcel Holtmann
Hi Archie, >>> When receiving connection, we only check whether the link has been >>> encrypted, but not the encryption key size of the link. >>> >>> This patch adds check for encryption key size, and reject L2CAP >>> connection which size is below the specified threshold (def

Re: [PATCH V1 vhost-next] vdpa/mlx5: Make vdpa core driver a distinct module

2020-09-28 Thread Eli Cohen
On Mon, Sep 28, 2020 at 03:55:09PM -0400, Michael S. Tsirkin wrote: > On Thu, Sep 24, 2020 at 05:32:31PM +0300, Eli Cohen wrote: > > Change core vdpa functionality into a loadbale module such that upcoming > > block implementation will be able to use it. > > > > Signed-off-by: Eli Cohen > > Why

Re: linux-next: build failure after merge of the mhi tree

2020-09-28 Thread Kalle Valo
Manivannan Sadhasivam writes: >> I was looking at commit ed39d7816885 ("bus: mhi: Remove auto-start >> option") and noticed this in the commit log: >> >> This is really up to the MHI device(channel) driver to manage the state >> of its channels. >> >> So does this mean we have to make c

Re: [PATCH 2/2] virtio-net: ethtool configurable RXCSUM

2020-09-28 Thread Tonghao Zhang
On Tue, Sep 29, 2020 at 1:55 PM Michael S. Tsirkin wrote: > > On Tue, Sep 29, 2020 at 09:45:24AM +0800, Tonghao Zhang wrote: > > On Tue, Sep 29, 2020 at 3:25 AM Michael S. Tsirkin wrote: > > > > > > On Mon, Sep 28, 2020 at 11:39:15AM +0800, xiangxia.m@gmail.com wrote: > > > > From: Tonghao Zh

Re: [PATCH v3 -next] vdpa: mlx5: change Kconfig depends to fix build errors

2020-09-28 Thread Michael S. Tsirkin
On Tue, Sep 29, 2020 at 09:01:42AM +0300, Eli Cohen wrote: > On Fri, Sep 25, 2020 at 06:20:45AM -0400, Michael S. Tsirkin wrote: > > > > > > > > Hmm other drivers select VHOST_IOTLB, why not do the same? > > > > > > I can't see another driver doing that. > > > > Well grep VHOST_IOTLB and you wil

Re: [PATCH bpf-next v2 4/4] selftest: bpf: Test copying a sockmap and sockhash

2020-09-28 Thread Martin KaFai Lau
On Mon, Sep 28, 2020 at 10:08:05AM +0100, Lorenz Bauer wrote: [ ... ] > SEC("iter/sockmap") > -int count_elems(struct bpf_iter__sockmap *ctx) > +int copy(struct bpf_iter__sockmap *ctx) > { > struct sock *sk = ctx->sk; > __u32 tmp, *key = ctx->key; > int ret; > > - if (ke

Re: [PATCH 1/2] virtio-net: don't disable guest csum when disable LRO

2020-09-28 Thread Tonghao Zhang
On Tue, Sep 29, 2020 at 1:57 PM Michael S. Tsirkin wrote: > > On Tue, Sep 29, 2020 at 09:40:22AM +0800, Tonghao Zhang wrote: > > On Tue, Sep 29, 2020 at 3:21 AM Michael S. Tsirkin wrote: > > > > > > On Mon, Sep 28, 2020 at 11:39:14AM +0800, xiangxia.m@gmail.com wrote: > > > > From: Tonghao Zh

Re: [PATCH v3 -next] vdpa: mlx5: change Kconfig depends to fix build errors

2020-09-28 Thread Eli Cohen
On Fri, Sep 25, 2020 at 06:20:45AM -0400, Michael S. Tsirkin wrote: > > > > > > Hmm other drivers select VHOST_IOTLB, why not do the same? > > > > I can't see another driver doing that. > > Well grep VHOST_IOTLB and you will see some examples. $ git grep -wn VHOST_IOTLB drivers/vhost/Kconfig:2:

Re: [PATCH bpf-next v2 2/4] selftests: bpf: Add helper to compare socket cookies

2020-09-28 Thread Martin KaFai Lau
On Mon, Sep 28, 2020 at 10:08:03AM +0100, Lorenz Bauer wrote: > We compare socket cookies to ensure that insertion into a sockmap worked. > Pull this out into a helper function for use in other tests. > > Signed-off-by: Lorenz Bauer > --- > .../selftests/bpf/prog_tests/sockmap_basic.c | 50

Re: [PATCH AUTOSEL 5.8 08/29] net: dsa: microchip: look for phy-mode in port nodes

2020-09-28 Thread Helmut Grohne
Hi Sascha, On Tue, Sep 29, 2020 at 03:30:05AM +0200, Sasha Levin wrote: > From: Helmut Grohne > > [ Upstream commit edecfa98f602a597666e3c5cab2677ada38d93c5 ] > > Documentation/devicetree/bindings/net/dsa/dsa.txt says that the phy-mode > property should be specified on port nodes. However, the

Re: [PATCH 1/2] virtio-net: don't disable guest csum when disable LRO

2020-09-28 Thread Michael S. Tsirkin
On Tue, Sep 29, 2020 at 09:40:22AM +0800, Tonghao Zhang wrote: > On Tue, Sep 29, 2020 at 3:21 AM Michael S. Tsirkin wrote: > > > > On Mon, Sep 28, 2020 at 11:39:14AM +0800, xiangxia.m@gmail.com wrote: > > > From: Tonghao Zhang > > > > > > Open vSwitch and Linux bridge will disable LRO of the

Re: [PATCH 2/2] virtio-net: ethtool configurable RXCSUM

2020-09-28 Thread Michael S. Tsirkin
On Tue, Sep 29, 2020 at 09:45:24AM +0800, Tonghao Zhang wrote: > On Tue, Sep 29, 2020 at 3:25 AM Michael S. Tsirkin wrote: > > > > On Mon, Sep 28, 2020 at 11:39:15AM +0800, xiangxia.m@gmail.com wrote: > > > From: Tonghao Zhang > > > > > > Allow user configuring RXCSUM separately with ethtool

Re: [PATCH bpf-next v2 1/4] bpf: sockmap: enable map_update_elem from bpf_iter

2020-09-28 Thread Martin KaFai Lau
On Mon, Sep 28, 2020 at 10:08:02AM +0100, Lorenz Bauer wrote: > Allow passing a pointer to a BTF struct sock_common* when updating > a sockmap or sockhash. Since BTF pointers can fault and therefore be > NULL at runtime we need to add an additional !sk check to > sock_map_update_elem. Since we may

Re: [net-next PATCH v7 1/6] Documentation: ACPI: DSD: Document MDIO PHY

2020-09-28 Thread Calvin Johnson
Hi Grant, On Fri, Sep 25, 2020 at 02:34:21PM +0100, Grant Likely wrote: > > +DSDT entry for MDIO node > > + > > +a) Silicon Component > > + > > + Scope(_SB) > > + { > > + Device(MDI0) { > > + Name(_HID, "NXP0006") > > + Name(_CCA, 1)

Re: [PATCH] ipvs: Add traffic statistic up even it is VS/DR or VS/TUN mode

2020-09-28 Thread yue longguang
especially in public cloud case, statistic is related to monitorring and billing , both ingress and egress packets will go throught ipvs, even dr/tun mode. in dr/tun mode, ipvs need to do nothing except statistic, so skb->ipvs_property = 1 regards On Tue, Sep 29, 2020 at 1:04 PM longguang.yue w

[PATCH] ipvs: Add traffic statistic up even it is VS/DR or VS/TUN mode

2020-09-28 Thread longguang.yue
It's ipvs's duty to do traffic statistic if packets get hit, no matter what mode it is. Signed-off-by: longguang.yue --- net/netfilter/ipvs/ip_vs_core.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net/netfilter/ipvs/ip_vs_core.c b/net/netfilter/ipvs/ip_vs_core.c index

Re: [PATCH RESEND v3 0/2] Use the new usb control message API.

2020-09-28 Thread Petko Manolov
On 20-09-28 16:00:58, David Miller wrote: > From: Petko Manolov Date: Sun, 27 Sep 2020 > 15:49:07 +0300 > > > Re-sending these, now CC-ing the folks at linux-netdev. > > I can't apply these since the helpers do not exist in the networking tree. Right, Greg was only asking for ack (or nack) fro

Re: [PATCH] net/x25: Fix null-ptr-deref in x25_connect

2020-09-28 Thread Martin Schiller
On 2020-09-29 03:43, David Miller wrote: From: Martin Schiller Date: Mon, 28 Sep 2020 11:23:27 +0200 diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c index 0bbb283f23c9..0524a5530b91 100644 --- a/net/x25/af_x25.c +++ b/net/x25/af_x25.c @@ -820,7 +820,7 @@ static int x25_connect(struct socket *

Re: [PATCH v7 bpf-next 8/8] selftests/bpf: add test for bpf_seq_printf_btf helper

2020-09-28 Thread Andrii Nakryiko
On Mon, Sep 28, 2020 at 4:36 AM Alan Maguire wrote: > > Add a test verifying iterating over tasks and displaying BTF > representation of task_struct succeeds. > > Suggested-by: Alexei Starovoitov > Signed-off-by: Alan Maguire > --- Hey Alan, These selftests rely on having struct btf_ptr and BT

Re: [bpf-next PATCH] bpf, selftests: Fix cast to smaller integer type 'int' warning in raw_tp

2020-09-28 Thread Alexei Starovoitov
On Mon, Sep 28, 2020 at 6:51 PM John Fastabend wrote: > > Fix warning in bpf selftests, > > progs/test_raw_tp_test_run.c:18:10: warning: cast to smaller integer type > 'int' from 'struct task_struct *' [-Wpointer-to-int-cast] > > Change int type cast to long to fix. Discovered with gcc-9 and llvm

Re: [PATCH bpf-next v2 3/6] bpf: add redirect_neigh helper as redirect drop-in

2020-09-28 Thread David Ahern
On 9/28/20 7:38 AM, Daniel Borkmann wrote: > diff --git a/net/core/filter.c b/net/core/filter.c > index a0776e48dcc9..64c6e5ec97d7 100644 > --- a/net/core/filter.c > +++ b/net/core/filter.c > +static int __bpf_redirect_neigh_v6(struct sk_buff *skb, struct net_device > *dev) > +{ > + const stru

RE: [PATCH V3 1/3] can: flexcan: initialize all flexcan memory for ECC function

2020-09-28 Thread Joakim Zhang
> -Original Message- > From: Joakim Zhang > Sent: 2020年9月29日 2:03 > To: m...@pengutronix.de; linux-...@vger.kernel.org > Cc: netdev@vger.kernel.org; dl-linux-imx > Subject: [PATCH V3 1/3] can: flexcan: initialize all flexcan memory for ECC > function > > One issue was reported at a bare

Re: IPv6 regression introduced by commit 3b6761d18bc11f2af2a6fc494e9026d39593f22c

2020-09-28 Thread David Ahern
On 9/27/20 11:48 PM, Baptiste Jonglez wrote: > On 27-09-20, David Ahern wrote: >> On 9/27/20 9:10 AM, Baptiste Jonglez wrote: >>> On 27-09-20, Baptiste Jonglez wrote: 1) failing IPv6 neighbours, what Alarig reported. We are seeing this on a full-view BGP router with rather low amount

Re: [PATCH bpf-next] libbpf: export bpf_object__reuse_map() to libbpf api

2020-09-28 Thread Andrii Nakryiko
On Mon, Sep 28, 2020 at 8:20 PM Hangbin Liu wrote: > > Besides bpf_map__reuse_fd(), which could let us reuse existing map fd. > bpf_object__reuse_map() could let us reuse existing pinned maps, which > is helpful. > > This functions could also be used when we add iproute2 libbpf support, > so we do

[PATCH bpf-next] libbpf: export bpf_object__reuse_map() to libbpf api

2020-09-28 Thread Hangbin Liu
Besides bpf_map__reuse_fd(), which could let us reuse existing map fd. bpf_object__reuse_map() could let us reuse existing pinned maps, which is helpful. This functions could also be used when we add iproute2 libbpf support, so we don't need to re-use or re-implement new functions like bpf_obj_get

Re: [PATCH 1/1] Network: support default route metric per interface

2020-09-28 Thread David Ahern
On 9/28/20 6:54 PM, Qingtao Cao wrote: > Hi David, > > I understand I can use the "metric" parameter along with the "ip addr > add/change" and "ip route add/change" commands to make use of the > IFA_RT_PRIORITY attribute to explicitly specify the metric for routes > created directly or associated

linux-next: build failure after merge of the net-next tree

2020-09-28 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/net/ethernet/marvell/prestera/prestera_main.c: In function 'prestera_port_dev_lower_find': drivers/net/ethernet/marvell/prestera/prestera_main.c:504:33: error: passing argument 2 of

Re: [PATCH RFC net-next] virtio_net: Relax queue requirement for using XDP

2020-09-28 Thread David Ahern
On 9/28/20 7:25 AM, Magnus Karlsson wrote: > On Mon, Sep 28, 2020 at 5:13 AM David Ahern wrote: >> >> On 2/27/20 2:41 AM, Magnus Karlsson wrote: >>> I will unfortunately be after Netdevconf due to other commitments. The >>> plan is to send out the RFC to the co-authors of the Plumbers >>> presenta

Re: [PATCH v3 bpf-next 0/3] libbpf: BTF writer APIs

2020-09-28 Thread Alexei Starovoitov
On Mon, Sep 28, 2020 at 7:06 PM Andrii Nakryiko wrote: > > This patch set introduces a new set of BTF APIs to libbpf that allow to > conveniently produce BTF types and strings. These APIs will allow libbpf to do > more intrusive modifications of program's BTF (by rewriting it, at least as of > rig

Re: [PATCH 6/6] USB: cdc-acm: blacklist ETAS ES58X device

2020-09-28 Thread Vincent Mailhol
> > Did you mean to send this twice? Sorry for that, I screwed things up a first time when sending the patches: only included the CAN mailing list (linux-...@vger.kernel.org) but ommitted linux-ker...@vger.kernel.org in the cover letter. As a result, it broke the chain reply on lkml.org so I prefe

Re: [PATCH v5] ipvs: adjust the debug info in function set_tcp_state

2020-09-28 Thread yue longguang
I sincerely apologize for the trouble which takes up much of your time. If the last patch does not work , would you please fix it? thanks On Mon, Sep 28, 2020 at 10:51 AM longguang.yue wrote: > > Outputting client,virtual,dst addresses info when tcp state changes, > which makes the connection deb

[PATCH net v4] net: phy: realtek: fix rtl8211e rx/tx delay config

2020-09-28 Thread Willy Liu
There are two chip pins named TXDLY and RXDLY which actually adds the 2ns delays to TXC and RXC for TXD/RXD latching. These two pins can config via 4.7k-ohm resistor to 3.3V hw setting, but also config via software setting (extension page 0xa4 register 0x1c bit13 12 and 11). The configuration regi

[net-next v2 10/15] igc: Save PTP time before a reset

2020-09-28 Thread Tony Nguyen
From: Vinicius Costa Gomes Many TSN features depend on the internal PTP clock, so the internal PTP jumping when the adapter is reset can cause problems, usually in the form of "TX Hangs" warnings in the driver. The solution is to save the PTP time before a reset and restore it after the reset is

[net-next v2 07/15] igc: Clean RX descriptor error flags

2020-09-28 Thread Tony Nguyen
From: Andre Guedes i225 advanced receive descriptor doesn't have the following extend error bits: CE, SE, SEQ, CXE. In addition to that, the bit TCPE is called L4E in the datasheet. Clean up the code accordingly, and get rid of the macro IGC_RXDEXT_ERR_FRAME_ERR_MASK since it doesn't make much s

[PATCH v3 bpf-next 0/3] libbpf: BTF writer APIs

2020-09-28 Thread Andrii Nakryiko
This patch set introduces a new set of BTF APIs to libbpf that allow to conveniently produce BTF types and strings. These APIs will allow libbpf to do more intrusive modifications of program's BTF (by rewriting it, at least as of right now), which is necessary for the upcoming libbpf static linking

[PATCH v3 bpf-next 1/3] libbpf: add BTF writing APIs

2020-09-28 Thread Andrii Nakryiko
Add APIs for appending new BTF types at the end of BTF object. Each BTF kind has either one API of the form btf__add_(). For types that have variable amount of additional items (struct/union, enum, func_proto, datasec), additional API is provided to emit each such item. E.g., for emitting a struct

[PATCH v3 bpf-next 3/3] selftests/bpf: test BTF writing APIs

2020-09-28 Thread Andrii Nakryiko
Add selftests for BTF writer APIs. Acked-by: John Fastabend Signed-off-by: Andrii Nakryiko --- tools/lib/bpf/btf.c | 8 +- .../selftests/bpf/prog_tests/btf_write.c | 278 ++ 2 files changed, 282 insertions(+), 4 deletions(-) create mode 100644 t

[PATCH v3 bpf-next 2/3] libbpf: add btf__str_by_offset() as a more generic variant of name_by_offset

2020-09-28 Thread Andrii Nakryiko
BTF strings are used not just for names, they can be arbitrary strings used for CO-RE relocations, line/func infos, etc. Thus "name_by_offset" terminology is too specific and might be misleading. Instead, introduce btf__str_by_offset() API which uses generic string terminology. Acked-by: John Fast

[net-next v2 15/15] e1000e: Add support for Meteor Lake

2020-09-28 Thread Tony Nguyen
From: Sasha Neftin Add devices IDs for the next LOM generations that will be available on the next Intel Client platform (Meteor Lake) This patch provides the initial support for these devices Signed-off-by: Sasha Neftin Tested-by: Aaron Brown Signed-off-by: Tony Nguyen --- drivers/net/ether

[PATCH net v2] virtio-net: don't disable guest csum when disable LRO

2020-09-28 Thread xiangxia . m . yue
From: Tonghao Zhang Open vSwitch and Linux bridge will disable LRO of the interface when this interface added to them. Now when disable the LRO, the virtio-net csum is disable too. That drops the forwarding performance. Fixes: a02e8964eaf9 ("virtio-net: ethtool configurable LRO") Cc: Michael S.

Re: [PATCH v6 bpf-next 6/6] selftests/bpf: add test for bpf_seq_printf_btf helper

2020-09-28 Thread Alexei Starovoitov
On Mon, Sep 28, 2020 at 10:51:19AM -0700, Andrii Nakryiko wrote: > On Mon, Sep 28, 2020 at 7:14 AM Alan Maguire wrote: > > > > > > > > On Thu, 24 Sep 2020, Alexei Starovoitov wrote: > > > > > to whatever number, but printing single task_struct needs ~800 lines and > > > ~18kbytes. Humans can scrol

Re: [PATCH net] genetlink: add missing kdoc for validation flags

2020-09-28 Thread David Miller
From: Jakub Kicinski Date: Mon, 28 Sep 2020 17:53:29 -0700 > Validation flags are missing kdoc, add it. > > Fixes: ef6243acb478 ("genetlink: optionally validate strictly/dumps") > Signed-off-by: Jakub Kicinski Applied.

Re: [PATCH net v2] ethtool: mark netlink family as __ro_after_init

2020-09-28 Thread David Miller
From: Jakub Kicinski Date: Mon, 28 Sep 2020 17:58:41 -0700 > Like all genl families ethtool_genl_family needs to not > be a straight up constant, because it's modified/initialized > by genl_register_family(). After init, however, it's only > passed to genlmsg_put() & co. therefore we can mark it

[bpf-next PATCH] bpf, selftests: Fix cast to smaller integer type 'int' warning in raw_tp

2020-09-28 Thread John Fastabend
Fix warning in bpf selftests, progs/test_raw_tp_test_run.c:18:10: warning: cast to smaller integer type 'int' from 'struct task_struct *' [-Wpointer-to-int-cast] Change int type cast to long to fix. Discovered with gcc-9 and llvm-11+ where llvm was recent main branch. Fixes: 09d8ad16885ee ("sel

Re: [PATCH net 4/4] via-rhine: Version bumped to 1.5.2

2020-09-28 Thread David Miller
From: Kevin Brace Date: Mon, 28 Sep 2020 15:00:41 -0700 > @@ -32,8 +32,8 @@ > #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > > #define DRV_NAME "via-rhine" > -#define DRV_VERSION "1.5.1" > -#define DRV_RELDATE "2010-10-09" > +#define DRV_VERSION "1.5.2" > +#define DRV_RELDATE "2020-09-1

Re: [PATCH][next] net/sched: cls_u32: Replace one-element array with flexible-array member

2020-09-28 Thread David Miller
From: "Gustavo A. R. Silva" Date: Mon, 28 Sep 2020 10:30:52 -0500 > There is a regular need in the kernel to provide a way to declare having > a dynamically sized set of trailing elements in a structure. Kernel code > should always use “flexible array members”[1] for these cases. The older > styl

Re: [PATCH 2/2] virtio-net: ethtool configurable RXCSUM

2020-09-28 Thread Tonghao Zhang
On Tue, Sep 29, 2020 at 3:25 AM Michael S. Tsirkin wrote: > > On Mon, Sep 28, 2020 at 11:39:15AM +0800, xiangxia.m@gmail.com wrote: > > From: Tonghao Zhang > > > > Allow user configuring RXCSUM separately with ethtool -K, > > reusing the existing virtnet_set_guest_offloads helper > > that con

Re: [PATCH][next] qed/qed_ll2: Replace one-element array with flexible-array member

2020-09-28 Thread David Miller
From: "Gustavo A. R. Silva" Date: Mon, 28 Sep 2020 10:16:17 -0500 > There is a regular need in the kernel to provide a way to declare having > a dynamically sized set of trailing elements in a structure. Kernel code > should always use “flexible array members”[1] for these cases. The older > styl

Re: [PATCH net-next v2 1/7] net: devlink: Add unused port flavour

2020-09-28 Thread Florian Fainelli
On 9/28/2020 4:39 PM, Jakub Kicinski wrote: On Mon, 28 Sep 2020 15:36:50 -0700 Florian Fainelli wrote: On 9/28/2020 3:35 PM, Jakub Kicinski wrote: On Tue, 29 Sep 2020 00:07:30 +0200 Andrew Lunn wrote: On Mon, Sep 28, 2020 at 10:05:08PM +, Vladimir Oltean wrote: On Mon, Sep 28, 2020 at

Re: [PATCH net-next 1/1] l2tp: report rx cookie discards in netlink get

2020-09-28 Thread David Miller
From: Tom Parkin Date: Mon, 28 Sep 2020 13:46:34 +0100 > --- a/include/uapi/linux/l2tp.h > +++ b/include/uapi/linux/l2tp.h > @@ -143,6 +143,7 @@ enum { > L2TP_ATTR_RX_SEQ_DISCARDS, /* u64 */ > L2TP_ATTR_RX_OOS_PACKETS, /* u64 */ > L2TP_ATTR_RX_ERRORS,/* u6

Re: [PATCH v1 net-next] stmmac: intel: Adding ref clock 1us tic for LPI cntr

2020-09-28 Thread David Miller
From: Voon Weifeng Date: Mon, 28 Sep 2020 18:12:12 +0800 > From: Rusaimi Amira Ruslan > > Adding reference clock (1us tic) for all LPI timer on Intel platforms. > The reference clock is derived from ptp clk. This also enables all LPI > counter. > > Signed-off-by: Rusaimi Amira Ruslan > Signed

Re: [PATCH] net/x25: Fix null-ptr-deref in x25_connect

2020-09-28 Thread David Miller
From: Martin Schiller Date: Mon, 28 Sep 2020 11:23:27 +0200 > diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c > index 0bbb283f23c9..0524a5530b91 100644 > --- a/net/x25/af_x25.c > +++ b/net/x25/af_x25.c > @@ -820,7 +820,7 @@ static int x25_connect(struct socket *sock, struct > sockaddr *uaddr, >

Re: [PATCH 1/2] virtio-net: don't disable guest csum when disable LRO

2020-09-28 Thread Tonghao Zhang
On Tue, Sep 29, 2020 at 3:21 AM Michael S. Tsirkin wrote: > > On Mon, Sep 28, 2020 at 11:39:14AM +0800, xiangxia.m@gmail.com wrote: > > From: Tonghao Zhang > > > > Open vSwitch and Linux bridge will disable LRO of the interface > > when this interface added to them. Now when disable the LRO,

Re: [PATCH v7 bpf-next 0/8] bpf: add helpers to support BTF-based kernel data display

2020-09-28 Thread Alexei Starovoitov
On Mon, Sep 28, 2020 at 4:33 AM Alan Maguire wrote: > > Default output for an sk_buff looks like this (zeroed fields > are omitted): > > (struct sk_buff){ > .transport_header = (__u16)65535, > .mac_header = (__u16)65535, > .end = (sk_buff_data_t)192, > .head = (unsigned char *)0x7524fd

experience

2020-09-28 Thread Alex
Hi My reason for contacting you is to know if you have investment experience, to assist guard me invest in any profit joint venture as partners. If you are interested and capable, respond for more detail to see if you can do it. Sincerely, Alex

Re: [PATCH] net: usb: ax88179_178a: add MCT usb 3.0 adapter

2020-09-28 Thread David Miller
From: Wilken Gottwalt Date: Mon, 28 Sep 2020 11:17:40 +0200 > Adds the driver_info and usb ids of the AX88179 based MCT U3-A9003 USB > 3.0 ethernet adapter. > > Signed-off-by: Wilken Gottwalt Applied.

Re: [PATCH v2] net: usb: ax88179_178a: fix missing stop entry in driver_info

2020-09-28 Thread David Miller
From: Wilken Gottwalt Date: Mon, 28 Sep 2020 11:01:04 +0200 > Adds the missing .stop entry in the Belkin driver_info structure. > > Signed-off-by: Wilken Gottwalt > --- > Changes in v2: > - reposted to proper mailing list Applied and queued up for -stable, please provide a proper Fixes: ta

[PATCH AUTOSEL 5.8 04/29] libbpf: Remove arch-specific include path in Makefile

2020-09-28 Thread Sasha Levin
From: "Naveen N. Rao" [ Upstream commit 21e9ba5373fc2cec608fd68301a1dbfd14df3172 ] Ubuntu mainline builds for ppc64le are failing with the below error (*): CALL/home/kernel/COD/linux/scripts/atomic/check-atomics.sh DESCEND bpf/resolve_btfids Auto-detecting system features: ...

[PATCH AUTOSEL 5.8 03/29] mt76: mt7915: use ieee80211_free_txskb to free tx skbs

2020-09-28 Thread Sasha Levin
From: Felix Fietkau [ Upstream commit b4be5a53ebf478ffcfb4c98c0ccc4a8d922b9a02 ] Using dev_kfree_skb for tx skbs breaks AQL. This worked until now only by accident, because a mac80211 issue breaks AQL on drivers with firmware rate control that report the rate via ieee80211_tx_status_ext as struc

[PATCH AUTOSEL 5.8 05/29] drivers/net/wan/hdlc_fr: Add needed_headroom for PVC devices

2020-09-28 Thread Sasha Levin
From: Xie He [ Upstream commit 44a049c42681de71c783d75cd6e56b4e339488b0 ] PVC devices are virtual devices in this driver stacked on top of the actual HDLC device. They are the devices normal users would use. PVC devices have two types: normal PVC devices and Ethernet-emulating PVC devices. When

[PATCH AUTOSEL 5.8 06/29] Revert "wlcore: Adding suppoprt for IGTK key in wlcore driver"

2020-09-28 Thread Sasha Levin
From: Mauro Carvalho Chehab [ Upstream commit 1264c1e0cfe55e2d6c35e869244093195529af37 ] This patch causes a regression betwen Kernel 5.7 and 5.8 at wlcore: with it applied, WiFi stops working, and the Kernel starts printing this message every second: wlcore: PHY firmware version: Rev 8.2.0.

[PATCH AUTOSEL 5.8 10/29] net: dec: de2104x: Increase receive ring size for Tulip

2020-09-28 Thread Sasha Levin
From: Lucy Yan [ Upstream commit ee460417d254d941dfea5fb7cff841f589643992 ] Increase Rx ring size to address issue where hardware is reaching the receive work limit. Before: [ 102.223342] de2104x :17:00.0 eth0: rx work limit reached [ 102.245695] de2104x :17:00.0 eth0: rx work limit

[PATCH AUTOSEL 5.8 18/29] mac80211: Fix radiotap header channel flag for 6GHz band

2020-09-28 Thread Sasha Levin
From: Aloka Dixit [ Upstream commit 412a84b5714af56f3eb648bba155107b5edddfdf ] Radiotap header field 'Channel flags' has '2 GHz spectrum' set to 'true' for 6GHz packet. Change it to 5GHz as there isn't a separate option available for 6GHz. Signed-off-by: Aloka Dixit Link: https://lore.kernel.

[PATCH AUTOSEL 5.8 17/29] drivers/net/wan/hdlc: Set skb->protocol before transmitting

2020-09-28 Thread Sasha Levin
From: Xie He [ Upstream commit 9fb030a70431a2a2a1b292dbf0b2f399cc072c16 ] This patch sets skb->protocol before transmitting frames on the HDLC device, so that a user listening on the HDLC device with an AF_PACKET socket will see outgoing frames' sll_protocol field correctly set and consistent wi

[PATCH AUTOSEL 5.8 19/29] mac80211: do not allow bigger VHT MPDUs than the hardware supports

2020-09-28 Thread Sasha Levin
From: Felix Fietkau [ Upstream commit 3bd5c7a28a7c3aba07a2d300d43f8e988809e147 ] Limit maximum VHT MPDU size by local capability. Signed-off-by: Felix Fietkau Link: https://lore.kernel.org/r/20200917125031.45009-1-...@nbd.name Signed-off-by: Johannes Berg Signed-off-by: Sasha Levin --- net/

[PATCH AUTOSEL 5.8 11/29] rndis_host: increase sleep time in the query-response loop

2020-09-28 Thread Sasha Levin
From: Olympia Giannou [ Upstream commit 4202c9fdf03d79dedaa94b2c4cf574f25793d669 ] Some WinCE devices face connectivity issues via the NDIS interface. They fail to register, resulting in -110 timeout errors and failures during the probe procedure. In this kind of WinCE devices, the Windows-side

[PATCH AUTOSEL 5.4 10/18] drivers/net/wan/lapbether: Make skb->protocol consistent with the header

2020-09-28 Thread Sasha Levin
From: Xie He [ Upstream commit 83f9a9c8c1edc222846dc1bde6e3479703e8e5a3 ] This driver is a virtual driver stacked on top of Ethernet interfaces. When this driver transmits data on the Ethernet device, the skb->protocol setting is inconsistent with the Ethernet header prepended to the skb. This

[PATCH AUTOSEL 5.4 02/18] libbpf: Remove arch-specific include path in Makefile

2020-09-28 Thread Sasha Levin
From: "Naveen N. Rao" [ Upstream commit 21e9ba5373fc2cec608fd68301a1dbfd14df3172 ] Ubuntu mainline builds for ppc64le are failing with the below error (*): CALL/home/kernel/COD/linux/scripts/atomic/check-atomics.sh DESCEND bpf/resolve_btfids Auto-detecting system features: ...

Re: [PATCH net-next 00/10] net: ipa: miscellaneous cleanups

2020-09-28 Thread David Miller
From: Alex Elder Date: Mon, 28 Sep 2020 18:04:36 -0500 > This series contains some minor cleanups I've been meaning to get > around to for a while. The first few remove the definitions of some > currently-unused symbols. Several fix some warnings that are reported > when the build is done with

[PATCH AUTOSEL 5.4 06/18] rndis_host: increase sleep time in the query-response loop

2020-09-28 Thread Sasha Levin
From: Olympia Giannou [ Upstream commit 4202c9fdf03d79dedaa94b2c4cf574f25793d669 ] Some WinCE devices face connectivity issues via the NDIS interface. They fail to register, resulting in -110 timeout errors and failures during the probe procedure. In this kind of WinCE devices, the Windows-side

[PATCH AUTOSEL 5.4 13/18] mac80211: do not allow bigger VHT MPDUs than the hardware supports

2020-09-28 Thread Sasha Levin
From: Felix Fietkau [ Upstream commit 3bd5c7a28a7c3aba07a2d300d43f8e988809e147 ] Limit maximum VHT MPDU size by local capability. Signed-off-by: Felix Fietkau Link: https://lore.kernel.org/r/20200917125031.45009-1-...@nbd.name Signed-off-by: Johannes Berg Signed-off-by: Sasha Levin --- net/

[PATCH AUTOSEL 5.4 11/18] drivers/net/wan/hdlc: Set skb->protocol before transmitting

2020-09-28 Thread Sasha Levin
From: Xie He [ Upstream commit 9fb030a70431a2a2a1b292dbf0b2f399cc072c16 ] This patch sets skb->protocol before transmitting frames on the HDLC device, so that a user listening on the HDLC device with an AF_PACKET socket will see outgoing frames' sll_protocol field correctly set and consistent wi

[PATCH AUTOSEL 5.4 05/18] net: dec: de2104x: Increase receive ring size for Tulip

2020-09-28 Thread Sasha Levin
From: Lucy Yan [ Upstream commit ee460417d254d941dfea5fb7cff841f589643992 ] Increase Rx ring size to address issue where hardware is reaching the receive work limit. Before: [ 102.223342] de2104x :17:00.0 eth0: rx work limit reached [ 102.245695] de2104x :17:00.0 eth0: rx work limit

[PATCH AUTOSEL 4.19 03/11] net: dec: de2104x: Increase receive ring size for Tulip

2020-09-28 Thread Sasha Levin
From: Lucy Yan [ Upstream commit ee460417d254d941dfea5fb7cff841f589643992 ] Increase Rx ring size to address issue where hardware is reaching the receive work limit. Before: [ 102.223342] de2104x :17:00.0 eth0: rx work limit reached [ 102.245695] de2104x :17:00.0 eth0: rx work limit

[PATCH AUTOSEL 4.14 3/9] net: dec: de2104x: Increase receive ring size for Tulip

2020-09-28 Thread Sasha Levin
From: Lucy Yan [ Upstream commit ee460417d254d941dfea5fb7cff841f589643992 ] Increase Rx ring size to address issue where hardware is reaching the receive work limit. Before: [ 102.223342] de2104x :17:00.0 eth0: rx work limit reached [ 102.245695] de2104x :17:00.0 eth0: rx work limit

[PATCH AUTOSEL 4.14 4/9] rndis_host: increase sleep time in the query-response loop

2020-09-28 Thread Sasha Levin
From: Olympia Giannou [ Upstream commit 4202c9fdf03d79dedaa94b2c4cf574f25793d669 ] Some WinCE devices face connectivity issues via the NDIS interface. They fail to register, resulting in -110 timeout errors and failures during the probe procedure. In this kind of WinCE devices, the Windows-side

[PATCH AUTOSEL 4.9 1/5] net: dec: de2104x: Increase receive ring size for Tulip

2020-09-28 Thread Sasha Levin
From: Lucy Yan [ Upstream commit ee460417d254d941dfea5fb7cff841f589643992 ] Increase Rx ring size to address issue where hardware is reaching the receive work limit. Before: [ 102.223342] de2104x :17:00.0 eth0: rx work limit reached [ 102.245695] de2104x :17:00.0 eth0: rx work limit

[PATCH AUTOSEL 4.19 07/11] drivers/net/wan/lapbether: Make skb->protocol consistent with the header

2020-09-28 Thread Sasha Levin
From: Xie He [ Upstream commit 83f9a9c8c1edc222846dc1bde6e3479703e8e5a3 ] This driver is a virtual driver stacked on top of Ethernet interfaces. When this driver transmits data on the Ethernet device, the skb->protocol setting is inconsistent with the Ethernet header prepended to the skb. This

[PATCH AUTOSEL 4.9 3/5] drivers/net/wan/lapbether: Make skb->protocol consistent with the header

2020-09-28 Thread Sasha Levin
From: Xie He [ Upstream commit 83f9a9c8c1edc222846dc1bde6e3479703e8e5a3 ] This driver is a virtual driver stacked on top of Ethernet interfaces. When this driver transmits data on the Ethernet device, the skb->protocol setting is inconsistent with the Ethernet header prepended to the skb. This

[PATCH AUTOSEL 4.14 5/9] drivers/net/wan/lapbether: Make skb->protocol consistent with the header

2020-09-28 Thread Sasha Levin
From: Xie He [ Upstream commit 83f9a9c8c1edc222846dc1bde6e3479703e8e5a3 ] This driver is a virtual driver stacked on top of Ethernet interfaces. When this driver transmits data on the Ethernet device, the skb->protocol setting is inconsistent with the Ethernet header prepended to the skb. This

[PATCH AUTOSEL 4.14 7/9] mac80211: do not allow bigger VHT MPDUs than the hardware supports

2020-09-28 Thread Sasha Levin
From: Felix Fietkau [ Upstream commit 3bd5c7a28a7c3aba07a2d300d43f8e988809e147 ] Limit maximum VHT MPDU size by local capability. Signed-off-by: Felix Fietkau Link: https://lore.kernel.org/r/20200917125031.45009-1-...@nbd.name Signed-off-by: Johannes Berg Signed-off-by: Sasha Levin --- net/

[PATCH AUTOSEL 4.14 6/9] drivers/net/wan/hdlc: Set skb->protocol before transmitting

2020-09-28 Thread Sasha Levin
From: Xie He [ Upstream commit 9fb030a70431a2a2a1b292dbf0b2f399cc072c16 ] This patch sets skb->protocol before transmitting frames on the HDLC device, so that a user listening on the HDLC device with an AF_PACKET socket will see outgoing frames' sll_protocol field correctly set and consistent wi

[PATCH AUTOSEL 4.9 4/5] drivers/net/wan/hdlc: Set skb->protocol before transmitting

2020-09-28 Thread Sasha Levin
From: Xie He [ Upstream commit 9fb030a70431a2a2a1b292dbf0b2f399cc072c16 ] This patch sets skb->protocol before transmitting frames on the HDLC device, so that a user listening on the HDLC device with an AF_PACKET socket will see outgoing frames' sll_protocol field correctly set and consistent wi

[PATCH AUTOSEL 4.4 1/4] net: dec: de2104x: Increase receive ring size for Tulip

2020-09-28 Thread Sasha Levin
From: Lucy Yan [ Upstream commit ee460417d254d941dfea5fb7cff841f589643992 ] Increase Rx ring size to address issue where hardware is reaching the receive work limit. Before: [ 102.223342] de2104x :17:00.0 eth0: rx work limit reached [ 102.245695] de2104x :17:00.0 eth0: rx work limit

[PATCH AUTOSEL 4.9 5/5] mac80211: do not allow bigger VHT MPDUs than the hardware supports

2020-09-28 Thread Sasha Levin
From: Felix Fietkau [ Upstream commit 3bd5c7a28a7c3aba07a2d300d43f8e988809e147 ] Limit maximum VHT MPDU size by local capability. Signed-off-by: Felix Fietkau Link: https://lore.kernel.org/r/20200917125031.45009-1-...@nbd.name Signed-off-by: Johannes Berg Signed-off-by: Sasha Levin --- net/

[PATCH AUTOSEL 4.4 2/4] rndis_host: increase sleep time in the query-response loop

2020-09-28 Thread Sasha Levin
From: Olympia Giannou [ Upstream commit 4202c9fdf03d79dedaa94b2c4cf574f25793d669 ] Some WinCE devices face connectivity issues via the NDIS interface. They fail to register, resulting in -110 timeout errors and failures during the probe procedure. In this kind of WinCE devices, the Windows-side

[PATCH AUTOSEL 4.19 08/11] drivers/net/wan/hdlc: Set skb->protocol before transmitting

2020-09-28 Thread Sasha Levin
From: Xie He [ Upstream commit 9fb030a70431a2a2a1b292dbf0b2f399cc072c16 ] This patch sets skb->protocol before transmitting frames on the HDLC device, so that a user listening on the HDLC device with an AF_PACKET socket will see outgoing frames' sll_protocol field correctly set and consistent wi

[PATCH AUTOSEL 4.9 2/5] rndis_host: increase sleep time in the query-response loop

2020-09-28 Thread Sasha Levin
From: Olympia Giannou [ Upstream commit 4202c9fdf03d79dedaa94b2c4cf574f25793d669 ] Some WinCE devices face connectivity issues via the NDIS interface. They fail to register, resulting in -110 timeout errors and failures during the probe procedure. In this kind of WinCE devices, the Windows-side

[PATCH AUTOSEL 4.4 3/4] drivers/net/wan/lapbether: Make skb->protocol consistent with the header

2020-09-28 Thread Sasha Levin
From: Xie He [ Upstream commit 83f9a9c8c1edc222846dc1bde6e3479703e8e5a3 ] This driver is a virtual driver stacked on top of Ethernet interfaces. When this driver transmits data on the Ethernet device, the skb->protocol setting is inconsistent with the Ethernet header prepended to the skb. This

[PATCH AUTOSEL 4.4 4/4] drivers/net/wan/hdlc: Set skb->protocol before transmitting

2020-09-28 Thread Sasha Levin
From: Xie He [ Upstream commit 9fb030a70431a2a2a1b292dbf0b2f399cc072c16 ] This patch sets skb->protocol before transmitting frames on the HDLC device, so that a user listening on the HDLC device with an AF_PACKET socket will see outgoing frames' sll_protocol field correctly set and consistent wi

[PATCH AUTOSEL 4.19 01/11] drivers/net/wan/hdlc_fr: Add needed_headroom for PVC devices

2020-09-28 Thread Sasha Levin
From: Xie He [ Upstream commit 44a049c42681de71c783d75cd6e56b4e339488b0 ] PVC devices are virtual devices in this driver stacked on top of the actual HDLC device. They are the devices normal users would use. PVC devices have two types: normal PVC devices and Ethernet-emulating PVC devices. When

[PATCH AUTOSEL 4.19 09/11] mac80211: do not allow bigger VHT MPDUs than the hardware supports

2020-09-28 Thread Sasha Levin
From: Felix Fietkau [ Upstream commit 3bd5c7a28a7c3aba07a2d300d43f8e988809e147 ] Limit maximum VHT MPDU size by local capability. Signed-off-by: Felix Fietkau Link: https://lore.kernel.org/r/20200917125031.45009-1-...@nbd.name Signed-off-by: Johannes Berg Signed-off-by: Sasha Levin --- net/

[PATCH AUTOSEL 4.19 04/11] rndis_host: increase sleep time in the query-response loop

2020-09-28 Thread Sasha Levin
From: Olympia Giannou [ Upstream commit 4202c9fdf03d79dedaa94b2c4cf574f25793d669 ] Some WinCE devices face connectivity issues via the NDIS interface. They fail to register, resulting in -110 timeout errors and failures during the probe procedure. In this kind of WinCE devices, the Windows-side

[PATCH AUTOSEL 5.4 03/18] drivers/net/wan/hdlc_fr: Add needed_headroom for PVC devices

2020-09-28 Thread Sasha Levin
From: Xie He [ Upstream commit 44a049c42681de71c783d75cd6e56b4e339488b0 ] PVC devices are virtual devices in this driver stacked on top of the actual HDLC device. They are the devices normal users would use. PVC devices have two types: normal PVC devices and Ethernet-emulating PVC devices. When

  1   2   3   4   >