m3: numpackets to 2 or 20 depending on ten giga enable

This commit is contained in:
2020-07-29 15:10:54 +02:00
parent 74a7ca9b71
commit 89da671ae2
4 changed files with 22 additions and 12 deletions

View File

@@ -133,7 +133,8 @@ typedef struct udp_header_struct {
uint16_t udp_destport;
} udp_header;
#define UDP_IP_HEADER_LENGTH_BYTES (28)
#define PACKETS_PER_FRAME (2)
#define PACKETS_PER_FRAME_10G (2)
#define PACKETS_PER_FRAME_1G (20)
/** Signal Definitions */
#define SIGNAL_TBLoad_1 (0)