Home
last modified time | relevance | path

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

/Linux-v5.15/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];
181 static const char *xdp_action_names[XDP_ACTION_MAX] = {
205 if (action < XDP_ACTION_MAX) in action2str()
488 for (i = 0; i < XDP_ACTION_MAX; i++) { in alloc_stats_record()
531 for (i = 0; i < XDP_ACTION_MAX; i++) in alloc_stats_record()
559 for (i = 0; i < XDP_ACTION_MAX; i++) in free_stats_record()
910 for (rec_i = 0; rec_i < XDP_ACTION_MAX; rec_i++) { in stats_get_exception_cnt()
1211 sample_map_count[i] = XDP_ACTION_MAX * sample_n_cpus; in sample_setup_maps()
1411 for (i = 0; i < XDP_ACTION_MAX; i++) in sample_stats_collect()