]> git.baikalelectronics.ru Git - kernel.git/commit
gve: Move the irq db indexes out of the ntfy block struct
authorCatherine Sullivan <csully@google.com>
Thu, 16 Dec 2021 00:46:46 +0000 (16:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Dec 2021 10:41:53 +0000 (10:41 +0000)
commit760bef25b48b931b592ee459b0a9d562aa63741e
tree216c1b8acb9f287b5ac3bf9860e93f4d3d4f6082
parenta67d0b725ff52a3dc9c3d509d2659b9cfe420a8a
gve: Move the irq db indexes out of the ntfy block struct

Giving the device access to other kernel structs is not ideal.
Move the indexes into their own array and just keep pointers to
them in the ntfy block struct.

Signed-off-by: Catherine Sullivan <csully@google.com>
Signed-off-by: David Awogbemila <awogbemila@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/google/gve/gve.h
drivers/net/ethernet/google/gve/gve_adminq.c
drivers/net/ethernet/google/gve/gve_dqo.h
drivers/net/ethernet/google/gve/gve_main.c