Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp887450rbd; Fri, 23 Feb 2024 06:43:54 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVO6OB/Re6nYEEfhCpsqtiDry4x0Za9sYgF81Rw1axU2clVhnJogIZXJHeW66SctPMGciagwyhnebGGmJJoIxNZjezs7TpQn1l6KIwnlw== X-Google-Smtp-Source: AGHT+IE89Wm5xOj9hoszeFXFFILCD/uGY9vtj3QMsC0+/7pxePtT9o/9kJRLypjBgfnEvnG9f1ul X-Received: by 2002:a05:6e02:80d:b0:365:28e6:daa8 with SMTP id u13-20020a056e02080d00b0036528e6daa8mr74400ilm.12.1708699433939; Fri, 23 Feb 2024 06:43:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708699433; cv=pass; d=google.com; s=arc-20160816; b=GjH6a0wrQEwc3q3K3CMOK6AUzU8zWcfx/UToAKcJzzr/TOWLb+/qxkeLZ4VM3WJHsX wSqK6Xtig/3dH8kwg5nWrVkz66XdP99ESZ2u7mxLWceKLDTimeIy4IvTPmI32EtnZq37 lVAHS1diT/RTdPzCANQsLihWN+NANIoTl+dPuZfJGlxb22JxYFTweF6v+naxHwqSIgB4 GMKy8095QSicZuQjcaTpUZM3aAtxkPeb3cpFCm15nh26eBAaToHjyqZAhZguBbYxTgVr IGuzVghQhS0yykAubl7/J0lSvQfbxnWGXx22IuPE74qxw0OsKVXuULLVDAsmWYk2a2Ub VzQA== 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=DjWlF26RJa1uFPKMIHBU+D8WYD3flYCoUtp5JUvKq/g=; fh=1UEXF8WEdTRZGz3zsBPr9blJ8rxkIELeUsA6ymhnv1o=; b=ztE0Y2UUJ8EZKjcRmB5Qr7F4bRfQHsNmmwBHzkKuRAceOj66JLUh3mfbvYmkCOwdF8 PFEuupEiTw1iYe9ssXI+cXAiTI17ZsxkwX4yIJPz7g4y3f0G7bkQULp4EeNmBGPzVvdS awxc4Htd9dqFmhnqEgmYHSkbKSx05i+BiDXziMzUvy2NJb4VV60WR1zZC7EpHStFX62N nBqo2KH9I/8+6QJqKjm5a6bneWbVjSwrtdCql/dWNP7qOogoU4Ey1ML9RtLQ72aHk+33 Vav90prBZ1GQRu6R2931TioYvjEJ/arRVmAkso4DNGRYSWz6A1mELniuoIvzFAq43I5b HCRw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@uliege.be header.s=ulg20190529 header.b=XFLmFEuu; 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-78511-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78511-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=uliege.be Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b129-20020a636787000000b005cdf801a27dsi11975551pgc.198.2024.02.23.06.43.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 06:43:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78511-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@uliege.be header.s=ulg20190529 header.b=XFLmFEuu; 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-78511-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78511-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 25CD5B22373 for ; Fri, 23 Feb 2024 14:43:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0134581ADA; Fri, 23 Feb 2024 14:41:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=uliege.be header.i=@uliege.be header.b="XFLmFEuu" 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 52ADB6FDC; Fri, 23 Feb 2024 14:41:50 +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=1708699313; cv=none; b=qPyVnx82mVuh1cXif8XBXTRLE9tO5bhkwuF8si7Lj1RZWKjaS3cyBnTA0zUnwpD8TwQ/jkKfdXKVb9RLOTXIgHENbDIkI3NH0icq3lruYWBVXZHzl4t0nhlLIpI92x+Ms+4sYPP5XhR7Pa+UPLtSErMo/2SbTu6mghekI6n1fiM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708699313; c=relaxed/simple; bh=/JcSM0WTV7+8E0Yf8AvjaUDob74tp6fzNZdZsrbefaw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=JsRKJ8azJEKfsLx2Cff9uhe33/U8SRnqTVJIYckEgdKjB+9W9EkxW2oppJiHYdqmRQsJVKisCy+1U6n++7SrPfpGAV7ObKmvYtkU0bOkWTyTL+rS0N8WTcKhFiAFCBQeCwfv0B4YTlNdvud67FP+NVlWrzlyBqGelZ9xaqqKTRQ= 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=XFLmFEuu; 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 ubuntu.home (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 2E8AB200C980; Fri, 23 Feb 2024 15:41:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 serv108.segi.ulg.ac.be 2E8AB200C980 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uliege.be; s=ulg20190529; t=1708699303; bh=DjWlF26RJa1uFPKMIHBU+D8WYD3flYCoUtp5JUvKq/g=; h=From:To:Cc:Subject:Date:From; b=XFLmFEuuzHHncrGUClCDI9FO/J/LBG7aCpV4uby7FlWIJv90ZVfdzq8TzYCZrQDww A0oa9FkFKQ6giQr2LdBxNIdgukV4dWFHCDb4ByHpZYjXkXPrplYCFPxrWPGhU3MPgz LxPxX/pioMUL6v4XKvWGeOu/Tc8Q1x/5BPpBpr8pQ7sdMQFLz/iz4ffxUXgp/tBvOH TfZHBuxNKQ2SI8zBSmteHMIUjck4R7UkuOl+KNvT1kwxPkf/S0YgWDqtlQM5l+NPEQ 8XU9IctLR8ORgUnhMtLjcbYDQQcUUVPK7OA40LvcnxMxvHXNEA8Z1f6Ja2SXwsb/Ru 92x8CUhKe2zPA== 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 v4 0/3] ioam6: netlink multicast event Date: Fri, 23 Feb 2024 15:41:32 +0100 Message-Id: <20240223144135.12826-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 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. 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 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 | 6 ++++ net/ipv6/ioam6.c | 64 +++++++++++++++++++++++++++++++++ 4 files changed, 94 insertions(+) base-commit: a818bd12538c1408c7480de31573cdb3c3c0926f -- 2.34.1