]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb4c69d87c05b5528070335804db45512a13faab5
tree64ebb47706b97a0f8a28082f020d1de7f605dda2
parent54fe2985f800a10479ab53f5e02e1ace25c74432
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