Home
last modified time | relevance | path

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

/openbmc/qemu/hw/net/
H A Dvirtio-net.c650 n->rss_data.populate_hash = !!hash_report; in virtio_net_set_mrg_rx_bufs()
655 n->rss_data.populate_hash = false; in virtio_net_set_mrg_rx_bufs()
977 n->rss_data.redirect = virtio_has_feature(features, VIRTIO_NET_F_RSS); in virtio_net_set_features()
1266 rss_data_to_rss_config(&n->rss_data, &config); in virtio_net_attach_ebpf_rss()
1269 n->rss_data.indirections_table, n->rss_data.key, in virtio_net_attach_ebpf_rss()
1288 if (n->rss_data.enabled) { in virtio_net_commit_rss_config()
1289 n->rss_data.enabled_software_rss = n->rss_data.populate_hash; in virtio_net_commit_rss_config()
1290 if (n->rss_data.populate_hash) { in virtio_net_commit_rss_config()
1297 n->rss_data.enabled_software_rss = true; in virtio_net_commit_rss_config()
1302 n->rss_data.hash_types, in virtio_net_commit_rss_config()
[all …]
/openbmc/qemu/net/
H A Dvhost-vdpa.c859 if (!n->rss_data.enabled || in vhost_vdpa_net_load_rss()
860 n->rss_data.hash_types == VIRTIO_NET_HASH_REPORT_NONE) { in vhost_vdpa_net_load_rss()
864 table = g_malloc_n(n->rss_data.indirections_len, in vhost_vdpa_net_load_rss()
865 sizeof(n->rss_data.indirections_table[0])); in vhost_vdpa_net_load_rss()
866 cfg.hash_types = cpu_to_le32(n->rss_data.hash_types); in vhost_vdpa_net_load_rss()
873 cfg.indirection_table_mask = cpu_to_le16(n->rss_data.indirections_len - in vhost_vdpa_net_load_rss()
875 cfg.unclassified_queue = cpu_to_le16(n->rss_data.default_queue); in vhost_vdpa_net_load_rss()
876 for (int i = 0; i < n->rss_data.indirections_len; ++i) { in vhost_vdpa_net_load_rss()
877 table[i] = cpu_to_le16(n->rss_data.indirections_table[i]); in vhost_vdpa_net_load_rss()
904 cfg.hash_key_length = sizeof(n->rss_data.key); in vhost_vdpa_net_load_rss()
[all …]
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-net.h225 VirtioNetRssData rss_data; member