Searched refs:rss_data (Results 1 – 3 of 3) sorted by relevance
651 n->rss_data.populate_hash = !!hash_report; in virtio_net_set_mrg_rx_bufs()656 n->rss_data.populate_hash = false; in virtio_net_set_mrg_rx_bufs()978 n->rss_data.redirect = virtio_has_feature(features, VIRTIO_NET_F_RSS); in virtio_net_set_features()1267 rss_data_to_rss_config(&n->rss_data, &config); in virtio_net_attach_ebpf_rss()1270 n->rss_data.indirections_table, n->rss_data.key, in virtio_net_attach_ebpf_rss()1289 if (n->rss_data.enabled) { in virtio_net_commit_rss_config()1290 n->rss_data.enabled_software_rss = n->rss_data.populate_hash; in virtio_net_commit_rss_config()1291 if (n->rss_data.populate_hash) { in virtio_net_commit_rss_config()1298 n->rss_data.enabled_software_rss = true; in virtio_net_commit_rss_config()1303 n->rss_data.hash_types, in virtio_net_commit_rss_config()[all …]
840 if (!n->rss_data.enabled || in vhost_vdpa_net_load_rss()841 n->rss_data.hash_types == VIRTIO_NET_HASH_REPORT_NONE) { in vhost_vdpa_net_load_rss()845 table = g_malloc_n(n->rss_data.indirections_len, in vhost_vdpa_net_load_rss()846 sizeof(n->rss_data.indirections_table[0])); in vhost_vdpa_net_load_rss()847 cfg.hash_types = cpu_to_le32(n->rss_data.hash_types); in vhost_vdpa_net_load_rss()854 cfg.indirection_table_mask = cpu_to_le16(n->rss_data.indirections_len - in vhost_vdpa_net_load_rss()856 cfg.unclassified_queue = cpu_to_le16(n->rss_data.default_queue); in vhost_vdpa_net_load_rss()857 for (int i = 0; i < n->rss_data.indirections_len; ++i) { in vhost_vdpa_net_load_rss()858 table[i] = cpu_to_le16(n->rss_data.indirections_table[i]); in vhost_vdpa_net_load_rss()885 cfg.hash_key_length = sizeof(n->rss_data.key); in vhost_vdpa_net_load_rss()[all …]
225 VirtioNetRssData rss_data; member