diff options
author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2023-05-23 11:43:27 +0900 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2023-05-23 15:20:15 +0800 |
commit | 907209e3111dd62a553a19319b422ff8aba5b9c0 (patch) | |
tree | 2ad72298ff2422d15b7ab46eddd324998e8f6ad0 /include/net | |
parent | abc9a29d6bccb2886f86f6242fc228b7eaf5cd87 (diff) | |
download | qemu-907209e3111dd62a553a19319b422ff8aba5b9c0.zip qemu-907209e3111dd62a553a19319b422ff8aba5b9c0.tar.gz qemu-907209e3111dd62a553a19319b422ff8aba5b9c0.tar.bz2 |
igb: Implement Rx SCTP CSO
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/eth.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/net/eth.h b/include/net/eth.h index 048e434..75e7f15 100644 --- a/include/net/eth.h +++ b/include/net/eth.h @@ -224,6 +224,7 @@ struct tcp_hdr { #define IP_HEADER_VERSION_6 (6) #define IP_PROTO_TCP (6) #define IP_PROTO_UDP (17) +#define IP_PROTO_SCTP (132) #define IPTOS_ECN_MASK 0x03 #define IPTOS_ECN(x) ((x) & IPTOS_ECN_MASK) #define IPTOS_ECN_CE 0x03 @@ -379,7 +380,8 @@ typedef struct eth_ip4_hdr_info_st { typedef enum EthL4HdrProto { ETH_L4_HDR_PROTO_INVALID, ETH_L4_HDR_PROTO_TCP, - ETH_L4_HDR_PROTO_UDP + ETH_L4_HDR_PROTO_UDP, + ETH_L4_HDR_PROTO_SCTP } EthL4HdrProto; typedef struct eth_l4_hdr_info_st { |