Home
last modified time | relevance | path

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

/qemu/ebpf/
H A Debpf_rss.c207 uint8_t toe[VIRTIO_NET_RSS_MAX_KEY_SIZE] = {}; in ebpf_rss_set_toepliz_key() local
212 memcpy(toe, toeplitz_key, VIRTIO_NET_RSS_MAX_KEY_SIZE); in ebpf_rss_set_toepliz_key()
213 *(uint32_t *)toe = ntohl(*(uint32_t *)toe); in ebpf_rss_set_toepliz_key()
215 memcpy(ctx->mmap_toeplitz_key, toe, VIRTIO_NET_RSS_MAX_KEY_SIZE); in ebpf_rss_set_toepliz_key()
/qemu/tools/ebpf/
H A Drss.bpf.c384 struct rss_config_t *config, struct toeplitz_key_data_t *toe) in calculate_rss_hash() argument
528 net_toeplitz_add(&result, rss_input, bytes_written, toe); in calculate_rss_hash()
539 struct toeplitz_key_data_t *toe; in tun_rss_steering_prog() local
545 toe = bpf_map_lookup_elem(&tap_rss_map_toeplitz_key, &key); in tun_rss_steering_prog()
547 if (config && toe) { in tun_rss_steering_prog()
552 hash = calculate_rss_hash(skb, config, toe); in tun_rss_steering_prog()