[Patch v4 3/3] RDMA/mana_ib: Add CQ interrupt support for RAW QP

2023-12-15 Thread longli
From: Long Li At probing time, the MANA core code allocates EQs for supporting interrupts on Ethernet queues. The same interrupt mechanisum is used by RAW QP. Use the same EQs for delivering interrupts on the CQ for the RAW QP. Signed-off-by: Long Li --- Change in v3: Removed unused varaible

[Patch v4 2/3] RDMA/mana_ib: query device capabilities

2023-12-15 Thread longli
From: Long Li With RDMA device registered, use it to query on hardware capabilities and cache this information for future query requests to the driver. Signed-off-by: Long Li --- Change in v4: On query device failure, goto deregister_device, not ib_free_device Change function name mana_ib_quer

[Patch v4 1/3] RDMA/mana_ib: register RDMA device with GDMA

2023-12-15 Thread longli
From: Long Li Software client needs to register with the RDMA management interface on the SoC to access more features, including querying device capabilities and RC queue pair. Signed-off-by: Long Li --- drivers/infiniband/hw/mana/device.c | 24 +++ drivers/infiniband

[Patch v4 0/3] Register with RDMA SOC interface and support for CQ

2023-12-15 Thread longli
From: Long Li This patchset add support for registering a RDMA device with SoC for support of querying device capabilities, upcoming RC queue pairs and CQ interrupts. This patchset is partially based on Ajay Sharma's work: https://lore.kernel.org/netdev/1697494322-26814-1-git-send-email-sharmaa.

[PATCH] net: mana: select PAGE_POOL

2023-12-15 Thread Yury Norov
Mana uses PAGE_POOL API. x86_64 defconfig doesn't select it: ld: vmlinux.o: in function `mana_create_page_pool.isra.0': mana_en.c:(.text+0x9ae36f): undefined reference to `page_pool_create' ld: vmlinux.o: in function `mana_get_rxfrag': mana_en.c:(.text+0x9afed1): undefined reference to `page_pool_

[PATCH net-next 19/24] net: fungible, gve, mtk, microchip, mana: Use nested-BH locking for XDP redirect.

2023-12-15 Thread Sebastian Andrzej Siewior
The per-CPU variables used during bpf_prog_run_xdp() invocation and later during xdp_do_redirect() rely on disabled BH for their protection. Without locking in local_bh_disable() on PREEMPT_RT these data structure require explicit locking. This is a follow-up on the previous change which introduce

Re: [PATCH] hv_netvsc: remove duplicated including of slab.h

2023-12-15 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Fri, 15 Dec 2023 18:06:59 +0800 you wrote: > rm the second include > > Signed-off-by: Wang Jinchao > --- > drivers/net/hyperv/rndis_filter.c | 1 - > 1 file changed, 1 deletion(-) Here is the summary with lin

Re: [PATCH for-next v2] net: mana: add msix index sharing between EQs

2023-12-15 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Wed, 13 Dec 2023 02:01:47 -0800 you wrote: > From: Konstantin Taranov > > This patch allows to assign and poll more than one EQ on the same > msix index. > It is achieved by introducing a list of attached EQs in

[PATCH] hv_netvsc: remove duplicated including of slab.h

2023-12-15 Thread Wang Jinchao
rm the second include Signed-off-by: Wang Jinchao --- drivers/net/hyperv/rndis_filter.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/hyperv/rndis_filter.c b/drivers/net/hyperv/rndis_filter.c index af95947a87c5..ecc2128ca9b7 100644 --- a/drivers/net/hyperv/rndis_filter.c +++ b