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)
commitd30baacc04948bbfded609cf7fb298e5ae754fcd
tree216c1b8acb9f287b5ac3bf9860e93f4d3d4f6082
parenta10834a36c8ab59b1a76df48d526fd9ddc090fca
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