]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_mbuf/rte_mbuf.h
vhost: support UDP Fragmentation Offload
[dpdk.git] / lib / librte_mbuf / rte_mbuf.h
index e4e3917f649e0e02f00002c87f7f9cc7beb91201..6cba632b97fa9af80339a1d1388acf3a50b2548c 100644 (file)
@@ -208,6 +208,13 @@ extern "C" {
 
 /* add new TX flags here */
 
+/**
+ * UDP Fragmentation Offload flag. This flag is used for enabling UDP
+ * fragmentation in SW or in HW. When use UFO, mbuf->tso_segsz is used
+ * to store the MSS of UDP fragments.
+ */
+#define PKT_TX_UDP_SEG (1ULL << 42)
+
 /**
  * Request security offload processing on the TX packet.
  */