Re: [PATCH net-next v2 1/2] virtio_net: introduce ability to get reply info from device

2024-05-07 Thread Heng Qi
On Wed, 8 May 2024 10:20:05 +0800, Jason Wang wrote: > On Tue, May 7, 2024 at 2:56 PM Heng Qi wrote: > > > > On Tue, 7 May 2024 14:24:19 +0800, Jason Wang wrote: > > > On Fri, Apr 26, 2024 at 2:54 PM Heng Qi wrote: > > > > > > > > From: Xuan Zhuo > > > > > > > > As the spec > > > > https://gi

Re: [PATCH net-next v2 1/2] virtio_net: introduce ability to get reply info from device

2024-05-07 Thread Jason Wang
On Tue, May 7, 2024 at 2:56 PM Heng Qi wrote: > > On Tue, 7 May 2024 14:24:19 +0800, Jason Wang wrote: > > On Fri, Apr 26, 2024 at 2:54 PM Heng Qi wrote: > > > > > > From: Xuan Zhuo > > > > > > As the spec > > > https://github.com/oasis-tcs/virtio-spec/commit/42f389989823039724f95bbbd243291ab0

Re: [PATCH net-next v2 1/2] virtio_net: introduce ability to get reply info from device

2024-05-06 Thread Heng Qi
On Tue, 7 May 2024 14:24:19 +0800, Jason Wang wrote: > On Fri, Apr 26, 2024 at 2:54 PM Heng Qi wrote: > > > > From: Xuan Zhuo > > > > As the spec > > https://github.com/oasis-tcs/virtio-spec/commit/42f389989823039724f95bbbd243291ab0064f82 > > > > Based on the description provided in the above s

Re: [PATCH net-next v2 1/2] virtio_net: introduce ability to get reply info from device

2024-05-06 Thread Jason Wang
On Fri, Apr 26, 2024 at 2:54 PM Heng Qi wrote: > > From: Xuan Zhuo > > As the spec > https://github.com/oasis-tcs/virtio-spec/commit/42f389989823039724f95bbbd243291ab0064f82 > > Based on the description provided in the above specification, we have > enabled the virtio-net driver to support acqui

[PATCH net-next v2 1/2] virtio_net: introduce ability to get reply info from device

2024-04-25 Thread Heng Qi
From: Xuan Zhuo As the spec https://github.com/oasis-tcs/virtio-spec/commit/42f389989823039724f95bbbd243291ab0064f82 Based on the description provided in the above specification, we have enabled the virtio-net driver to support acquiring some response information from the device via the CVQ (Co

[PATCH net-next v7 1/8] virtio_net: introduce ability to get reply info from device

2024-04-25 Thread Xuan Zhuo
As the spec https://github.com/oasis-tcs/virtio-spec/commit/42f389989823039724f95bbbd243291ab0064f82 Based on the description provided in the above specification, we have enabled the virtio-net driver to support acquiring some response information from the device via the CVQ (Control Virtqueue).

Re: [PATCH vhost v6 06/10] virtio_ring: no store dma info when unmap is not needed

2024-03-28 Thread Jason Wang
UKMC==04m7-uem_yc21bggkkzh8...@mail.gmail.com > > > > > > When the vq is premapped mode, the driver manages the dma > > > info is a good way. > > > > > > So this commit make the virtio core not to store the dma > > > info and release the memory whi

Re: [PATCH vhost v6 06/10] virtio_ring: no store dma info when unmap is not needed

2024-03-28 Thread Xuan Zhuo
mode, the driver manages the dma > > info is a good way. > > > > So this commit make the virtio core not to store the dma > > info and release the memory which is used to store the dma > > info. > > > > If the use_dma_api is false, the memory is also n

Re: [PATCH vhost v6 06/10] virtio_ring: no store dma info when unmap is not needed

2024-03-28 Thread Jason Wang
On Wed, Mar 27, 2024 at 7:14 PM Xuan Zhuo wrote: > > As discussed: > http://lore.kernel.org/all/CACGkMEug-=C+VQhkMYSgUKMC==04m7-uem_yc21bggkkzh8...@mail.gmail.com > > When the vq is premapped mode, the driver manages the dma > info is a good way. > > So this commit mak

[PATCH vhost v6 06/10] virtio_ring: no store dma info when unmap is not needed

2024-03-27 Thread Xuan Zhuo
As discussed: http://lore.kernel.org/all/CACGkMEug-=C+VQhkMYSgUKMC==04m7-uem_yc21bggkkzh8...@mail.gmail.com When the vq is premapped mode, the driver manages the dma info is a good way. So this commit make the virtio core not to store the dma info and release the memory which is used to store

[PATCH vhost v6 00/10] virtio: drivers maintain dma info for premapped vq

2024-03-27 Thread Xuan Zhuo
As discussed: http://lore.kernel.org/all/cacgkmevq0no8qgc46u4mgsmtud44fd_cflcpavmj3rhyqrz...@mail.gmail.com If the virtio is premapped mode, the driver should manage the dma info by self. So the virtio core should not store the dma info. We can release the memory used to store the dma info. For

Re: [PATCH vhost v5 00/10] virtio: drivers maintain dma info for premapped vq

