Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1295832rbb; Mon, 26 Feb 2024 05:15:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXIYB86cc0/G/EXdrclWafsakhdgymKzKqo4ZUFcdVBD+ukxpBN7EJP2AJnM6/P94XVvI0CRI1BuOhz5bYtKXJe8eI2voIuZLO/lwafBw== X-Google-Smtp-Source: AGHT+IHdybmm+ZLGIeK6PvQZcLwnUJ1QcYiwtcALELT2zobedvpHV+06VXeXU6Vy3Ro/R3W69egl X-Received: by 2002:a17:90a:630b:b0:29a:46d2:e877 with SMTP id e11-20020a17090a630b00b0029a46d2e877mr5370249pjj.48.1708953335595; Mon, 26 Feb 2024 05:15:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708953335; cv=pass; d=google.com; s=arc-20160816; b=fdMvEAlOB71Kg6p0vNBU9jNIPg1vUPnfBLBIpNkpxAI7G33haQzC0/WXGlJb/siF5z W8sPNixrqJrV5ItoaYMUopZgxjHTMJ4Rl12Gr2Rlgu5BkQgaqZSRn6bWrj8y6j03raoM KFsuHT5WOctwDBaY1tbEn7HrJAP+ldyhV/Wpi6g+8ajJvnD67Pw6F5JIu6NYE9qvfPe5 BUCbXlLpTRs88ktYCwoMKRj/WLSppPSkcTMtfQWhFYvfGz3ngIm59Yco0AoWVgRhsYmu ROZwq/NWHza/BopINf9DrZh4fytnW3mFrceblXYsX4GB9+/aZYC9JfIumCtYJrkSftcA wLcw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature:dkim-filter; bh=Fki2M93IyamHdksa2ApChFnQ2IumATEN8ucI+urLSi8=; fh=1UEXF8WEdTRZGz3zsBPr9blJ8rxkIELeUsA6ymhnv1o=; b=m7cDtKoUwzWsPbXt9hEZgIbXmOXWWN4Umz3fmxUO7ra0lYIrwoI0uI2lw5LOmC/gFj xi+pn/iCG2a+qkBM3ybHfgeksVdRPqqGj/b39iaMiTjejQJVJjpAIV13FpLL9mfBjdlo wF6xFFdHz/xdtVMeb7gJyCbgoB1xD50WPrPaEWYex35x5qJUmAdUk5PTHS7deDH5o3Hj 404NnBFIYRafYfaXBvuOuIlP9CJBZvPkFFs8xtO1zud2abLa7i70Jn0EHxkEhL306sGb JeRDXgA4md4HvAZFbt2074bJY8xVIPYPbDbbrDU98fz7NQQIKfYUom1KN+wIDWoFT7vC Kx2Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@uliege.be header.s=ulg20190529 header.b=znmh2kds; arc=pass (i=1 spf=pass spfdomain=uliege.be dkim=pass dkdomain=uliege.be dmarc=pass fromdomain=uliege.be); spf=pass (google.com: domain of linux-kernel+bounces-81461-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81461-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=uliege.be Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id nb1-20020a17090b35c100b0029ac9304f04si1397895pjb.30.2024.02.26.05.15.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 05:15:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81461-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@uliege.be header.s=ulg20190529 header.b=znmh2kds; arc=pass (i=1 spf=pass spfdomain=uliege.be dkim=pass dkdomain=uliege.be dmarc=pass fromdomain=uliege.be); spf=pass (google.com: domain of linux-kernel+bounces-81461-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81461-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=uliege.be Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A71FE285DBB for ; Mon, 26 Feb 2024 13:15:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4D370128839; Mon, 26 Feb 2024 13:14:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=uliege.be header.i=@uliege.be header.b="znmh2kds" Received: from serv108.segi.ulg.ac.be (serv108.segi.ulg.ac.be [139.165.32.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 013A480049; Mon, 26 Feb 2024 13:14:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=139.165.32.111 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708953278; cv=none; b=oOUHdHhz8psLNsOp5/rYlMX291oVYm3m2x8M1LWmoO+QJDNH0o2IXtawQDwXq0YFAW6D10TnPuCKt/sVcl0s1WrPAspGaRvVG8WrBM5PR74RjGZizkCRZG9jElLoiTZ9nOzPC8uUaC5cJW/UEYGogutn3XbLjl/Fs6oJHvS2V+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708953278; c=relaxed/simple; bh=onOjtn2OCXKp0syCfFOvRuRw1qC76EXl3R0ojQ20wSE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ZtZP2y2oUJHzgbPD4U6ouigG1ptZ2MxL+WIYC/6x06BDzTWzfR4A1TZD6DX/EDxJ5wdEPaGDjmAyfPususVFnPacMieGscC8BNsZmbX++KB9dPqSGUa+ocFMtM3E537fFjClxJ5+zgRQuR821KS5Px02v99McgHAnF8nFYREzGc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uliege.be; spf=pass smtp.mailfrom=uliege.be; dkim=pass (2048-bit key) header.d=uliege.be header.i=@uliege.be header.b=znmh2kds; arc=none smtp.client-ip=139.165.32.111 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uliege.be Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uliege.be Received: from localhost.localdomain (125.179-65-87.adsl-dyn.isp.belgacom.be [87.65.179.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by serv108.segi.ulg.ac.be (Postfix) with ESMTPSA id 36962200F806; Mon, 26 Feb 2024 14:14:33 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 serv108.segi.ulg.ac.be 36962200F806 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uliege.be; s=ulg20190529; t=1708953273; bh=Fki2M93IyamHdksa2ApChFnQ2IumATEN8ucI+urLSi8=; h=From:To:Cc:Subject:Date:From; b=znmh2kdsCw38+VooS2xI7VpDOH6xrY2IwLT8NZXhi5tz4UlROuNEAo76sBmuxYb7K 7RG1c70Xq+JbN7AwZC8oFshHoVvNtKWBIZ7y2KfhxocKTEdtF0dm4wwwYIy83OxE7Z pqm9G1VwEfX3eao+u8ydLZa+Far4QHTOnTibl5jIYOrd1E8JEHtWPSTu7iQOB9S7U4 IHCwZnt1BBP1Kprzq203f81XOg7QVkuP/3jrzwxKJbJ94+Fpi8VAtc/zcSijLkU/aX KdJwdHWAVbobw3X/NPEPY8yls9pBVnKLRJiQe6ci8C5lX8xueQ1EHvKB03EzEyoghy B2eg6gq/gJjMQ== From: Justin Iurman To: netdev@vger.kernel.org Cc: davem@davemloft.net, dsahern@kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-kernel@vger.kernel.org, justin.iurman@uliege.be Subject: [PATCH net-next v5 0/3] ioam6: netlink multicast event Date: Mon, 26 Feb 2024 14:14:09 +0100 Message-Id: <20240226131412.10214-1-justin.iurman@uliege.be> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit v5: - remove the "must be the destination" check before sending an ioam6 event v4: - rebase on top of net merge v3: - patchset was mistakenly superseded due to same cover title used for iproute2-next equivalent patch -> resend (renamed) v2: - fix warnings Add generic netlink multicast event support to ioam6 as another solution to share IOAM data with user space. The other one being via IPv6 raw sockets combined with ancillary data (or packet socket, if the listener does not need the processing of the IOAM Option-Type, since the hook is before in that case). This patchset focuses on the IOAM Pre-allocated Trace (the only Option-Type currently supported in the kernel), and so on IOAM "trace" events. See an example of a consumer here [1]. [1] https://github.com/Advanced-Observability/ioam-agent-python/blob/netlink_event/ioam-agent.py Justin Iurman (3): uapi: ioam6: API for netlink multicast events net: ioam6: multicast event net: exthdrs: ioam6: send trace event include/net/ioam6.h | 4 +++ include/uapi/linux/ioam6_genl.h | 20 +++++++++++ net/ipv6/exthdrs.c | 4 +++ net/ipv6/ioam6.c | 64 +++++++++++++++++++++++++++++++++ 4 files changed, 92 insertions(+) base-commit: 5fc3903c46a743781cd35fdecfdd889c522e2c3b -- 2.34.1