gve: Move some static functions to a common file
authorBailey Forrest <bcf@google.com>
Thu, 24 Jun 2021 18:06:18 +0000 (11:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Jun 2021 19:47:37 +0000 (12:47 -0700)
commitdbdaa6754051280d929514a1722b9d5bc7c65a61
treeef07db1d47236b96ad3dcbc7ff52469eae9ac376
parentc6a7ed77ee6334f3a85a0f3db74ca80101e25304
gve: Move some static functions to a common file

These functions will be shared by the GQI and DQO variants of the GVNIC
driver as of follow-up patches in this series.

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/Makefile
drivers/net/ethernet/google/gve/gve_rx.c
drivers/net/ethernet/google/gve/gve_tx.c
drivers/net/ethernet/google/gve/gve_utils.c [new file with mode: 0644]
drivers/net/ethernet/google/gve/gve_utils.h [new file with mode: 0644]