2024-03-27 Thread Jason Wang
> > > On Mon, Mar 25, 2024 at 4:54 PM Xuan Zhuo > > > > wrote: > > > > > > > > > > As discussed: > > > > > > > > > > http://lore.kernel.org/all/cacgkmevq0no8qgc46u4mgsmtud44fd_cflcpavmj3rhyqrz...@mail.gmail.com > >

Re: [PATCH vhost v5 00/10] virtio: drivers maintain dma info for premapped vq

2024-03-27 Thread Xuan Zhuo
t; > > > > As discussed: > > > > > > > > http://lore.kernel.org/all/cacgkmevq0no8qgc46u4mgsmtud44fd_cflcpavmj3rhyqrz...@mail.gmail.com > > > > > > > > If the virtio is premapped mode, the driver should manage the dma info > > > > by self. &

Re: [PATCH vhost v5 00/10] virtio: drivers maintain dma info for premapped vq

2024-03-27 Thread Jason Wang
g/all/cacgkmevq0no8qgc46u4mgsmtud44fd_cflcpavmj3rhyqrz...@mail.gmail.com > > > > > > If the virtio is premapped mode, the driver should manage the dma info by > > > self. > > > So the virtio core should not store the dma info. We can release the > > > memory used >

Re: [PATCH vhost v5 00/10] virtio: drivers maintain dma info for premapped vq

2024-03-27 Thread Xuan Zhuo
remapped mode, the driver should manage the dma info by > > self. > > So the virtio core should not store the dma info. We can release the memory > > used > > to store the dma info. > > > > For virtio-net xmit queue, if the virtio-net maintains the dma info, &g

Re: [PATCH vhost v5 00/10] virtio: drivers maintain dma info for premapped vq

2024-03-25 Thread Jason Wang
On Mon, Mar 25, 2024 at 4:54 PM Xuan Zhuo wrote: > > As discussed: > > http://lore.kernel.org/all/cacgkmevq0no8qgc46u4mgsmtud44fd_cflcpavmj3rhyqrz...@mail.gmail.com > > If the virtio is premapped mode, the driver should manage the dma info by > self. > So the virtio core

[PATCH vhost v5 06/10] virtio_ring: no store dma info when unmap is not needed

2024-03-25 Thread Xuan Zhuo
As discussed: http://lore.kernel.org/all/CACGkMEug-=C+VQhkMYSgUKMC==04m7-uem_yc21bggkkzh8...@mail.gmail.com When the vq is premapped mode, the driver manages the dma info is a good way. So this commit make the virtio core not to store the dma info and release the memory which is used to store

[PATCH vhost v5 00/10] virtio: drivers maintain dma info for premapped vq

2024-03-25 Thread Xuan Zhuo
As discussed: http://lore.kernel.org/all/cacgkmevq0no8qgc46u4mgsmtud44fd_cflcpavmj3rhyqrz...@mail.gmail.com If the virtio is premapped mode, the driver should manage the dma info by self. So the virtio core should not store the dma info. We can release the memory used to store the dma info. For

Re: [PATCH vhost v4 00/10] virtio: drivers maintain dma info for premapped vq

2024-03-21 Thread Xuan Zhuo
remapped mode, the driver should manage the dma info by > > self. > > So the virtio core should not store the dma info. We can release the memory > > used > > to store the dma info. > > > > For virtio-net xmit queue, if the virtio-net maintains the dma info, &g

Re: [PATCH vhost v4 00/10] virtio: drivers maintain dma info for premapped vq

2024-03-20 Thread Jason Wang
On Tue, Mar 12, 2024 at 11:36 AM Xuan Zhuo wrote: > > As discussed: > > http://lore.kernel.org/all/cacgkmevq0no8qgc46u4mgsmtud44fd_cflcpavmj3rhyqrz...@mail.gmail.com > > If the virtio is premapped mode, the driver should manage the dma info by > self. > So the virtio c

Re: [PATCH vhost v4 00/10] virtio: drivers maintain dma info for premapped vq

2024-03-20 Thread Jason Wang
virtio is premapped mode, the driver should manage the dma info by > > self. > > So the virtio core should not store the dma info. We can release the memory > > used > > to store the dma info. > > > > For virtio-net xmit queue, if the virtio-net maintains the dma in

Re: [PATCH vhost v4 00/10] virtio: drivers maintain dma info for premapped vq

2024-03-18 Thread Michael S. Tsirkin
On Tue, Mar 12, 2024 at 11:35:47AM +0800, Xuan Zhuo wrote: > As discussed: > > http://lore.kernel.org/all/cacgkmevq0no8qgc46u4mgsmtud44fd_cflcpavmj3rhyqrz...@mail.gmail.com > > If the virtio is premapped mode, the driver should manage the dma info by > self. > So the v

[PATCH vhost v4 06/10] virtio_ring: no store dma info when unmap is not needed

2024-03-11 Thread Xuan Zhuo
As discussed: http://lore.kernel.org/all/CACGkMEug-=C+VQhkMYSgUKMC==04m7-uem_yc21bggkkzh8...@mail.gmail.com When the vq is premapped mode, the driver manages the dma info is a good way. So this commit make the virtio core not to store the dma info and release the memory which is used to store

[PATCH vhost v4 00/10] virtio: drivers maintain dma info for premapped vq

