linux/drivers/net/ethernet/google/gve
Bailey Forrest c4b87ac876 gve: Add support for DQO RX PTYPE map
Unlike GQI, DQO RX descriptors do not contain the L3 and L4 type of the
packet. L3 and L4 types are necessary in order to set the hash and csum
on RX SKBs correctly.

DQO RX descriptors instead contain a 10 bit PTYPE index. The PTYPE map
enables the device to tell the driver how to map from PTYPE index to
L3/L4 type.

The device doesn't provide any guarantees about the range of possible
PTYPEs, so we just use a 1024 entry array to implement a fast mapping
structure.

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>
2021-06-24 12:47:37 -07:00
..
gve_adminq.c gve: Add support for DQO RX PTYPE map 2021-06-24 12:47:37 -07:00
gve_adminq.h gve: Add support for DQO RX PTYPE map 2021-06-24 12:47:37 -07:00
gve_desc.h gve: Add support for raw addressing in the tx path 2020-12-08 16:06:28 -08:00
gve_ethtool.c net: gve: remove duplicated allowed 2021-03-25 17:07:58 -07:00
gve_main.c gve: Add support for DQO RX PTYPE map 2021-06-24 12:47:37 -07:00
gve_register.h gve: Add Gvnic stats AQ command and ethtool show/set-priv-flags. 2020-09-11 14:31:54 -07:00
gve_rx.c gve: Introduce per netdev enum gve_queue_format 2021-06-24 12:47:37 -07:00
gve_tx.c gve: Introduce per netdev enum gve_queue_format 2021-06-24 12:47:37 -07:00
gve_utils.c gve: Make gve_rx_slot_page_info.page_offset an absolute offset 2021-06-24 12:47:37 -07:00
gve_utils.h gve: gve_rx_copy: Move padding to an argument 2021-06-24 12:47:37 -07:00
gve.h gve: Add support for DQO RX PTYPE map 2021-06-24 12:47:37 -07:00
Makefile gve: Move some static functions to a common file 2021-06-24 12:47:37 -07:00