From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8461143F81; Sat, 4 May 2024 20:18:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5178A402D5; Sat, 4 May 2024 20:18:40 +0200 (CEST) Received: from mail-oo1-f48.google.com (mail-oo1-f48.google.com [209.85.161.48]) by mails.dpdk.org (Postfix) with ESMTP id E8A4B4014F for ; Sat, 4 May 2024 20:18:38 +0200 (CEST) Received: by mail-oo1-f48.google.com with SMTP id 006d021491bc7-5b1ffd24c58so181939eaf.2 for ; Sat, 04 May 2024 11:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714846718; x=1715451518; darn=dpdk.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=3tCejpl84KkMClwNAtsuiVvFXJH+INUZqfYTL6SUYO4=; b=kGMEENm5u0/d1pPpY+SIJvqFgFQo5dNqWNFe7KRZINAJBl8XodIjI3iyg7MVb/5XqZ HSXZQhxd2CPfptWx1HkDRves0Qbegpy3d4u6vlcwFHh3AIGmQGNTlj8S+xdzv0wVTS1x A+6Z/6g2c9FtgjkPfQsitSfnM99UNaKk21VFQz79cVynbJC9oOKj0f61ZPRXq7K96nql 32ZS9NL9aB2F7neHNP+SnSyPcU+96laWakzWFof2UZ5Qa2G1uOA7Cge/sXwc7iqE/GU2 PGrHCgNykettU0XsBkK+3vTUftmfQbyTs5t5lIo3F+EPM45KNaffLFP2fcFHhB9me7OZ 1O6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714846718; x=1715451518; h=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=3tCejpl84KkMClwNAtsuiVvFXJH+INUZqfYTL6SUYO4=; b=OcwP5mqnuZEd1HVl/mH58pO7gKV1qhNE7sP64ATDUBvUy73kHD7FeI7VAbmNYyGJAH nOnFEH1G5uOSNV1goQTkGlj2nd5bnYJniqst2rFQNu39dOLygqgP39iZjlsap7Y07cTs 7YmZUP07q8LKkqAtLNy6+fzlPLN0JL9veXBS6XmT/Df3AI8C8Qo1bV8zvHVEw1IcC5fk dkKQV+/ELrTcgN5LROzWbmcSjJ+ZU+u8UmiZeKgOKoGu7zabu+9kDIZiG8QhoTK/9e9i QJiw5kkbTfvZDDMyggJPQWelqGLgH7Ooxeds8hwO6LFK2EzAfcmVh51Gty316btZYCHX lWqQ== X-Gm-Message-State: AOJu0Yy9ULChYOYM0crIT40pToXUxwdnGeGStWRge/0ttxUctnTBPKeU b20jDGKgfzoqDRVZ5T9bEB5Hj9b5UslM1QikHdnxK0/1p5Lr4tAj5wuqEAXFtf1Ve7Nzkoi7HNs pfcFpRZN/wXmI/UvawcO2UraNaj8= X-Google-Smtp-Source: AGHT+IGpX5Xg6f4oTvhh2D54MtA3Ff5ObS5et8ozxByApGbIAwlcJ4ikAENp4p7v0CF8hfeI10Ton0ochGUR5TgHnKI= X-Received: by 2002:a05:6870:1643:b0:23d:f5fe:da7a with SMTP id c3-20020a056870164300b0023df5feda7amr7553041oae.33.1714846717989; Sat, 04 May 2024 11:18:37 -0700 (PDT) MIME-Version: 1.0 References: <20240504134135.1082509-1-aomeryamac@gmail.com> <20240504092732.683cf70a@hermes.local> In-Reply-To: <20240504092732.683cf70a@hermes.local> From: =?UTF-8?B?QWJkdWxsYWggw5ZtZXIgWWFtYcOn?= Date: Sat, 4 May 2024 21:18:27 +0300 Message-ID: Subject: Re: [PATCH v2] devtools: add .clang-format file To: Stephen Hemminger Cc: dev@dpdk.org Content-Type: multipart/alternative; boundary="000000000000785a040617a4dd51" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --000000000000785a040617a4dd51 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I was confused about the kernel functions. I didn't understand what you meant at first, but now I understand. I will send a new patch with all DPDK-related foreach macros. On Sat, May 4, 2024 at 7:27=E2=80=AFPM Stephen Hemminger wrote: > On Sat, 4 May 2024 13:41:35 +0000 > Abdullah =C3=96mer Yama=C3=A7 wrote: > > > clang-format is a tool to format C/C++/Objective-C code. It can be used > > to reformat code to match a given coding style, or to ensure that code > > adheres to a specific coding style. It helps to maintain a consistent > > coding style across the DPDK codebase. > > > > .clang-format file overrides the default style options provided by > > clang-format and large set of IDEs and text editors support it. > > > > Signed-off-by: Abdullah =C3=96mer Yama=C3=A7 > > You need to add the ForEachMacros: I sent in earlier email > > --000000000000785a040617a4dd51 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I was confused about the kernel functions. I didn't un= derstand what you meant at first, but now I understand.=C2=A0 I will send a= new patch with all DPDK-related foreach macros.

On Sat, May 4, 2024 at 7:27= =E2=80=AFPM Stephen Hemminger <stephen@networkplumber.org> wrote:
On Sat,=C2=A0 4 May 2024 13:41:35 +0000 Abdullah =C3=96mer Yama=C3=A7 <aomeryamac@gmail.com> wrote:

> clang-format is a tool to format C/C++/Objective-C code. It can be use= d
> to reformat code to match a given coding style, or to ensure that code=
> adheres to a specific coding style. It helps to maintain a consistent<= br> > coding style across the DPDK codebase.
>
> .clang-format file overrides the default style options provided by
> clang-format and large set of IDEs and text editors support it.
>
> Signed-off-by: Abdullah =C3=96mer Yama=C3=A7 <aomeryamac@gmail.com>

You need to add the ForEachMacros: I sent in earlier email

--000000000000785a040617a4dd51--