Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63314C433F5 for ; Mon, 31 Jan 2022 21:11:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230317AbiAaVL4 (ORCPT ); Mon, 31 Jan 2022 16:11:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbiAaVLy (ORCPT ); Mon, 31 Jan 2022 16:11:54 -0500 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8D05C06173B for ; Mon, 31 Jan 2022 13:11:53 -0800 (PST) Received: by mail-ej1-x62f.google.com with SMTP id me13so47125553ejb.12 for ; Mon, 31 Jan 2022 13:11:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isovalent-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MdCZbv14Z5XAFJctoKNC66b5ZahRctJW82gWnIDWamc=; b=r/d/Y9rmQJxcKXCD/yTdCc3NTTLycDAMEM7xO/SFin+VVgZee5pNX2IIM6oJS9IvWA QA/mb20m6xJqXN9PivqEOLKLr6/IN7iCkIyIVdYnLnEzhOscRg/yL5WkMDwtm1PCCv4A uUmvXaf+o4KcRlsEcG+TS2l2lme8i0SqVgJ9KP5PwDaLESahYwanp8OSuALlWJSlk/u4 ORzFwHq9/rpEplrDuYPaY5Lb9xRzV7skgXHOfssqhoSYAFWZgtP5jRuaHbbHBj/8AcDF oR7AplFDJ7i5Mfw0k9WRKHLz3yD1QtW04RmEgkl+pWCzMuPv5wShPvJeB6cY6oI6BYyk VdSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MdCZbv14Z5XAFJctoKNC66b5ZahRctJW82gWnIDWamc=; b=ydUjV+i8Plwm2GgehoICXpm/T9MoR6uqOi+gDJtlhIq25AuSXtQrIv+DeMDFxI4hBB ml9p+aGqE1GAMHD5/glo6WqUyREZlR6SbMRmqc4jN1vIOesxo6AtWDPK54GXQ7iQrZYW 1wUU642pMoT7i6XodQ+Ih9FWR2SberW3mhK0T69ClOFcPaGK2y7pzYblPBlqWD/Csmln MsLzbP1KzwArwXhXtXU2EC6G8dTF1sGUzabcFXls2Ik7Re2760vhNNoSiyzaDj2HwPwc McRnu519hC3UN7V8Riy+SFnV8piPj7lQ3FDVQM4AmWYwPXm7tfIMxayxK6oxhfDNKE+K jdpw== X-Gm-Message-State: AOAM532bD14D68Ol03OrBc+jzydFsnKqD2zifi/GQswLZOvWTXo+BPTx ZiciCTg1NYFlL6x/cZOtxUXP4g== X-Google-Smtp-Source: ABdhPJw11DUBE5iuw3BvYGBoIK/5vPYE6RZ4MU4jwoa7TI8BdKRuViLL6bw7mP+i3mzi0orlMo3M/w== X-Received: by 2002:a17:906:cc54:: with SMTP id mm20mr17787957ejb.313.1643663512531; Mon, 31 Jan 2022 13:11:52 -0800 (PST) Received: from localhost.localdomain ([149.86.79.138]) by smtp.gmail.com with ESMTPSA id v5sm13763947ejc.40.2022.01.31.13.11.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jan 2022 13:11:51 -0800 (PST) From: Quentin Monnet To: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko Cc: netdev@vger.kernel.org, bpf@vger.kernel.org, Quentin Monnet Subject: [PATCH bpf-next 0/3] bpftool: Switch to independent versioning scheme Date: Mon, 31 Jan 2022 21:11:33 +0000 Message-Id: <20220131211136.71010-1-quentin@isovalent.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org Hi, this set aims at updating the way bpftool versions are numbered. Instead of copying the version from the kernel (given that the sources for the kernel and bpftool are shipped together), introduce an independent versioning scheme. We start at v6.0.0 - incrementing the major version number - and the idea is to update this number from time to time, as new features or bug fixes make their way into bpftool. Please refer to the description of the third commit for details on the motivations. The patchset also adds the number of the version of libbpf that was used to compile to the output of "bpftool version". Quentin Monnet (3): libbpf: Add "libbpversion" make target to print version bpftool: Add libbpf's version number to "bpftool version" output bpftool: Update versioning scheme tools/bpf/bpftool/Documentation/common_options.rst | 3 ++- tools/bpf/bpftool/Makefile | 7 ++++--- tools/bpf/bpftool/main.c | 3 +++ tools/lib/bpf/Makefile | 3 +++ 4 files changed, 12 insertions(+), 4 deletions(-) -- 2.32.0