Home
last modified time | relevance | path

Searched refs:XDP_ACTION_MAX (Results 1 – 2 of 2) sorted by relevance

/samples/bpf/
Dxdp_rxq_info_user.c93 #define XDP_ACTION_MAX (XDP_TX + 1) macro
95 static const char *xdp_action_names[XDP_ACTION_MAX] = {
104 if (action < XDP_ACTION_MAX) in action2str()
115 for (i = 0; i < XDP_ACTION_MAX; i++) { in parse_xdp_action()
130 for (i = 0; i < XDP_ACTION_MAX; i++) in list_xdp_actions()
Dxdp_sample_user.c71 #define XDP_ACTION_MAX (XDP_UNKNOWN + 1) macro
107 struct record exception[XDP_ACTION_MAX];
184 static const char *xdp_action_names[XDP_ACTION_MAX] = {
208 if (action < XDP_ACTION_MAX) in action2str()
491 for (i = 0; i < XDP_ACTION_MAX; i++) { in alloc_stats_record()
534 for (i = 0; i < XDP_ACTION_MAX; i++) in alloc_stats_record()
562 for (i = 0; i < XDP_ACTION_MAX; i++) in free_stats_record()
913 for (rec_i = 0; rec_i < XDP_ACTION_MAX; rec_i++) { in stats_get_exception_cnt()
1214 sample_map_count[i] = XDP_ACTION_MAX * sample_n_cpus; in sample_setup_maps()
1414 for (i = 0; i < XDP_ACTION_MAX; i++) in sample_stats_collect()