From c091deb9b5540e02d72488883228ef426fb737e7 Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Thu, 18 May 2017 17:15:41 +0100 Subject: [PATCH] Add NIC offload features Adds a set of new traits representing features that hardware networking interface controllers expose. A number of source documents were used to come up with these traits: https://www.kernel.org/doc/Documentation/networking/checksum-offloads.txt https://www.kernel.org/doc/Documentation/networking/netdev-features.txt Change-Id: Ic1cd7f4bffd1808967ca418ae77fc741770c57a4 --- os_traits/hw/nic/offload.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/os_traits/hw/nic/offload.py b/os_traits/hw/nic/offload.py index 6cd65ab..918fd3d 100644 --- a/os_traits/hw/nic/offload.py +++ b/os_traits/hw/nic/offload.py @@ -33,4 +33,7 @@ TRAITS = [ 'QINQ', # QinQ specification 'RDMA', # remote direct memory access 'RXHASH', # receive hashing + 'RX', # RX checksumming + 'TX', # RX checksumming + 'SG', # scatter-gather ]