diff options
author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2025-05-30 13:33:20 +0900 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2025-07-14 05:25:34 -0400 |
commit | abef963a12e2bc266884b27677ff3cf94c09e512 (patch) | |
tree | 53262d6f0d6035e5dc25c4b39c7cdc77ca8cc985 /net | |
parent | 7b6e7e49905d0682f67ae4d02fc9edc4a2ec7df5 (diff) | |
download | qemu-abef963a12e2bc266884b27677ff3cf94c09e512.zip qemu-abef963a12e2bc266884b27677ff3cf94c09e512.tar.gz qemu-abef963a12e2bc266884b27677ff3cf94c09e512.tar.bz2 |
net/vhost-vdpa: Remove dummy SetSteeringEBPF
It is no longer used.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20250530-vdpa-v1-5-5af4109b1c19@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/vhost-vdpa.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c index 3452835..0f782ed 100644 --- a/net/vhost-vdpa.c +++ b/net/vhost-vdpa.c @@ -239,12 +239,6 @@ static void vhost_vdpa_cleanup(NetClientState *nc) g_free(s->vhost_vdpa.shared); } -/** Dummy SetSteeringEBPF to support RSS for vhost-vdpa backend */ -static bool vhost_vdpa_set_steering_ebpf(NetClientState *nc, int prog_fd) -{ - return true; -} - static bool vhost_vdpa_has_vnet_hdr(NetClientState *nc) { assert(nc->info->type == NET_CLIENT_DRIVER_VHOST_VDPA); @@ -458,7 +452,6 @@ static NetClientInfo net_vhost_vdpa_info = { .has_ufo = vhost_vdpa_has_ufo, .set_vnet_le = vhost_vdpa_set_vnet_le, .check_peer_type = vhost_vdpa_check_peer_type, - .set_steering_ebpf = vhost_vdpa_set_steering_ebpf, }; static int64_t vhost_vdpa_get_vring_group(int device_fd, unsigned vq_index, @@ -1314,7 +1307,6 @@ static NetClientInfo net_vhost_vdpa_cvq_info = { .get_vnet_hash_supported_types = vhost_vdpa_get_vnet_hash_supported_types, .has_ufo = vhost_vdpa_has_ufo, .check_peer_type = vhost_vdpa_check_peer_type, - .set_steering_ebpf = vhost_vdpa_set_steering_ebpf, }; /* |