gve: DQO: Configure interrupts on device up
authorBailey Forrest <bcf@google.com>
Thu, 24 Jun 2021 18:06:30 +0000 (11:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Jun 2021 19:47:38 +0000 (12:47 -0700)
commit0dcc144a7994007e50afe4806e0e4ef860f58013
tree596135f90d3b7d87cb3ebb42972d21f56efb20e0
parent9c1a59a2f4bcf9926ac5814ae0ce53e449ee0b95
gve: DQO: Configure interrupts on device up

When interrupts are first enabled, we also set the ratelimits, which
will be static for the entire usage of the device.

Signed-off-by: Bailey Forrest <bcf@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Catherine Sullivan <csully@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/google/gve/gve_dqo.h
drivers/net/ethernet/google/gve/gve_main.c