Searched refs:toe (Results 1 – 2 of 2) sorted by relevance
/qemu/ebpf/ |
H A D | ebpf_rss.c | 238 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 D | rss.bpf.c | 385 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()
|