Home
last modified time | relevance | path

Searched refs:lb_stats (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/team/
Dteam_mode_loadbalance.c39 struct lb_stats { struct
44 struct lb_stats hash_stats[LB_TX_HASHTABLE_SIZE]; argument
49 struct lb_stats stats;
50 struct lb_stats last_stats;
83 struct lb_stats __percpu *pcpu_stats;
210 struct lb_stats *port_stats; in lb_update_tx_stats()
211 struct lb_stats *hash_stats; in lb_update_tx_stats()
420 ctx->data.bin_val.len = sizeof(struct lb_stats); in lb_hash_stats_get()
440 ctx->data.bin_val.len = sizeof(struct lb_stats); in lb_port_stats_get()
446 memcpy(&s_info->last_stats, &s_info->stats, sizeof(struct lb_stats)); in __lb_stats_info_refresh_prepare()
[all …]
/kernel/linux/linux-5.10/drivers/net/
Dloopback.c102 const struct pcpu_lstats *lb_stats; in dev_lstats_read() local
106 lb_stats = per_cpu_ptr(dev->lstats, i); in dev_lstats_read()
108 start = u64_stats_fetch_begin_irq(&lb_stats->syncp); in dev_lstats_read()
109 tpackets = u64_stats_read(&lb_stats->packets); in dev_lstats_read()
110 tbytes = u64_stats_read(&lb_stats->bytes); in dev_lstats_read()
111 } while (u64_stats_fetch_retry_irq(&lb_stats->syncp, start)); in dev_lstats_read()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_xdp_noinline.c162 struct lb_stats { struct
200 __type(value, struct lb_stats);
578 struct lb_stats *conn_rate_stats = in get_packet_dst()
698 struct lb_stats *data_stats; in process_packet()
760 struct lb_stats *lru_stats = in process_packet()