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 D8806426D6; Fri, 6 Oct 2023 22:22:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 77B53402E6; Fri, 6 Oct 2023 22:22:39 +0200 (CEST) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mails.dpdk.org (Postfix) with ESMTP id AD2BC402E1 for ; Fri, 6 Oct 2023 22:22:38 +0200 (CEST) Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1c888b3a25aso15690195ad.0 for ; Fri, 06 Oct 2023 13:22:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1696623758; x=1697228558; 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=oZqLNHfBExagfTJ0WqvIPfwB8Rc8i/kWB5WNNHYb63o=; b=cEQhZ8N1NIgv6JvcbUib9Dj+xpPuxqVlOL+O1REA3xIriwdTZmuE3XzPy53vj5CClZ nDljWl2UkWXXFgEPqBT2C680bgwOfvhiJsmx5PebUNsoNW8JBNXwY4oUJQyuyfCoDV5s FlQbXWyMUOCaUtooUvzXZu7+pzTK3SLXS0lN+17Vg/BAqQIZ5mmzzgm8p7jdr100T5yp z55GDrlvs3vMKA2LwBg3LT6GGSeB+XWOFGFAFDCnVTLbWrBD6Ls6SDmYeZL+S5u9a4kv FpKJ8Kn5BeXeiBN4QB+LAopTAHxvpXax1+XqwMbqh5eUyD1SzJ6blBMIh+j9j+cU3ywI h7Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696623758; x=1697228558; 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=oZqLNHfBExagfTJ0WqvIPfwB8Rc8i/kWB5WNNHYb63o=; b=Hdd3WkTkbScswZBJYJB9S2zB9MNGcaAkQOfSzIReN8f0hQMvXProWSUOCQ/9WooSsH XcCWF9fBzaGGWppB9+5vgQ8Qm4xchTZG9e/Y33mIR9DW6K/CxTulVWAiYryvBK7d/2V5 mphB/7J/YpaX7/OgfmkFyzQQUYVwZstD0u+UwXLVvcHsjzNsG1iMb8HAGg4/VVBS3npC i1iOv9vGcDt4ABsMgBVaeyhipoK143fW+kZWNKSjkfqI1W2vg35pPwQCQuExpS3UMmck tsYoGb7AXeO1g3BaPnOoKYIqPpuBuZc9Lw4CZWAdVo5voGQCfHWUZDgHaiDzTP+llgv+ PXfg== X-Gm-Message-State: AOJu0YzNFUJCcrj5oMAKvjuzYn2QNDlKgQwopE3MVxS4PvO5U1seEv08 K5Mdt6nYkJnd2L4YrRHMHn2+0Q== X-Google-Smtp-Source: AGHT+IEcBMWsOHTlgUvxQT2RD/Yza5rxQcR5XwCTaKypY/jgnNxN9sVi6OStS4d5l+oFjaWW9Hshsw== X-Received: by 2002:a17:90b:4f8b:b0:267:eeee:ab17 with SMTP id qe11-20020a17090b4f8b00b00267eeeeab17mr8912706pjb.45.1696623756454; Fri, 06 Oct 2023 13:22:36 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id c16-20020a170903235000b001c0a414695bsm4342058plh.43.2023.10.06.13.22.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 13:22:36 -0700 (PDT) Date: Fri, 6 Oct 2023 13:22:34 -0700 From: Stephen Hemminger To: Sam Andrew Cc: "dev@dpdk.org" , "ferruh.yigit@amd.com" , "andrew.rybchenko@oktetlabs.ru" , Long Li Subject: Re: [PATCH v2] net/netvsc: add support for mtu_set Message-ID: <20231006132234.38b844be@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Fri, 6 Oct 2023 20:09:09 +0000 Sam Andrew wrote: > + > + if (dev->data->dev_started) { > + PMD_DRV_LOG(ERR, "Device must be stopped before changing MTU"); > + return -EIO; > + } > + According to rte_ethdev.h this should -EBUSY