2024-03-11 Thread Xuan Zhuo
As discussed: http://lore.kernel.org/all/cacgkmevq0no8qgc46u4mgsmtud44fd_cflcpavmj3rhyqrz...@mail.gmail.com If the virtio is premapped mode, the driver should manage the dma info by self. So the virtio core should not store the dma info. We can release the memory used to store the dma info. For

Re: [syzbot] INFO: task hung in perf_event_free_task

2021-04-20 Thread syzbot
een close() and fork()") INFO: task syz-executor890:6628 blocked for more than 143 seconds. Not tainted 5.12.0-rc8-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor890 state:D stack:25968 pid: 6628 ppid: 8391 flags:0x000

[PATCH v2 bpf-next 02/17] bpftool: dump more info about DATASEC members

2021-04-16 Thread Andrii Nakryiko
/tools/bpf/bpftool/btf.c @@ -100,26 +100,28 @@ static const char *btf_str(const struct btf *btf, __u32 off) return btf__name_by_offset(btf, off) ? : "(invalid)"; } +static int btf_kind_safe(int kind) +{ + return kind <= BTF_KIND_MAX ? kind : BTF_KIND_UNKN; +} + static int du

[net-next 14/14] net/mlx5: Enhance diagnostics info for TX/RX reporters

2021-04-16 Thread Saeed Mahameed
From: Aya Levin Add ts_format to 'Common Config' section of the TX/RX devlink reporters diagnostics info. Possible values for ts_format: 'RT' or 'FRC' which stands for: Real Time and Free Running Counters correspondingly. Signed-off-by: Aya Levin Signed-off-by: Sa

[syzbot] INFO: trying to register non-static key in nfc_llcp_sock_unlink

2021-04-15 Thread syzbot
832f889fd9 dashboard link: https://syzkaller.appspot.com/bug?extid=0b2182efb62fe1a7e162 Unfortunately, I don't have any reproducer for this issue yet. IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+0b2182efb62fe1a7e...@syzkaller.appspotmail.com

[PATCH bpf-next 02/17] bpftool: dump more info about DATASEC members

2021-04-14 Thread Andrii Nakryiko
/tools/bpf/bpftool/btf.c @@ -100,26 +100,28 @@ static const char *btf_str(const struct btf *btf, __u32 off) return btf__name_by_offset(btf, off) ? : "(invalid)"; } +static int btf_kind_safe(int kind) +{ + return kind <= BTF_KIND_MAX ? kind : BTF_KIND_UNKN; +} + static int du

[PATCH net-next 4/9] igc: Refactor XDP rxq info registration

2021-04-09 Thread Tony Nguyen
From: Andre Guedes Refactor XDP rxq info registration code, preparing the driver for AF_XDP zero-copy support which is added by upcoming patches. Currently, xdp_rxq and memory model are both registered during RX resource setup time by igc_xdp_register_rxq_info() helper. With AF_XDP, we want to

[PATCH net-next 5/8] net: ethtool: Export helpers for getting EEPROM info

2021-04-09 Thread Moshe Shemesh
/common.h b/net/ethtool/common.h index a9d071248698..2dc2b80aea5f 100644 --- a/net/ethtool/common.h +++ b/net/ethtool/common.h @@ -47,4 +47,9 @@ int __ethtool_get_ts_info(struct net_device *dev, struct ethtool_ts_info *info); extern const struct ethtool_phy_ops *ethtool_phy_ops; +int

[PATCH net-next 7/7] selftests: mptcp: dump more info on mpjoin errors

2021-04-01 Thread Mat Martineau
From: Matthieu Baerts Very occasionally, MPTCP selftests fail. Yeah, I saw that at least once! Here we provide more details in case of errors with mptcp_join.sh script like it was done with mptcp_connect.sh, see commit 767389c8dd55 ("selftests: mptcp: dump more info on errors") Su

