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 31CA445EC1 for ; Mon, 16 Dec 2024 17:58:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AFF1C4025F; Mon, 16 Dec 2024 17:58:46 +0100 (CET) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id D779640144 for ; Mon, 16 Dec 2024 17:58:44 +0100 (CET) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-2164b1f05caso40056025ad.3 for ; Mon, 16 Dec 2024 08:58:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1734368324; x=1734973124; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=2Y1Q+ZJ0EWa6gEisV2q08YKIMlb4Sz3Q0XjysUrbaqE=; b=LEc5nEkUpg3e+Dc/QBWNsvR3DagWtHPDWjt0SuM4ilgaY2wckjylKa0TTuURGvUwcJ MlBFAZLKnBknYj/y2jq45g75jQbCw4tgEC/Hp9zKmI/VY0BNB/p4Y10Gn6Rjcjdwttq8 y1KomyoqMh4ASYd8okYjcxAS42uOkSe5PTZOs5l0HG13uXWAqLQRoSDfcEeJEq1IxUQD aYpc90c9fq2jdqPoZme994Nt4/SavO1GN8228S1oZCfmz3D/5tCl7qiYjy5Vxzv5nDoD twsqvq0/P73EdKUfBl7oOzdRmrs40RJIbuqmSFHUpIpXhmKi+LzEYlmaPkYOCrOtvtqT RLRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734368324; x=1734973124; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2Y1Q+ZJ0EWa6gEisV2q08YKIMlb4Sz3Q0XjysUrbaqE=; b=u94pZoJMBH11Q126MRq8NmBXq25vplQFPZ0e2hcsaejo2t2MA+xuI4Ug4YT+0ohWTl A5GbHYW9WogQg+2F9NeVfHJ3Zw42fpMNTtnTYU5YRKLtffa7vZRW87wgPXxqiGbFse2r e/NRZXGdtrfzxTlENDPpIdizbo9FdRbn+EwbxXlk+gRRdpTGr8BiqUT/9MWtXaUnABvh M656lheI1ZnDxZL4ZMy0pXyO6uKFtuom+PR1tO3oqtasK3ph4PHG0yaMbUnZkBK/IS3w cNxanZSLDYIwbXyBnGuDT5ABDCvWv+Dqd++IYxrVh9JdMH9tATrIruFGd3AMkX5vJXbt crjA== X-Gm-Message-State: AOJu0YwrE95PxnLUNzgsaPag7IO/l5Jr9ZsKxTXTXMVKujRW2LuhEx+e WhglWzcGeph8t71CZrL2+OdUe8EYMLSQO1vG8pQ/pthumRfmyPXoQIfy7bt0wSoEgDyBmWnUsFH vhqs= X-Gm-Gg: ASbGncttd1uA0egUPldQnBqDn1+aBpNHN+1yHWjlc2t+Q9/MsbwOrZt+mJTtqS2ETFA I9W+Mp5Yk4xpY3841S5KgH8dtma5lfJV05Iu8wkBAjz7AYH3SijYstr5MWTYJR8zw2CeqjHlZ4R PJ1tImYEGZCXn58l5K8ogDnk3uARo0c/9Ob3CzafDQy3/uYkOrS/+nnIDsFxqqQbiCp0x5EJT3u A0hVywbjHiOy/fqf5xw9DGi05d3O+erqeDt5BEhPuyeb1/MuwpIpR72DSfU4dEQEN7whj2uhSQ0 NyGCpdkjLObR3UV4MmSDNC9tET8WQxkLuw== X-Google-Smtp-Source: AGHT+IEJE1torFf053/deEKe4jqSQXLpym/ZkVYL+T7i4Nak3eZrIPg1AHA1Lzh2pEY3L1QrRi17hg== X-Received: by 2002:a17:903:2b08:b0:216:138a:5956 with SMTP id d9443c01a7336-218c8dbfa33mr3075545ad.19.1734368323842; Mon, 16 Dec 2024 08:58:43 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-218a1e501dbsm44987975ad.153.2024.12.16.08.58.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 08:58:43 -0800 (PST) Date: Mon, 16 Dec 2024 08:58:41 -0800 From: Stephen Hemminger To: Lokesh Chakka Cc: users Subject: Re: rte_eth_tx_burst giving error Message-ID: <20241216085841.16efa701@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Mon, 16 Dec 2024 17:26:20 +0530 Lokesh Chakka wrote: > hi, > > please refer to the small piece of code at > > https://bitbucket.org/chakkadotlokesh/learning_dpdk/src/main/pmd_tx.c > > This code is functioning fine in dpdk 23.11 > But giving following error in 24.11 > > ================================================================ > Thread 106 received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0x7fa8d8ff1640 (LWP 14264)] > 0x000000000041a4de in rte_eth_tx_burst (port_id=0, queue_id=0, > tx_pkts=0x17f8b3180, nb_pkts=4096) at /usr/include/dpdk/rte_ethdev.h:6425 > 6425 * callback is called with the unsent packets as a parameter. If no > callback > ================================================================ > > Can someone help me understand what might be wrong? > > > Thanks & Regards > -- > Lokesh Chakka. Do a debug build (with -Dbuildtype=debug) and run it under gdb. You might also want to enable ETHDEV_DEBUG and MBUF_DEBUG in rte_config.h