Home
last modified time | relevance | path

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

/linux-6.1.9/samples/bpf/
Dxdp_rxq_info_user.c101 #define XDP_ACTION_MAX (XDP_TX + 1) macro
103 static const char *xdp_action_names[XDP_ACTION_MAX] = {
112 if (action < XDP_ACTION_MAX) in action2str()
123 for (i = 0; i < XDP_ACTION_MAX; i++) { in parse_xdp_action()
138 for (i = 0; i < XDP_ACTION_MAX; i++) in list_xdp_actions()
Dxdp_sample_user.c70 #define XDP_ACTION_MAX (XDP_UNKNOWN + 1) macro
106 struct record exception[XDP_ACTION_MAX];
183 static const char *xdp_action_names[XDP_ACTION_MAX] = {
207 if (action < XDP_ACTION_MAX) in action2str()
490 for (i = 0; i < XDP_ACTION_MAX; i++) { in alloc_stats_record()
533 for (i = 0; i < XDP_ACTION_MAX; i++) in alloc_stats_record()
561 for (i = 0; i < XDP_ACTION_MAX; i++) in free_stats_record()
912 for (rec_i = 0; rec_i < XDP_ACTION_MAX; rec_i++) { in stats_get_exception_cnt()
1213 sample_map_count[i] = XDP_ACTION_MAX * sample_n_cpus; in sample_setup_maps()
1412 for (i = 0; i < XDP_ACTION_MAX; i++) in sample_stats_collect()