]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: mana: add msix index sharing between EQs
authorKonstantin Taranov <kotaranov@microsoft.com>
Wed, 13 Dec 2023 10:01:47 +0000 (02:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2023 10:24:53 +0000 (10:24 +0000)
commit02fed6d92badf08e2ac2cd1755d14c45c8f3d0ca
tree7e5c4965db0528ada96d453dea0fba968045486f
parent10b7572d17871b027de1d17152f08a2dc9c3aef6
net: mana: add msix index sharing between EQs

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 each IRQ context.
It also removes the existing msix_index map that tried to ensure that there
is only one EQ at each msix_index.
This patch exports symbols for creating EQs from other MANA kernel modules.

Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microsoft/mana/gdma_main.c
drivers/net/ethernet/microsoft/mana/hw_channel.c
drivers/net/ethernet/microsoft/mana/mana_en.c
include/net/mana/gdma.h