diff options
author | Bailey Forrest <[email protected]> | 2021-06-24 11:06:24 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-06-24 12:47:37 -0700 |
commit | c4b87ac87635879ecf0d26807dc00df9bb7eb508 (patch) | |
tree | 0877f05da7446d744ec16edaa039ee41c97b94f2 /scripts/gdb/linux/lists.py | |
parent | 5ca2265eefc0bdfc80d4cbe9f70a81c40c41ae60 (diff) |
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 <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Reviewed-by: Catherine Sullivan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions