Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1947864rdb; Tue, 20 Feb 2024 11:46:16 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVUJd0sDOUdnTcNHg3nqXrR/+eZ6HIkb4HrDWuAZTmyzJLtooz37Y8dLeiAg0a7/9E77/X/20vuH6bUnQaDdONLNrTHq/40Qum5HdMCIg== X-Google-Smtp-Source: AGHT+IFYLuUn0Qq5/sGEB2KP7UNgCA++LXvRBluTOJUYRrc0daD8lckLyPgDYeNzY5BKPhaGqRvu X-Received: by 2002:a0c:e250:0:b0:68f:5cc4:7389 with SMTP id x16-20020a0ce250000000b0068f5cc47389mr7966327qvl.27.1708458375820; Tue, 20 Feb 2024 11:46:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708458375; cv=pass; d=google.com; s=arc-20160816; b=LPjUveBiyIdBPXZsxghIXS2PzpEMl/ARu/N8JvvBuG12mHq7yqUFz7WNqD+6hJXq50 kQ18CEJXd7csYSNYVJOX0ybWrM8LaQRVfy/kxP9AtyaV75IQEZFZOOy/Y6NVVo5C6PWU BEQJ6ua1vqcsJdt3WI7m+I/uXUALkoSKidNRSR+Olt1h++XqSrg9S7zSKezzi0sTtey3 1XJR4wm88epHPkXFlWVIku8u4kf0FdZy0XzOCPCQBAXIQ4SeFQ38NDSXuXDSWxVUnkqt gfKbJQkwFfkssYgdy/KH6lyXpoVOMxC6Ix2vk0xnz+I9uDSPNsIb82cmAIe9hIyhgk3v hjTQ== 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=h7EcwSW71SSSDL0dnFc82jgR2ymx/wCW+Xnzy4FBRVk=; fh=1UEXF8WEdTRZGz3zsBPr9blJ8rxkIELeUsA6ymhnv1o=; b=Zno7RfYLf8q+iiHNuGh6F8uxhM2QnNc5Hy5ffuHXwOs2prM22HBzccZ2Gq1BMySVKS /1LT134aP8RU+xQ5CejK+3fjZ87D6S2PchSXgpyKYAY31gjGc3hGxVuBFEe7bVossp8x 0njvQmfTsNk+HHPvBRlEJ+xP77nMBmBbzarX8meWVXrYOA06magOR9r58w9rRGiKzPaj ESNLfw2pBtIXzad3pZGtikJdfnKI65LJVVjS3FHXTRNciO/iwf1FJFMnMLGo8GWGVOvF VdYosf2DUEkCt7J0uN7njNaVYxUPdIwPwTNAihxkE/HtEOhsb0cFaIErtCogVicMurvB 1BmQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@uliege.be header.s=ulg20190529 header.b=C4LgFSah; 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-73613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73613-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=uliege.be Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a2-20020ad45c42000000b0068f4aed60a0si7918386qva.533.2024.02.20.11.46.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 11:46:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@uliege.be header.s=ulg20190529 header.b=C4LgFSah; 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-73613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73613-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BA6A21C22C72 for ; Tue, 20 Feb 2024 19:45:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C49A14C5AB; Tue, 20 Feb 2024 19:45:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=uliege.be header.i=@uliege.be header.b="C4LgFSah" 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 7AF1914A0B6; Tue, 20 Feb 2024 19:45:04 +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=1708458307; cv=none; b=Whdi/iDmdZV5yF5Ktsn0c7Wh3ea3nuar8fzR/t8+Q9hB6cu6dWztbgKqPe74jZNwBR1n7j7+Om0PMaxXgxDkxahJYztrB8cDKJhc3UBQ02Rihcf4n6vcTv+f0KOgEJQOC+FpiraNm+crr9t1uNqMl9KP4e9O2VUvAeI690juALQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708458307; c=relaxed/simple; bh=SQvynyntrh4mzXiFdzzGOqWMD8t0yJGwv9xwE/ScJU0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ij1j65tV0jDZFIxbXHiXvH7ejXL+BEsHzobYRal/HgBpA+KDtj995kt8/lCyMaLi24yMd6bvHns9o0fmClapyTvxj1FVPUhTm3D8mbcjT1LoUHrcCn/zFT4oV7HtkTHd1W60l8yxeMY87DfbAGQhD0uWysgky4JeQUE15hnjgL4= 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=C4LgFSah; 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 16491200BE5F; Tue, 20 Feb 2024 20:44:57 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 serv108.segi.ulg.ac.be 16491200BE5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uliege.be; s=ulg20190529; t=1708458297; bh=h7EcwSW71SSSDL0dnFc82jgR2ymx/wCW+Xnzy4FBRVk=; h=From:To:Cc:Subject:Date:From; b=C4LgFSahEyCLpy/HMeEojNoufstQvHzsc0cLHBylkMjy5R6wKz0M2EThWqEWa1E3f aZbOQ2aC4LidvCdwG7rmoTVO0/fUmd5bc6oRKreqicN8V9IBzWaAbmCeCpnvHG+itB ARXZArvcM9LHzwUEBoRBMJ7ia6w8J63RLUOjzaDmaqXo4HuRiT2NhV22zptKf9d27S xAbKtDTAlGp0DNoksi2GLtzacI+fDiRgvx8O/HkEVoOJBRtAgb/NfCFmf5CMIivd9l BWs+zfTUk+WnOkqD3AS1VUrNfEBljTUUADxpLLsxNbO+2mf+oSEIO+oHXvilH2kYnx C2NPeZ6YtUc9g== 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 0/3] multicast event support for ioam6 Date: Tue, 20 Feb 2024 20:44:41 +0100 Message-Id: <20240220194444.36127-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 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. This patchset focuses on the IOAM Pre-allocated Trace (the only Option-Type currently supported), 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 Suggested-By: Paolo Abeni Justin Iurman (3): uapi: ioam6: API for netlink multicast events 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 | 5 +++ net/ipv6/ioam6.c | 61 +++++++++++++++++++++++++++++++++ 4 files changed, 90 insertions(+) base-commit: a6e0cb150c514efba4aaba4069927de43d80bb59 -- 2.34.1