From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 612A9A052A; Sun, 24 Jan 2021 21:52:07 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D6A90140D36; Sun, 24 Jan 2021 21:52:06 +0100 (CET) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by mails.dpdk.org (Postfix) with ESMTP id 21CDA140D34 for ; Sun, 24 Jan 2021 21:52:06 +0100 (CET) Received: by mail-lf1-f50.google.com with SMTP id u25so14902153lfc.2 for ; Sun, 24 Jan 2021 12:52:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iagWgo1TC1yduCD2bU6B4hyrovn2d6dYHkzmkyyEDTg=; b=fUrsrr1cSMaSC7WnGbSU/oQNuCpj7a5zmjn+7zDR094/FylxEJz+tPUXFeZQWdvhAI TTVP64cQwEB2Ny822xqoq3JOjFYXesXmbMoqNVaQJ3aDf+zGa94U+2U37voI+KcKR4ff TucFh3Ac0WDCb+Ytl1WdsQKsIRFNcXMbSmUpRzcMd14OvqyKW07POZthEwnmO5iK78fK cKWTWEjkJkbtTNXaw1AUNiBgMlVvFW9fbtFvGMk86rLffIyC6fKcxUypgY3XnUZL/gtQ tGzedsqCbSWnW78xZ4bHeWi0VJ94jkP7B+j3lfYxGLNyFpdZw957W0UbIktjT3MLOPGJ r3/Q== 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=iagWgo1TC1yduCD2bU6B4hyrovn2d6dYHkzmkyyEDTg=; b=AMyBCoWKTtFqftwDiMlJ919av2y5HkK0k95b+3FzvzKLqmTHzGVE9shR7bpecJs0Qa GIt/83z9HBES3lEStAn+iVr1mFK46UhqnMBJaDiQ3xlCXo2IYwBHot5JxTERDLK/+UtS ld8khknCLHR2VTOyiJvgq14bR6bl2o1ksuWab4zdx7Ghfpxj8n4NFLGj4L9S1CUILHr5 UpPQ2Id/SQdfVC3p7cTYMERxqQto+cgV3iw5j7N7+lO0KghsGpDy0uPrJSTsGIgCE0xF y33UovuYe1FzvP7bmeHyH7xGiFvbc6VBNIDgYhtgmaWJez7jQSm5gkxj3lLAlh4w0Qok c6sw== X-Gm-Message-State: AOAM5331DHA4dgnKucZzEmavCutMkmzrcehE04DQydogHZgoBoSfpKPJ lewxq6hguJKlofCNBVo+wR3elT8GLL8hOQ== X-Google-Smtp-Source: ABdhPJzOSXipg+Si0ALBzuZS1YTpkB1ZEC6UCr+/z4Xc3cdqrI9umIcxsrUbRIgtvhg5rA3MFoXgeA== X-Received: by 2002:a19:c8e:: with SMTP id 136mr601402lfm.636.1611521525344; Sun, 24 Jan 2021 12:52:05 -0800 (PST) Received: from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id r72sm1168551lff.214.2021.01.24.12.52.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Jan 2021 12:52:04 -0800 (PST) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Maxime Coquelin , Bruce Richardson , Thomas Monjalon , Dmitry Kozlyuk , Neil Horman , Jie Zhou Date: Sun, 24 Jan 2021 23:51:54 +0300 Message-Id: <20210124205157.14386-1-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210122224327.5621-1-dmitry.kozliuk@gmail.com> References: <20210122224327.5621-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v10 0/3] pmdinfogen: rewrite in Python X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patchset implements existing pmdinfogen logic in Python, replaces and removes the old code. The goals of rewriting are: * easier maintenance by using a more high-level language, * simpler build process without host application and libelf, * foundation for adding Windows support. Identity of generated PMD information is checked by comparing output of pmdinfo before and after the patch: find build/drivers -name '*.so' -exec usertools/dpdk-pmdinfo.py Acked-by: Neil Horman Tested-by: Jie Zhou --- Changes in v10: * Suppress ABI warnings for generated strings (Thomas). Dmitry Kozlyuk (3): pmdinfogen: add Python implementation build: use Python pmdinfogen pmdinfogen: remove C implementation .github/workflows/build.yml | 4 +- .travis.yml | 2 +- MAINTAINERS | 3 +- buildtools/gen-pmdinfo-cfile.sh | 6 +- buildtools/meson.build | 15 + buildtools/pmdinfogen.py | 189 +++++++++++ buildtools/pmdinfogen/meson.build | 14 - buildtools/pmdinfogen/pmdinfogen.c | 456 -------------------------- buildtools/pmdinfogen/pmdinfogen.h | 119 ------- devtools/libabigail.abignore | 4 + doc/guides/freebsd_gsg/build_dpdk.rst | 3 +- doc/guides/linux_gsg/sys_reqs.rst | 6 + drivers/meson.build | 2 +- meson.build | 1 - 14 files changed, 225 insertions(+), 599 deletions(-) create mode 100755 buildtools/pmdinfogen.py delete mode 100644 buildtools/pmdinfogen/meson.build delete mode 100644 buildtools/pmdinfogen/pmdinfogen.c delete mode 100644 buildtools/pmdinfogen/pmdinfogen.h -- 2.29.2