summary refs log tree commit diff stats
path: root/hw/net/net_tx_pkt.h
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-05-23 11:43:28 +0900
committerJason Wang <jasowang@redhat.com>2023-05-23 15:20:15 +0800
commitf199b13bc113c46eaddcf9f375d13f1e400b4e35 (patch)
treef14f3367c05576ce18ed00d6e3cc9e2cbbd3f51a /hw/net/net_tx_pkt.h
parent907209e3111dd62a553a19319b422ff8aba5b9c0 (diff)
downloadfocaccia-qemu-f199b13bc113c46eaddcf9f375d13f1e400b4e35.tar.gz
focaccia-qemu-f199b13bc113c46eaddcf9f375d13f1e400b4e35.zip
igb: Implement Tx 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 'hw/net/net_tx_pkt.h')
-rw-r--r--hw/net/net_tx_pkt.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/hw/net/net_tx_pkt.h b/hw/net/net_tx_pkt.h
index 4d7233e975..0a716e74a5 100644
--- a/hw/net/net_tx_pkt.h
+++ b/hw/net/net_tx_pkt.h
@@ -117,6 +117,14 @@ void net_tx_pkt_update_ip_checksums(struct NetTxPkt *pkt);
 void net_tx_pkt_update_ip_hdr_checksum(struct NetTxPkt *pkt);
 
 /**
+ * Calculate the SCTP checksum.
+ *
+ * @pkt:            packet
+ *
+ */
+bool net_tx_pkt_update_sctp_checksum(struct NetTxPkt *pkt);
+
+/**
  * get length of all populated data.
  *
  * @pkt:            packet