File: graph_priv.h

package info (click to toggle)
dpdk 25.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 127,892 kB
  • sloc: ansic: 2,358,479; python: 16,426; sh: 4,474; makefile: 1,713; awk: 70
file content (35 lines) | stat: -rw-r--r-- 560 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright(c) 2023 Marvell.
 */

#ifndef APP_GRAPH_PRIV_H
#define APP_GRAPH_PRIV_H

#define MAX_GRAPH_USECASES 32

enum graph_model {
	GRAPH_MODEL_RTC = 0x01,
	GRAPH_MODEL_MCD = 0x02,
};

struct usecases {
	char name[32];
	bool enabled;
};

struct usecase_params {
	uint64_t coremask;
	uint32_t bsz;
	uint32_t tmo;
};

struct graph_config {
	struct usecases usecases[MAX_GRAPH_USECASES];
	struct usecase_params params;
	enum graph_model model;
	uint64_t num_pcap_pkts;
	char *pcap_file;
	uint8_t pcap_ena;
};

#endif