Support packets in flight
[samplevnf.git] / VNFs / DPPD-PROX / defaults.h
index 8ce5953..6901771 100644 (file)
@@ -1,5 +1,5 @@
 /*
-// Copyright (c) 2010-2017 Intel Corporation
+// Copyright (c) 2010-2020 Intel Corporation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
@@ -31,6 +31,7 @@ void set_port_defaults(void);
 #define MAX_PKT_BURST   64
 #define MAX_RING_BURST 64
 #define DUMP_PKT_LEN   MAX_PKT_SIZE
+#define MAX_IMIX_PKTS 128
 
 #if MAX_RING_BURST < MAX_PKT_BURST
 #error MAX_RING_BURST < MAX_PKT_BURST
@@ -62,5 +63,6 @@ void set_port_defaults(void);
 #define TX_MBUF_SIZE (PROX_RTE_ETHER_MAX_LEN + (unsigned)sizeof(struct rte_mbuf) + RTE_PKTMBUF_HEADROOM +  2 * PROX_VLAN_TAG_SIZE)
 
 #define PROX_MTU   PROX_RTE_ETHER_MAX_LEN - PROX_RTE_ETHER_HDR_LEN - PROX_RTE_ETHER_CRC_LEN
+#define NO_VDEV_PORT   0xFF
 
 #endif /* _DEFAULTS_H_ */