gve: adminq: DQO specific device descriptor logic
authorBailey Forrest <bcf@google.com>
Thu, 24 Jun 2021 18:06:23 +0000 (11:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Jun 2021 19:47:37 +0000 (12:47 -0700)
commit5ca2265eefc0bdfc80d4cbe9f70a81c40c41ae60
tree566900e0c145c7fdd8f0589fef497b6855ca46ca
parenta5886ef4f4bfc305bfd9efdf6166621b5c602fca
gve: adminq: DQO specific device descriptor logic

- In addition to TX and RX queues, DQO has TX completion and RX buffer
  queues.
  - TX completions are received when the device has completed sending a
    packet on the wire.
  - RX buffers are posted on a separate queue form the RX completions.
- DQO descriptor rings are allowed to be smaller than PAGE_SIZE.

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.h
drivers/net/ethernet/google/gve/gve_adminq.c