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 AE83DA00C2; Fri, 6 Jan 2023 11:40:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9FE1A400EF; Fri, 6 Jan 2023 11:40:35 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 9BAD8400D4 for ; Fri, 6 Jan 2023 11:40:34 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3069Qk3O017096; Fri, 6 Jan 2023 02:40:33 -0800 Received: from nam02-bn1-obe.outbound.protection.outlook.com (mail-bn1nam02lp2047.outbound.protection.outlook.com [104.47.51.47]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3mx4hh9gfk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 06 Jan 2023 02:40:33 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GR3ezGlaz9ST6Yn4Rixgjjn/Fytio8GZQWCjOOcSASaOq+ck4/2MHTNMiErmuNs4oc+GsHKWB80cyLiFCPUmAxzwDlwZAs81BgMcBXyfEPqeJGMsqlrtKMn37mgqPYr6zyFNbi/3QWKmwumYqnN2WeQG8OgtCoH1o37mxjDTb9kqz9428Lmpj66sV4TeiiIb/bAQDXJz4GKYlkUIlThG8iXR/0qSTH0q62rYzNmYccC5MieebDcXPuCQQDZ2C6RZxTykURUALfwH5VHroAWngm3VZQE5tv+yqdx7cddODjUQL7dtzFTSC4zT5g79DrdkRQ5Uou0POg6BSqNLWZK/pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8IN9ZBIWpijG/H1ARnZIXyGWN+zpY/tEDuO7DxOTpAo=; b=L/5ekKmGmOAjj3UHTuUuyBl1IqjAHzhoQhO9EC6XUAL1valPcceQrgw9V0W31LYV5fzlJZyxhJsWBYEgRVA9F+1p1/u3Ms/hqQrM8puIG5XxWOVp33En2LP+8kPjsMydcqcghlztzZAUW4N8gI3mI5zvCzIvvXfr5bxrV+kJhqWAWJEtx+E+ZyxR7EscEw8AyN32Y0UUe5yDoH0hDtjWmm0zO/v/TR9i16xacY4I3jVa9IfpESz8MoZ0Pu/C/Cl0Xkt/ZpVPQAHqEnW0eWrnDLBDB/sG7dyPPdeGrYw5GWB+twpHo/ixhtkbU+XhB3qzjq9DMVQBj1ZeaQ3jnxWmoQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8IN9ZBIWpijG/H1ARnZIXyGWN+zpY/tEDuO7DxOTpAo=; b=JXGRzuoQzCCbwT/XxViZ1zmT4F1Et9qjOGJlw3kraUW5DQBjD1dzN9xIfVTIzusVwBPFaPuVkZosD+McFhWqF2kQNa4xXCLnSL8ZVb66l7TzDW69Xccx1XZCZWDh3j0CjUP7Budqs83Ojcb5HqSGGbo7lDlz+xMw+lbB/FswgAY= Received: from PH0PR18MB5167.namprd18.prod.outlook.com (2603:10b6:510:168::7) by MN2PR18MB3591.namprd18.prod.outlook.com (2603:10b6:208:264::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Fri, 6 Jan 2023 10:40:30 +0000 Received: from PH0PR18MB5167.namprd18.prod.outlook.com ([fe80::71b3:f3d6:e353:ae39]) by PH0PR18MB5167.namprd18.prod.outlook.com ([fe80::71b3:f3d6:e353:ae39%8]) with mapi id 15.20.5944.019; Fri, 6 Jan 2023 10:40:30 +0000 From: Amit Prakash Shukla To: Stephen Hemminger CC: Jerin Jacob Kollanukkaran , Kiran Kumar Kokkilagadda , Nithin Kumar Dabilpuram , "dev@dpdk.org" Subject: RE: [EXT] Re: [RFC PATCH] graph: add support for pcap trace for graph Thread-Topic: [EXT] Re: [RFC PATCH] graph: add support for pcap trace for graph Thread-Index: AQHZFsaJr4Wtltv21UGzXVMYgC9FP657rt0AgBWS/HA= Date: Fri, 6 Jan 2023 10:40:30 +0000 Message-ID: References: <20221223120235.3171516-1-amitprakashs@marvell.com> <20221223084714.446ebc08@hermes.local> In-Reply-To: <20221223084714.446ebc08@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcYW1pdHByYWth?= =?us-ascii?Q?c2hzXGFwcGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02?= =?us-ascii?Q?Yjg0YmEyOWUzNWJcbXNnc1xtc2ctODg0NzMxMWEtOGRhZS0xMWVkLWI2Y2Qt?= =?us-ascii?Q?MDBlMDRjY2FkNzJiXGFtZS10ZXN0XDg4NDczMTFiLThkYWUtMTFlZC1iNmNk?= =?us-ascii?Q?LTAwZTA0Y2NhZDcyYmJvZHkudHh0IiBzej0iMjA4NiIgdD0iMTMzMTc0NzUy?= =?us-ascii?Q?MjgyNDU3MzY4IiBoPSJCblExRzBPYlZVNmJhMjRyVDh0c2tGZEIrSGM9IiBp?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UFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQkFBQUFBQUFBQUFJQUFBQUFBQT09Ii8+PC9tZXRhPg== x-dg-rorf: true x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR18MB5167:EE_|MN2PR18MB3591:EE_ x-ms-office365-filtering-correlation-id: 2bd316d9-6eb6-412a-ae1e-08daefd26e90 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: L1TCYypIpDJj7IlYQSNjVvgaVrFvp82BDMU1LNbas3GL0vUbwQcXewB5TstKWmKfShsvDhQC1FOpkoJJ8W2mszSFc0rmOaVInpsaSdLF/BTqHU6hjr1Lo3cKeD2mbVV6tnRD7+dbXUJlYPl5s3G4SY4Ln3a2vwP3nTsMGwCNo6y3F3JN3Xk3nLxjm7Gkkd5HnxT2wG6zUdgp0pl4GopQN2mSDofGNdNKtjQ/HNVLlii4aEatPkxaoNS2ljRVjnjy3K3ljoM186/GUAUoNuKcDixc7hpWCKjSAOZ95GXQ090rq3Tt8wiJg5utx/9zflPwlkN7ww4tB2z3mjFfZ5HuVZds7WW0SgjxKg8TQSlEsmCGdC9FOKmMV7fMfmqq9wVgWrdFJsPtCs2mLIZIQ4DLawrd9wsl5s2/TltbGd0/Nj8Nut+ankMvVJM5deWPGpQ5Rc+ZXlnwt5Hsi+iWzMetjYDhWzAwSMeCzzoo+rt5PO2VnnRO+xKP/G3k0U7FYPRETPARH+JF2m6o4/9V1beiVjY5m3qK380gfAgY6bdLse71o4RQsQ9sv1OsghqgVu3Qy4P3da/LLfBA9kHLq+fLOJ0V2ILoHbZPqmncY5rJzIJa96v3Vq7ZqCYJxsL9c0UrT1lrHkqbxASaaa5zTKjtXAEaNDnZ+OteiesLUr+m9xyIAuB/mBsWKFKs/hNWXUy3OqcrE/LrSoPOhz+l7pMK3w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB5167.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(136003)(346002)(376002)(366004)(39860400002)(396003)(451199015)(8676002)(33656002)(8936002)(122000001)(2906002)(5660300002)(41300700001)(38100700002)(52536014)(38070700005)(83380400001)(86362001)(71200400001)(6916009)(66946007)(66556008)(76116006)(478600001)(54906003)(55016003)(6506007)(4326008)(7696005)(186003)(64756008)(66476007)(9686003)(26005)(53546011)(66446008)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?wFoO5sJ8DukcfbRj0dO+RPcL03PSNcimfB1ZbQggxpiLlVp8Aj05QbJu12ss?= =?us-ascii?Q?xRPWf3KLpshePRYzCgnUag2xhTuSWrdIcNdNDTl4VjSYgO7D7jtZMz7Kyzxd?= =?us-ascii?Q?9ERdlguA7vEdN3L1nBtqz9OrQomUF6PJID+kVmTC2t1qfHbRCUMpVyDwADT7?= =?us-ascii?Q?Kw58htaWCMWcO9mkfDMgnUKTCa2bGv6Gfl6SEpx6EWXv163NGTiODMQzefma?= =?us-ascii?Q?1VHWs9TItMy1oYa4qyxdRExgJHZ0HKuhhuNQgk3mXQhGutYiBuJ0MFWYNBUj?= =?us-ascii?Q?hi7rUrjcCfNUfle1jxptn+vZ4Aaptgjak18yq+jTC5EtozHmTeHYfBlcMCcL?= =?us-ascii?Q?/lhjPHmbCBTvpWmS0KPTbkJRHquXorPteB4LR51UtJogVRVhhPkhB5QCZBid?= =?us-ascii?Q?OzpKAH1u/LC80GKQxdrisMSUV15/KYwH2OBcuXxItCdZP9A5v0drlb8drny3?= =?us-ascii?Q?2VL8Bwvmsa15KJ7aIsFZV1Qiy6mQf7eJhswik5RZHWv+mYgBXlxZIa6zd3Ye?= =?us-ascii?Q?b7CtiUx1R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Dgdf+d?= =?us-ascii?Q?1+wN4qucGaZ2t4GJZdRzVEe+ZLJdFYAHPtTBjwH5vMUvAeAJA0dTlEJ6Pvmf?= =?us-ascii?Q?XJEpPCZAuAHMoJuUxD4n66fMFeunG/JJunk/kfVlKu1Oc3hhd9PMj5JzVJLu?= =?us-ascii?Q?QX7sNa/wMeDJKNAReNLOiUp0vygdtexo4gjlPgc5?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR18MB5167.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2bd316d9-6eb6-412a-ae1e-08daefd26e90 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jan 2023 10:40:30.2712 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: kIow2mChZgSr+VDydNGuZSAsjy0NlYIzUHfb2QxmwX7c7LnvIA7qS8gv9G8wMPdfwuOr0jQHrL2Jex/jwA7TUbq7evYk0nZqqPbzgIIGE6Q= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB3591 X-Proofpoint-GUID: g_Qx1jIHwcy57Af9rSZU_ZgKOFzUac1t X-Proofpoint-ORIG-GUID: g_Qx1jIHwcy57Af9rSZU_ZgKOFzUac1t X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-06_05,2023-01-06_01,2022-06-22_01 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 Thanks Stephen for the review. Sure, will use lib/pcapng. I see dpdk libpcapng adds most of the debugging data, however I would like = to add a node name to the packets which I am thinking of adding using 'comm= ent' option under 'Enhanced Packet Block' . Please let me know if that's fine. Thanks, Amit Shukla > -----Original Message----- > From: Stephen Hemminger > Sent: Friday, December 23, 2022 10:17 PM > To: Amit Prakash Shukla > Cc: Jerin Jacob Kollanukkaran ; Kiran Kumar > Kokkilagadda ; Nithin Kumar Dabilpuram > ; dev@dpdk.org > Subject: [EXT] Re: [RFC PATCH] graph: add support for pcap trace for grap= h >=20 > External Email >=20 > ---------------------------------------------------------------------- > On Fri, 23 Dec 2022 17:32:35 +0530 > Amit Prakash Shukla wrote: >=20 > > + > > + pcap_trace.file_descriptor =3D open(pcap_trace.file_name, > > + O_CREAT | O_TRUNC | O_WRONLY, > 0664); > > + if (pcap_trace.file_descriptor < 0) { > > + ret =3D 1; > > + goto done; > > + } > > + pcap_trace.n_pcap_data_written =3D 0; > > + > > + /* Write file header. */ > > + memset(&file_hdr, 0, sizeof(file_hdr)); > > + file_hdr.magic =3D 0xa1b2c3d4; > > + file_hdr.major_version =3D 2; > > + file_hdr.minor_version =3D 4; > > + file_hdr.time_zone =3D 0; > > + file_hdr.max_packet_size_in_bytes =3D ((1 << 16) - 1); > > + file_hdr.packet_type =3D pcap_trace.packet_type; > > + n =3D write(pcap_trace.file_descriptor, &file_hdr, sizeof(file_hdr)); > > + if (n !=3D sizeof(file_hdr)) { > > + ret =3D 1; > > + goto done; > > + } > > + > > + while (pcap_trace.n_bytes > pcap_trace.n_pcap_data_written) { > > + int n =3D pcap_trace.n_bytes - > pcap_trace.n_pcap_data_written; > > + > > + n =3D write(pcap_trace.file_descriptor, >=20 > NAK please use lib/pcapng rather than rolling your own pcap format code