m3: numpackets to 2 or 20 depending on ten giga enable (#123)

This commit is contained in:
Dhanya Thattil
2020-07-30 15:02:33 +02:00
committed by GitHub
parent 6f5635a402
commit 7492f7dbfa
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)