[PATCH net-next v4 12/13] virtio_net: update tx timeout record

2024-11-11 Thread Xuan Zhuo
If send queue sent some packets, we update the tx timeout record to prevent the tx timeout. Signed-off-by: Xuan Zhuo Acked-by: Jason Wang --- drivers/net/virtio_net.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index

[PATCH net-next v3 12/13] virtio_net: update tx timeout record

2024-11-07 Thread Xuan Zhuo
If send queue sent some packets, we update the tx timeout record to prevent the tx timeout. Signed-off-by: Xuan Zhuo Acked-by: Jason Wang --- drivers/net/virtio_net.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index

[PATCH net-next v2 12/13] virtio_net: update tx timeout record

2024-10-30 Thread Xuan Zhuo
If send queue sent some packets, we update the tx timeout record to prevent the tx timeout. Signed-off-by: Xuan Zhuo Acked-by: Jason Wang --- drivers/net/virtio_net.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index

[RFC net-next v1 11/12] virtio_net: update tx timeout record

2024-09-23 Thread Xuan Zhuo
If send queue sent some packets, we update the tx timeout record to prevent the tx timeout. Signed-off-by: Xuan Zhuo Acked-by: Jason Wang --- drivers/net/virtio_net.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index

[PATCH net-next 12/13] virtio_net: update tx timeout record

2024-08-20 Thread Xuan Zhuo
If send queue sent some packets, we update the tx timeout record to prevent the tx timeout. Signed-off-by: Xuan Zhuo Acked-by: Jason Wang --- drivers/net/virtio_net.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index

[RFC net-next 12/13] virtio_net: update tx timeout record

2024-07-15 Thread Xuan Zhuo
If send queue sent some packets, we update the tx timeout record to prevent the tx timeout. Signed-off-by: Xuan Zhuo Acked-by: Jason Wang --- drivers/net/virtio_net.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index

[PATCH net-next v6 4/6] virtio_net: Do DIM update for specified queue only

