From nobody Sat May 18 19:55:13 2024 Delivered-To: importer2@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1626190965471382.06457393755; Tue, 13 Jul 2021 08:42:45 -0700 (PDT) Received: from localhost ([::1]:58828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3KYW-0001Vw-Aw for importer2@patchew.org; Tue, 13 Jul 2021 11:42:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3KU8-0001z8-81 for qemu-devel@nongnu.org; Tue, 13 Jul 2021 11:38:12 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:45000) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3KU2-0003Lk-20 for qemu-devel@nongnu.org; Tue, 13 Jul 2021 11:38:11 -0400 Received: by mail-lf1-x130.google.com with SMTP id u13so11794223lfs.11 for ; Tue, 13 Jul 2021 08:38:05 -0700 (PDT) Received: from navi.cosmonova.net.ua ([95.67.24.131]) by smtp.gmail.com with ESMTPSA id i5sm131447lfv.246.2021.07.13.08.38.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jul 2021 08:38:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sW2/PYpCToaOj9Gpa8mCCR6YSp5ciencnjJW9oV4xM0=; b=X5C6MrJI8U9+vLeGGq18s2VL6coFuvEsCayVuz6Nr7pDNesYGOzsWHvIndmqhYP7EC INErZymM4neGtr1hkjwmTue1Dyi/MfU6/FFYqk5tjpyxeBDw3r/GuAxvFTrqRxdr5uzY RA35B6j5os89mVrI1q6UztSsDvVKV/t/mFKhUhK0XIKaEgX2F9Me4qKIGU2pJcQEhnRz O5uHD5LqFYRbQdtRz1ObzSShUl3DaqnkVVkO+cyPOMlC8DVEuxglHq2si5vXtMcyDg7N Hq695pAkheD1KbZiA/7dNH4HQWX1z3wkb1Rsqw8EYue8Ictu2W8Am+kpru1Z9S7+UzK4 ykJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sW2/PYpCToaOj9Gpa8mCCR6YSp5ciencnjJW9oV4xM0=; b=TmcOE1z31mPOO2k5E1SAz2sNZVRddlWwtCDvhExaPim9mjLOGfNlkPYJ88H77n8gC6 iL8ZPVTAq9ZOi40HQXLmaI+gNu2WcAZOvFo5jlndz6H4CpWYsPUe7OFbSUo+7Cj7lzPl DhGNSD+/b0U8iimv7nSvBP7KtBsNsizjbw9lXMdHSFt5YEib6NC76aZeqSCx4I4wOXZZ 4uA2VTx2msmw8vfZyMDintKlNTbazO/n+yBVZi5Z7xyPCNdHkTC02qmZOQ8hGX7JHkTm iWFnLM4GHhFGrWzcBPeNledPACWXfbrUewEhL9JHMFzRsloAEQBivhvtR95PVSNxqgIt rU+g== X-Gm-Message-State: AOAM530vi8LW5ad137mUSuEvTWR8RvG6J351yq/V7flgLgYszNtEotiH pfFvL2/wrGec7tZ64JpAZtPpcuyzzueSO7P6 X-Google-Smtp-Source: ABdhPJxk/Qm3Tn7DkQV/AbzW7xWeUYfHSxrs32lL++zd+cxhtY7JNSAkZf3iWN6qgLb8qEV8fOSHjw== X-Received: by 2002:a05:6512:20a:: with SMTP id a10mr1905132lfo.205.1626190683824; Tue, 13 Jul 2021 08:38:03 -0700 (PDT) From: Andrew Melnychenko To: mst@redhat.com, yuri.benditovich@daynix.com, jasowang@redhat.com, armbru@redhat.com, eblake@redhat.com, berrange@redhat.com Subject: [PATCH 1/5] ebpf: Added eBPF initialization by fds and map update. Date: Tue, 13 Jul 2021 18:37:54 +0300 Message-Id: <20210713153758.323614-2-andrew@daynix.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210713153758.323614-1-andrew@daynix.com> References: <20210713153758.323614-1-andrew@daynix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=2a00:1450:4864:20::130; envelope-from=andrew@daynix.com; helo=mail-lf1-x130.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yan@daynix.com, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1626190966078100001 Content-Type: text/plain; charset="utf-8" RSS maps are combined into one array map. Changed eBPF map updates through mmaped array. eBPF RSS context may be initialized by program fd and map fd. virtio-net may provide fds passed by libvirt. Signed-off-by: Andrew Melnychenko --- ebpf/ebpf_rss-stub.c | 6 + ebpf/ebpf_rss.c | 120 +++++---- ebpf/ebpf_rss.h | 8 +- ebpf/rss.bpf.skeleton.h | 557 +++++++++++++++++++--------------------- tools/ebpf/rss.bpf.c | 67 ++--- 5 files changed, 365 insertions(+), 393 deletions(-) diff --git a/ebpf/ebpf_rss-stub.c b/ebpf/ebpf_rss-stub.c index e71e229190..8d7fae2ad9 100644 --- a/ebpf/ebpf_rss-stub.c +++ b/ebpf/ebpf_rss-stub.c @@ -28,6 +28,12 @@ bool ebpf_rss_load(struct EBPFRSSContext *ctx) return false; } =20 +bool ebpf_rss_load_fds(struct EBPFRSSContext *ctx, int program_fd, + int config_fd, int toeplitz_fd, int table_fd) +{ + return false; +} + bool ebpf_rss_set_all(struct EBPFRSSContext *ctx, struct EBPFRSSConfig *co= nfig, uint16_t *indirections_table, uint8_t *toeplitz_key) { diff --git a/ebpf/ebpf_rss.c b/ebpf/ebpf_rss.c index 118c68da83..bfed0b446e 100644 --- a/ebpf/ebpf_rss.c +++ b/ebpf/ebpf_rss.c @@ -27,19 +27,21 @@ void ebpf_rss_init(struct EBPFRSSContext *ctx) { if (ctx !=3D NULL) { ctx->obj =3D NULL; + ctx->program_fd =3D -1; + ctx->mmap_configuration =3D NULL; } } =20 bool ebpf_rss_is_loaded(struct EBPFRSSContext *ctx) { - return ctx !=3D NULL && ctx->obj !=3D NULL; + return ctx !=3D NULL && (ctx->obj !=3D NULL || ctx->program_fd !=3D -1= ); } =20 bool ebpf_rss_load(struct EBPFRSSContext *ctx) { struct rss_bpf *rss_bpf_ctx; =20 - if (ctx =3D=3D NULL) { + if (ctx =3D=3D NULL || ebpf_rss_is_loaded(ctx)) { return false; } =20 @@ -61,72 +63,43 @@ bool ebpf_rss_load(struct EBPFRSSContext *ctx) rss_bpf_ctx->progs.tun_rss_steering_prog); ctx->map_configuration =3D bpf_map__fd( rss_bpf_ctx->maps.tap_rss_map_configurations); - ctx->map_indirections_table =3D bpf_map__fd( - rss_bpf_ctx->maps.tap_rss_map_indirection_table); - ctx->map_toeplitz_key =3D bpf_map__fd( - rss_bpf_ctx->maps.tap_rss_map_toeplitz_key); + + ctx->mmap_configuration =3D mmap(NULL, qemu_real_host_page_size, + PROT_READ | PROT_WRITE, MAP_SHARED, + ctx->map_configuration, 0); + if (ctx->mmap_configuration =3D=3D MAP_FAILED) { + trace_ebpf_error("eBPF RSS", "can not mmap eBPF configuration arra= y"); + goto error; + } =20 return true; error: rss_bpf__destroy(rss_bpf_ctx); ctx->obj =3D NULL; + ctx->program_fd =3D -1; + ctx->mmap_configuration =3D NULL; =20 return false; } =20 -static bool ebpf_rss_set_config(struct EBPFRSSContext *ctx, - struct EBPFRSSConfig *config) +bool ebpf_rss_load_fds(struct EBPFRSSContext *ctx, int program_fd, + int config_fd, int toeplitz_fd, int table_fd) { - uint32_t map_key =3D 0; - - if (!ebpf_rss_is_loaded(ctx)) { + if (ctx =3D=3D NULL || ebpf_rss_is_loaded(ctx)) { return false; } - if (bpf_map_update_elem(ctx->map_configuration, - &map_key, config, 0) < 0) { - return false; - } - return true; -} =20 -static bool ebpf_rss_set_indirections_table(struct EBPFRSSContext *ctx, - uint16_t *indirections_table, - size_t len) -{ - uint32_t i =3D 0; + ctx->program_fd =3D program_fd; + ctx->map_configuration =3D config_fd; =20 - if (!ebpf_rss_is_loaded(ctx) || indirections_table =3D=3D NULL || - len > VIRTIO_NET_RSS_MAX_TABLE_LEN) { + ctx->mmap_configuration =3D mmap(NULL, qemu_real_host_page_size, + PROT_READ | PROT_WRITE, MAP_SHARED, + ctx->map_configuration, 0); + if (ctx->mmap_configuration =3D=3D MAP_FAILED) { + trace_ebpf_error("eBPF RSS", "can not mmap eBPF configuration arra= y"); return false; } =20 - for (; i < len; ++i) { - if (bpf_map_update_elem(ctx->map_indirections_table, &i, - indirections_table + i, 0) < 0) { - return false; - } - } - return true; -} - -static bool ebpf_rss_set_toepliz_key(struct EBPFRSSContext *ctx, - uint8_t *toeplitz_key) -{ - uint32_t map_key =3D 0; - - /* prepare toeplitz key */ - uint8_t toe[VIRTIO_NET_RSS_MAX_KEY_SIZE] =3D {}; - - if (!ebpf_rss_is_loaded(ctx) || toeplitz_key =3D=3D NULL) { - return false; - } - memcpy(toe, toeplitz_key, VIRTIO_NET_RSS_MAX_KEY_SIZE); - *(uint32_t *)toe =3D ntohl(*(uint32_t *)toe); - - if (bpf_map_update_elem(ctx->map_toeplitz_key, &map_key, toe, - 0) < 0) { - return false; - } return true; } =20 @@ -134,21 +107,32 @@ bool ebpf_rss_set_all(struct EBPFRSSContext *ctx, str= uct EBPFRSSConfig *config, uint16_t *indirections_table, uint8_t *toeplitz_key) { if (!ebpf_rss_is_loaded(ctx) || config =3D=3D NULL || - indirections_table =3D=3D NULL || toeplitz_key =3D=3D NULL) { + indirections_table =3D=3D NULL || toeplitz_key =3D=3D NULL || + config->indirections_len > VIRTIO_NET_RSS_MAX_TABLE_LEN) { return false; } =20 - if (!ebpf_rss_set_config(ctx, config)) { - return false; - } + struct { + struct EBPFRSSConfig config; + uint8_t toeplitz_key[VIRTIO_NET_RSS_MAX_KEY_SIZE]; + uint16_t indirections_table[VIRTIO_NET_RSS_MAX_TABLE_LEN]; + } __attribute__((packed)) ebpf_config; =20 - if (!ebpf_rss_set_indirections_table(ctx, indirections_table, - config->indirections_len)) { - return false; - } + /* Setting up configurations */ + memcpy(&ebpf_config.config, config, sizeof(*config)); =20 - if (!ebpf_rss_set_toepliz_key(ctx, toeplitz_key)) { - return false; + /* Setting up toeplitz key data */ + memcpy(&ebpf_config.toeplitz_key, toeplitz_key, + VIRTIO_NET_RSS_MAX_KEY_SIZE); + *(uint32_t *)ebpf_config.toeplitz_key =3D + ntohl(*(uint32_t *)ebpf_config.toeplitz_key); + + /* Setting up indirections table */ + memcpy(&ebpf_config.indirections_table, indirections_table, + config->indirections_len * sizeof(*indirections_table)); + + if (ctx->mmap_configuration !=3D NULL) { + memcpy(ctx->mmap_configuration, &ebpf_config, sizeof(ebpf_config)); } =20 return true; @@ -160,6 +144,18 @@ void ebpf_rss_unload(struct EBPFRSSContext *ctx) return; } =20 - rss_bpf__destroy(ctx->obj); + if (ctx->mmap_configuration) { + munmap(ctx->mmap_configuration, qemu_real_host_page_size); + } + + if (ctx->obj !=3D NULL) { + rss_bpf__destroy(ctx->obj); + } else { + close(ctx->program_fd); + close(ctx->map_configuration); + } + ctx->obj =3D NULL; + ctx->program_fd =3D -1; + ctx->mmap_configuration =3D NULL; } diff --git a/ebpf/ebpf_rss.h b/ebpf/ebpf_rss.h index bf3f2572c7..40b1c35d5f 100644 --- a/ebpf/ebpf_rss.h +++ b/ebpf/ebpf_rss.h @@ -14,12 +14,13 @@ #ifndef QEMU_EBPF_RSS_H #define QEMU_EBPF_RSS_H =20 +#define EBPF_RSS_MAX_FDS 2 + struct EBPFRSSContext { void *obj; int program_fd; int map_configuration; - int map_toeplitz_key; - int map_indirections_table; + void *mmap_configuration; }; =20 struct EBPFRSSConfig { @@ -36,6 +37,9 @@ bool ebpf_rss_is_loaded(struct EBPFRSSContext *ctx); =20 bool ebpf_rss_load(struct EBPFRSSContext *ctx); =20 +bool ebpf_rss_load_fds(struct EBPFRSSContext *ctx, int program_fd, + int config_fd, int toeplitz_fd, int table_fd); + bool ebpf_rss_set_all(struct EBPFRSSContext *ctx, struct EBPFRSSConfig *co= nfig, uint16_t *indirections_table, uint8_t *toeplitz_key); =20 diff --git a/ebpf/rss.bpf.skeleton.h b/ebpf/rss.bpf.skeleton.h index 126683eb87..52fb49daa8 100644 --- a/ebpf/rss.bpf.skeleton.h +++ b/ebpf/rss.bpf.skeleton.h @@ -12,8 +12,6 @@ struct rss_bpf { struct bpf_object *obj; struct { struct bpf_map *tap_rss_map_configurations; - struct bpf_map *tap_rss_map_indirection_table; - struct bpf_map *tap_rss_map_toeplitz_key; } maps; struct { struct bpf_program *tun_rss_steering_prog; @@ -109,7 +107,7 @@ rss_bpf__create_skeleton(struct rss_bpf *obj) s->obj =3D &obj->obj; =20 /* maps */ - s->map_cnt =3D 3; + s->map_cnt =3D 1; s->map_skel_sz =3D sizeof(*s->maps); s->maps =3D (struct bpf_map_skeleton *)calloc(s->map_cnt, s->map_skel_sz); if (!s->maps) @@ -118,12 +116,6 @@ rss_bpf__create_skeleton(struct rss_bpf *obj) s->maps[0].name =3D "tap_rss_map_configurations"; s->maps[0].map =3D &obj->maps.tap_rss_map_configurations; =20 - s->maps[1].name =3D "tap_rss_map_indirection_table"; - s->maps[1].map =3D &obj->maps.tap_rss_map_indirection_table; - - s->maps[2].name =3D "tap_rss_map_toeplitz_key"; - s->maps[2].map =3D &obj->maps.tap_rss_map_toeplitz_key; - /* programs */ s->prog_cnt =3D 1; s->prog_skel_sz =3D sizeof(*s->progs); @@ -135,292 +127,281 @@ rss_bpf__create_skeleton(struct rss_bpf *obj) s->progs[0].prog =3D &obj->progs.tun_rss_steering_prog; s->progs[0].link =3D &obj->links.tun_rss_steering_prog; =20 - s->data_sz =3D 8088; + s->data_sz =3D 7768; s->data =3D (void *)"\ \x7f\x45\x4c\x46\x02\x01\x01\0\0\0\0\0\0\0\0\0\x01\0\xf7\0\x01\0\0\0\0\0\0= \0\0\ -\0\0\0\0\0\0\0\0\0\0\0\x18\x1d\0\0\0\0\0\0\0\0\0\0\x40\0\0\0\0\0\x40\0\x0a= \0\ -\x01\0\xbf\x18\0\0\0\0\0\0\xb7\x01\0\0\0\0\0\0\x63\x1a\x4c\xff\0\0\0\0\xbf= \xa7\ -\0\0\0\0\0\0\x07\x07\0\0\x4c\xff\xff\xff\x18\x01\0\0\0\0\0\0\0\0\0\0\0\0\0= \0\ -\xbf\x72\0\0\0\0\0\0\x85\0\0\0\x01\0\0\0\xbf\x06\0\0\0\0\0\0\x18\x01\0\0\0= \0\0\ -\0\0\0\0\0\0\0\0\0\xbf\x72\0\0\0\0\0\0\x85\0\0\0\x01\0\0\0\xbf\x07\0\0\0\0= \0\0\ -\x18\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0\x15\x06\x66\x02\0\0\0\0\xbf\x79= \0\0\ -\0\0\0\0\x15\x09\x64\x02\0\0\0\0\x71\x61\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0\x02\0\0\0\xb7\x05\0\0\0\0\0\0\x85= \0\0\ +\0\x44\0\0\0\x69\xa1\xd0\xff\0\0\0\0\x67\0\0\0\x20\0\0\0\x77\0\0\0\x20\0\0= \0\ +\x15\0\x06\0\0\0\0\0\x07\x06\0\0\x08\0\0\0\x71\x61\0\0\0\0\0\0\x71\x60\x01= \0\0\ +\0\0\0\x67\0\0\0\x08\0\0\0\x4f\x10\0\0\0\0\0\0\x95\0\0\0\0\0\0\0\x15\x01\x= cb\ +\xff\0\0\0\0\x15\x01\x53\0\x86\xdd\0\0\x55\x01\x38\0\x08\0\0\0\xb7\x07\0\0= \x01\ +\0\0\0\x73\x7a\x50\xff\0\0\0\0\xb7\x01\0\0\0\0\0\0\x63\x1a\xe0\xff\0\0\0\0= \x7b\ +\x1a\xd8\xff\0\0\0\0\x7b\x1a\xd0\xff\0\0\0\0\xbf\xa3\0\0\0\0\0\0\x07\x03\0= \0\ +\xd0\xff\xff\xff\xbf\x81\0\0\0\0\0\0\xb7\x02\0\0\0\0\0\0\xb7\x04\0\0\x14\0= \0\0\ +\xb7\x05\0\0\x01\0\0\0\x85\0\0\0\x44\0\0\0\x67\0\0\0\x20\0\0\0\x77\0\0\0\x= 20\0\ +\0\0\x55\0\xb9\xff\0\0\0\0\x69\xa1\xd6\xff\0\0\0\0\x55\x01\x01\0\0\0\0\0\x= b7\ +\x07\0\0\0\0\0\0\x61\xa1\xdc\xff\0\0\0\0\x63\x1a\x5c\xff\0\0\0\0\x61\xa1\x= e0\ +\xff\0\0\0\0\x63\x1a\x60\xff\0\0\0\0\x73\x7a\x56\xff\0\0\0\0\x71\xa9\xd9\x= ff\0\ +\0\0\0\x71\xa7\xd0\xff\0\0\0\0\x67\x07\0\0\x02\0\0\0\x57\x07\0\0\x3c\0\0\0= \xbf\ \x91\0\0\0\0\0\0\x57\x01\0\0\xff\0\0\0\x15\x01\x19\0\0\0\0\0\x71\xa1\x56\x= ff\0\ -\0\0\0\x55\x01\x17\0\0\0\0\0\x57\x09\0\0\xff\0\0\0\x15\x09\x7a\x01\x11\0\0= \0\ +\0\0\0\x55\x01\x17\0\0\0\0\0\x57\x09\0\0\xff\0\0\0\x15\x09\x76\x01\x11\0\0= \0\ \x55\x09\x14\0\x06\0\0\0\xb7\x01\0\0\x01\0\0\0\x73\x1a\x53\xff\0\0\0\0\xb7= \x01\ \0\0\0\0\0\0\x63\x1a\xe0\xff\0\0\0\0\x7b\x1a\xd8\xff\0\0\0\0\x7b\x1a\xd0\x= ff\0\ -\0\0\0\xbf\xa3\0\0\0\0\0\0\x07\x03\0\0\xd0\xff\xff\xff\xbf\x81\0\0\0\0\0\0= \x79\ -\xa2\x40\xff\0\0\0\0\xb7\x04\0\0\x14\0\0\0\xb7\x05\0\0\x01\0\0\0\x85\0\0\0= \x44\ -\0\0\0\x67\0\0\0\x20\0\0\0\x77\0\0\0\x20\0\0\0\x55\0\xf4\x01\0\0\0\0\x69\x= a1\ -\xd0\xff\0\0\0\0\x6b\x1a\x58\xff\0\0\0\0\x69\xa1\xd2\xff\0\0\0\0\x6b\x1a\x= 5a\ -\xff\0\0\0\0\x71\xa1\x50\xff\0\0\0\0\x15\x01\xd4\0\0\0\0\0\x71\x62\x03\0\0= \0\0\ -\0\x67\x02\0\0\x08\0\0\0\x71\x61\x02\0\0\0\0\0\x4f\x12\0\0\0\0\0\0\x71\x63= \x04\ -\0\0\0\0\0\x71\x61\x05\0\0\0\0\0\x67\x01\0\0\x08\0\0\0\x4f\x31\0\0\0\0\0\0= \x67\ -\x01\0\0\x10\0\0\0\x4f\x21\0\0\0\0\0\0\x71\xa2\x53\xff\0\0\0\0\x79\xa0\x30= \xff\ -\0\0\0\0\x15\x02\x06\x01\0\0\0\0\xbf\x12\0\0\0\0\0\0\x57\x02\0\0\x02\0\0\0= \x15\ -\x02\x03\x01\0\0\0\0\x61\xa1\x5c\xff\0\0\0\0\x63\x1a\xa0\xff\0\0\0\0\x61\x= a1\ -\x60\xff\0\0\0\0\x63\x1a\xa4\xff\0\0\0\0\x69\xa1\x58\xff\0\0\0\0\x6b\x1a\x= a8\ -\xff\0\0\0\0\x69\xa1\x5a\xff\0\0\0\0\x6b\x1a\xaa\xff\0\0\0\0\x05\0\x65\x01= \0\0\ -\0\0\xb7\x01\0\0\x01\0\0\0\x73\x1a\x51\xff\0\0\0\0\xb7\x01\0\0\0\0\0\0\x7b= \x1a\ -\xf0\xff\0\0\0\0\x7b\x1a\xe8\xff\0\0\0\0\x7b\x1a\xe0\xff\0\0\0\0\x7b\x1a\x= d8\ -\xff\0\0\0\0\x7b\x1a\xd0\xff\0\0\0\0\xbf\xa3\0\0\0\0\0\0\x07\x03\0\0\xd0\x= ff\ -\xff\xff\xb7\x01\0\0\x28\0\0\0\x7b\x1a\x40\xff\0\0\0\0\xbf\x81\0\0\0\0\0\0= \xb7\ -\x02\0\0\0\0\0\0\xb7\x04\0\0\x28\0\0\0\xb7\x05\0\0\x01\0\0\0\x85\0\0\0\x44= \0\0\ -\0\x67\0\0\0\x20\0\0\0\x77\0\0\0\x20\0\0\0\x55\0\x10\x01\0\0\0\0\x79\xa1\x= e0\ -\xff\0\0\0\0\x63\x1a\x64\xff\0\0\0\0\x77\x01\0\0\x20\0\0\0\x63\x1a\x68\xff= \0\0\ -\0\0\x79\xa1\xd8\xff\0\0\0\0\x63\x1a\x5c\xff\0\0\0\0\x77\x01\0\0\x20\0\0\0= \x63\ -\x1a\x60\xff\0\0\0\0\x79\xa1\xe8\xff\0\0\0\0\x63\x1a\x6c\xff\0\0\0\0\x77\x= 01\0\ -\0\x20\0\0\0\x63\x1a\x70\xff\0\0\0\0\x79\xa1\xf0\xff\0\0\0\0\x63\x1a\x74\x= ff\0\ -\0\0\0\x77\x01\0\0\x20\0\0\0\x63\x1a\x78\xff\0\0\0\0\x71\xa9\xd6\xff\0\0\0= \0\ -\x25\x09\xff\0\x3c\0\0\0\xb7\x01\0\0\x01\0\0\0\x6f\x91\0\0\0\0\0\0\x18\x02= \0\0\ -\x01\0\0\0\0\0\0\0\0\x18\0\x1c\x5f\x21\0\0\0\0\0\0\x55\x01\x01\0\0\0\0\0\x= 05\0\ -\xf8\0\0\0\0\0\xb7\x01\0\0\0\0\0\0\x6b\x1a\xfe\xff\0\0\0\0\xb7\x01\0\0\x28= \0\0\ -\0\x7b\x1a\x40\xff\0\0\0\0\xbf\xa1\0\0\0\0\0\0\x07\x01\0\0\x8c\xff\xff\xff= \x7b\ -\x1a\x18\xff\0\0\0\0\xbf\xa1\0\0\0\0\0\0\x07\x01\0\0\x7c\xff\xff\xff\x7b\x= 1a\ -\x10\xff\0\0\0\0\xb7\x01\0\0\0\0\0\0\x7b\x1a\x28\xff\0\0\0\0\x7b\x7a\x20\x= ff\0\ -\0\0\0\xbf\xa3\0\0\0\0\0\0\x07\x03\0\0\xfe\xff\xff\xff\xbf\x81\0\0\0\0\0\0= \x79\ -\xa2\x40\xff\0\0\0\0\xb7\x04\0\0\x02\0\0\0\xb7\x05\0\0\x01\0\0\0\x85\0\0\0= \x44\ -\0\0\0\x67\0\0\0\x20\0\0\0\x77\0\0\0\x20\0\0\0\x15\0\x01\0\0\0\0\0\x05\0\x= 90\ -\x01\0\0\0\0\xbf\x91\0\0\0\0\0\0\x15\x01\x23\0\x3c\0\0\0\x15\x01\x59\0\x2c= \0\0\ -\0\x55\x01\x5a\0\x2b\0\0\0\xb7\x01\0\0\0\0\0\0\x63\x1a\xf8\xff\0\0\0\0\xbf= \xa3\ -\0\0\0\0\0\0\x07\x03\0\0\xf8\xff\xff\xff\xbf\x81\0\0\0\0\0\0\x79\xa2\x40\x= ff\0\ -\0\0\0\xb7\x04\0\0\x04\0\0\0\xb7\x05\0\0\x01\0\0\0\x85\0\0\0\x44\0\0\0\xbf= \x01\ -\0\0\0\0\0\0\x67\x01\0\0\x20\0\0\0\x77\x01\0\0\x20\0\0\0\x55\x01\x03\x01\0= \0\0\ -\0\x71\xa1\xfa\xff\0\0\0\0\x55\x01\x4b\0\x02\0\0\0\x71\xa1\xf9\xff\0\0\0\0= \x55\ -\x01\x49\0\x02\0\0\0\x71\xa1\xfb\xff\0\0\0\0\x55\x01\x47\0\x01\0\0\0\x79\x= a2\ -\x40\xff\0\0\0\0\x07\x02\0\0\x08\0\0\0\xbf\x81\0\0\0\0\0\0\x79\xa3\x18\xff= \0\0\ -\0\0\xb7\x04\0\0\x10\0\0\0\xb7\x05\0\0\x01\0\0\0\x85\0\0\0\x44\0\0\0\xbf\x= 01\0\ -\0\0\0\0\0\x67\x01\0\0\x20\0\0\0\x77\x01\0\0\x20\0\0\0\x55\x01\xf2\0\0\0\0= \0\ -\xb7\x01\0\0\x01\0\0\0\x73\x1a\x55\xff\0\0\0\0\x05\0\x39\0\0\0\0\0\xb7\x01= \0\0\ -\0\0\0\0\x6b\x1a\xf8\xff\0\0\0\0\xb7\x09\0\0\x02\0\0\0\xb7\x07\0\0\x1e\0\0= \0\ -\x05\0\x0e\0\0\0\0\0\x79\xa2\x38\xff\0\0\0\0\x0f\x29\0\0\0\0\0\0\xbf\x92\0= \0\0\ -\0\0\0\x07\x02\0\0\x01\0\0\0\x71\xa3\xff\xff\0\0\0\0\x67\x03\0\0\x03\0\0\0= \x2d\ -\x23\x02\0\0\0\0\0\x79\xa7\x20\xff\0\0\0\0\x05\0\x2b\0\0\0\0\0\x07\x07\0\0= \xff\ -\xff\xff\xff\xbf\x72\0\0\0\0\0\0\x67\x02\0\0\x20\0\0\0\x77\x02\0\0\x20\0\0= \0\ -\x15\x02\xf9\xff\0\0\0\0\x7b\x9a\x38\xff\0\0\0\0\x79\xa1\x40\xff\0\0\0\0\x= 0f\ -\x19\0\0\0\0\0\0\xbf\xa3\0\0\0\0\0\0\x07\x03\0\0\xf8\xff\xff\xff\xbf\x81\0= \0\0\ -\0\0\0\xbf\x92\0\0\0\0\0\0\xb7\x04\0\0\x02\0\0\0\xb7\x05\0\0\x01\0\0\0\x85= \0\0\ -\0\x44\0\0\0\xbf\x01\0\0\0\0\0\0\x67\x01\0\0\x20\0\0\0\x77\x01\0\0\x20\0\0= \0\ -\x55\x01\x94\0\0\0\0\0\x71\xa2\xf8\xff\0\0\0\0\x55\x02\x0f\0\xc9\0\0\0\x07= \x09\ -\0\0\x02\0\0\0\xbf\x81\0\0\0\0\0\0\xbf\x92\0\0\0\0\0\0\x79\xa3\x10\xff\0\0= \0\0\ -\xb7\x04\0\0\x10\0\0\0\xb7\x05\0\0\x01\0\0\0\x85\0\0\0\x44\0\0\0\xbf\x01\0= \0\0\ -\0\0\0\x67\x01\0\0\x20\0\0\0\x77\x01\0\0\x20\0\0\0\x55\x01\x87\0\0\0\0\0\x= b7\ -\x01\0\0\x01\0\0\0\x73\x1a\x54\xff\0\0\0\0\x79\xa7\x20\xff\0\0\0\0\x05\0\x= 07\0\ -\0\0\0\0\xb7\x09\0\0\x01\0\0\0\x15\x02\xd1\xff\0\0\0\0\x71\xa9\xf9\xff\0\0= \0\0\ -\x07\x09\0\0\x02\0\0\0\x05\0\xce\xff\0\0\0\0\xb7\x01\0\0\x01\0\0\0\x73\x1a= \x56\ -\xff\0\0\0\0\x71\xa1\xff\xff\0\0\0\0\x67\x01\0\0\x03\0\0\0\x79\xa2\x40\xff= \0\0\ -\0\0\x0f\x12\0\0\0\0\0\0\x07\x02\0\0\x08\0\0\0\x7b\x2a\x40\xff\0\0\0\0\x71= \xa9\ -\xfe\xff\0\0\0\0\x25\x09\x0e\0\x3c\0\0\0\xb7\x01\0\0\x01\0\0\0\x6f\x91\0\0= \0\0\ +\0\0\0\xbf\xa3\0\0\0\0\0\0\x07\x03\0\0\xd0\xff\xff\xff\xbf\x81\0\0\0\0\0\0= \xbf\ +\x72\0\0\0\0\0\0\xb7\x04\0\0\x14\0\0\0\xb7\x05\0\0\x01\0\0\0\x85\0\0\0\x44= \0\0\ +\0\x67\0\0\0\x20\0\0\0\x77\0\0\0\x20\0\0\0\x55\0\x95\xff\0\0\0\0\x69\xa1\x= d0\ +\xff\0\0\0\0\x6b\x1a\x58\xff\0\0\0\0\x69\xa1\xd2\xff\0\0\0\0\x6b\x1a\x5a\x= ff\0\ +\0\0\0\x71\xa1\x50\xff\0\0\0\0\x15\x01\xd0\0\0\0\0\0\x71\x62\x03\0\0\0\0\0= \x67\ +\x02\0\0\x08\0\0\0\x71\x61\x02\0\0\0\0\0\x4f\x12\0\0\0\0\0\0\x71\x63\x04\0= \0\0\ +\0\0\x71\x61\x05\0\0\0\0\0\x67\x01\0\0\x08\0\0\0\x4f\x31\0\0\0\0\0\0\x67\x= 01\0\ +\0\x10\0\0\0\x4f\x21\0\0\0\0\0\0\x71\xa2\x53\xff\0\0\0\0\x15\x02\x02\x01\0= \0\0\ +\0\xbf\x12\0\0\0\0\0\0\x57\x02\0\0\x02\0\0\0\x15\x02\xff\0\0\0\0\0\x61\xa1= \x5c\ +\xff\0\0\0\0\x63\x1a\xa0\xff\0\0\0\0\x61\xa1\x60\xff\0\0\0\0\x63\x1a\xa4\x= ff\0\ +\0\0\0\x69\xa1\x58\xff\0\0\0\0\x6b\x1a\xa8\xff\0\0\0\0\x69\xa1\x5a\xff\0\0= \0\0\ +\x6b\x1a\xaa\xff\0\0\0\0\x05\0\x62\x01\0\0\0\0\xb7\x01\0\0\x01\0\0\0\x73\x= 1a\ +\x51\xff\0\0\0\0\xb7\x01\0\0\0\0\0\0\x7b\x1a\xf0\xff\0\0\0\0\x7b\x1a\xe8\x= ff\0\ +\0\0\0\x7b\x1a\xe0\xff\0\0\0\0\x7b\x1a\xd8\xff\0\0\0\0\x7b\x1a\xd0\xff\0\0= \0\0\ +\xbf\xa3\0\0\0\0\0\0\x07\x03\0\0\xd0\xff\xff\xff\xb7\x07\0\0\x28\0\0\0\xbf= \x81\ +\0\0\0\0\0\0\xb7\x02\0\0\0\0\0\0\xb7\x04\0\0\x28\0\0\0\xb7\x05\0\0\x01\0\0= \0\ +\x85\0\0\0\x44\0\0\0\x67\0\0\0\x20\0\0\0\x77\0\0\0\x20\0\0\0\x55\0\x0e\x01= \0\0\ +\0\0\x79\xa1\xe0\xff\0\0\0\0\x63\x1a\x64\xff\0\0\0\0\x77\x01\0\0\x20\0\0\0= \x63\ +\x1a\x68\xff\0\0\0\0\x79\xa1\xd8\xff\0\0\0\0\x63\x1a\x5c\xff\0\0\0\0\x77\x= 01\0\ +\0\x20\0\0\0\x63\x1a\x60\xff\0\0\0\0\x79\xa1\xe8\xff\0\0\0\0\x63\x1a\x6c\x= ff\0\ +\0\0\0\x77\x01\0\0\x20\0\0\0\x63\x1a\x70\xff\0\0\0\0\x79\xa1\xf0\xff\0\0\0= \0\ +\x63\x1a\x74\xff\0\0\0\0\x77\x01\0\0\x20\0\0\0\x63\x1a\x78\xff\0\0\0\0\x71= \xa9\ +\xd6\xff\0\0\0\0\x25\x09\xfd\0\x3c\0\0\0\xb7\x01\0\0\x01\0\0\0\x6f\x91\0\0= \0\0\ \0\0\x18\x02\0\0\x01\0\0\0\0\0\0\0\0\x18\0\x1c\x5f\x21\0\0\0\0\0\0\x55\x01= \x01\ -\0\0\0\0\0\x05\0\x07\0\0\0\0\0\x79\xa1\x28\xff\0\0\0\0\x07\x01\0\0\x01\0\0= \0\ -\x7b\x1a\x28\xff\0\0\0\0\x67\x01\0\0\x20\0\0\0\x77\x01\0\0\x20\0\0\0\x55\x= 01\ -\x82\xff\x0b\0\0\0\x05\0\x10\xff\0\0\0\0\x15\x09\xf8\xff\x87\0\0\0\x05\0\x= fd\ -\xff\0\0\0\0\x71\xa1\x51\xff\0\0\0\0\x79\xa0\x30\xff\0\0\0\0\x15\x01\x17\x= 01\0\ -\0\0\0\x71\x62\x03\0\0\0\0\0\x67\x02\0\0\x08\0\0\0\x71\x61\x02\0\0\0\0\0\x= 4f\ -\x12\0\0\0\0\0\0\x71\x63\x04\0\0\0\0\0\x71\x61\x05\0\0\0\0\0\x67\x01\0\0\x= 08\0\ -\0\0\x4f\x31\0\0\0\0\0\0\x67\x01\0\0\x10\0\0\0\x4f\x21\0\0\0\0\0\0\x71\xa2= \x53\ -\xff\0\0\0\0\x15\x02\x3d\0\0\0\0\0\xbf\x12\0\0\0\0\0\0\x57\x02\0\0\x10\0\0= \0\ -\x15\x02\x3a\0\0\0\0\0\xbf\xa2\0\0\0\0\0\0\x07\x02\0\0\x5c\xff\xff\xff\x71= \xa4\ -\x54\xff\0\0\0\0\xbf\x23\0\0\0\0\0\0\x15\x04\x02\0\0\0\0\0\xbf\xa3\0\0\0\0= \0\0\ -\x07\x03\0\0\x7c\xff\xff\xff\x67\x01\0\0\x38\0\0\0\xc7\x01\0\0\x38\0\0\0\x= 65\ -\x01\x01\0\xff\xff\xff\xff\xbf\x32\0\0\0\0\0\0\xbf\xa3\0\0\0\0\0\0\x07\x03= \0\0\ -\x6c\xff\xff\xff\x71\xa5\x55\xff\0\0\0\0\xbf\x34\0\0\0\0\0\0\x15\x05\x02\0= \0\0\ -\0\0\xbf\xa4\0\0\0\0\0\0\x07\x04\0\0\x8c\xff\xff\xff\x65\x01\x01\0\xff\xff= \xff\ -\xff\xbf\x43\0\0\0\0\0\0\x61\x21\x04\0\0\0\0\0\x67\x01\0\0\x20\0\0\0\x61\x= 24\0\ -\0\0\0\0\0\x4f\x41\0\0\0\0\0\0\x7b\x1a\xa0\xff\0\0\0\0\x61\x21\x08\0\0\0\0= \0\ -\x61\x22\x0c\0\0\0\0\0\x67\x02\0\0\x20\0\0\0\x4f\x12\0\0\0\0\0\0\x7b\x2a\x= a8\ -\xff\0\0\0\0\x61\x31\0\0\0\0\0\0\x61\x32\x04\0\0\0\0\0\x61\x34\x08\0\0\0\0= \0\ -\x61\x33\x0c\0\0\0\0\0\x69\xa5\x5a\xff\0\0\0\0\x6b\x5a\xc2\xff\0\0\0\0\x69= \xa5\ -\x58\xff\0\0\0\0\x6b\x5a\xc0\xff\0\0\0\0\x67\x03\0\0\x20\0\0\0\x4f\x43\0\0= \0\0\ -\0\0\x7b\x3a\xb8\xff\0\0\0\0\x67\x02\0\0\x20\0\0\0\x4f\x12\0\0\0\0\0\0\x7b= \x2a\ -\xb0\xff\0\0\0\0\x05\0\x6b\0\0\0\0\0\x71\xa2\x52\xff\0\0\0\0\x15\x02\x04\0= \0\0\ -\0\0\xbf\x12\0\0\0\0\0\0\x57\x02\0\0\x04\0\0\0\x15\x02\x01\0\0\0\0\0\x05\0= \xf7\ -\xfe\0\0\0\0\x57\x01\0\0\x01\0\0\0\x15\x01\xd3\0\0\0\0\0\x61\xa1\x5c\xff\0= \0\0\ -\0\x63\x1a\xa0\xff\0\0\0\0\x61\xa1\x60\xff\0\0\0\0\x63\x1a\xa4\xff\0\0\0\0= \x05\ -\0\x5e\0\0\0\0\0\x71\xa2\x52\xff\0\0\0\0\x15\x02\x1e\0\0\0\0\0\xbf\x12\0\0= \0\0\ -\0\0\x57\x02\0\0\x20\0\0\0\x15\x02\x1b\0\0\0\0\0\xbf\xa2\0\0\0\0\0\0\x07\x= 02\0\ -\0\x5c\xff\xff\xff\x71\xa4\x54\xff\0\0\0\0\xbf\x23\0\0\0\0\0\0\x15\x04\x02= \0\0\ -\0\0\0\xbf\xa3\0\0\0\0\0\0\x07\x03\0\0\x7c\xff\xff\xff\x57\x01\0\0\0\x01\0= \0\ -\x15\x01\x01\0\0\0\0\0\xbf\x32\0\0\0\0\0\0\xbf\xa3\0\0\0\0\0\0\x07\x03\0\0= \x6c\ -\xff\xff\xff\x71\xa5\x55\xff\0\0\0\0\xbf\x34\0\0\0\0\0\0\x15\x05\x02\0\0\0= \0\0\ -\xbf\xa4\0\0\0\0\0\0\x07\x04\0\0\x8c\xff\xff\xff\x15\x01\xc3\xff\0\0\0\0\x= 05\0\ -\xc1\xff\0\0\0\0\xb7\x09\0\0\x3c\0\0\0\x79\xa7\x20\xff\0\0\0\0\x67\0\0\0\x= 20\0\ -\0\0\x77\0\0\0\x20\0\0\0\x15\0\xa5\xfe\0\0\0\0\x05\0\xb0\0\0\0\0\0\x15\x09= \x07\ -\xff\x87\0\0\0\x05\0\xa2\xfe\0\0\0\0\xbf\x12\0\0\0\0\0\0\x57\x02\0\0\x08\0= \0\0\ -\x15\x02\xab\0\0\0\0\0\xbf\xa2\0\0\0\0\0\0\x07\x02\0\0\x5c\xff\xff\xff\x71= \xa4\ -\x54\xff\0\0\0\0\xbf\x23\0\0\0\0\0\0\x15\x04\x02\0\0\0\0\0\xbf\xa3\0\0\0\0= \0\0\ -\x07\x03\0\0\x7c\xff\xff\xff\x57\x01\0\0\x40\0\0\0\x15\x01\x01\0\0\0\0\0\x= bf\ -\x32\0\0\0\0\0\0\x61\x23\x04\0\0\0\0\0\x67\x03\0\0\x20\0\0\0\x61\x24\0\0\0= \0\0\ -\0\x4f\x43\0\0\0\0\0\0\x7b\x3a\xa0\xff\0\0\0\0\x61\x23\x08\0\0\0\0\0\x61\x= 22\ -\x0c\0\0\0\0\0\x67\x02\0\0\x20\0\0\0\x4f\x32\0\0\0\0\0\0\x7b\x2a\xa8\xff\0= \0\0\ -\0\x15\x01\x1c\0\0\0\0\0\x71\xa1\x55\xff\0\0\0\0\x15\x01\x1a\0\0\0\0\0\x61= \xa1\ -\x98\xff\0\0\0\0\x67\x01\0\0\x20\0\0\0\x61\xa2\x94\xff\0\0\0\0\x4f\x21\0\0= \0\0\ -\0\0\x7b\x1a\xb8\xff\0\0\0\0\x61\xa1\x90\xff\0\0\0\0\x67\x01\0\0\x20\0\0\0= \x61\ -\xa2\x8c\xff\0\0\0\0\x05\0\x19\0\0\0\0\0\xb7\x01\0\0\x01\0\0\0\x73\x1a\x52= \xff\ -\0\0\0\0\xb7\x01\0\0\0\0\0\0\x7b\x1a\xd0\xff\0\0\0\0\xbf\xa3\0\0\0\0\0\0\x= 07\ -\x03\0\0\xd0\xff\xff\xff\xbf\x81\0\0\0\0\0\0\x79\xa2\x40\xff\0\0\0\0\xb7\x= 04\0\ -\0\x08\0\0\0\xb7\x05\0\0\x01\0\0\0\x85\0\0\0\x44\0\0\0\x67\0\0\0\x20\0\0\0= \x77\ -\0\0\0\x20\0\0\0\x55\0\x7d\0\0\0\0\0\x05\0\x88\xfe\0\0\0\0\xb7\x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\ -\0\0\0\0\0\0\0\x03\0\x03\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x6b\0\0\0\x11\0= \x06\ -\0\0\0\0\0\0\0\0\0\x07\0\0\0\0\0\0\0\x25\0\0\0\x11\0\x05\0\0\0\0\0\0\0\0\0= \x14\ -\0\0\0\0\0\0\0\x82\0\0\0\x11\0\x05\0\x28\0\0\0\0\0\0\0\x14\0\0\0\0\0\0\0\x= 01\0\ -\0\0\x11\0\x05\0\x14\0\0\0\0\0\0\0\x14\0\0\0\0\0\0\0\x40\0\0\0\x12\0\x03\0= \0\0\ -\0\0\0\0\0\0\xd8\x13\0\0\0\0\0\0\x28\0\0\0\0\0\0\0\x01\0\0\0\x3a\0\0\0\x50= \0\0\ -\0\0\0\0\0\x01\0\0\0\x3c\0\0\0\x80\x13\0\0\0\0\0\0\x01\0\0\0\x3b\0\0\0\x1c= \0\0\ -\0\0\0\0\0\x01\0\0\0\x38\0\0\0\0\x74\x61\x70\x5f\x72\x73\x73\x5f\x6d\x61\x= 70\ -\x5f\x74\x6f\x65\x70\x6c\x69\x74\x7a\x5f\x6b\x65\x79\0\x2e\x74\x65\x78\x74= \0\ -\x6d\x61\x70\x73\0\x74\x61\x70\x5f\x72\x73\x73\x5f\x6d\x61\x70\x5f\x63\x6f= \x6e\ -\x66\x69\x67\x75\x72\x61\x74\x69\x6f\x6e\x73\0\x74\x75\x6e\x5f\x72\x73\x73= \x5f\ -\x73\x74\x65\x65\x72\x69\x6e\x67\x5f\x70\x72\x6f\x67\0\x2e\x72\x65\x6c\x74= \x75\ -\x6e\x5f\x72\x73\x73\x5f\x73\x74\x65\x65\x72\x69\x6e\x67\0\x5f\x6c\x69\x63= \x65\ -\x6e\x73\x65\0\x2e\x72\x65\x6c\x2e\x65\x68\x5f\x66\x72\x61\x6d\x65\0\x74\x= 61\ -\x70\x5f\x72\x73\x73\x5f\x6d\x61\x70\x5f\x69\x6e\x64\x69\x72\x65\x63\x74\x= 69\ -\x6f\x6e\x5f\x74\x61\x62\x6c\x65\0\x72\x73\x73\x2e\x62\x70\x66\x2e\x63\0\x= 2e\ -\x73\x74\x72\x74\x61\x62\0\x2e\x73\x79\x6d\x74\x61\x62\0\x4c\x42\x42\x30\x= 5f\ -\x39\0\x4c\x42\x42\x30\x5f\x38\x39\0\x4c\x42\x42\x30\x5f\x36\x39\0\x4c\x42= \x42\ -\x30\x5f\x35\x39\0\x4c\x42\x42\x30\x5f\x31\x39\0\x4c\x42\x42\x30\x5f\x31\x= 30\ -\x39\0\x4c\x42\x42\x30\x5f\x39\x38\0\x4c\x42\x42\x30\x5f\x37\x38\0\x4c\x42= \x42\ -\x30\x5f\x34\x38\0\x4c\x42\x42\x30\x5f\x31\x38\0\x4c\x42\x42\x30\x5f\x38\x= 37\0\ -\x4c\x42\x42\x30\x5f\x34\x37\0\x4c\x42\x42\x30\x5f\x33\x37\0\x4c\x42\x42\x= 30\ -\x5f\x31\x37\0\x4c\x42\x42\x30\x5f\x31\x30\x37\0\x4c\x42\x42\x30\x5f\x39\x= 36\0\ -\x4c\x42\x42\x30\x5f\x37\x36\0\x4c\x42\x42\x30\x5f\x36\x36\0\x4c\x42\x42\x= 30\ -\x5f\x34\x36\0\x4c\x42\x42\x30\x5f\x33\x36\0\x4c\x42\x42\x30\x5f\x32\x36\0= \x4c\ -\x42\x42\x30\x5f\x31\x30\x36\0\x4c\x42\x42\x30\x5f\x36\x35\0\x4c\x42\x42\x= 30\ -\x5f\x34\x35\0\x4c\x42\x42\x30\x5f\x33\x35\0\x4c\x42\x42\x30\x5f\x34\0\x4c= \x42\ +\0\0\0\0\0\x05\0\xf6\0\0\0\0\0\xb7\x01\0\0\0\0\0\0\x6b\x1a\xfe\xff\0\0\0\0= \xb7\ +\x07\0\0\x28\0\0\0\xbf\xa1\0\0\0\0\0\0\x07\x01\0\0\x8c\xff\xff\xff\x7b\x1a= \x28\ +\xff\0\0\0\0\xbf\xa1\0\0\0\0\0\0\x07\x01\0\0\x7c\xff\xff\xff\x7b\x1a\x20\x= ff\0\ +\0\0\0\xb7\x01\0\0\0\0\0\0\x7b\x1a\x30\xff\0\0\0\0\x7b\x8a\x38\xff\0\0\0\0= \xbf\ +\xa3\0\0\0\0\0\0\x07\x03\0\0\xfe\xff\xff\xff\xbf\x81\0\0\0\0\0\0\xbf\x72\0= \0\0\ +\0\0\0\xb7\x04\0\0\x02\0\0\0\xb7\x05\0\0\x01\0\0\0\x85\0\0\0\x44\0\0\0\x67= \0\0\ +\0\x20\0\0\0\x77\0\0\0\x20\0\0\0\x15\0\x01\0\0\0\0\0\x05\0\x62\xff\0\0\0\0= \xbf\ +\x91\0\0\0\0\0\0\x15\x01\x23\0\x3c\0\0\0\x15\x01\x5a\0\x2c\0\0\0\x55\x01\x= 5b\0\ +\x2b\0\0\0\xb7\x01\0\0\0\0\0\0\x63\x1a\xf8\xff\0\0\0\0\xbf\xa3\0\0\0\0\0\0= \x07\ +\x03\0\0\xf8\xff\xff\xff\xbf\x81\0\0\0\0\0\0\xbf\x72\0\0\0\0\0\0\xb7\x04\0= \0\ +\x04\0\0\0\xb7\x05\0\0\x01\0\0\0\x85\0\0\0\x44\0\0\0\xbf\x01\0\0\0\0\0\0\x= 67\ +\x01\0\0\x20\0\0\0\x77\x01\0\0\x20\0\0\0\x55\x01\x02\x01\0\0\0\0\x71\xa1\x= fa\ +\xff\0\0\0\0\x55\x01\x4c\0\x02\0\0\0\x71\xa1\xf9\xff\0\0\0\0\x55\x01\x4a\0= \x02\ +\0\0\0\x71\xa1\xfb\xff\0\0\0\0\x55\x01\x48\0\x01\0\0\0\xbf\x72\0\0\0\0\0\0= \x07\ +\x02\0\0\x08\0\0\0\xbf\x81\0\0\0\0\0\0\x79\xa3\x28\xff\0\0\0\0\xb7\x04\0\0= \x10\ +\0\0\0\xb7\x05\0\0\x01\0\0\0\x85\0\0\0\x44\0\0\0\xbf\x01\0\0\0\0\0\0\x67\x= 01\0\ +\0\x20\0\0\0\x77\x01\0\0\x20\0\0\0\x55\x01\xf1\0\0\0\0\0\xb7\x01\0\0\x01\0= \0\0\ +\x73\x1a\x55\xff\0\0\0\0\x05\0\x3a\0\0\0\0\0\x7b\x7a\x40\xff\0\0\0\0\xb7\x= 01\0\ +\0\0\0\0\0\x6b\x1a\xf8\xff\0\0\0\0\xb7\x07\0\0\x02\0\0\0\xb7\x08\0\0\x1e\0= \0\0\ +\x05\0\x0f\0\0\0\0\0\x0f\x71\0\0\0\0\0\0\xbf\x12\0\0\0\0\0\0\x07\x02\0\0\x= 01\0\ +\0\0\x71\xa3\xff\xff\0\0\0\0\x67\x03\0\0\x03\0\0\0\x2d\x23\x03\0\0\0\0\0\x= 79\ +\xa8\x38\xff\0\0\0\0\x79\xa7\x40\xff\0\0\0\0\x05\0\x2b\0\0\0\0\0\x07\x08\0= \0\ +\xff\xff\xff\xff\xbf\x82\0\0\0\0\0\0\x67\x02\0\0\x20\0\0\0\x77\x02\0\0\x20= \0\0\ +\0\xbf\x17\0\0\0\0\0\0\x15\x02\xf7\xff\0\0\0\0\xbf\x79\0\0\0\0\0\0\x79\xa1= \x40\ +\xff\0\0\0\0\x0f\x19\0\0\0\0\0\0\xbf\xa3\0\0\0\0\0\0\x07\x03\0\0\xf8\xff\x= ff\ +\xff\x79\xa1\x38\xff\0\0\0\0\xbf\x92\0\0\0\0\0\0\xb7\x04\0\0\x02\0\0\0\xb7= \x05\ +\0\0\x01\0\0\0\x85\0\0\0\x44\0\0\0\xbf\x01\0\0\0\0\0\0\x67\x01\0\0\x20\0\0= \0\ +\x77\x01\0\0\x20\0\0\0\x55\x01\x90\0\0\0\0\0\x71\xa2\xf8\xff\0\0\0\0\x55\x= 02\ +\x0e\0\xc9\0\0\0\x07\x09\0\0\x02\0\0\0\x79\xa1\x38\xff\0\0\0\0\xbf\x92\0\0= \0\0\ +\0\0\x79\xa3\x20\xff\0\0\0\0\xb7\x04\0\0\x10\0\0\0\xb7\x05\0\0\x01\0\0\0\x= 85\0\ +\0\0\x44\0\0\0\xbf\x01\0\0\0\0\0\0\x67\x01\0\0\x20\0\0\0\x77\x01\0\0\x20\0= \0\0\ +\x55\x01\x83\0\0\0\0\0\xb7\x01\0\0\x01\0\0\0\x73\x1a\x54\xff\0\0\0\0\x05\0= \xd9\ +\xff\0\0\0\0\xb7\x01\0\0\x01\0\0\0\x15\x02\xd1\xff\0\0\0\0\x71\xa1\xf9\xff= \0\0\ +\0\0\x07\x01\0\0\x02\0\0\0\x05\0\xce\xff\0\0\0\0\xb7\x01\0\0\x01\0\0\0\x73= \x1a\ +\x56\xff\0\0\0\0\x71\xa1\xff\xff\0\0\0\0\x67\x01\0\0\x03\0\0\0\x0f\x17\0\0= \0\0\ +\0\0\x07\x07\0\0\x08\0\0\0\x71\xa9\xfe\xff\0\0\0\0\x25\x09\x0e\0\x3c\0\0\0= \xb7\ +\x01\0\0\x01\0\0\0\x6f\x91\0\0\0\0\0\0\x18\x02\0\0\x01\0\0\0\0\0\0\0\0\x18= \0\ +\x1c\x5f\x21\0\0\0\0\0\0\x55\x01\x01\0\0\0\0\0\x05\0\x07\0\0\0\0\0\x79\xa1= \x30\ +\xff\0\0\0\0\x07\x01\0\0\x01\0\0\0\x7b\x1a\x30\xff\0\0\0\0\x67\x01\0\0\x20= \0\0\ +\0\x77\x01\0\0\x20\0\0\0\x55\x01\x83\xff\x0b\0\0\0\x05\0\x14\xff\0\0\0\0\x= 15\ +\x09\xf8\xff\x87\0\0\0\x05\0\xfd\xff\0\0\0\0\x71\xa1\x51\xff\0\0\0\0\x15\x= 01\ +\xbd\xfe\0\0\0\0\x71\x62\x03\0\0\0\0\0\x67\x02\0\0\x08\0\0\0\x71\x61\x02\0= \0\0\ +\0\0\x4f\x12\0\0\0\0\0\0\x71\x63\x04\0\0\0\0\0\x71\x61\x05\0\0\0\0\0\x67\x= 01\0\ +\0\x08\0\0\0\x4f\x31\0\0\0\0\0\0\x67\x01\0\0\x10\0\0\0\x4f\x21\0\0\0\0\0\0= \x71\ +\xa2\x53\xff\0\0\0\0\x15\x02\x3d\0\0\0\0\0\xbf\x12\0\0\0\0\0\0\x57\x02\0\0= \x10\ +\0\0\0\x15\x02\x3a\0\0\0\0\0\xbf\xa2\0\0\0\0\0\0\x07\x02\0\0\x5c\xff\xff\x= ff\ +\x71\xa4\x54\xff\0\0\0\0\xbf\x23\0\0\0\0\0\0\x15\x04\x02\0\0\0\0\0\xbf\xa3= \0\0\ +\0\0\0\0\x07\x03\0\0\x7c\xff\xff\xff\x67\x01\0\0\x38\0\0\0\xc7\x01\0\0\x38= \0\0\ +\0\x65\x01\x01\0\xff\xff\xff\xff\xbf\x32\0\0\0\0\0\0\xbf\xa3\0\0\0\0\0\0\x= 07\ +\x03\0\0\x6c\xff\xff\xff\x71\xa5\x55\xff\0\0\0\0\xbf\x34\0\0\0\0\0\0\x15\x= 05\ +\x02\0\0\0\0\0\xbf\xa4\0\0\0\0\0\0\x07\x04\0\0\x8c\xff\xff\xff\x65\x01\x01= \0\ +\xff\xff\xff\xff\xbf\x43\0\0\0\0\0\0\x61\x21\x04\0\0\0\0\0\x67\x01\0\0\x20= \0\0\ +\0\x61\x24\0\0\0\0\0\0\x4f\x41\0\0\0\0\0\0\x7b\x1a\xa0\xff\0\0\0\0\x61\x21= \x08\ +\0\0\0\0\0\x61\x22\x0c\0\0\0\0\0\x67\x02\0\0\x20\0\0\0\x4f\x12\0\0\0\0\0\0= \x7b\ +\x2a\xa8\xff\0\0\0\0\x61\x31\0\0\0\0\0\0\x61\x32\x04\0\0\0\0\0\x61\x34\x08= \0\0\ +\0\0\0\x61\x33\x0c\0\0\0\0\0\x69\xa5\x5a\xff\0\0\0\0\x6b\x5a\xc2\xff\0\0\0= \0\ +\x69\xa5\x58\xff\0\0\0\0\x6b\x5a\xc0\xff\0\0\0\0\x67\x03\0\0\x20\0\0\0\x4f= \x43\ +\0\0\0\0\0\0\x7b\x3a\xb8\xff\0\0\0\0\x67\x02\0\0\x20\0\0\0\x4f\x12\0\0\0\0= \0\0\ +\x7b\x2a\xb0\xff\0\0\0\0\x05\0\x6c\0\0\0\0\0\x71\xa2\x52\xff\0\0\0\0\x15\x= 02\ +\x04\0\0\0\0\0\xbf\x12\0\0\0\0\0\0\x57\x02\0\0\x04\0\0\0\x15\x02\x01\0\0\0= \0\0\ +\x05\0\xfb\xfe\0\0\0\0\x57\x01\0\0\x01\0\0\0\x15\x01\x79\xfe\0\0\0\0\x61\x= a1\ +\x5c\xff\0\0\0\0\x63\x1a\xa0\xff\0\0\0\0\x61\xa1\x60\xff\0\0\0\0\x63\x1a\x= a4\ +\xff\0\0\0\0\x05\0\x5f\0\0\0\0\0\x71\xa2\x52\xff\0\0\0\0\x15\x02\x1f\0\0\0= \0\0\ +\xbf\x12\0\0\0\0\0\0\x57\x02\0\0\x20\0\0\0\x15\x02\x1c\0\0\0\0\0\xbf\xa2\0= \0\0\ +\0\0\0\x07\x02\0\0\x5c\xff\xff\xff\x71\xa4\x54\xff\0\0\0\0\xbf\x23\0\0\0\0= \0\0\ +\x15\x04\x02\0\0\0\0\0\xbf\xa3\0\0\0\0\0\0\x07\x03\0\0\x7c\xff\xff\xff\x57= \x01\ +\0\0\0\x01\0\0\x15\x01\x01\0\0\0\0\0\xbf\x32\0\0\0\0\0\0\xbf\xa3\0\0\0\0\0= \0\ +\x07\x03\0\0\x6c\xff\xff\xff\x71\xa5\x55\xff\0\0\0\0\xbf\x34\0\0\0\0\0\0\x= 15\ +\x05\x02\0\0\0\0\0\xbf\xa4\0\0\0\0\0\0\x07\x04\0\0\x8c\xff\xff\xff\x15\x01= \xc3\ +\xff\0\0\0\0\x05\0\xc1\xff\0\0\0\0\xb7\x09\0\0\x3c\0\0\0\x79\xa8\x38\xff\0= \0\0\ +\0\x79\xa7\x40\xff\0\0\0\0\x67\0\0\0\x20\0\0\0\x77\0\0\0\x20\0\0\0\x15\0\x= a9\ +\xfe\0\0\0\0\x05\0\x83\xfe\0\0\0\0\x15\x09\x09\xff\x87\0\0\0\x05\0\xa6\xfe= \0\0\ +\0\0\xbf\x12\0\0\0\0\0\0\x57\x02\0\0\x08\0\0\0\x15\x02\x50\xfe\0\0\0\0\xbf= \xa2\ +\0\0\0\0\0\0\x07\x02\0\0\x5c\xff\xff\xff\x71\xa4\x54\xff\0\0\0\0\xbf\x23\0= \0\0\ +\0\0\0\x15\x04\x02\0\0\0\0\0\xbf\xa3\0\0\0\0\0\0\x07\x03\0\0\x7c\xff\xff\x= ff\ +\x57\x01\0\0\x40\0\0\0\x15\x01\x01\0\0\0\0\0\xbf\x32\0\0\0\0\0\0\x61\x23\x= 04\0\ +\0\0\0\0\x67\x03\0\0\x20\0\0\0\x61\x24\0\0\0\0\0\0\x4f\x43\0\0\0\0\0\0\x7b= \x3a\ +\xa0\xff\0\0\0\0\x61\x23\x08\0\0\0\0\0\x61\x22\x0c\0\0\0\0\0\x67\x02\0\0\x= 20\0\ +\0\0\x4f\x32\0\0\0\0\0\0\x7b\x2a\xa8\xff\0\0\0\0\x15\x01\x1c\0\0\0\0\0\x71= \xa1\ +\x55\xff\0\0\0\0\x15\x01\x1a\0\0\0\0\0\x61\xa1\x98\xff\0\0\0\0\x67\x01\0\0= \x20\ +\0\0\0\x61\xa2\x94\xff\0\0\0\0\x4f\x21\0\0\0\0\0\0\x7b\x1a\xb8\xff\0\0\0\0= \x61\ +\xa1\x90\xff\0\0\0\0\x67\x01\0\0\x20\0\0\0\x61\xa2\x8c\xff\0\0\0\0\x05\0\x= 19\0\ +\0\0\0\0\xb7\x01\0\0\x01\0\0\0\x73\x1a\x52\xff\0\0\0\0\xb7\x01\0\0\0\0\0\0= \x7b\ +\x1a\xd0\xff\0\0\0\0\xbf\xa3\0\0\0\0\0\0\x07\x03\0\0\xd0\xff\xff\xff\xbf\x= 81\0\ +\0\0\0\0\0\xbf\x72\0\0\0\0\0\0\xb7\x04\0\0\x08\0\0\0\xb7\x05\0\0\x01\0\0\0= \x85\ +\0\0\0\x44\0\0\0\x67\0\0\0\x20\0\0\0\x77\0\0\0\x20\0\0\0\x55\0\x22\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0\0\xc7\x07\0\0\x3f\0\0\0\x5f\x47\0\0\0\0\0\0\xaf= \x71\ +\0\0\0\0\0\0\x67\x04\0\0\x01\0\0\0\xbf\x07\0\0\0\0\0\0\x77\x07\0\0\x04\0\0= \0\ +\x57\x07\0\0\x01\0\0\0\x4f\x74\0\0\0\0\0\0\xbf\x57\0\0\0\0\0\0\x67\x07\0\0= \x3c\ +\0\0\0\xc7\x07\0\0\x3f\0\0\0\x5f\x47\0\0\0\0\0\0\xaf\x71\0\0\0\0\0\0\xbf\x= 07\0\ +\0\0\0\0\0\x77\x07\0\0\x03\0\0\0\x57\x07\0\0\x01\0\0\0\x67\x04\0\0\x01\0\0= \0\ +\x4f\x74\0\0\0\0\0\0\xbf\x57\0\0\0\0\0\0\x67\x07\0\0\x3d\0\0\0\xc7\x07\0\0= \x3f\ +\0\0\0\x5f\x47\0\0\0\0\0\0\xaf\x71\0\0\0\0\0\0\xbf\x07\0\0\0\0\0\0\x77\x07= \0\0\ +\x02\0\0\0\x57\x07\0\0\x01\0\0\0\x67\x04\0\0\x01\0\0\0\x4f\x74\0\0\0\0\0\0= \xbf\ +\x57\0\0\0\0\0\0\x67\x07\0\0\x3e\0\0\0\xc7\x07\0\0\x3f\0\0\0\x5f\x47\0\0\0= \0\0\ +\0\xaf\x71\0\0\0\0\0\0\xbf\x07\0\0\0\0\0\0\x77\x07\0\0\x01\0\0\0\x57\x07\0= \0\ +\x01\0\0\0\x67\x04\0\0\x01\0\0\0\x4f\x74\0\0\0\0\0\0\x57\x05\0\0\x01\0\0\0= \x87\ +\x05\0\0\0\0\0\0\x5f\x45\0\0\0\0\0\0\xaf\x51\0\0\0\0\0\0\x57\0\0\0\x01\0\0= \0\ +\x67\x04\0\0\x01\0\0\0\x4f\x04\0\0\0\0\0\0\x07\x02\0\0\x01\0\0\0\xbf\x10\0= \0\0\ +\0\0\0\x15\x02\x0b\0\x24\0\0\0\xbf\xa1\0\0\0\0\0\0\x07\x01\0\0\xa0\xff\xff= \xff\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0\0\0\0\0\0\0\0\x14\0\0\0\0\0\0\0\x27\0\0\0\x12\0\x03\0\0\0\0= \0\0\ +\0\0\0\x50\x13\0\0\0\0\0\0\x28\0\0\0\0\0\0\0\x01\0\0\0\x3a\0\0\0\x1c\0\0\0= \0\0\ +\0\0\x01\0\0\0\x38\0\0\0\0\x2e\x74\x65\x78\x74\0\x6d\x61\x70\x73\0\x74\x61= \x70\ +\x5f\x72\x73\x73\x5f\x6d\x61\x70\x5f\x63\x6f\x6e\x66\x69\x67\x75\x72\x61\x= 74\ +\x69\x6f\x6e\x73\0\x74\x75\x6e\x5f\x72\x73\x73\x5f\x73\x74\x65\x65\x72\x69= \x6e\ +\x67\x5f\x70\x72\x6f\x67\0\x2e\x72\x65\x6c\x74\x75\x6e\x5f\x72\x73\x73\x5f= \x73\ +\x74\x65\x65\x72\x69\x6e\x67\0\x5f\x6c\x69\x63\x65\x6e\x73\x65\0\x2e\x72\x= 65\ +\x6c\x2e\x65\x68\x5f\x66\x72\x61\x6d\x65\0\x72\x73\x73\x2e\x62\x70\x66\x2e= \x63\ +\0\x2e\x73\x74\x72\x74\x61\x62\0\x2e\x73\x79\x6d\x74\x61\x62\0\x4c\x42\x42= \x30\ +\x5f\x39\0\x4c\x42\x42\x30\x5f\x39\x39\0\x4c\x42\x42\x30\x5f\x38\x39\0\x4c= \x42\ +\x42\x30\x5f\x36\x39\0\x4c\x42\x42\x30\x5f\x35\x39\0\x4c\x42\x42\x30\x5f\x= 32\ +\x39\0\x4c\x42\x42\x30\x5f\x31\x39\0\x4c\x42\x42\x30\x5f\x38\0\x4c\x42\x42= \x30\ +\x5f\x38\x38\0\x4c\x42\x42\x30\x5f\x35\x38\0\x4c\x42\x42\x30\x5f\x34\x38\0= \x4c\ +\x42\x42\x30\x5f\x32\x38\0\x4c\x42\x42\x30\x5f\x31\x38\0\x4c\x42\x42\x30\x= 5f\ +\x31\x30\x38\0\x4c\x42\x42\x30\x5f\x38\x37\0\x4c\x42\x42\x30\x5f\x37\x37\0= \x4c\ +\x42\x42\x30\x5f\x36\x37\0\x4c\x42\x42\x30\x5f\x35\x37\0\x4c\x42\x42\x30\x= 5f\ +\x34\x37\0\x4c\x42\x42\x30\x5f\x39\x36\0\x4c\x42\x42\x30\x5f\x34\x36\0\x4c= \x42\ +\x42\x30\x5f\x31\x30\x36\0\x4c\x42\x42\x30\x5f\x38\x35\0\x4c\x42\x42\x30\x= 5f\ +\x37\x35\0\x4c\x42\x42\x30\x5f\x36\x35\0\x4c\x42\x42\x30\x5f\x35\x35\0\x4c= \x42\ +\x42\x30\x5f\x34\x35\0\x4c\x42\x42\x30\x5f\x33\x35\0\x4c\x42\x42\x30\x5f\x= 32\ +\x35\0\x4c\x42\x42\x30\x5f\x31\x30\x35\0\x4c\x42\x42\x30\x5f\x39\x34\0\x4c= \x42\ \x42\x30\x5f\x35\x34\0\x4c\x42\x42\x30\x5f\x34\x34\0\x4c\x42\x42\x30\x5f\x= 32\ -\x34\0\x4c\x42\x42\x30\x5f\x31\x30\x34\0\x4c\x42\x42\x30\x5f\x39\x33\0\x4c= \x42\ -\x42\x30\x5f\x38\x33\0\x4c\x42\x42\x30\x5f\x35\x33\0\x4c\x42\x42\x30\x5f\x= 34\ -\x33\0\x4c\x42\x42\x30\x5f\x32\x33\0\x4c\x42\x42\x30\x5f\x31\x30\x33\0\x4c= \x42\ -\x42\x30\x5f\x38\x32\0\x4c\x42\x42\x30\x5f\x35\x32\0\x4c\x42\x42\x30\x5f\x= 31\ -\x30\x32\0\x4c\x42\x42\x30\x5f\x39\x31\0\x4c\x42\x42\x30\x5f\x38\x31\0\x4c= \x42\ -\x42\x30\x5f\x37\x31\0\x4c\x42\x42\x30\x5f\x36\x31\0\x4c\x42\x42\x30\x5f\x= 35\ -\x31\0\x4c\x42\x42\x30\x5f\x34\x31\0\x4c\x42\x42\x30\x5f\x32\x31\0\x4c\x42= \x42\ -\x30\x5f\x31\x31\0\x4c\x42\x42\x30\x5f\x31\x31\x31\0\x4c\x42\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0\ -\0\0\0\x6c\0\0\0\x01\0\0\0\x03\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x54\x14\0\0\0= \0\0\ -\0\x07\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x01\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x78= \0\0\ -\0\x01\0\0\0\x02\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x60\x14\0\0\0\0\0\0\x30\0\0= \0\0\ -\0\0\0\0\0\0\0\0\0\0\0\x08\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x74\0\0\0\x09\0\0= \0\0\ -\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x90\x1a\0\0\0\0\0\0\x10\0\0\0\0\0\0\0\x09\0= \0\0\ -\x07\0\0\0\x08\0\0\0\0\0\0\0\x10\0\0\0\0\0\0\0\xb2\0\0\0\x02\0\0\0\0\0\0\0= \0\0\ -\0\0\0\0\0\0\0\0\0\0\x90\x14\0\0\0\0\0\0\xd0\x05\0\0\0\0\0\0\x01\0\0\0\x39= \0\0\ -\0\x08\0\0\0\0\0\0\0\x18\0\0\0\0\0\0\0"; +\x34\0\x4c\x42\x42\x30\x5f\x31\x30\x34\0\x4c\x42\x42\x30\x5f\x33\0\x4c\x42= \x42\ +\x30\x5f\x38\x33\0\x4c\x42\x42\x30\x5f\x33\x33\0\x4c\x42\x42\x30\x5f\x31\x= 30\ +\x33\0\x4c\x42\x42\x30\x5f\x32\0\x4c\x42\x42\x30\x5f\x37\x32\0\x4c\x42\x42= \x30\ +\x5f\x35\x32\0\x4c\x42\x42\x30\x5f\x33\x32\0\x4c\x42\x42\x30\x5f\x31\x32\0= \x4c\ +\x42\x42\x30\x5f\x31\x30\x32\0\x4c\x42\x42\x30\x5f\x39\x31\0\x4c\x42\x42\x= 30\ +\x5f\x38\x31\0\x4c\x42\x42\x30\x5f\x37\x31\0\x4c\x42\x42\x30\x5f\x31\x31\0= \x4c\ +\x42\x42\x30\x5f\x31\x30\x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\0\0\0\0\0\0\x07\0\0\0\0\0\0\0= \0\0\ +\0\0\0\0\0\0\x01\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x5f\0\0\0\x01\0\0\0\x02\0\0= \0\0\ +\0\0\0\0\0\0\0\0\0\0\0\xb0\x13\0\0\0\0\0\0\x30\0\0\0\0\0\0\0\0\0\0\0\0\0\0= \0\ +\x08\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x5b\0\0\0\x09\0\0\0\0\0\0\0\0\0\0\0\0\0= \0\0\ +\0\0\0\0\x90\x19\0\0\0\0\0\0\x10\0\0\0\0\0\0\0\x09\0\0\0\x07\0\0\0\x08\0\0= \0\0\ +\0\0\0\x10\0\0\0\0\0\0\0\x7b\0\0\0\x02\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0= \0\ +\xe0\x13\0\0\0\0\0\0\xa0\x05\0\0\0\0\0\0\x01\0\0\0\x39\0\0\0\x08\0\0\0\0\0= \0\0\ +\x18\0\0\0\0\0\0\0"; =20 return 0; err: diff --git a/tools/ebpf/rss.bpf.c b/tools/ebpf/rss.bpf.c index e85ec55f9b..1fed1d074c 100644 --- a/tools/ebpf/rss.bpf.c +++ b/tools/ebpf/rss.bpf.c @@ -36,19 +36,6 @@ #define INDIRECTION_TABLE_SIZE 128 #define HASH_CALCULATION_BUFFER_SIZE 36 =20 -struct rss_config_t { - __u8 redirect; - __u8 populate_hash; - __u32 hash_types; - __u16 indirections_len; - __u16 default_queue; -} __attribute__((packed)); - -struct toeplitz_key_data_t { - __u32 leftmost_32_bits; - __u8 next_byte[HASH_CALCULATION_BUFFER_SIZE]; -}; - struct packet_hash_info_t { __u8 is_ipv4; __u8 is_ipv6; @@ -76,28 +63,30 @@ struct packet_hash_info_t { }; }; =20 -struct bpf_map_def SEC("maps") -tap_rss_map_configurations =3D { - .type =3D BPF_MAP_TYPE_ARRAY, - .key_size =3D sizeof(__u32), - .value_size =3D sizeof(struct rss_config_t), - .max_entries =3D 1, +struct toeplitz_key_data_t { + __u32 leftmost_32_bits; + __u8 next_byte[HASH_CALCULATION_BUFFER_SIZE]; }; =20 -struct bpf_map_def SEC("maps") -tap_rss_map_toeplitz_key =3D { - .type =3D BPF_MAP_TYPE_ARRAY, - .key_size =3D sizeof(__u32), - .value_size =3D sizeof(struct toeplitz_key_data_t), - .max_entries =3D 1, -}; +struct rss_config_t { + __u8 redirect; + __u8 populate_hash; + __u32 hash_types; + __u16 indirections_len; + __u16 default_queue; + + struct toeplitz_key_data_t toeplitz_key; + + __u16 indirections_table[INDIRECTION_TABLE_SIZE]; +} __attribute__((packed)); =20 struct bpf_map_def SEC("maps") -tap_rss_map_indirection_table =3D { +tap_rss_map_configurations =3D { .type =3D BPF_MAP_TYPE_ARRAY, .key_size =3D sizeof(__u32), - .value_size =3D sizeof(__u16), - .max_entries =3D INDIRECTION_TABLE_SIZE, + .value_size =3D sizeof(struct rss_config_t), + .max_entries =3D 1, + .map_flags =3D BPF_F_MMAPABLE, }; =20 static inline void net_rx_rss_add_chunk(__u8 *rss_input, size_t *bytes_wri= tten, @@ -381,7 +370,7 @@ error: } =20 static inline __u32 calculate_rss_hash(struct __sk_buff *skb, - struct rss_config_t *config, struct toeplitz_key_data_t *toe) + struct rss_config_t *config) { __u8 rss_input[HASH_CALCULATION_BUFFER_SIZE] =3D {}; size_t bytes_written =3D 0; @@ -525,7 +514,8 @@ static inline __u32 calculate_rss_hash(struct __sk_buff= *skb, } =20 if (bytes_written) { - net_toeplitz_add(&result, rss_input, bytes_written, toe); + net_toeplitz_add(&result, rss_input, + bytes_written, &config->toeplitz_key); } =20 return result; @@ -536,29 +526,24 @@ int tun_rss_steering_prog(struct __sk_buff *skb) { =20 struct rss_config_t *config; - struct toeplitz_key_data_t *toe; =20 __u32 key =3D 0; __u32 hash =3D 0; =20 config =3D bpf_map_lookup_elem(&tap_rss_map_configurations, &key); - toe =3D bpf_map_lookup_elem(&tap_rss_map_toeplitz_key, &key); =20 - if (config && toe) { + if (config) { if (!config->redirect) { return config->default_queue; } =20 - hash =3D calculate_rss_hash(skb, config, toe); + hash =3D calculate_rss_hash(skb, config); if (hash) { __u32 table_idx =3D hash % config->indirections_len; - __u16 *queue =3D 0; - - queue =3D bpf_map_lookup_elem(&tap_rss_map_indirection_table, - &table_idx); =20 - if (queue) { - return *queue; + if (table_idx < INDIRECTION_TABLE_SIZE + && table_idx < config->indirections_len) { + return config->indirections_table[table_idx]; } } =20 --=20 2.31.1 From nobody Sat May 18 19:55:13 2024 Delivered-To: importer2@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 16261907757481023.983417506601; Tue, 13 Jul 2021 08:39:35 -0700 (PDT) Received: from localhost ([::1]:49798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3KVS-0003qo-Mi for importer2@patchew.org; Tue, 13 Jul 2021 11:39:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3KU4-0001pl-Gy for qemu-devel@nongnu.org; Tue, 13 Jul 2021 11:38:08 -0400 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:42926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3KU2-0003Ln-6g for qemu-devel@nongnu.org; Tue, 13 Jul 2021 11:38:08 -0400 Received: by mail-lf1-x12d.google.com with SMTP id 8so39328377lfp.9 for ; Tue, 13 Jul 2021 08:38:05 -0700 (PDT) Received: from navi.cosmonova.net.ua ([95.67.24.131]) by smtp.gmail.com with ESMTPSA id i5sm131447lfv.246.2021.07.13.08.38.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jul 2021 08:38:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VZcva1w0YsTCDAr5AsPAqXS01llpV02/KrLMUdw59do=; b=Yrkz6mROgPZnD4oQfhgzBSL4zNcvfT9fr405tdQhVhwkf2lDc7yNwjLaKpqtetQIor ZI8F8M+LJdpREwXU1Z9g9YJMnL6qSgagRV2zPIj8XqpZj7jxkVobqm+v3Q1qQyxF5qPP 0O5WS90OFES/QLM/iv4GnQ/6RHvzrk4eMebwjnEcCv2HxuZnz82RGFFHLZGAYbSScFi+ N7DtHAxt1pR0eGHzecQROoVkIrlq6pSCRH1G2EtsogDJRwfrhHrLHMEVCTgS4QbrEB06 eMdkQKN4XGE9r/CefumEwZgRKF7KbwXmXCpI0tZIyFTPWxUqA3q9HiytVO5Yn5u8dMFK mmJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VZcva1w0YsTCDAr5AsPAqXS01llpV02/KrLMUdw59do=; b=sZO5WeJoLzTS/nQjZkzvL042i+8yxwskZkstdYksS2XcnbsScFG+2+HU4ZsFyKZf/z w0iBStZse+9cCYUmruzH3ZenjaQDT/JkZEDosfxiNQ6XcRyfzBWvCnH9EepiZ+UEydRW A2VVYR/QU83vF6c8Z2pF9SiwaicqWe9QBtEFhrLW1zRxfriD5SOD2QtyLSfeKb7laFzl VZmu/gcKXlzFva4q75bOLk4GVFsnyuJoCxSzrJdNiGsncPkVS4X33wP42TYauaq0OWKo Z/EjPlY1oldVaAxYJYKZGc6znKlTac8J/5xV9frjWCoAazV8MlTlCU/cvpvU8LA83Mo6 D/BQ== X-Gm-Message-State: AOAM531r08nZDlia2QzTKKNezBqoDncY29Ijq4VY44Q/PbFoWHz5W3vu pvdXO8CDyBWor5ARtJlr6iFwjw== X-Google-Smtp-Source: ABdhPJzsRYAsnlheCqGL7cPOAN8TPEPJkF86V8rz17d5jzuGXwnPyunDJIBDfwEQgzX/y+IdLXmkLA== X-Received: by 2002:a19:f716:: with SMTP id z22mr3988587lfe.13.1626190684811; Tue, 13 Jul 2021 08:38:04 -0700 (PDT) From: Andrew Melnychenko To: mst@redhat.com, yuri.benditovich@daynix.com, jasowang@redhat.com, armbru@redhat.com, eblake@redhat.com, berrange@redhat.com Subject: [PATCH 2/5] virtio-net: Added property to load eBPF RSS with fds. Date: Tue, 13 Jul 2021 18:37:55 +0300 Message-Id: <20210713153758.323614-3-andrew@daynix.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210713153758.323614-1-andrew@daynix.com> References: <20210713153758.323614-1-andrew@daynix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=2a00:1450:4864:20::12d; envelope-from=andrew@daynix.com; helo=mail-lf1-x12d.google.com X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yan@daynix.com, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1626190777449100001 Content-Type: text/plain; charset="utf-8" eBPF RSS program and maps now may be passed during initialization. Initially was implemented for libvirt to launch qemu without permissions. Signed-off-by: Andrew Melnychenko --- hw/net/virtio-net.c | 77 ++++++++++++++++++++++++++++++++-- include/hw/virtio/virtio-net.h | 1 + 2 files changed, 74 insertions(+), 4 deletions(-) diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index bd7958b9f0..0602b1772e 100644 --- a/hw/net/virtio-net.c +++ b/hw/net/virtio-net.c @@ -41,6 +41,7 @@ #include "sysemu/sysemu.h" #include "trace.h" #include "monitor/qdev.h" +#include "monitor/monitor.h" #include "hw/pci/pci.h" #include "net_rx_pkt.h" #include "hw/virtio/vhost.h" @@ -1223,14 +1224,81 @@ static void virtio_net_detach_epbf_rss(VirtIONet *n) virtio_net_attach_ebpf_to_backend(n->nic, -1); } =20 -static bool virtio_net_load_ebpf(VirtIONet *n) +static int virtio_net_get_ebpf_rss_fds(char *str, char *fds[], int nfds) { - if (!virtio_net_attach_ebpf_to_backend(n->nic, -1)) { - /* backend does't support steering ebpf */ + char *ptr =3D str; + char *cur =3D NULL; + size_t len =3D strlen(str); + int i =3D 0; + + for (; i < nfds && ptr < str + len;) { + cur =3D strchr(ptr, ':'); + + if (cur =3D=3D NULL) { + fds[i] =3D g_strdup(ptr); + } else { + fds[i] =3D g_strndup(ptr, cur - ptr); + } + + i++; + if (cur =3D=3D NULL) { + break; + } else { + ptr =3D cur + 1; + } + } + + return i; +} + +static bool virtio_net_load_ebpf_fds(VirtIONet *n) +{ + char *fds_strs[EBPF_RSS_MAX_FDS]; + int fds[EBPF_RSS_MAX_FDS]; + int nfds; + int ret =3D false; + Error *errp; + int i =3D 0; + + if (n =3D=3D NULL || !n->ebpf_rss_fds) { return false; } =20 - return ebpf_rss_load(&n->ebpf_rss); + nfds =3D virtio_net_get_ebpf_rss_fds(n->ebpf_rss_fds, + fds_strs, EBPF_RSS_MAX_FDS); + for (i =3D 0; i < nfds; i++) { + fds[i] =3D monitor_fd_param(monitor_cur(), fds_strs[i], &errp); + } + + if (nfds =3D=3D EBPF_RSS_MAX_FDS) { + ret =3D ebpf_rss_load_fds(&n->ebpf_rss, fds[0], fds[1], fds[2], fd= s[3]); + } + + if (!ret) { + for (i =3D 0; i < nfds; i++) { + close(fds[i]); + } + } + + for (i =3D 0; i < nfds; i++) { + g_free(fds_strs[i]); + } + + return ret; +} + +static bool virtio_net_load_ebpf(VirtIONet *n) +{ + bool ret =3D true; + + if (virtio_net_attach_ebpf_to_backend(n->nic, -1)) { + if (!(n->ebpf_rss_fds + && virtio_net_load_ebpf_fds(n))) { + ret =3D ebpf_rss_load(&n->ebpf_rss); + } + } + + return ret; } =20 static void virtio_net_unload_ebpf(VirtIONet *n) @@ -3605,6 +3673,7 @@ static Property virtio_net_properties[] =3D { VIRTIO_NET_F_RSS, false), DEFINE_PROP_BIT64("hash", VirtIONet, host_features, VIRTIO_NET_F_HASH_REPORT, false), + DEFINE_PROP_STRING("ebpf_rss_fds", VirtIONet, ebpf_rss_fds), DEFINE_PROP_BIT64("guest_rsc_ext", VirtIONet, host_features, VIRTIO_NET_F_RSC_EXT, false), DEFINE_PROP_UINT32("rsc_interval", VirtIONet, rsc_timeout, diff --git a/include/hw/virtio/virtio-net.h b/include/hw/virtio/virtio-net.h index 824a69c23f..993f2f3036 100644 --- a/include/hw/virtio/virtio-net.h +++ b/include/hw/virtio/virtio-net.h @@ -213,6 +213,7 @@ struct VirtIONet { VirtioNetRssData rss_data; struct NetRxPkt *rx_pkt; struct EBPFRSSContext ebpf_rss; + char *ebpf_rss_fds; }; =20 void virtio_net_set_netclient_name(VirtIONet *n, const char *name, --=20 2.31.1 From nobody Sat May 18 19:55:13 2024 Delivered-To: importer2@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1626190784933186.5941353230396; Tue, 13 Jul 2021 08:39:44 -0700 (PDT) Received: from localhost ([::1]:49942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3KVb-0003wJ-LY for importer2@patchew.org; Tue, 13 Jul 2021 11:39:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3KU5-0001qs-LH for qemu-devel@nongnu.org; Tue, 13 Jul 2021 11:38:09 -0400 Received: from mail-lf1-x144.google.com ([2a00:1450:4864:20::144]:33482) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3KU3-0003M1-AW for qemu-devel@nongnu.org; Tue, 13 Jul 2021 11:38:09 -0400 Received: by mail-lf1-x144.google.com with SMTP id t17so51083814lfq.0 for ; Tue, 13 Jul 2021 08:38:06 -0700 (PDT) Received: from navi.cosmonova.net.ua ([95.67.24.131]) by smtp.gmail.com with ESMTPSA id i5sm131447lfv.246.2021.07.13.08.38.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jul 2021 08:38:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=R7FlQLytGgsIjGXRhptaQZh9z7MT5kOGjTEzDp5MOt4=; b=EFLwVfD0b7KrxVnnE4P3eng2bu56iHawHpbDVlrIvdms/3U+4So9vwMZOQmjpyTmMK CsIlZSotlxR8+l9H7M0C8TZqXA/tlZ4CcZWgQfl21EpZANpD3xPoc2FwKuRiB9g0Z9ZX Ecxfgt2PiANG6WFEd9iLe7D3rweI2K5O3DrRbdH5hswsDSSY/VekgEK+pl24p2BaIl6d e2yulj7T3cj1tbwRScsrFCetVBod/ol7X3aVyqyECHLhog5UuVLTifeA3EIWZ3EiUO40 Tb3FVPK5n7jUH57G86G1fDVkmC2coPjYat1WPnY6oLH0RIv9GpSOITnV1kHl9bK5HQHR LuPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=R7FlQLytGgsIjGXRhptaQZh9z7MT5kOGjTEzDp5MOt4=; b=M+mign2Jkf9RJyt4rtQDFmbVpCuatwUjf+o5JX394S0jEiui2wnIRLWVuzmv+dQAl5 zBTGvEud81//29q1NLkEjbhzeEUvRONhA66URGldXf6TzqxnRHpeH0q8+Gbkw5P/Jlu3 Hv0KdgnEE36PywAIqVkFdqQacR3bIVRBq4i7/eWvPzCOB0Pvvl0Yx5hk9fdsXvcX0MUY WzjP8QRN3n+j4dbkevZ7mivxQaP8hbkh+r/8cBrAVLusQ4BERwRexGrqWiN2qxEpqjbt OwhO9VSEX2OzxPgb2Bh3b1olv94aFwVHBzS4GTSeweTKCqaJhKiJsf/AnVtZs5k6fTWo qV3w== X-Gm-Message-State: AOAM532jRJMKs8iPXwzrW+bR0apziZnFxUfpZb1HiPC1sg0QCpfhrT8F d/Ahv2Zn3UrWEwtwSvHBpoVmAg== X-Google-Smtp-Source: ABdhPJxNJ0MAD1SyL0Bn4E0hobwiqNHR6JzUnyaWN6MjI8STfAW/FAxbal5b/vnEXU+YhPXeYnH5Tg== X-Received: by 2002:a19:c312:: with SMTP id t18mr4028987lff.354.1626190685797; Tue, 13 Jul 2021 08:38:05 -0700 (PDT) From: Andrew Melnychenko To: mst@redhat.com, yuri.benditovich@daynix.com, jasowang@redhat.com, armbru@redhat.com, eblake@redhat.com, berrange@redhat.com Subject: [PATCH 3/5] qmp: Added the helper stamp check. Date: Tue, 13 Jul 2021 18:37:56 +0300 Message-Id: <20210713153758.323614-4-andrew@daynix.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210713153758.323614-1-andrew@daynix.com> References: <20210713153758.323614-1-andrew@daynix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=2a00:1450:4864:20::144; envelope-from=andrew@daynix.com; helo=mail-lf1-x144.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yan@daynix.com, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1626190786596100001 Content-Type: text/plain; charset="utf-8" Added function to check the stamp in the helper. eBPF helper should have a special symbol that generates during build. QEMU checks the helper and determinates that it fits, so the helper will produce proper output. Signed-off-by: Andrew Melnychenko --- meson.build | 10 + monitor/meson.build | 1 + monitor/qemu-helper-stamp-utils.c | 297 ++++++++++++++++++++++++++++++ monitor/qemu-helper-stamp-utils.h | 24 +++ 4 files changed, 332 insertions(+) create mode 100644 monitor/qemu-helper-stamp-utils.c create mode 100644 monitor/qemu-helper-stamp-utils.h diff --git a/meson.build b/meson.build index 626cf932c1..257e51d91b 100644 --- a/meson.build +++ b/meson.build @@ -1757,6 +1757,16 @@ foreach d : hx_headers endforeach genh +=3D hxdep =20 +helper_stamp =3D custom_target( + 'qemu-helper-stamp.h', + output : 'qemu-helper-stamp.h', + input : 'ebpf/rss.bpf.skeleton.h', + command : [python, '-c', 'import hashlib; print(\'#define QEMU_HELPER_= STAMP qemuHelperStamp_{}\'.format(hashlib.sha1(open(\'@INPUT@\', \'rb\').re= ad()).hexdigest()))'], + capture: true, +) + +genh +=3D helper_stamp + ################### # Collect sources # ################### diff --git a/monitor/meson.build b/monitor/meson.build index 6d00985ace..2b6b39549b 100644 --- a/monitor/meson.build +++ b/monitor/meson.build @@ -5,5 +5,6 @@ softmmu_ss.add(files( 'hmp.c', )) softmmu_ss.add([spice_headers, files('qmp-cmds.c')]) +softmmu_ss.add(files('qemu-helper-stamp-utils.c')) =20 specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: [files('misc.c'), spice]) diff --git a/monitor/qemu-helper-stamp-utils.c b/monitor/qemu-helper-stamp-= utils.c new file mode 100644 index 0000000000..d34c3b94c5 --- /dev/null +++ b/monitor/qemu-helper-stamp-utils.c @@ -0,0 +1,297 @@ +/* + * QEMU helper stamp check utils. + * + * Developed by Daynix Computing LTD (http://www.daynix.com) + * + * Authors: + * Andrew Melnychenko + * + * This work is licensed under the terms of the GNU GPL, version 2. See + * the COPYING file in the top-level directory. + * + * Description: This file mostly implements helper stamp checking. + * The stamp is implemented in a similar way as in qemu modul= es. + * The helper should contain a specific symbol. + * Not in a similar way is symbol checking - here we parse + * the ELF file. For now(10.07.2021), only eBPF helper contai= ns + * the stamp, and the stamp is generated from + * sha1 ebpf/rss.bpf.skeleton.h (see meson.build). + */ + +#include "qemu/osdep.h" +#include "elf.h" +#include "qemu-helper-stamp-utils.h" + +#include + +#ifdef CONFIG_LINUX + +static void *file_allocate_and_read(int fd, off_t off, size_t size) +{ + void *data; + int err; + + if (fd < 0) { + return NULL; + } + + err =3D lseek(fd, off, SEEK_SET); + if (err < 0) { + return NULL; + } + + data =3D g_new0(char, size); + if (data =3D=3D NULL) { + return NULL; + } + + err =3D read(fd, data, size); + if (err < 0) { + g_free(data); + return NULL; + } + + return data; +} + +static Elf64_Shdr *elf64_get_section_table(int fd, Elf64_Ehdr *elf_header) +{ + if (elf_header =3D=3D NULL) { + return NULL; + } + return (Elf64_Shdr *)file_allocate_and_read(fd, elf_header->e_shoff, + elf_header->e_shnum * elf_header->e_shentsize= ); +} + +static Elf32_Shdr *elf32_get_section_table(int fd, Elf32_Ehdr *elf_header) +{ + if (elf_header =3D=3D NULL) { + return NULL; + } + return (Elf32_Shdr *)file_allocate_and_read(fd, elf_header->e_shoff, + elf_header->e_shnum * elf_header->e_shentsize= ); +} + +static void *elf64_get_section_data(int fd, const Elf64_Shdr* section_head= er) +{ + if (fd < 0 || section_header =3D=3D NULL) { + return NULL; + } + return file_allocate_and_read(fd, section_header->sh_offset, + section_header->sh_size); +} + +static void *elf32_get_section_data(int fd, const Elf32_Shdr* section_head= er) +{ + if (fd < 0 || section_header =3D=3D NULL) { + return NULL; + } + return file_allocate_and_read(fd, section_header->sh_offset, + section_header->sh_size); +} + +static bool elf64_check_symbol_in_symbol_table(int fd, + Elf64_Shdr *section_table, + Elf64_Shdr *symbol_section, + const char *symbol) +{ + Elf64_Sym *symbol_table; + char *string_table; + uint32_t i; + bool ret =3D false; + + symbol_table =3D (Elf64_Sym *) elf64_get_section_data(fd, symbol_secti= on); + if (symbol_table =3D=3D NULL) { + return false; + } + + string_table =3D (char *) elf64_get_section_data( + fd, section_table + symbol_section->sh_link); + if (string_table =3D=3D NULL) { + g_free(symbol_table); + return false; + } + + for (i =3D 0; i < (symbol_section->sh_size / sizeof(Elf64_Sym)); ++i) { + if (strncmp((string_table + symbol_table[i].st_name), + symbol, strlen(symbol)) =3D=3D 0) + { + ret =3D true; + break; + } + } + + g_free(string_table); + g_free(symbol_table); + return ret; +} + +static bool elf32_check_symbol_in_symbol_table(int fd, + Elf32_Shdr *section_table, + Elf32_Shdr *symbol_section, + const char *symbol) +{ + Elf32_Sym *symbol_table; + char *string_table; + uint32_t i; + bool ret =3D false; + + symbol_table =3D (Elf32_Sym *) elf32_get_section_data(fd, symbol_secti= on); + if (symbol_table =3D=3D NULL) { + return false; + } + + string_table =3D (char *) elf32_get_section_data(fd, + section_table + symbol_section->sh_= link); + if (string_table =3D=3D NULL) { + g_free(symbol_table); + return false; + } + + for (i =3D 0; i < (symbol_section->sh_size / sizeof(Elf32_Sym)); ++i) { + if (strncmp((string_table + symbol_table[i].st_name), + symbol, strlen(symbol)) =3D=3D 0) + { + ret =3D true; + break; + } + } + + g_free(string_table); + g_free(symbol_table); + return ret; +} + +static bool elf64_check_stamp(int fd, Elf64_Ehdr *elf_header, const char *= stamp) +{ + Elf64_Shdr *section_table; + size_t i; + bool ret =3D false; + + section_table =3D elf64_get_section_table(fd, elf_header); + if (section_table =3D=3D NULL) { + return false; + } + + for (i =3D 0; i < elf_header->e_shnum; ++i) { + if ((section_table[i].sh_type =3D=3D SHT_SYMTAB) + || (section_table[i].sh_type =3D=3D SHT_DYNSYM)) { + if (elf64_check_symbol_in_symbol_table(fd, section_table, + section_table + i, stam= p)) { + ret =3D true; + break; + } + } + } + + g_free(section_table); + return ret; +} + +static bool elf32_check_stamp(int fd, Elf32_Ehdr *elf_header, const char *= stamp) +{ + Elf32_Shdr *section_table; + size_t i; + bool ret =3D false; + + section_table =3D elf32_get_section_table(fd, elf_header); + if (section_table =3D=3D NULL) { + return false; + } + + for (i =3D 0; i < elf_header->e_shnum; ++i) { + if ((section_table[i].sh_type =3D=3D SHT_SYMTAB) + || (section_table[i].sh_type =3D=3D SHT_DYNSYM)) { + if (elf32_check_symbol_in_symbol_table(fd, section_table, + section_table + i, stam= p)) { + ret =3D true; + break; + } + } + } + + g_free(section_table); + return ret; +} + +bool qemu_check_helper_stamp(const char *path, const char *stamp) +{ + int fd; + bool ret =3D false; + Elf64_Ehdr *elf_header; + + fd =3D open(path, O_RDONLY | O_SYNC); + if (fd < 0) { + return false; + } + + elf_header =3D (Elf64_Ehdr *)file_allocate_and_read( + fd, 0, sizeof(Elf64_Ehdr)); + if (elf_header =3D=3D NULL) { + goto error; + } + + if (strncmp((char *)elf_header->e_ident, ELFMAG, SELFMAG)) { + g_free(elf_header); + goto error; + } + + if (elf_header->e_ident[EI_CLASS] =3D=3D ELFCLASS64) { + ret =3D elf64_check_stamp(fd, elf_header, stamp); + } else if (elf_header->e_ident[EI_CLASS] =3D=3D ELFCLASS32) { + ret =3D elf32_check_stamp(fd, (Elf32_Ehdr *)elf_header, stamp); + } + + g_free(elf_header); +error: + close(fd); + return ret; +} + +#else + +bool qemu_check_helper_stamp(const char *path, const char *stamp) +{ + return false; +} + +#endif + +char *qemu_find_helper(const char *name, bool check_stamp) +{ + char *qemu_exec =3D NULL; + char *qemu_dir =3D NULL; + char *helper =3D NULL; + + if (name =3D=3D NULL) { + return NULL; + } + + helper =3D g_build_filename(CONFIG_QEMU_HELPERDIR, name, NULL); + if (g_access(helper, F_OK) =3D=3D 0 + && (!check_stamp + || qemu_check_helper_stamp(helper, QEMU_HELPER_STAMP_STR))) { + return helper; + } + g_free(helper); + +#ifdef CONFIG_LINUX + qemu_exec =3D g_file_read_link("/proc/self/exe", NULL); +#else + qemu_exec =3D NULL; +#endif + if (qemu_exec !=3D NULL) { + qemu_dir =3D g_path_get_dirname(qemu_exec); + g_free(qemu_exec); + helper =3D g_build_filename(qemu_dir, name, NULL); + g_free(qemu_dir); + if (g_access(helper, F_OK) =3D=3D 0 + && (!check_stamp + || qemu_check_helper_stamp(helper, QEMU_HELPER_STAMP_STR)))= { + return helper; + } + g_free(helper); + } + + return NULL; +} diff --git a/monitor/qemu-helper-stamp-utils.h b/monitor/qemu-helper-stamp-= utils.h new file mode 100644 index 0000000000..e64cf96aa6 --- /dev/null +++ b/monitor/qemu-helper-stamp-utils.h @@ -0,0 +1,24 @@ +/* + * QEMU helper stamp check utils. + * + * Developed by Daynix Computing LTD (http://www.daynix.com) + * + * Authors: + * Andrew Melnychenko + * + * This work is licensed under the terms of the GNU GPL, version 2. See + * the COPYING file in the top-level directory. + */ + +#ifndef QEMU_QEMU_HELPER_STAMP_UTILS_H +#define QEMU_QEMU_HELPER_STAMP_UTILS_H + +#include "qemu-helper-stamp.h" /* generated stamp per build */ + +#define QEMU_HELPER_STAMP_STR stringify(QEMU_HELPER_STAMP) + +bool qemu_check_helper_stamp(const char *path, const char *stamp); + +char *qemu_find_helper(const char *name, bool check_stamp); + +#endif /* QEMU_QEMU_HELPER_STAMP_UTILS_H */ --=20 2.31.1 From nobody Sat May 18 19:55:13 2024 Delivered-To: importer2@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1626190882001474.36470600243445; Tue, 13 Jul 2021 08:41:22 -0700 (PDT) Received: from localhost ([::1]:55380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3KXB-0007aU-17 for importer2@patchew.org; Tue, 13 Jul 2021 11:41:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3KU6-0001sS-BY for qemu-devel@nongnu.org; Tue, 13 Jul 2021 11:38:10 -0400 Received: from mail-lf1-x143.google.com ([2a00:1450:4864:20::143]:33482) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3KU4-0003NH-B0 for qemu-devel@nongnu.org; Tue, 13 Jul 2021 11:38:10 -0400 Received: by mail-lf1-x143.google.com with SMTP id t17so51083916lfq.0 for ; Tue, 13 Jul 2021 08:38:08 -0700 (PDT) Received: from navi.cosmonova.net.ua ([95.67.24.131]) by smtp.gmail.com with ESMTPSA id i5sm131447lfv.246.2021.07.13.08.38.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jul 2021 08:38:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AIFAXXtJz54daRTppnZxbaS/RHnutE31+CJVsDQf4oc=; b=zRHYWcqDyKrr2FfgrJHygQskkaOyed6fs3usEC87yJ1K3ML9Tz0NT7cXRw/bOXWJli kbgpzbRTHwaKY7N88H3z2amU84x5omO6Qb/itST9w8fPMpSJghX4mUOKN6bKDyAS38Dm UJehZ34rmpcnYdOIie65DzP8nRTcoj7eiz8QIUQWghhX07dX7lIZpfdb9urS9ihwS+sg 3OML7Sp7JgVWKYskU4Lsq01I7+ZtgpEAgYe+vPVgJsyd/TRnK7o573ICJgEzy093cGKC nSeNh0PCym1/pOMJX2vLsZggyFI5ih9kvBTSK9LxwBg3XL3i9Sm/7XHkNeGIor7WMGVp f/FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AIFAXXtJz54daRTppnZxbaS/RHnutE31+CJVsDQf4oc=; b=EYLfq4DXmhFuAC1jD7aAYXUvi5yBkv7gjY4mC4WnWxCmm/g+GGmVHyiAyMXPdtYG/n 0S/Ldw4Ut541d5S8Psq6Wc6gPAOUdW6hEo01gTLPfbH15Vb9z/8H2ujB7avG7ZDewQo4 f75yWgYkiBZi28ywwFpF/VACBDIX7IDZFzBS/Td5vEXYkX8Kks8WGK9s8xFPFyebOzDs IwzxLe7Q0UFcc/UgV38bKBAlSQL9eO1yry+FlPveQphGP95XlZybBu+q2Y1adZ+7tPiZ fp+2MDfFXzIcg0KN79UhYRIqe8UTw4BBZ3Meo8L8/Y32o9vF4ndHin7OeKopCqG8Hyuz ywmg== X-Gm-Message-State: AOAM531fa2a1NeiCG0u7IXGBdoOTCS60qT2J9icxF44CYryjKRxcLYzw GDKl1tD+wjQW/iLgowqQay4Zig== X-Google-Smtp-Source: ABdhPJwLGFC0z0qPgIwF7Spg2yEq3i+x3sKAlXxUdxNa21hni/79LFz84N0nDgbbA7HuZnGfGDJ8iQ== X-Received: by 2002:ac2:4e08:: with SMTP id e8mr4125719lfr.74.1626190686779; Tue, 13 Jul 2021 08:38:06 -0700 (PDT) From: Andrew Melnychenko To: mst@redhat.com, yuri.benditovich@daynix.com, jasowang@redhat.com, armbru@redhat.com, eblake@redhat.com, berrange@redhat.com Subject: [PATCH 4/5] ebpf_rss_helper: Added helper for eBPF RSS. Date: Tue, 13 Jul 2021 18:37:57 +0300 Message-Id: <20210713153758.323614-5-andrew@daynix.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210713153758.323614-1-andrew@daynix.com> References: <20210713153758.323614-1-andrew@daynix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=2a00:1450:4864:20::143; envelope-from=andrew@daynix.com; helo=mail-lf1-x143.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yan@daynix.com, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1626190883211100001 Content-Type: text/plain; charset="utf-8" Helper program. Loads eBPF RSS program and maps and passes them through uni= x socket. Libvirt may launch this helper and pass eBPF fds to qemu virtio-net. Also, libbpf dependency now exclusively for Linux. Libbpf is used for eBPF RSS steering, which is supported only by Linux TAP. There is no reason yet to build eBPF loader and helper for non Linux system= s, even if libbpf is present. Signed-off-by: Andrew Melnychenko --- ebpf/qemu-ebpf-rss-helper.c | 130 ++++++++++++++++++++++++++++++++++++ meson.build | 37 ++++++---- 2 files changed, 154 insertions(+), 13 deletions(-) create mode 100644 ebpf/qemu-ebpf-rss-helper.c diff --git a/ebpf/qemu-ebpf-rss-helper.c b/ebpf/qemu-ebpf-rss-helper.c new file mode 100644 index 0000000000..fe68758f57 --- /dev/null +++ b/ebpf/qemu-ebpf-rss-helper.c @@ -0,0 +1,130 @@ +/* + * eBPF RSS Helper + * + * Developed by Daynix Computing LTD (http://www.daynix.com) + * + * Authors: + * Andrew Melnychenko + * + * This work is licensed under the terms of the GNU GPL, version 2. See + * the COPYING file in the top-level directory. + * + * Description: This is helper program for libvirtd. + * It loads eBPF RSS program and passes fds through unix sock= et. + * Built by meson, target - 'qemu-ebpf-rss-helper'. + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +#include "ebpf_rss.h" + +#include "qemu-helper-stamp.h" + +void QEMU_HELPER_STAMP(void) {} + +static int send_fds(int socket, int *fds, int n) +{ + struct msghdr msg =3D {}; + struct cmsghdr *cmsg =3D NULL; + char buf[CMSG_SPACE(n * sizeof(int))]; + char dummy_buffer =3D 0; + struct iovec io =3D { .iov_base =3D &dummy_buffer, + .iov_len =3D sizeof(dummy_buffer) }; + + memset(buf, 0, sizeof(buf)); + + msg.msg_iov =3D &io; + msg.msg_iovlen =3D 1; + msg.msg_control =3D buf; + msg.msg_controllen =3D sizeof(buf); + + cmsg =3D CMSG_FIRSTHDR(&msg); + cmsg->cmsg_level =3D SOL_SOCKET; + cmsg->cmsg_type =3D SCM_RIGHTS; + cmsg->cmsg_len =3D CMSG_LEN(n * sizeof(int)); + + memcpy(CMSG_DATA(cmsg), fds, n * sizeof(int)); + + return sendmsg(socket, &msg, 0); +} + +static void print_help_and_exit(const char *prog, int exitcode) +{ + fprintf(stderr, "%s - load eBPF RSS program for qemu and pass eBPF fds" + " through unix socket.\n", prog); + fprintf(stderr, "\t--fd , -f - unix socket file descriptor" + " used to pass eBPF fds.\n"); + fprintf(stderr, "\t--help, -h - this help.\n"); + exit(exitcode); +} + +int main(int argc, char **argv) +{ + char *fd_string =3D NULL; + int unix_fd =3D 0; + struct EBPFRSSContext ctx =3D {}; + int fds[EBPF_RSS_MAX_FDS] =3D {}; + int ret =3D -1; + + for (;;) { + int c; + static struct option long_options[] =3D { + {"help", no_argument, 0, 'h'}, + {"fd", required_argument, 0, 'f'}, + {0, 0, 0, 0} + }; + c =3D getopt_long(argc, argv, "hf:", + long_options, NULL); + + if (c =3D=3D -1) { + break; + } + + switch (c) { + case 'f': + fd_string =3D optarg; + break; + case 'h': + default: + print_help_and_exit(argv[0], + c =3D=3D 'h' ? EXIT_SUCCESS : EXIT_FAILURE); + } + } + + if (!fd_string) { + fprintf(stderr, "Unix file descriptor not present.\n"); + print_help_and_exit(argv[0], EXIT_FAILURE); + } + + unix_fd =3D atoi(fd_string); + + if (!unix_fd) { + fprintf(stderr, "Unix file descriptor is invalid.\n"); + return EXIT_FAILURE; + } + + ebpf_rss_init(&ctx); + if (!ebpf_rss_load(&ctx)) { + fprintf(stderr, "Can't load ebpf.\n"); + return EXIT_FAILURE; + } + fds[0] =3D ctx.program_fd; + fds[1] =3D ctx.map_configuration; + + ret =3D send_fds(unix_fd, fds, EBPF_RSS_MAX_FDS); + if (ret < 0) { + fprintf(stderr, "Issue while sending fds: %s.\n", strerror(errno)); + } + + ebpf_rss_unload(&ctx); + + return ret < 0 ? EXIT_FAILURE : EXIT_SUCCESS; +} + diff --git a/meson.build b/meson.build index 257e51d91b..913aa1fee5 100644 --- a/meson.build +++ b/meson.build @@ -1033,19 +1033,22 @@ if not get_option('fuse_lseek').disabled() endif =20 # libbpf -libbpf =3D dependency('libbpf', required: get_option('bpf'), method: 'pkg-= config') -if libbpf.found() and not cc.links(''' - #include - int main(void) - { - bpf_object__destroy_skeleton(NULL); - return 0; - }''', dependencies: libbpf) - libbpf =3D not_found - if get_option('bpf').enabled() - error('libbpf skeleton test failed') - else - warning('libbpf skeleton test failed, disabling') +libbpf =3D not_found +if targetos =3D=3D 'linux' + libbpf =3D dependency('libbpf', required: get_option('bpf'), method: 'pk= g-config') + if libbpf.found() and not cc.links(''' + #include + int main(void) + { + bpf_object__destroy_skeleton(NULL); + return 0; + }''', dependencies: libbpf) + libbpf =3D not_found + if get_option('bpf').enabled() + error('libbpf skeleton test failed') + else + warning('libbpf skeleton test failed, disabling') + endif endif endif =20 @@ -2423,6 +2426,14 @@ if have_tools dependencies: [authz, crypto, io, qom, qemuutil, libcap_ng, mpathpersist], install: true) + + if libbpf.found() + executable('qemu-ebpf-rss-helper', files( + 'ebpf/qemu-ebpf-rss-helper.c', 'ebpf/ebpf_rss.c'), + dependencies: [qemuutil, libbpf, glib], + install: true, + install_dir: get_option('libexecdir')) + endif endif =20 if 'CONFIG_IVSHMEM' in config_host --=20 2.31.1 From nobody Sat May 18 19:55:13 2024 Delivered-To: importer2@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1626190885266842.139310373094; Tue, 13 Jul 2021 08:41:25 -0700 (PDT) Received: from localhost ([::1]:55590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3KXE-0007iy-8I for importer2@patchew.org; Tue, 13 Jul 2021 11:41:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3KU6-0001tx-Pk for qemu-devel@nongnu.org; Tue, 13 Jul 2021 11:38:10 -0400 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:38479) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3KU5-0003O1-5W for qemu-devel@nongnu.org; Tue, 13 Jul 2021 11:38:10 -0400 Received: by mail-lf1-x12e.google.com with SMTP id q16so14787226lfa.5 for ; Tue, 13 Jul 2021 08:38:08 -0700 (PDT) Received: from navi.cosmonova.net.ua ([95.67.24.131]) by smtp.gmail.com with ESMTPSA id i5sm131447lfv.246.2021.07.13.08.38.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jul 2021 08:38:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AXRaVZ81sdUkaQmM5XZhjm3TzpQKjAewwlE2hYHdDng=; b=UmfxdA83iBGlUh+7j9o6NY6oxLazI7B2dfvJDalvYp6lcUQqScAXk8XThurPXCz0BF dLm1A1lmMNiI2ivDiV8bSAsy6i+318yt1TIfW9yS6ZPaST4DL8DQZiEFSRC9bh0ot+iI mH2cu3DymoCzpR9K9wORGOKcvGpUUjmIFFgFwrjRxAqTbGISJj+e7gC3n8v/oByxHzVb ufbtxYNkc4N8RSUmjQsnRogcbMoNoFNQL+RB6hIKo0PhyeeQxjFZsqNKSrHsutzhmnRy 1JltmHm9co7pDqoFuEum/8ID2nPkdmyZFfayqbBP9Qxjb4/wEDXxJNusXwq0KjK6KTCV wyjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AXRaVZ81sdUkaQmM5XZhjm3TzpQKjAewwlE2hYHdDng=; b=Rep+XsEe0zJWzMTBxdepV0jR1vM/XidoddZb7lBVQqljcSH23d3Tz5ULIV5krnuXGk Sz6XbF5LRwb/YmdK7R7x5QsGQ0xUQDWnD9Tnew5pakdw7KlFKfvSnHSNUJZjnCP/NQOQ Ufij5PWds5IL4TjjQRWtumMbIgh3XpkgrOSBQ5URUmv7BtnVW1qc7As9b7U3scQ+2I07 pH6Q70X9jAchKD6zls7c6DkG6I64+ggoJv4C5KJFrkf7kJJgjjRMSLyv0L0Q8eDy3bcB IsRywa6aMPT8bDOKxwLERcaytSLIS+LBWOGw4DytkXz02l/62iL1g9HEQdoNXZKs44Bg Lj/A== X-Gm-Message-State: AOAM533CeXPgHmv+x7wVqzN4eDS4FuwPkOqc93zlkqhN00+B3zy4qdPM UkoWsGBNKHto1pactMvSNP61bg== X-Google-Smtp-Source: ABdhPJwf+lBY+EjVf1XqSQwnhRTN3oLh5WGIyjxjKoAaq8Xlu29ATagfJyfIkWRmicoOmvIBucBwgA== X-Received: by 2002:a05:6512:b96:: with SMTP id b22mr4111461lfv.155.1626190687742; Tue, 13 Jul 2021 08:38:07 -0700 (PDT) From: Andrew Melnychenko To: mst@redhat.com, yuri.benditovich@daynix.com, jasowang@redhat.com, armbru@redhat.com, eblake@redhat.com, berrange@redhat.com Subject: [PATCH 5/5] qmp: Added qemu-ebpf-rss-path command. Date: Tue, 13 Jul 2021 18:37:58 +0300 Message-Id: <20210713153758.323614-6-andrew@daynix.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210713153758.323614-1-andrew@daynix.com> References: <20210713153758.323614-1-andrew@daynix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=2a00:1450:4864:20::12e; envelope-from=andrew@daynix.com; helo=mail-lf1-x12e.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yan@daynix.com, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1626190885609100001 Content-Type: text/plain; charset="utf-8" New qmp command to query ebpf helper. It's crucial that qemu and helper are in sync and in touch. Technically helper should pass eBPF fds that qemu may accept. And different qemu's builds may have different eBPF programs and helpers. Qemu returns helper that should "fit" to virtio-net. Signed-off-by: Andrew Melnychenko --- monitor/qmp-cmds.c | 32 ++++++++++++++++++++++++++++++++ qapi/misc.json | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/monitor/qmp-cmds.c b/monitor/qmp-cmds.c index f7d64a6457..c042ab5466 100644 --- a/monitor/qmp-cmds.c +++ b/monitor/qmp-cmds.c @@ -40,6 +40,7 @@ #include "qapi/qmp/qerror.h" #include "hw/mem/memory-device.h" #include "hw/acpi/acpi_dev_interface.h" +#include "qemu-helper-stamp-utils.h" =20 NameInfo *qmp_query_name(Error **errp) { @@ -351,3 +352,34 @@ void qmp_display_reload(DisplayReloadOptions *arg, Err= or **errp) abort(); } } + +HelperPathList *qmp_query_helper_paths(Error **errp) +{ + HelperPathList *ret =3D NULL; + struct { + const char *helper; + bool check_stamp; + } helpers_list[] =3D { +#ifdef CONFIG_EBPF + { "qemu-ebpf-rss-helper", true }, +#endif + { "qemu-pr-helper", false }, + { "qemu-bridge-helper", false }, + { NULL, false }, + }, *helper_iter; + helper_iter =3D helpers_list; + + for (; helper_iter->helper !=3D NULL; ++helper_iter) { + char *path =3D qemu_find_helper(helper_iter->helper, + helper_iter->check_stamp); + if (path) { + HelperPath *helper =3D g_new0(HelperPath, 1); + helper->name =3D g_strdup(helper_iter->helper); + helper->path =3D path; + + QAPI_LIST_PREPEND(ret, helper); + } + } + + return ret; +} diff --git a/qapi/misc.json b/qapi/misc.json index 156f98203e..9aaf8fbcca 100644 --- a/qapi/misc.json +++ b/qapi/misc.json @@ -519,3 +519,36 @@ 'data': { '*option': 'str' }, 'returns': ['CommandLineOptionInfo'], 'allow-preconfig': true } + +## +# @HelperPath: +# +# Name of the helper and binary location. +## +{ 'struct': 'HelperPath', + 'data': {'name': 'str', 'path': 'str'} } + +## +# @query-helper-paths: +# +# Query helper paths. Initially, this command was added for +# qemu-ebpf-rss-helper. The qemu would check "the stamp" and +# returns proper helper. +# +# Returns: list of object that contains name and path for helper. +# +# Since: 6.1 +# +# Example: +# +# -> { "execute": "query-helper-paths" } +# <- { "return": [ +# { +# "name": "qemu-ebpf-rss-helper", +# "path": "/usr/local/libexec/qemu-ebpf-rss-helper" +# } +# ] +# } +# +## +{ 'command': 'query-helper-paths', 'returns': ['HelperPath'] } --=20 2.31.1