Home
last modified time | relevance | path

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

/qemu/ebpf/
H A Debpf_rss.c238 uint8_t toe[VIRTIO_NET_RSS_MAX_KEY_SIZE] = {}; in ebpf_rss_set_toepliz_key() local
240 memcpy(toe, toeplitz_key, VIRTIO_NET_RSS_MAX_KEY_SIZE); in ebpf_rss_set_toepliz_key()
241 *(uint32_t *)toe = ntohl(*(uint32_t *)toe); in ebpf_rss_set_toepliz_key()
243 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.c385 struct toeplitz_key_data_t *toe, in calculate_rss_hash() argument
532 net_toeplitz_add(result, rss_input, bytes_written, toe); in calculate_rss_hash()
542 struct toeplitz_key_data_t *toe; in tun_rss_steering_prog() local
548 toe = bpf_map_lookup_elem(&tap_rss_map_toeplitz_key, &key); in tun_rss_steering_prog()
550 if (!config || !toe) { in tun_rss_steering_prog()
554 if (config->redirect && calculate_rss_hash(skb, config, toe, &hash)) { in tun_rss_steering_prog()