OSDN Git Service

gve: Add RX context.
authorDavid Awogbemila <awogbemila@google.com>
Sun, 24 Oct 2021 18:42:36 +0000 (11:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2021 13:13:12 +0000 (14:13 +0100)
commit1344e751e91092ac0cb63b194621e59d2f364197
tree64ebb47706b97a0f8a28082f020d1de7f605dda2
parent233cdfbac8bc9bc5d0cddd7d68a3ddb13c619821
gve: Add RX context.

This refactor moves the skb_head and skb_tail fields into a new
gve_rx_ctx struct. This new struct will contain information about the
current packet being processed. This is in preparation for
multi-descriptor RX packets.

Signed-off-by: David Awogbemila <awogbemila@google.com>
Signed-off-by: Jeroen de Borst <jeroendb@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_rx_dqo.c