]> 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)
commit1331c90d477db4bb17d1a11e459d3e1e2ed8c3dd
tree216c1b8acb9f287b5ac3bf9860e93f4d3d4f6082
parentd84c42c397a81c960f71040983c576aa9257245d
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