2024-05-03 Thread Daniel Jurgens
ges. Note that dim->profile_ix -* for each rxq is updated prior to the queuing action. -* So we only need to traverse and update profiles for all rxqs -* in the work which is holding rtnl_lock. -*/ - for (i = 0; i < vi->curr_queue_pairs; i++) { -

[PATCH net-next v5 4/6] virtio_net: Do DIM update for specified queue only

2024-04-22 Thread Daniel Jurgens
ges. Note that dim->profile_ix -* for each rxq is updated prior to the queuing action. -* So we only need to traverse and update profiles for all rxqs -* in the work which is holding rtnl_lock. -*/ - for (i = 0; i < vi->curr_queue_pairs; i++) { -

[PATCH net-next v4 4/6] virtio_net: Do DIM update for specified queue only

2024-04-16 Thread Daniel Jurgens
ges. Note that dim->profile_ix -* for each rxq is updated prior to the queuing action. -* So we only need to traverse and update profiles for all rxqs -* in the work which is holding rtnl_lock. -*/ - for (i = 0; i < vi->curr_queue_pairs; i++) { -

[PATCH net-next v3 4/6] virtio_net: Do DIM update for specified queue only

2024-04-12 Thread Daniel Jurgens
ges. Note that dim->profile_ix -* for each rxq is updated prior to the queuing action. -* So we only need to traverse and update profiles for all rxqs -* in the work which is holding rtnl_lock. -*/ - for (i = 0; i < vi->curr_queue_pairs; i++) { -

RE: [PATCH net-next v2 4/6] virtio_net: Do DIM update for specified queue only

2024-03-27 Thread Dan Jurgens
.@redhat.com; Jiri Pirko > > Subject: Re: [PATCH net-next v2 4/6] virtio_net: Do DIM update for specified > queue only > > > > 在 2024/3/28 下午12:47, Daniel Jurgens 写道: > > Since we no longer have to hold the RTNL lock here just do updates for > > the spe

Re: [PATCH net-next v2 4/6] virtio_net: Do DIM update for specified queue only

2024-03-27 Thread Heng Qi
* in response to NAPI traffic changes. Note that dim->profile_ix -* for each rxq is updated prior to the queuing action. -* So we only need to traverse and update profiles for all rxqs -* in the work which is holding rtnl_lock. -*/ - for (i = 0; i < vi->curr

[PATCH net-next v2 4/6] virtio_net: Do DIM update for specified queue only

2024-03-27 Thread Daniel Jurgens
ges. Note that dim->profile_ix -* for each rxq is updated prior to the queuing action. -* So we only need to traverse and update profiles for all rxqs -* in the work which is holding rtnl_lock. -*/ - for (i = 0; i < vi->curr_queue_pairs; i++) { - rq

[PATCH net-next 16/17] virtio_net: update tx timeout record

2024-01-16 Thread Xuan Zhuo
If send queue sent some packets, we update the tx timeout record to prevent the tx timeout. Signed-off-by: Xuan Zhuo Acked-by: Jason Wang --- drivers/net/virtio/xsk.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/virtio/xsk.c b/drivers/net/virtio/xsk.c index

[PATCH net-next v3 26/27] virtio_net: update tx timeout record

2023-12-28 Thread Xuan Zhuo
If send queue sent some packets, we update the tx timeout record to prevent the tx timeout. Signed-off-by: Xuan Zhuo Acked-by: Jason Wang --- drivers/net/virtio/xsk.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/virtio/xsk.c b/drivers/net/virtio/xsk.c index

Re: [RFC v1 PATCH 3/3] driver: update all the code that use soc_device_match

2021-04-20 Thread Péter Ujfalusi
Hi Alice, On 4/19/21 7:27 AM, Alice Guo (OSS) wrote: > From: Alice Guo > > Update all the code that use soc_device_match because add support for > soc_device_match returning -EPROBE_DEFER. > > Signed-off-by: Alice Guo > --- > drivers/bus/ti-sysc.c

Re: [PATCH net-next] net: xdp: Update pkt_type if generic XDP changes unicast MAC

2021-04-20 Thread Toke Høiland-Jørgensen
Martin Willi writes: > Hi, > > Thanks for your comments. > >> >eth = (struct ethhdr *)xdp->data; >> > + orig_host = ether_addr_equal_64bits(eth->h_dest, skb->dev->dev_addr); >> >> ether_addr_equal_64bits() seems to assume that the addresses passed to >> it are padded to be 8 bytes long, wh

Re: [RFC v1 PATCH 3/3] driver: update all the code that use soc_device_match

2021-04-20 Thread Arnd Bergmann
On Tue, Apr 20, 2021 at 1:44 AM Dominique MARTINET wrote: > Arnd Bergmann wrote on Mon, Apr 19, 2021 at 02:16:36PM +0200: > > For built-in drivers, load order depends on the initcall level and > > link order (how things are lined listed in the Makefile hierarchy). > > > > For loadable modules, thi

Re: [RFC v1 PATCH 3/3] driver: update all the code that use soc_device_match

2021-04-20 Thread Arnd Bergmann
On Tue, Apr 20, 2021 at 1:44 AM Dominique MARTINET wrote: > Arnd Bergmann wrote on Mon, Apr 19, 2021 at 02:16:36PM +0200: > > For built-in drivers, load order depends on the initcall level and > > link order (how things are lined listed in the Makefile hierarchy). > > > > For loadable modules, thi

Re: [PATCH net-next] net: xdp: Update pkt_type if generic XDP changes unicast MAC

2021-04-19 Thread Martin Willi
Hi, Thanks for your comments. > > eth = (struct ethhdr *)xdp->data; > > + orig_host = ether_addr_equal_64bits(eth->h_dest, skb->dev->dev_addr); > > ether_addr_equal_64bits() seems to assume that the addresses passed to > it are padded to be 8 bytes long, which is not the case for eth->h_d

Re: [PATCH] bonding: 3ad: update slave arr after initialize

2021-04-19 Thread Jay Vosburgh
Also, the description of the issue says "The best aggregator in >> ad_agg_selection_logic has not changed, no need to update slave arr," >> but the change above does the opposite, and will set update_slave_arr >> when the aggregator has not changed (update_slave_arr remains false at &g

Re: [PATCH] bonding: 3ad: update slave arr after initialize

2021-04-19 Thread jin yiting
the function ad_agg_selection_logic, all agg->is_active will be cleared. Before the new active aggregator is selected on CPU B, bond_3ad_get_active_agg_info failed on CPU A, bond->slave_arr will be set to NULL. The best aggregator in ad_agg_selection_logic has not changed, no need to update sla

[PATCH ethtool-next 1/7] update UAPI header copies

2021-04-19 Thread Jakub Kicinski
Update to kernel commit 6ecaf81d4ac6. Signed-off-by: Jakub Kicinski --- uapi/linux/ethtool.h | 111 +++-- uapi/linux/ethtool_netlink.h | 188 +++ uapi/linux/if_link.h | 9 +- uapi/linux/netlink.h | 2 +- uapi/linux

Re: [RFC v1 PATCH 3/3] driver: update all the code that use soc_device_match

2021-04-19 Thread Dominique MARTINET
Arnd Bergmann wrote on Mon, Apr 19, 2021 at 02:16:36PM +0200: > In some cases, you can use the device_link infrastructure to deal > with dependencies between devices. Not sure if this would help > in your case, but have a look at device_link_add() etc in drivers/base/core.c I'll need to actually t

Re: [PATCH net] MAINTAINERS: update

2021-04-19 Thread patchwork-bot+netdevbpf
; > > [...] Here is the summary with links: - [net] MAINTAINERS: update https://git.kernel.org/netdev/net/c/4acd47644ef1 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html

[PATCH net] MAINTAINERS: update

2021-04-19 Thread Lijun Pan
I am making this change again since I received the following instruction. "As an IBM employee, you are not allowed to use your gmail account to work in any way on VNIC. You are not allowed to use your personal email account as a "hobby". You are an IBM employee 100% of the time. Please remove your

[Patch bpf-next v2 5/9] sock_map: update sock type checks for AF_UNIX

2021-04-19 Thread Cong Wang
From: Cong Wang Now AF_UNIX datagram supports sockmap and redirection, we can update the sock type checks for them accordingly. Cc: John Fastabend Cc: Daniel Borkmann Cc: Jakub Sitnicki Cc: Lorenz Bauer Signed-off-by: Cong Wang --- net/core/sock_map.c | 8 1 file changed, 8

Re: [PATCH net-next] net: xdp: Update pkt_type if generic XDP changes unicast MAC

2021-04-19 Thread Toke Høiland-Jørgensen
updated, though, making > the behavior different from that of native XDP. > > Remember the PACKET_HOST/OTHERHOST state before calling the program > in generic XDP, and update pkt_type accordingly if the destination > MAC address has changed. As eth_type_trans() assumes a default > pkt_

[PATCH net-next] net: xdp: Update pkt_type if generic XDP changes unicast MAC

2021-04-19 Thread Martin Willi
ent from that of native XDP. Remember the PACKET_HOST/OTHERHOST state before calling the program in generic XDP, and update pkt_type accordingly if the destination MAC address has changed. As eth_type_trans() assumes a default pkt_type of PACKET_HOST, restore that before calling it. The use case for t

Re: [RFC v1 PATCH 3/3] driver: update all the code that use soc_device_match

2021-04-19 Thread Guenter Roeck
On 4/18/21 9:27 PM, Alice Guo (OSS) wrote: > From: Alice Guo > > Update all the code that use soc_device_match because add support for > soc_device_match returning -EPROBE_DEFER. > > Signed-off-by: Alice Guo > --- [ ... ] > drivers/watchdog/renesas_wdt.c

Re: [RFC v1 PATCH 3/3] driver: update all the code that use soc_device_match

2021-04-19 Thread Arnd Bergmann
On Mon, Apr 19, 2021 at 11:33 AM Dominique MARTINET wrote: > Geert Uytterhoeven wrote on Mon, Apr 19, 2021 at 11:03:24AM +0200: > > > soc_device_match() should only be used as a last resort, to identify > > systems that cannot be identified otherwise. Typically this is used for > > quirks, which

Re: [RFC v1 PATCH 3/3] driver: update all the code that use soc_device_match

2021-04-19 Thread Dominique MARTINET
Geert Uytterhoeven wrote on Mon, Apr 19, 2021 at 11:03:24AM +0200: > > This is going to need quite some more work to be acceptable, in my > > opinion, but I think it should be possible. > > In general, this is very hard to do, IMHO. Some drivers may be used on > multiple platforms, some of them

Re: [RFC v1 PATCH 3/3] driver: update all the code that use soc_device_match

2021-04-19 Thread Geert Uytterhoeven
Hi Dominique, CC Arnd (soc_device_match() author) On Mon, Apr 19, 2021 at 7:03 AM Dominique MARTINET wrote: > Alice Guo (OSS) wrote on Mon, Apr 19, 2021 at 12:27:22PM +0800: > > From: Alice Guo > > Update all the code that use soc_device_match > > A single patch might b

RE: [RFC v1 PATCH 3/3] driver: update all the code that use soc_device_match

2021-04-19 Thread Alice Guo (OSS)
> -Original Message- > From: Dominique MARTINET > Sent: 2021年4月19日 13:03 > To: Alice Guo (OSS) > Subject: Re: [RFC v1 PATCH 3/3] driver: update all the code that use > soc_device_match > > Alice Guo (OSS) wrote on Mon, Apr 19, 2021 at 12:27:22PM +0

RE: [RFC v1 PATCH 3/3] driver: update all the code that use soc_device_match

2021-04-18 Thread Alice Guo (OSS)
g; linuxppc-...@lists.ozlabs.org; > linux-stag...@lists.linux.dev; linux-media...@lists.infradead.org; > linux...@vger.kernel.org; linux-...@vger.kernel.org; > linux-watch...@vger.kernel.org > Subject: Re: [RFC v1 PATCH 3/3] driver: update all the code that use > soc_device_match > > On Mo

Re: [RFC v1 PATCH 3/3] driver: update all the code that use soc_device_match

2021-04-18 Thread Dominique MARTINET
Alice Guo (OSS) wrote on Mon, Apr 19, 2021 at 12:27:22PM +0800: > From: Alice Guo > > Update all the code that use soc_device_match A single patch might be difficult to accept for all components, a each maintainer will probably want to have a say on their subsystem? I would suggest

Re: [RFC v1 PATCH 3/3] driver: update all the code that use soc_device_match

2021-04-18 Thread Leon Romanovsky
On Mon, Apr 19, 2021 at 12:27:22PM +0800, Alice Guo (OSS) wrote: > From: Alice Guo > > Update all the code that use soc_device_match because add support for > soc_device_match returning -EPROBE_DEFER. > > Signed-off-by: Alice Guo > --- > drivers/bus/ti-sysc.c

[RFC v1 PATCH 3/3] driver: update all the code that use soc_device_match

2021-04-18 Thread Alice Guo (OSS)
From: Alice Guo Update all the code that use soc_device_match because add support for soc_device_match returning -EPROBE_DEFER. Signed-off-by: Alice Guo --- drivers/bus/ti-sysc.c | 2 +- drivers/clk/renesas/r8a7795-cpg-mssr.c| 4 +++- drivers/clk/renesas/rcar

Re: [PATCH net] MAINTAINERS: update my email

2021-04-16 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Thu, 15 Apr 2021 23:18:13 -0500 you wrote: > Update my email and change myself to Reviewer. > > Signed-off-by: Lijun Pan > --- > MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) H

[RFC ethtool 1/6] update UAPI header copies

2021-04-16 Thread Jakub Kicinski
Update to kernel commit 6917719f1b85. Signed-off-by: Jakub Kicinski --- uapi/linux/ethtool.h | 111 +++-- uapi/linux/ethtool_netlink.h | 188 +++ uapi/linux/if_link.h | 9 +- uapi/linux/netlink.h | 2 +- uapi/linux

Re: [PATCH] bonding: 3ad: update slave arr after initialize

2021-04-15 Thread Jay Vosburgh
> --ad_agg_selection_logic > >ad_work runs on cpu B. In the function ad_agg_selection_logic, all >agg->is_active will be cleared. Before the new active aggregator is >selected on CPU B, bond_3ad_get_active_agg_info failed on CPU A, >bond->slave_arr will be set to NULL. The best aggregator

[PATCH net] MAINTAINERS: update my email

2021-04-15 Thread Lijun Pan
Update my email and change myself to Reviewer. Signed-off-by: Lijun Pan --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 795b9941c151..ea76d35757bf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8521,9 +8521,9 @@ F

[PATCH] bonding: 3ad: update slave arr after initialize

2021-04-15 Thread jinyiting
will be cleared. Before the new active aggregator is selected on CPU B, bond_3ad_get_active_agg_info failed on CPU A, bond->slave_arr will be set to NULL. The best aggregator in ad_agg_selection_logic has not changed, no need to update slave arr. Signed-off-by: jin yiting --- drivers/net/bon

[PATCH bpf-next v4 3/3] bpf: selftests: update array map tests for per-cpu batched ops

2021-04-15 Thread Pedro Tammela
Follows the same logic as the hashtable tests. Signed-off-by: Pedro Tammela --- .../bpf/map_tests/array_map_batch_ops.c | 104 +- 1 file changed, 75 insertions(+), 29 deletions(-) diff --git a/tools/testing/selftests/bpf/map_tests/array_map_batch_ops.c b/tools/testing/sel

Re: bonding: 3ad: update slave arr after initialize

2021-04-15 Thread Jakub Kicinski
On Thu, 15 Apr 2021 14:59:49 +0800 jin yiting wrote: > From 71e63af579edd15ad7f7395760a19f67d9a1d7d3 Mon Sep 17 00:00:00 2001 > From: jin yiting > Date: Wed, 31 Mar 2021 20:38:40 +0800 > Subject: [PATCH] bonding: 3ad: update slave arr after initialize > MIME-Version: 1.0 >

[PATCH net 4/4] ch_ktls: do not send snd_una update to TCB in middle

2021-04-15 Thread Vinay Kumar Yadav
snd_una update should not be done when the same skb is being sent out.chcr_short_record_handler() sends it again even though SND_UNA update is already sent for the skb in chcr_ktls_xmit(), which causes mismatch in un-acked TCP seq number, later causes problem in sending out complete record. Fixes

bonding: 3ad: update slave arr after initialize

2021-04-15 Thread jin yiting
From 71e63af579edd15ad7f7395760a19f67d9a1d7d3 Mon Sep 17 00:00:00 2001 From: jin yiting Date: Wed, 31 Mar 2021 20:38:40 +0800 Subject: [PATCH] bonding: 3ad: update slave arr after initialize MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bond works

[PATCH v2 6/6] m68k: update configs to match the proper KUNIT syntax

2021-04-14 Thread Nico Pache
No functional changes other than CONFIG name changes Signed-off-by: Nico Pache --- arch/m68k/configs/amiga_defconfig| 6 +++--- arch/m68k/configs/apollo_defconfig | 6 +++--- arch/m68k/configs/atari_defconfig| 6 +++--- arch/m68k/configs/bvme6000_defconfig | 6 +++--- arch/m68k/configs/

[PATCH 2/2] m68k: update configs to match the proper KUNIT syntax

2021-04-13 Thread Nico Pache
No functional changes other than CONFIG name changes Signed-off-by: Nico Pache --- arch/m68k/configs/amiga_defconfig| 6 +++--- arch/m68k/configs/apollo_defconfig | 6 +++--- arch/m68k/configs/atari_defconfig| 6 +++--- arch/m68k/configs/bvme6000_defconfig | 6 +++--- arch/m68k/configs/

[RFC PATCH v8 18/19] virtio/vsock: update trace event for SEQPACKET

2021-04-13 Thread Arseny Krasnov
This adds SEQPACKET socket's type for trace event of virtio vsock. Signed-off-by: Arseny Krasnov --- v7 -> v8: - Code used for SEQ_BEGIN and SEQ_END removed. include/trace/events/vsock_virtio_transport_common.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/tra

[RFC PATCH v8 09/19] virtio/vsock: simplify credit update function API

2021-04-13 Thread Arseny Krasnov
This function is static and 'hdr' arg was always NULL. Signed-off-by: Arseny Krasnov Reviewed-by: Stefano Garzarella --- net/vmw_vsock/virtio_transport_common.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/net/vmw_vsock/virtio_transport_common.c b/net/vmw_vsock/vi

[RFC PATCH v8 07/19] af_vsock: update comments for stream sockets

2021-04-13 Thread Arseny Krasnov
This replaces 'stream' to 'connection oriented' in comments as SEQPACKET is also connection oriented. Signed-off-by: Arseny Krasnov Reviewed-by: Stefano Garzarella --- net/vmw_vsock/af_vsock.c | 31 +-- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/

[RFC PATCH v8 01/19] af_vsock: update functions for connectible socket

2021-04-13 Thread Arseny Krasnov
This prepares af_vsock.c for SEQPACKET support: some functions such as setsockopt(), getsockopt(), connect(), recvmsg(), sendmsg() are shared between both types of sockets, so rename them in general manner. Signed-off-by: Arseny Krasnov Reviewed-by: Stefano Garzarella --- net/vmw_vsock/af_vsock

Re: [PATCH bpf-next v3 3/3] bpf: selftests: update array map tests for per-cpu batched ops

2021-04-12 Thread Martin KaFai Lau
ys[i] = i; > - values[i] = i + 1; > + if (is_pcpu) > + for (j = 0; j < nr_cpus; j++) > + (values + offset)[j] = i + 1 + j; > + else > + values[i] = i + 1; > + offset +=

[PATCH bpf-next v3 3/3] bpf: selftests: update array map tests for per-cpu batched ops

2021-04-12 Thread Pedro Tammela
Follows the same logic as the hashtable tests. Signed-off-by: Pedro Tammela --- .../bpf/map_tests/array_map_batch_ops.c | 110 +- 1 file changed, 80 insertions(+), 30 deletions(-) diff --git a/tools/testing/selftests/bpf/map_tests/array_map_batch_ops.c b/tools/testing/sel

Re: [PATCH] MAINTAINERS: update maintainer entry for freescale fec driver

2021-04-11 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Fri, 9 Apr 2021 17:11:45 +0800 you wrote: > Update maintainer entry for freescale fec driver. > > Suggested-by: Heiner Kallweit > Signed-off-by: Joakim Zhang > --- > MAINTAINERS | 2 +- > 1 file

[PATCH 6/9] Update README

2021-04-10 Thread Chris Talbot
This updates the README for mmsd --- README | 66 +- 1 file changed, 61 insertions(+), 5 deletions(-) diff --git a/README b/README index e33be69..cecc99f 100644 --- a/README +++ b/README @@ -2,20 +2,76 @@ Multimedia Messaging Service **

[PATCH net-next 2/7] net: ipa: update sequence type for modem TX endpoint

2021-04-09 Thread Alex Elder
On IPA v3.5.1, the sequencer type for the modem TX endpoint does not define the replication portion in the same way the downstream code does. This difference doesn't affect the behavior of the upstream code, but I'd prefer the two code bases use the same configuration value here. Signed-off-by: A

Re: [PATCH v8 bpf-next 03/14] net: mvneta: update mb bit before passing the xdp buffer to eBPF layer

2021-04-09 Thread Lorenzo Bianconi
> On Thu, Apr 08, 2021 at 02:50:55PM +0200, Lorenzo Bianconi wrote: > > Update multi-buffer bit (mb) in xdp_buff to notify XDP/eBPF layer and > > XDP remote drivers if this is a "non-linear" XDP buffer. Access > > xdp_shared_info only if xdp_buff mb is set. > >

[PATCH] MAINTAINERS: update maintainer entry for freescale fec driver

2021-04-09 Thread Joakim Zhang
Update maintainer entry for freescale fec driver. Suggested-by: Heiner Kallweit Signed-off-by: Joakim Zhang --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1cc3976040d5..efc76153114c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

Re: [PATCH v8 bpf-next 03/14] net: mvneta: update mb bit before passing the xdp buffer to eBPF layer

2021-04-08 Thread Vladimir Oltean
On Thu, Apr 08, 2021 at 02:50:55PM +0200, Lorenzo Bianconi wrote: > Update multi-buffer bit (mb) in xdp_buff to notify XDP/eBPF layer and > XDP remote drivers if this is a "non-linear" XDP buffer. Access > xdp_shared_info only if xdp_buff mb is set. > > Signed

[PATCH v8 bpf-next 14/14] bpf: update xdp_adjust_tail selftest to include multi-buffer

2021-04-08 Thread Lorenzo Bianconi
From: Eelco Chaudron This change adds test cases for the multi-buffer scenarios when shrinking and growing. Signed-off-by: Eelco Chaudron Signed-off-by: Lorenzo Bianconi --- .../bpf/prog_tests/xdp_adjust_tail.c | 105 ++ .../bpf/progs/test_xdp_adjust_tail_grow.c |

[PATCH v8 bpf-next 03/14] net: mvneta: update mb bit before passing the xdp buffer to eBPF layer

2021-04-08 Thread Lorenzo Bianconi
Update multi-buffer bit (mb) in xdp_buff to notify XDP/eBPF layer and XDP remote drivers if this is a "non-linear" XDP buffer. Access xdp_shared_info only if xdp_buff mb is set. Signed-off-by: Lorenzo Bianconi --- drivers/net/ethernet/marvell/mvneta.c | 26

[PATCH net 3/3] net: dsa: sja1105: update existing VLANs from the bridge VLAN list

2021-04-07 Thread Vladimir Oltean
first still has precedence when calling sja1105_build_vlan_table. Obviously there is a disagreement regarding semantics, and we end up doing something unexpected from the PoV of the bridge. Let's actually consider an "existing VLAN" to be one which is on the same port, and has the sa

[net-next 11/13] net/mlx5e: TC, Refactor tc update skb function

2021-04-06 Thread Saeed Mahameed
From: Chris Mi As a pre-step to process sampled packet in this function. Signed-off-by: Chris Mi Signed-off-by: Saeed Mahameed --- .../ethernet/mellanox/mlx5/core/en/rep/tc.c | 59 +++ 1 file changed, 33 insertions(+), 26 deletions(-) diff --git a/drivers/net/ethernet/mella

[PATCH v4 resend 23/23] RDMA/irdma: Update MAINTAINERS file

2021-04-06 Thread Shiraz Saleem
Add maintainer entry for irdma driver. Signed-off-by: Mustafa Ismail Signed-off-by: Shiraz Saleem --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 276cadf..f1a9752 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8957,6 +8957,14 @@ F:

[PATCH v4 23/23] RDMA/irdma: Update MAINTAINERS file

2021-04-06 Thread Shiraz Saleem
Add maintainer entry for irdma driver. Signed-off-by: Mustafa Ismail Signed-off-by: Shiraz Saleem --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 276cadf..f1a9752 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8957,6 +8957,14 @@ F:

[PATCH bpf-next v2 3/3] bpf: selftests: update array map tests for per-cpu batched ops

2021-04-06 Thread Pedro Tammela
Follows the same logic as the hashtable tests. Signed-off-by: Pedro Tammela --- .../bpf/map_tests/array_map_batch_ops.c | 114 +- 1 file changed, 85 insertions(+), 29 deletions(-) diff --git a/tools/testing/selftests/bpf/map_tests/array_map_batch_ops.c b/tools/testing/sel

[PATCH bpf-next 3/3] bpf: selftests: update array map tests for per-cpu batched ops

2021-04-04 Thread Pedro Tammela
Follows the same logic as the hashtable tests. Signed-off-by: Pedro Tammela --- .../bpf/map_tests/array_map_batch_ops.c | 114 +- 1 file changed, 85 insertions(+), 29 deletions(-) diff --git a/tools/testing/selftests/bpf/map_tests/array_map_batch_ops.c b/tools/testing/sel

RE: [Patch bpf-next v8 14/16] sock_map: update sock type checks for UDP

2021-03-31 Thread John Fastabend
Cong Wang wrote: > From: Cong Wang > > Now UDP supports sockmap and redirection, we can safely update > the sock type checks for it accordingly. > > Cc: John Fastabend > Cc: Daniel Borkmann > Cc: Jakub Sitnicki > Cc: Lorenz Bauer > Signed-off-by: Cong Wang &g

[PATCH net-next 03/15] ice: Update to use package info from ice segment

2021-03-31 Thread Tony Nguyen
From: Dan Nowlin There are two package versions in the package binary. Today, these two version numbers are the same. However, in the future that may change. Update code to use the package info from the ice segment metadata section, which is the package information that is actually downloaded

[Patch bpf-next v8 14/16] sock_map: update sock type checks for UDP

2021-03-30 Thread Cong Wang
From: Cong Wang Now UDP supports sockmap and redirection, we can safely update the sock type checks for it accordingly. Cc: John Fastabend Cc: Daniel Borkmann Cc: Jakub Sitnicki Cc: Lorenz Bauer Signed-off-by: Cong Wang --- net/core/sock_map.c | 5 - 1 file changed, 4 insertions(+), 1

[PATCH v3 23/23] RDMA/irdma: Update MAINTAINERS file

2021-03-30 Thread Shiraz Saleem
Add maintainer entry for irdma driver. Signed-off-by: Mustafa Ismail Signed-off-by: Shiraz Saleem --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 211fbc4..6b0aeaf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8958,6 +8958,14 @@ F:

Re: [PATCH bpf-next 0/2] bpf: Update doc about calling kernel function

2021-03-30 Thread Alexei Starovoitov
On Mon, Mar 29, 2021 at 10:41 PM Martin KaFai Lau wrote: > > This set updates the document about the bpf program calling kernel > function. In particular, updates are regarding to the clang > requirement in selftests and kfunc-call not an ABI. Applied.

[net-next 02/39] MAINTAINERS: Update MCAN MMIO device driver maintainer

2021-03-30 Thread Marc Kleine-Budde
From: Pankaj Sharma Update Chandrasekar Ramakrishnan as maintainer for mcan mmio device driver as I will be moving to a different role. Signed-off-by: Pankaj Sharma Signed-off-by: Marc Kleine-Budde --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

Re: [PATCH bpf-next 2/2] bpf: selftests: Update clang requirement in README.rst for testing kfunc call

2021-03-29 Thread Song Liu
> On Mar 29, 2021, at 10:41 PM, Martin KaFai Lau wrote: > > This patch updates the README.rst to specify the clang requirement > to compile the bpf selftests that call kernel function. > > Signed-off-by: Martin KaFai Lau Acked-by: Song Liu

Re: [PATCH bpf-next 1/2] bpf: Update bpf_design_QA.rst to clarify the kfunc call is not ABI

2021-03-29 Thread Song Liu
> On Mar 29, 2021, at 10:41 PM, Martin KaFai Lau wrote: > > This patch updates bpf_design_QA.rst to clarify that the kernel > function callable by bpf program is not an ABI. > > Signed-off-by: Martin KaFai Lau Acked-by: Song Liu

Re: [Patch bpf-next v7 12/13] sock_map: update sock type checks for UDP

2021-03-29 Thread Cong Wang
On Mon, Mar 29, 2021 at 4:10 PM John Fastabend wrote: > I think its a bit odd for TCP_ESTABLISHED to work with !tcp, but > thats not your invention so LGTM. It has been there for many years, so why it is suddenly a problem with my patchset? More importantly, why don't you change it by yourself as

[PATCH bpf-next 2/2] bpf: selftests: Update clang requirement in README.rst for testing kfunc call

2021-03-29 Thread Martin KaFai Lau
This patch updates the README.rst to specify the clang requirement to compile the bpf selftests that call kernel function. Signed-off-by: Martin KaFai Lau --- tools/testing/selftests/bpf/README.rst | 14 ++ 1 file changed, 14 insertions(+) diff --git a/tools/testing/selftests/bpf/RE

[PATCH bpf-next 1/2] bpf: Update bpf_design_QA.rst to clarify the kfunc call is not ABI

2021-03-29 Thread Martin KaFai Lau
This patch updates bpf_design_QA.rst to clarify that the kernel function callable by bpf program is not an ABI. Signed-off-by: Martin KaFai Lau --- Documentation/bpf/bpf_design_QA.rst | 15 +++ 1 file changed, 15 insertions(+) diff --git a/Documentation/bpf/bpf_design_QA.rst b/Docu

[PATCH bpf-next 0/2] bpf: Update doc about calling kernel function

2021-03-29 Thread Martin KaFai Lau
This set updates the document about the bpf program calling kernel function. In particular, updates are regarding to the clang requirement in selftests and kfunc-call not an ABI. Martin KaFai Lau (2): bpf: Update bpf_design_QA.rst to clarify the kfunc call is not ABI bpf: selftests: Update

[net-next 12/12] net/mlx5e: Update ethtool setting of CQE compression

2021-03-29 Thread Saeed Mahameed
From: Aya Levin Remove restriction blocking configuration of CQE compression when PTP rx filter is set. Instead turn on indication for RX PTP, and try to reopen the channels. Signed-off-by: Aya Levin Reviewed-by: Tariq Toukan Signed-off-by: Saeed Mahameed --- drivers/net/ethernet/mellanox/ml

[RFC ethtool-next 1/3] update UAPI header copies

2021-03-29 Thread Jakub Kicinski
Update to kernel commit 6917719f1b85. Signed-off-by: Jakub Kicinski --- uapi/linux/ethtool.h | 47 +++- uapi/linux/ethtool_netlink.h | 18 ++ uapi/linux/if_link.h | 9 +-- uapi/linux/netlink.h | 2 +- uapi/linux

RE: [Patch bpf-next v7 12/13] sock_map: update sock type checks for UDP

2021-03-29 Thread John Fastabend
Cong Wang wrote: > From: Cong Wang > > Now UDP supports sockmap and redirection, we can safely update > the sock type checks for it accordingly. > > Cc: John Fastabend > Cc: Daniel Borkmann > Cc: Jakub Sitnicki > Cc: Lorenz Bauer > Signed-off-by: Cong Wang &g

[PATCH net-next 3/6] net: stmmac: arrange Tx tail pointer update to stmmac_flush_tx_descriptors

2021-03-29 Thread Ong Boon Leong
This patch organizes TX tail pointer update into a new function called stmmac_flush_tx_descriptors() so that we can reuse it in stmmac_xmit(), stmmac_tso_xmit() and up-coming XDP implementation. Signed-off-by: Ong Boon Leong --- .../net/ethernet/stmicro/stmmac/stmmac_main.c | 52

[Patch bpf-next v7 12/13] sock_map: update sock type checks for UDP

2021-03-28 Thread Cong Wang
From: Cong Wang Now UDP supports sockmap and redirection, we can safely update the sock type checks for it accordingly. Cc: John Fastabend Cc: Daniel Borkmann Cc: Jakub Sitnicki Cc: Lorenz Bauer Signed-off-by: Cong Wang --- net/core/sock_map.c | 5 - 1 file changed, 4 insertions(+), 1

[PATCH 6/9] Update README

2021-03-26 Thread Christopher Talbot
This updates the README for mmsd --- README | 66 +- 1 file changed, 61 insertions(+), 5 deletions(-) diff --git a/README b/README index e33be69..cecc99f 100644 --- a/README +++ b/README @@ -2,20 +2,76 @@ Multimedia Messaging Service **

Re: [PATCH net-next 0/6] net: ipa: update registers for other versions

2021-03-25 Thread patchwork-bot+netdevbpf
ummary with links: - [net-next,1/6] net: ipa: update IPA register comments https://git.kernel.org/netdev/net-next/c/b8ecdaaaf328 - [net-next,2/6] net: ipa: update component config register https://git.kernel.org/netdev/net-next/c/cc5199ed50f2 - [net-next,3/6] net: ipa: support IPA inter

Re: [PATCH net] amd-xgbe: Update DMA coherency values

2021-03-25 Thread patchwork-bot+netdevbpf
CI device path to eliminate the issue. > > Fixes: 6f595959c095 ("amd-xgbe: Adjust register settings to improve > performance") > Signed-off-by: Shyam Sundar S K > > [...] Here is the summary with links: - [net] amd-xgbe: Update DMA coherency values https://git

[PATCH net-next 5/6] net: ipa: update GSI ring size registers

2021-03-25 Thread Alex Elder
Each GSI channel has a CNTXT_1 register that encodes the size of its ring buffer. The size of the field that records that is increased starting at IPA v4.9. Replace the use of a fixed-size field mask with a new inline function that encodes that size value. Similarly, the size of GSI event rings

[PATCH net-next 2/6] net: ipa: update component config register

2021-03-25 Thread Alex Elder
IPA version 4.9 and later use a different layout of some fields found in the COMP_CFG register. Define arbitration_lock_disable_encoded(), and use it to encode a value into the ATOMIC_FETCHER_ARB_LOCK_DIS field based on the IPA version. And define full_flush_rsc_closure_en_encoded() to encode a v

[PATCH net-next 1/6] net: ipa: update IPA register comments

2021-03-25 Thread Alex Elder
Add and update IPA register definitions. Extend these definitions to incorporate a fairly small number of new symbols (register offsets and fields) to support IPA v3.0, v3.1, v3.5, v4.0, v4.1, v4.7, 4.9, and v4.11, and have the comments reflect when they are valid. None of the added symbols

[PATCH net-next 0/6] net: ipa: update registers for other versions

2021-03-25 Thread Alex Elder
-Alex Alex Elder (6): net: ipa: update IPA register comments net: ipa: update component config register net: ipa: support IPA interrupt addresses for IPA v4.7 net: ipa: GSI register cleanup net: ipa: update GSI ring size registers net: ipa: expand GSI channel types drivers/net

Re: [PATCH net] amd-xgbe: Update DMA coherency values

2021-03-25 Thread Tom Lendacky
On 3/24/21 10:09 PM, Shyam Sundar S K wrote: > Based on the IOMMU configuration, the current cache control settings can > result in possible coherency issues. The hardware team has recommended > new settings for the PCI device path to eliminate the issue. > > Fixes: 6f595959c095 ("amd-xgbe: Adjust

[PATCH net] amd-xgbe: Update DMA coherency values

2021-03-24 Thread Shyam Sundar S K
Based on the IOMMU configuration, the current cache control settings can result in possible coherency issues. The hardware team has recommended new settings for the PCI device path to eliminate the issue. Fixes: 6f595959c095 ("amd-xgbe: Adjust register settings to improve performance") Signed-off

[PATCH net-next 05/10] mlxsw: spectrum_router: Update hardware flags on nexthop buckets

2021-03-24 Thread Ido Schimmel
From: Ido Schimmel So far, mlxsw only updated hardware flags ('offload' / 'trap') on nexthop objects. For resilient nexthop groups, these flags need to be updated on individual nexthop buckets as well. Update these flags whenever updating the flags of the encapsulatin

[PATCH net-next 07/10] mlxsw: spectrum_router: Periodically update activity of nexthop buckets

2021-03-24 Thread Ido Schimmel
From: Ido Schimmel The kernel periodically checks the idle time of nexthop buckets to determine if they are idle and can be re-populated with a new nexthop. When the resilient nexthop group is offloaded to hardware, the kernel will not see activity on nexthop buckets unless it is reported from h

[PATCH net-next 03/10] mlxsw: spectrum_router: Pass payload pointer to nexthop update function

2021-03-24 Thread Ido Schimmel
true, ratr_pl); if (err) return err; nh->update = 0; diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h index 3bb2a06359a3..b85c5f6

[PATCH net-next v2 2/6] net: ipa: update version definitions

2021-03-24 Thread Alex Elder
Add IPA version definitions for all IPA v3.x and v4.x. Fix the GSI version associated with IPA version 4.1. Signed-off-by: Alex Elder --- v2: - Add kernel-doc descriptions for ipa_version members. drivers/net/ipa/ipa_version.h | 29 ++--- 1 file changed, 22 insertions(+

[PATCH net-next,v2 24/24] docs: nf_flowtable: update documentation with enhancements

2021-03-23 Thread Pablo Neira Ayuso
rulesets (preferred syntax). - Describe existing cache limitations. Signed-off-by: Pablo Neira Ayuso --- v2: not coming in v1. Update documentation including existing limitations. Documentation/networking/nf_flowtable.rst | 170 ++ 1 file changed, 143 insertions(+), 27 deleti

  1   2   3   4   5   6   7   8   9   10   >