Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3152753lqp; Tue, 26 Mar 2024 00:26:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVvqD0yfytuhajUhNVO7EWGziXtIKZz8li5XsyYuOQDDw9WBUxq4CTI6vSBX422Q57zAEyja3s/cjdPsN05cW+WADTHhUfh6eq6WKJlRw== X-Google-Smtp-Source: AGHT+IH/KTReVVgbCb3EtIcgVp9hd2YlB2gfv62gD02qJNumozigOzi5/xBJ/Vno8W7ZkUCkvU/0 X-Received: by 2002:a05:6a00:4656:b0:6ea:950f:7d25 with SMTP id kp22-20020a056a00465600b006ea950f7d25mr276961pfb.18.1711437995972; Tue, 26 Mar 2024 00:26:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711437995; cv=pass; d=google.com; s=arc-20160816; b=yGTpoQ/rkFqKu5ZCHduU0h4R+HLz/aNVRoStKa2MnL2Z/qymI0U8xlks8hY6VKfZ+w v8TETch228Rk/1CN8SEtT2XHAVChYymjMEjay+8AtBb8Q+S2Pb1HNgZkjJq3BKgE1rDF Br7YO7sBfLErHel+Xy7FKp2lrEvIlKBYLwVLkYwEO2lhK936y6mfpEEyT1Bz5yTiVr4o qokKsshNZy4FvkQEZdWHKPwBharv2kS+YKfSV6/NPAVzo9E892LeM6Gm4E0fnRFRN/ny DUPYOvGw+EDzETFZ7cOXk9dVwFZ7xLFVuN3KCSP+czMRx4Af0Qz/v5VVXDClk8QZIHif Owzw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=r4hi5QonY0g+Isq5nzA/ob2FDC2jX5Rj8a6cVlwQSo4=; fh=pu6lW9GI7pkttbIPVXsTqO0NqQplf6zzi+igsc78n8E=; b=LipoIJoRmQmnrTirZxYQxv5torCHFUYPCN/JvfHBoZ3KESQc9H9QHC+aSjINEZOCVV 85QwHcvjfyAKDxJTsoRvVUSmjqyE6qBAqAlV5YgylOvF0U5vTDcvRe79gqLPXZWfLqVp 8HS5iPtLTVwpzLiiJZs8bqsXk3VMEDF+2zZ1S3oe/0IKdXAt1IiZtemC3OfC8IwVkrRw ZP6RpDQ/TEeGyKtr0kGuBiZzoGreAfSYGsDNnUBmuZsFyPn/KLZ7N47F2uKPep0GHsoP 3MOXoNiDeYeDgBwScgr6X0HmrRKPMpUQROVWqY5nlqEfYdM+JwyEZTSJSgm8Q3knEBcI OiAw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KH8Ar3YA; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-118455-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118455-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d21-20020aa78695000000b006ea706a024fsi6585667pfo.358.2024.03.26.00.26.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 00:26:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118455-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=@gmail.com header.s=20230601 header.b=KH8Ar3YA; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-118455-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118455-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 D5E45B217AC for ; Tue, 26 Mar 2024 07:26:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28BC1130AE4; Tue, 26 Mar 2024 07:26:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KH8Ar3YA" Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC7CA84D29; Tue, 26 Mar 2024 07:25:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711437961; cv=none; b=IMf5QXRsnAaZdfZ7stMPxhxiP6oJOHHKC8n01imG9ZgAUInAmGjrm1T68NvK62D52r46juCoNhA0DwK4Zfaj59dXwTrFwOOCGx/ZYLxOQeTUBkBMR9VZo6XRX1X491YaN9NIBE6d3zBydQ51qFHbWXaZXHJZ8/1uLVfNbPFDLxw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711437961; c=relaxed/simple; bh=SeCIcmLMOaUBgNiXSvNudTBS9oS1ouW0sGgPTGoroXg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=egFdSA9Jj3dtWmMVcEJfBXKIkTE2lOw2bRAacU7ApKrMX+tv1zhe85GuoqCLWgahdo1yBXAvumhIyu6BRhgPaLM80WNSYzTrOOHDYGP7w5NI4YMgPeEZgBFQ8Etg3hPTM9D0gBfPxSwfNIt4tMdXnNbG7XZKNiIX1FqVI2jM5Rw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=KH8Ar3YA; arc=none smtp.client-ip=209.85.208.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-565c6cf4819so10363679a12.1; Tue, 26 Mar 2024 00:25:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711437958; x=1712042758; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=r4hi5QonY0g+Isq5nzA/ob2FDC2jX5Rj8a6cVlwQSo4=; b=KH8Ar3YAOqJQsv7FpVJtZk9PpVZT4f8NeqIv1ZIaafrBac6x1vklaFd2UUvWOcPNRI YRXdleNkEsngFueCoAAEYZbK9BDUBsf3TiuNBLlr2vvhi3cXYE4+brKVNv2xIw63ejTh M163g6GCv9WtJyGnCuft8EEs0H8Dkm5O+C3E2cFPwduKeWije36GA3g9ZuR9V5TyH7Kh sJbNMb2oROw91yOztBZ/JVBsvtRQxlbbPolqYmQzUEdJD4VZG4FidGXN/lMv+yPH0CUn P+hkXJlGJbiCk0etQ6WF2sLKtO1zRqufRdMrC/3EO69fedM9UWXbTqHEMhpF1iRGnYRr M7hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711437958; x=1712042758; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=r4hi5QonY0g+Isq5nzA/ob2FDC2jX5Rj8a6cVlwQSo4=; b=iC/2jRhNaNPQk9p8MgoJC+ZIrlpamSn5ZlLVkG0AWCaC0L5JHirlHPOp+/kxlrzEQa JvZ8lMD5wvZwY60UqkjNLJc/r41m/P2fCjK8gMe2PgWvLxhHxF4WI6KRKJKLb+4EqHkv zliF4hVb33WbEF723miiGeIIVEGNMsUb3B/+9OxGBiNiXA7EQfXCV9fufvYTWUYj1yma b2Ezr+/M/cpDu3e/AgiTG2EenJbkgzzbgTrkr+/UzuNB/+JeEpnlOSJT+YdrWbJD2tTf ubYJRUAJKAC1e7DAr6SYZHKXc8h8rrxGPcrCcBgLhjVW4hNs9QwaSKRIKzjf1/yszYIe jCbA== X-Forwarded-Encrypted: i=1; AJvYcCXCxrnC0JJsACBdQD7GvQw8FjZ2KvACzLvpmw9yVMjR9D4Tm80Bqfl4R072g+x84okf6bJeYkvtu0QdSjnlsbY0tO3muVdHp34aznjjcEgY5jkQvfTE6YlyFVrjOYqjeoOVsh5Chy27eyNAfIX0b2k1iKjF89JS1T0INuP44NcVi2cVZgUGIBUj X-Gm-Message-State: AOJu0YwsZq6+70gXVKKnG7yuIvvXiPmalnCRi6J24105H75IhEO7dpzG 94gDK9ebE5ihIYJDl2HoVgGZMf2KYPPEyupTO+L8F5MBCT6Dhj9MZzp0DzfUJW3WwRJUHCup3q1 p/peMKgxZGGhpwzsrc27DjB0uBAs= X-Received: by 2002:a17:906:b10d:b0:a46:ebe6:742e with SMTP id u13-20020a170906b10d00b00a46ebe6742emr469183ejy.23.1711437957891; Tue, 26 Mar 2024 00:25:57 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <34a9c221a6d644f18c826a1beddba58af6b7a64c.1711361723.git.balazs.scheidler@axoflow.com> <20240325192855.1fb3c331@kernel.org> In-Reply-To: <20240325192855.1fb3c331@kernel.org> From: Jason Xing Date: Tue, 26 Mar 2024 15:25:21 +0800 Message-ID: Subject: Re: [PATCH net-next v3 2/2] net: udp: add IP/port data to the tracepoint udp/udp_fail_queue_rcv_skb To: Jakub Kicinski Cc: Balazs Scheidler , kuniyu@amazon.com, netdev@vger.kernel.org, Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Willem de Bruijn , "David S. Miller" , David Ahern , Eric Dumazet , Paolo Abeni , Balazs Scheidler , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Mar 26, 2024 at 10:28=E2=80=AFAM Jakub Kicinski w= rote: > > On Mon, 25 Mar 2024 11:29:18 +0100 Balazs Scheidler wrote: > > + memset(__entry->saddr, 0, sizeof(struct sockaddr_in6))= ; > > + memset(__entry->daddr, 0, sizeof(struct sockaddr_in6))= ; > > Indent with tabs please, checkpatch says: > > ERROR: code indent should use tabs where possible > #59: FILE: include/trace/events/udp.h:38: > + memset(__entry->saddr, 0, sizeof(struct sockaddr_in6));$ > > WARNING: please, no spaces at the start of a line > #59: FILE: include/trace/events/udp.h:38: > + memset(__entry->saddr, 0, sizeof(struct sockaddr_in6));$ > > ERROR: code indent should use tabs where possible > #60: FILE: include/trace/events/udp.h:39: > + memset(__entry->daddr, 0, sizeof(struct sockaddr_in6));$ > > WARNING: please, no spaces at the start of a line > #60: FILE: include/trace/events/udp.h:39: > + memset(__entry->daddr, 0, sizeof(struct sockaddr_in6));$ More than this, it would be better to put "From Balazs Scheidler " in the first line of each patch to eliminate the mismatched email address warning. Link (Jakub referred to): https://patchwork.kernel.org/project/netdevbpf/patch/34a9c221a6d644f18c826a= 1beddba58af6b7a64c.1711361723.git.balazs.scheidler@axoflow.com/ Detailed info: https://netdev.bots.linux.dev/static/nipa/837832/13601927/ch= eckpatch/stdout > -- > pw-bot: cr