[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

[syzbot] INFO: task can't die in msleep

2021-03-29 Thread syzbot
://syzkaller.appspot.com/x/log.txt?x=164939aad0 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+3a9c5d436cf1afce2...@syzkaller.appspotmail.com Fixes: 766b0515d5be ("net: make sure devices go through netdev_wait_all_refs") INFO: task syz-executo

[net-next V2 05/13] net/mlx5e: Allow creating mpwqe info without channel

2021-03-25 Thread Saeed Mahameed
From: Aya Levin Change the signature of mlx5e_rq_alloc_mpwqe_info from receiving channel pointer to receive the NUMA node. This allows creating mpwqe_info in context of different channels types. Signed-off-by: Aya Levin Reviewed-by: Tariq Toukan Signed-off-by: Saeed Mahameed --- drivers/net/

Re: [PATCH net 0/2] net: do not modify the shared tunnel info when PMTU triggers an ICMP reply

2021-03-25 Thread patchwork-bot+netdevbpf
in that flow to have a wrong destination address if the flow > isn't updated. A detailled information is given in each of the two > commits. > > [...] Here is the summary with links: - [net,1/2] vxlan: do not modify the shared tunnel info when PMTU triggers an ICMP reply htt

Re: [PATCH net 0/2] net: do not modify the shared tunnel info when PMTU triggers an ICMP reply

2021-03-25 Thread Stefano Brivio
> isn't updated. A detailled information is given in each of the two > commits. > > This was tested manually with OVS and I ran the PTMU selftests with > kmemleak enabled (all OK, none was skipped). > > Thanks! > Antoine > > Antoine Tenart (2): > vxlan: do no

[PATCH net 1/2] vxlan: do not modify the shared tunnel info when PMTU triggers an ICMP reply

2021-03-25 Thread Antoine Tenart
xlan.c +++ b/drivers/net/vxlan.c @@ -2725,12 +2725,17 @@ static void vxlan_xmit_one(struct sk_buff *skb, struct net_device *dev, goto tx_error; } else if (err) { if (info) { + struct ip_

[PATCH net 2/2] geneve: do not modify the shared tunnel info when PMTU triggers an ICMP reply

2021-03-25 Thread Antoine Tenart
s/net/geneve.c +++ b/drivers/net/geneve.c @@ -908,8 +908,16 @@ static int geneve_xmit_skb(struct sk_buff *skb, struct net_device *dev, info = skb_tunnel_info(skb); if (info) { - info->key.u.ipv4.dst = fl4.saddr; - inf

[PATCH net 0/2] net: do not modify the shared tunnel info when PMTU triggers an ICMP reply

2021-03-25 Thread Antoine Tenart
s was tested manually with OVS and I ran the PTMU selftests with kmemleak enabled (all OK, none was skipped). Thanks! Antoine Antoine Tenart (2): vxlan: do not modify the shared tunnel info when PMTU triggers an ICMP reply geneve: do not modify the shared tunnel info when PMTU trigge

[net-next 07/15] net/mlx5e: Allow creating mpwqe info without channel

2021-03-24 Thread Saeed Mahameed
From: Aya Levin Change the signature of mlx5e_rq_alloc_mpwqe_info from receiving channel pointer to receive the NUMA node. This allows creating mpwqe_info in context of different channels types. Signed-off-by: Aya Levin Reviewed-by: Tariq Toukan Signed-off-by: Saeed Mahameed --- drivers/net/

Re: INFO: rcu detected stall in corrupted (4)

2021-03-05 Thread Vinicius Costa Gomes
Dmitry Vyukov writes: > On Fri, Sep 4, 2020 at 8:49 PM syzbot > wrote: >> >> Hello, >> >> syzbot found the following issue on: >> >> HEAD commit:0f091e43 netlabel: remove unused param from audit_log_form.. >> git tree: net-next >> console output: https://syzkaller.appspot.com/x/log.txt

Re: INFO: task hung in rsvp_delete_filter_work

2021-03-05 Thread syzbot
syzbot suspects this issue was fixed by commit: commit 396d7f23adf9e8c436dd81a69488b5b6a865acf8 Author: Vlad Buslov Date: Tue Feb 16 16:22:00 2021 + net: sched: fix police ext initialization bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=13dc3caed0 start commit: 14

Re: INFO: task hung in switchdev_deferred_process_work (2)

2021-02-27 Thread syzbot
lowing tag to the commit: Reported-by: syzbot+8ecc009e206a956ab...@syzkaller.appspotmail.com INFO: task kworker/1:0:8387 blocked for more than 143 seconds. Not tainted 5.11.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:0

[RESEND net 3/3] net: hns3: fix bug when calculating the TCAM table info

2021-02-26 Thread Huazhong Tan
From: Jian Shen The function hclge_fd_convert_tuple() is used to convert tuples and tuples mask to TCAM x and y. But it misuses the source mac as source mac mask when convert INNER_SRC_MAC, which may cause the flow director rule works unexpectedly. So fix it. Fixes: 117328680288 ("net: hns3: Ad

[PATCH net 3/3] net: hns3: fix bug when calculating the TCAM table info

2021-02-26 Thread Huazhong Tan
From: Jian Shen The function hclge_fd_convert_tuple() is used to convert tuples and tuples mask to TCAM x and y. But it misuses the source mac as source mac mask when convert INNER_SRC_MAC, which may cause the flow director rule works unexpectedly. So fix it. Fixes: 117328680288 ("net: hns3: Ad

Re: [PATCH v4] Bluetooth: Keep MSFT ext info throughout a hci_dev's life cycle

2021-02-26 Thread Marcel Holtmann
Hi Miao-chen, > This moves msft_do_close() from hci_dev_do_close() to > hci_unregister_dev() to avoid clearing MSFT extension info. This also > re-reads MSFT info upon every msft_do_open() even if MSFT extension has > been initialized. > > The following test steps were perform

Re: [PATCH net] net: psample: Fix netlink skb length with tunnel info

2021-02-25 Thread patchwork-bot+netdevbpf
Here is the summary with links: - [net] net: psample: Fix netlink skb length with tunnel info https://git.kernel.org/netdev/net/c/a93dcaada2dd You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html

[PATCH net] net: psample: Fix netlink skb length with tunnel info

2021-02-24 Thread Chris Mi
Currently, the psample netlink skb is allocated with a size that does not account for the nested 'PSAMPLE_ATTR_TUNNEL' attribute and the padding required for the 64-bit attribute 'PSAMPLE_TUNNEL_KEY_ATTR_ID'. This can result in failure to add attributes to the netlink skb due to insufficient tail r

Re: [PATCH net-next 1/1] net: stmmac: Add PCI bus info to ethtool driver query output

2021-02-17 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Wed, 17 Feb 2021 17:57:05 +0800 you wrote: > This patch populates the PCI bus info in the ethtool driver query data. > > Users will be able to view PCI bus info using 'ethtool -i '. > > Sig

[PATCH net-next 1/1] net: stmmac: Add PCI bus info to ethtool driver query output

2021-02-17 Thread Wong Vee Khee
This patch populates the PCI bus info in the ethtool driver query data. Users will be able to view PCI bus info using 'ethtool -i '. Signed-off-by: Wong Vee Khee --- drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c| 1 + drivers/net/ethernet/stmicro/stmmac/stmmac_eth

INFO: task hung in disconnect_work

2021-02-16 Thread syzbot
...@syzkaller.appspotmail.com INFO: task kworker/1:0:19 blocked for more than 143 seconds. Not tainted 5.11.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:0 state:D stack:26712 pid: 19 ppid: 2 flags:0x4000 Work

Re: [PATCH net-next 0/8] mptcp: Add genl events for connection info

2021-02-13 Thread David Miller
From: Mat Martineau Date: Fri, 12 Feb 2021 20:46:30 -0800 (PST) > On Fri, 12 Feb 2021, Mat Martineau wrote: > >> This series from the MPTCP tree adds genl multicast events that are >> important for implementing a userspace path manager. In MPTCP, a path >> manager is responsible for adding or re

Re: [PATCH net-next 0/8] mptcp: Add genl events for connection info

2021-02-12 Thread Mat Martineau
On Fri, 12 Feb 2021, Mat Martineau wrote: On Fri, 12 Feb 2021, Mat Martineau wrote: This series from the MPTCP tree adds genl multicast events that are important for implementing a userspace path manager. In MPTCP, a path manager is responsible for adding or removing additional subflows on e

Re: [PATCH net-next 0/8] mptcp: Add genl events for connection info

2021-02-12 Thread Mat Martineau
On Fri, 12 Feb 2021, Mat Martineau wrote: This series from the MPTCP tree adds genl multicast events that are important for implementing a userspace path manager. In MPTCP, a path manager is responsible for adding or removing additional subflows on each MPTCP connection. The in-kernel path manag

[PATCH net-next] mptcp: add local addr info in mptcp_info

2021-02-12 Thread Mat Martineau
/mptcp_diag.c @@ -128,11 +128,13 @@ static void mptcp_diag_get_info(struct sock *sk, struct inet_diag_msg *r, info->mptcpi_subflows = READ_ONCE(msk->pm.subflows); info->mptcpi_add_addr_signal = READ_ONCE(msk->pm.add_addr_signaled); info->mptcpi_add_addr_accepted

[PATCH net-next 0/8] mptcp: Add genl events for connection info

2021-02-12 Thread Mat Martineau
This series from the MPTCP tree adds genl multicast events that are important for implementing a userspace path manager. In MPTCP, a path manager is responsible for adding or removing additional subflows on each MPTCP connection. The in-kernel path manager (already part of the kernel) is a better f

[PATCH net-next 1/4] selftests: mptcp: dump more info on errors

2021-02-12 Thread Mat Martineau
From: Paolo Abeni Even if that may sound completely unlikely, the mptcp implementation is not perfect, yet. When the self-tests report an error we usually need more information of what the scripts currently report. iproute allow provides some additional goodies since a few releases, let's dump t

Re: [PATCH v4] Bluetooth: Keep MSFT ext info throughout a hci_dev's life cycle

2021-02-11 Thread Miao-chen Chou
Hi Marcel, A friendly ping on this patch. :) Regards, Miao On Wed, Jan 27, 2021 at 9:17 AM Miao-chen Chou wrote: > > This moves msft_do_close() from hci_dev_do_close() to > hci_unregister_dev() to avoid clearing MSFT extension info. This also > re-reads MSFT info upon every msft_do

[PATCH net-next v2 3/5] i40e: remove the redundant buffer info updates

2021-02-08 Thread Tony Nguyen
From: Cristian Dumitrescu For performance reasons, remove the redundant buffer info updates (*bi = NULL). The buffers ready to be cleaned can easily be tracked based on the ring next-to-clean variable, which is consistently updated. Signed-off-by: Cristian Dumitrescu Tested-by: Kiran Bhandare

[PATCH 2/4] batman-adv: Drop publication years from copyright info

2021-02-08 Thread Simon Wunderlich
From: Sven Eckelmann The batman-adv source code was using the year of publication (to net-next) as "last" year for the copyright statement. The whole source code mentioned in the MAINTAINERS "BATMAN ADVANCED" section was handled as a single entity regarding the publishing year. This avoided havi

[PATCH net-next v2 08/11] ice: display stored UNDI firmware version via devlink info

2021-02-05 Thread Tony Nguyen
From: Jacob Keller Just as we recently added support for other stored firmware flash versions, support display of the stored UNDI Option ROM version via devlink info. To do this, we need to introduce a new ice_get_inactive_orom_ver function. This is a little trickier than with other flash

[PATCH net-next v2 07/11] ice: display stored netlist versions via devlink info

2021-02-05 Thread Tony Nguyen
value to the data sheet, use a wrapper macro to account for the offset adjustments. Use the newly added ice_get_inactive_netlist_ver function to extract the version data from the pending netlist module update. Add the stored variants of "fw.netlist", and "fw.netlist.build" to

[PATCH net-next v2 06/11] ice: display some stored NVM versions via devlink info

2021-02-05 Thread Tony Nguyen
From: Jacob Keller The devlink info interface supports drivers reporting "stored" versions. These versions indicate the version of an update that has been downloaded to the device, but is not yet active. The code for extracting the NVM version recently changed to enable support for re

[PATCH net-next v2 03/11] ice: introduce context struct for info report

2021-02-05 Thread Tony Nguyen
From: Jacob Keller The ice driver uses an array of structures which link an info name with a function that formats the associated version data into a string. All existing format functions simply format already captured static data from the driver hw structure. Future changes will introduce

RE: [PATCH net-next 10/15] ice: display some stored NVM versions via devlink info

2021-02-05 Thread Brelinski, TonyX
From: Jacob Keller Sent: Monday, February 1, 2021 3:09 PM To: Jakub Kicinski Cc: Nguyen, Anthony L ; da...@davemloft.net; netdev@vger.kernel.org; sassm...@redhat.com; Brelinski, TonyX Subject: Re: [PATCH net-next 10/15] ice: display some stored NVM versions via devlink info On 2/1/2021 2

[PATCH V2 net-next 3/6] net: hns3: optimize the code when update the tc info

2021-02-05 Thread Huazhong Tan
From: GuoJia Liao When update the TC info for NIC, there are some differences between PF and VF. Currently, four "vport->vport_id" are used to distinguish PF or VF. So merge them into one to improve readability and maintainability of code. Signed-off-by: GuoJia Liao Signed-off-by:

RE: [PATCH net-next 5/6] i40e: Add info trace at loading XDP program

2021-02-03 Thread Kubalewski, Arkadiusz
>On Wed, 3 Feb 2021 10:00:07 + Kubalewski, Arkadiusz wrote: >> >> diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c >> >> b/drivers/net/ethernet/intel/i40e/i40e_main.c >> >> index 521ea9df38d5..f35bd9164106 100644 >> >> --- a/drivers/net/ethernet/intel/i40e/i40e_main.c >> >> +++ b/drive

Re: [PATCH net-next 5/6] i40e: Add info trace at loading XDP program

2021-02-03 Thread Jakub Kicinski
On Wed, 3 Feb 2021 10:00:07 + Kubalewski, Arkadiusz wrote: > >> diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c > >> b/drivers/net/ethernet/intel/i40e/i40e_main.c > >> index 521ea9df38d5..f35bd9164106 100644 > >> --- a/drivers/net/ethernet/intel/i40e/i40e_main.c > >> +++ b/drivers/net

[PATCH net-next 2/2] hv_netvsc: Load and store the proper (NBL_HASH_INFO) per-packet info

2021-02-03 Thread Andrea Parri (Microsoft)
Fix the typo. Signed-off-by: Andrea Parri (Microsoft) Cc: "David S. Miller" Cc: Jakub Kicinski Cc: netdev@vger.kernel.org Fixes: 0ba35fe91ce34f ("hv_netvsc: Copy packets sent by Hyper-V out of the receive buffer") --- drivers/net/hyperv/rndis_filter.c | 2 +- 1 file changed, 1 insertion(+), 1

RE: [PATCH net-next 5/6] i40e: Add info trace at loading XDP program

2021-02-03 Thread Kubalewski, Arkadiusz
Hi Kuba, thank you for the comments! >On Mon, 1 Feb 2021 18:24:19 -0800 Tony Nguyen wrote: >> From: Arkadiusz Kubalewski >> >> New trace indicates that the XDP program was loaded. >> The trace has a note that in case of using XDP_REDIRECT, >> number of queues on both interfaces shall be the sam

[PATCH net-next v2 3/7] gtp: include role in link info

2021-02-02 Thread Jonas Bonn
Querying link info for the GTP interface doesn't reveal in which "role" the device is set to operate. Include this information in the info query result. Signed-off-by: Jonas Bonn Acked-by: Harald Welte --- drivers/net/gtp.c | 5 - 1 file changed, 4 insertions(+), 1 deletion

Re: [PATCH net-next 5/6] i40e: Add info trace at loading XDP program

2021-02-02 Thread Jakub Kicinski
On Mon, 1 Feb 2021 18:24:19 -0800 Tony Nguyen wrote: > From: Arkadiusz Kubalewski > > New trace indicates that the XDP program was loaded. > The trace has a note that in case of using XDP_REDIRECT, > number of queues on both interfaces shall be the same. > This is required for optimal performanc

[PATCH AUTOSEL 5.4 11/17] iwlwifi: pcie: fix context info memory leak

2021-02-02 Thread Sasha Levin
/iwlwifi.20210115130252.97172cbaa67c.I3473233d0ad01a71aa9400832fb2b9f494d88a11@changeid Signed-off-by: Sasha Levin --- .../net/wireless/intel/iwlwifi/pcie/ctxt-info-gen3.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/ctxt

[PATCH AUTOSEL 4.19 07/10] iwlwifi: pcie: fix context info memory leak

2021-02-02 Thread Sasha Levin
/iwlwifi.20210115130252.97172cbaa67c.I3473233d0ad01a71aa9400832fb2b9f494d88a11@changeid Signed-off-by: Sasha Levin --- .../net/wireless/intel/iwlwifi/pcie/ctxt-info-gen3.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/ctxt

[PATCH AUTOSEL 5.10 16/25] iwlwifi: pcie: fix context info memory leak

2021-02-02 Thread Sasha Levin
/iwlwifi.20210115130252.97172cbaa67c.I3473233d0ad01a71aa9400832fb2b9f494d88a11@changeid Signed-off-by: Sasha Levin --- .../net/wireless/intel/iwlwifi/pcie/ctxt-info-gen3.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/ctxt

[PATCH net-next 3/7] net: hns3: optimize the code when update the tc info

2021-02-02 Thread Huazhong Tan
From: GuoJia Liao When update the TC info for NIC, there some differences between PF and VF. Currently, four "vport->vport_id" are used to distinguish PF or VF. So merge them into one to improve readability and maintainability of code. Signed-off-by: GuoJia Liao Signed-off-by:

[net-next 05/14] net/mlx5e: Move set vxlan nic info to profile init

2021-02-01 Thread Saeed Mahameed
From: Roi Dayan Since its profile dependent let's init the vxlan info as part of profile initialization. Signed-off-by: Roi Dayan Signed-off-by: Saeed Mahameed --- drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 3 +-- drivers/net/ethernet/mellanox/mlx5/core/en_rep.c

[PATCH net-next 3/7] gtp: include role in link info

2021-02-01 Thread Jonas Bonn
Querying link info for the GTP interface doesn't reveal in which "role" the device is set to operate. Include this information in the info query result. Signed-off-by: Jonas Bonn Acked-by: Harald Welte --- drivers/net/gtp.c | 5 - 1 file changed, 4 insertions(+), 1 deletion

[PATCH net-next 3/6] i40e: remove the redundant buffer info updates

2021-02-01 Thread Tony Nguyen
From: Cristian Dumitrescu For performance reasons, remove the redundant buffer info updates (*bi = NULL). The buffers ready to be cleaned can easily be tracked based on the ring next-to-clean variable, which is consistently updated. Signed-off-by: Cristian Dumitrescu Tested-by: Kiran Bhandare

[PATCH net-next 5/6] i40e: Add info trace at loading XDP program

2021-02-01 Thread Tony Nguyen
From: Arkadiusz Kubalewski New trace indicates that the XDP program was loaded. The trace has a note that in case of using XDP_REDIRECT, number of queues on both interfaces shall be the same. This is required for optimal performance of XDP_REDIRECT, if interface used for TX has lower number of qu

Re: [PATCH V2 net-next 2/2] net: hns3: add debugfs support for tm nodes, priority and qset info

2021-02-01 Thread Huazhong Tan
On 2021/2/2 5:25, Nathan Chancellor wrote: On Thu, Jan 28, 2021 at 07:51:36PM +0800, Huazhong Tan wrote: From: Guangbin Huang In order to query tm info of nodes, priority and qset for debugging, adds three debugfs files tm_nodes, tm_priority and tm_qset in newly created tm directory

Re: [PATCH net-next 10/15] ice: display some stored NVM versions via devlink info

2021-02-01 Thread Jacob Keller
On 2/1/2021 2:34 PM, Jakub Kicinski wrote: > On Mon, 1 Feb 2021 13:40:27 -0800 Jacob Keller wrote: >> On 1/29/2021 10:37 PM, Jakub Kicinski wrote: >>> On Thu, 28 Jan 2021 16:43:27 -0800 Tony Nguyen wrote: >>>> When reporting the versions via devli

Re: [PATCH net-next 10/15] ice: display some stored NVM versions via devlink info

2021-02-01 Thread Jakub Kicinski
On Mon, 1 Feb 2021 13:40:27 -0800 Jacob Keller wrote: > On 1/29/2021 10:37 PM, Jakub Kicinski wrote: > > On Thu, 28 Jan 2021 16:43:27 -0800 Tony Nguyen wrote: > >> When reporting the versions via devlink info, first read the device > >> capabilities. If there is a pen

Re: [PATCH net-next 10/15] ice: display some stored NVM versions via devlink info

2021-02-01 Thread Jacob Keller
On 1/29/2021 10:37 PM, Jakub Kicinski wrote: > On Thu, 28 Jan 2021 16:43:27 -0800 Tony Nguyen wrote: >> When reporting the versions via devlink info, first read the device >> capabilities. If there is a pending flash update, use this new function >> to extract the inactiv

Re: [PATCH V2 net-next 2/2] net: hns3: add debugfs support for tm nodes, priority and qset info

2021-02-01 Thread Nathan Chancellor
On Thu, Jan 28, 2021 at 07:51:36PM +0800, Huazhong Tan wrote: > From: Guangbin Huang > > In order to query tm info of nodes, priority and qset > for debugging, adds three debugfs files tm_nodes, > tm_priority and tm_qset in newly created tm directory. > > Unlike previous de

RE: [PATCH net-next 10/15] ice: display some stored NVM versions via devlink info

2021-02-01 Thread Keller, Jacob E
ice: display some stored NVM versions via > devlink info > > On Thu, 28 Jan 2021 16:43:27 -0800 Tony Nguyen wrote: > > When reporting the versions via devlink info, first read the device > > capabilities. If there is a pending flash update, use this new function > > to

INFO: task hung in rsvp_delete_filter_work

2021-02-01 Thread syzbot
=1265c1d8d0 console output: https://syzkaller.appspot.com/x/log.txt?x=1465c1d8d0 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+a2ec7a7fb2331091a...@syzkaller.appspotmail.com Fixes: 0fedc63fadf0 ("net_sched: commit action insertions together&qu

Re: [PATCH net-next 10/15] ice: display some stored NVM versions via devlink info

2021-01-30 Thread Jakub Kicinski
On Thu, 28 Jan 2021 16:43:27 -0800 Tony Nguyen wrote: > When reporting the versions via devlink info, first read the device > capabilities. If there is a pending flash update, use this new function > to extract the inactive flash versions. Add the stored fields to the > flash version m

[PATCH net-next 12/15] ice: display stored UNDI firmware version via devlink info

2021-01-28 Thread Tony Nguyen
From: Jacob Keller Just as we recently added support for other stored firmware flash versions, support display of the stored UNDI Option ROM version via devlink info. To do this, we need to introduce a new ice_get_inactive_orom_ver function. This is a little trickier than with other flash

[PATCH net-next 10/15] ice: display some stored NVM versions via devlink info

2021-01-28 Thread Tony Nguyen
From: Jacob Keller The devlink info interface supports drivers reporting "stored" versions. These versions indicate the version of an update that has been downloaded to the device, but is not yet active. Add a new function to read some of the fw.mgmt version data from the inactive fla

[PATCH net-next 11/15] ice: display stored netlist versions via devlink info

2021-01-28 Thread Tony Nguyen
value to the data sheet, use a wrapper macro to account for the offset adjustments. Use the newly added ice_get_inactive_netlist_ver function to extract the version data from the pending netlist module update. Add the stored variants of "fw.netlist", and "fw.netlist.build" to

[PATCH net-next 06/15] ice: introduce context struct for info report

2021-01-28 Thread Tony Nguyen
From: Jacob Keller The ice driver uses an array of structures which link an info name with a function that formats the associated version data into a string. All existing format functions simply format already captured static data from the driver hw structure. Future changes will introduce

[PATCH V2 net-next 2/2] net: hns3: add debugfs support for tm nodes, priority and qset info

2021-01-28 Thread Huazhong Tan
From: Guangbin Huang In order to query tm info of nodes, priority and qset for debugging, adds three debugfs files tm_nodes, tm_priority and tm_qset in newly created tm directory. Unlike previous debugfs commands, these three files just support read ops, so they only support to use cat command

[PATCH v4] Bluetooth: Keep MSFT ext info throughout a hci_dev's life cycle

2021-01-27 Thread Miao-chen Chou
This moves msft_do_close() from hci_dev_do_close() to hci_unregister_dev() to avoid clearing MSFT extension info. This also re-reads MSFT info upon every msft_do_open() even if MSFT extension has been initialized. The following test steps were performed. (1) boot the test device and verify the

[net-next 10/14] net/mlx5e: Expose RX dma info helpers

2021-01-26 Thread Saeed Mahameed
From: Aya Levin In order to support RQs outside of channel context, change mlx5e_init_di_list() signature to accept NUMA node instead of cpu. In addition, expose dma info helpers as API. This API will be used for RQ's creation in other files in downstream patches. Signed-off-by: Aya

upstream test error: INFO: trying to register non-static key in nsim_get_stats64

2021-01-26 Thread syzbot
dv_slave_1 (retrying later): interface not active device hsr_slave_0 entered promiscuous mode device hsr_slave_1 entered promiscuous mode INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 4695 Comm: syz-

Re: [PATCH v3] Bluetooth: Keep MSFT ext info throughout ahci_dev's life cycle

2021-01-25 Thread Marcel Holtmann
Hi Miao-chen, > This moves msft_do_close() from hci_dev_do_close() to > hci_unregister_dev() to avoid clearing MSFT extension info. This also > avoids retrieving MSFT info upon every msft_do_open() if MSFT extension > has been initialized. > > The following test steps were per

Re: [PATCH v3] Bluetooth: Keep MSFT ext info throughout ahci_dev's life cycle

2021-01-25 Thread Miao-chen Chou
Hi Marcel, On Mon, Jan 25, 2021 at 7:13 AM Marcel Holtmann wrote: > > Hi Miao-chen, > > > This moves msft_do_close() from hci_dev_do_close() to > > hci_unregister_dev() to avoid clearing MSFT extension info. This also > > avoids retrieving MSFT info upon every msft_

[PATCH net-next 05/15] bnxt_en: Move reading VPD info after successful handshake with fw.

2021-01-24 Thread Michael Chan
From: Vasundhara Volam If firmware is in reset or in bad state, it won't be able to return VPD data. Move bnxt_vpd_read_info() until after bnxt_fw_init_one_p1() successfully returns. By then we would have established proper communications with the firmware. Reviewed-by: Edwin Peer Signed-off-

  1   2   3   4   5   6   7   8   9   10   >