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 1816BA0093 for ; Tue, 23 Aug 2022 14:08:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C9EA240DDE; Tue, 23 Aug 2022 14:08:46 +0200 (CEST) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) by mails.dpdk.org (Postfix) with ESMTP id 6A93240DDA for ; Tue, 23 Aug 2022 14:08:45 +0200 (CEST) Received: by mail-lj1-f176.google.com with SMTP id l21so13307491ljj.2 for ; Tue, 23 Aug 2022 05:08:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc; bh=8OiXkuGlFstIUEfMZ87gsHtQ8BQRqQXTXX//0PWWlo4=; b=KYVUrUoMBYxlNlsXo5J8YU3w1vOsvDmfEuIooefixK2HEzYZfitGzaCfDfZzYDCrB9 V76Y/dV5GrnzNjgDa9sQiGi603r7Fn9E3OMB8jgUGuF9MmsOoyko7+oZT8UA3OkY+dzW dDr8GuV9vap5L9I3EKRqvDFHFgkperUzibhaP90y+tOpBMixdn4Lf94mDXfGsv/MFOUa yGocVflmPuuzV+TsoWbXausrK3FtQ7XwPclOCxdOMJ4ikKElSUC2sgIIzWs4N/dTcC12 If+hlBYku0HP7zvBV2u8ZJkI9DplmRU1Opk4c2xK4fjvC1/azh0prNbUHeMqOmd5sG0b EVzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=8OiXkuGlFstIUEfMZ87gsHtQ8BQRqQXTXX//0PWWlo4=; b=rNiTEaVVtb2gy3kKWyeQ7GfdVJTyvKgQD+V28+qau7bKht0sL5Zqe5KN7D3zvvY4kK 2spdGPpJSmybLlzMxM4YF3mAj7+au0eB9ctQUzLjMmrorcrIOLiLcdcR++wbTjeJoXSe wwC+0vLB2ZHK7n8aLejovXY4KIIinS5hh3pBuFQNuTE3aXyz43Isu+d+cLzwQOTkHUMF GA+9hfW16BtE6j6b/AnzccxoZ7TDhIe/xIAQp7hQvygQaSqIAfD/oIS5HUYouj9OJ10t J9+uQAVaIpbdChZJUNm9rbMEt4khq6I7sbHt/ERvypY2I8JbcstyG8yDUXSLTJzpMeGs 9oiA== X-Gm-Message-State: ACgBeo01Pj/pv53XoxmH4Jj2l3ZK5emoM2nmgpOuv1jaCfoLP5Ff8UDl 2iCK1nT3KiVkONt/hnt71mA= X-Google-Smtp-Source: AA6agR4if0kmI7YA43tay/mhvhD9DbjEyjfPDnEFovEULYfFmRNvPHcIW0tZJrRWFhqpJKmTWmNEDg== X-Received: by 2002:a2e:9d92:0:b0:261:c3bb:2ef5 with SMTP id c18-20020a2e9d92000000b00261c3bb2ef5mr4849668ljj.350.1661256524750; Tue, 23 Aug 2022 05:08:44 -0700 (PDT) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id m9-20020a056512358900b00492cd4bd376sm2052576lfr.239.2022.08.23.05.08.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Aug 2022 05:08:44 -0700 (PDT) Date: Tue, 23 Aug 2022 15:08:43 +0300 From: Dmitry Kozlyuk To: Antonio Di Bacco Cc: users@dpdk.org Subject: Re: Can a DPDK API like rte_eth_dev_set_mtu be called by a normal pthread Message-ID: <20220823150843.18e35ce4@sovereign> In-Reply-To: References: <20220823132245.5a9f9876@sovereign> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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 2022-08-23 13:57 (UTC+0200), Antonio Di Bacco: > Thank you, and what if the pthread is launched by a secondary DPDK > process? Should rte_eth_dev_set_mtu be working ? > Because I'm observing a crash. Do you have a debug stack trace? Does PMD that you use support setting MTU? Memif doesn't, for example. Check for .mtu_set in struct eth_dev_ops filled in the PMD code.