From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BDD0AA04C1; Tue, 26 Nov 2019 08:34:41 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EEF7F2A5D; Tue, 26 Nov 2019 08:34:40 +0100 (CET) Received: from mail-io1-f65.google.com (mail-io1-f65.google.com [209.85.166.65]) by dpdk.org (Postfix) with ESMTP id AE6C5A3; Tue, 26 Nov 2019 08:34:39 +0100 (CET) Received: by mail-io1-f65.google.com with SMTP id j20so19347107ioo.11; Mon, 25 Nov 2019 23:34:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Eujb7ny0onvN5XnnhG+NQAxfAg9+ZqTA8aiW85XZJz8=; b=bvxZ+fJtwALMe5Bz/cxVvtpZzldP/WOJg6ofGYdJz+eOlkVJldBTlbjPFBls0XHlEP 6IBwoFn6H8lI6sEwEk9bprc2VBE7xzNbU31Km7vctcYzs+avhBJnmmKL77hHrPKQYFnc IDsiezWMlVVZrE+Z4v+kpmfki0c+ne4cWwirIdwkUdE/AqSNnwhNSbXUD1Jmp3Ws1cr0 kCQ2hi7oUsIhVCsby0mVsc/ZuahedB7yPcQXD2RfqBhbt1i61AASZKsxqj/ISy4W4Hqj e9+yVwgfJwjcz4jo4C5pIcRGFm0+XByh82b26uG7wJ4e2x8gII5dUyqraS7b4z/fUUjh RnAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Eujb7ny0onvN5XnnhG+NQAxfAg9+ZqTA8aiW85XZJz8=; b=aDqzCIPtzS6j2Pu+KREis2et1niT5STDPs8GbIr4KxmtylFNxI2hUS+epWs484ZpC9 8zXA/BEmniKJE+6mGn594B3lef70qqoT7i4VkIwKEH1uOyVbuQQ4DghQc2zal1eBljNP +jRSf0E+R8CfD1/X/o3oTVkaGKVgUf16PqJINix7mTSCjljnu/3EHdcEHchaI4vLEkIa 3dnW6j2MNlAG6MliHAgnsIWppfHKH7ZTn1ivO2zT1JuCWz1zET4fD+s7Q3eqPzpabjGX sD2dgRare+9mdOB93qCFZKQOcbIBT6a4uSL4FlZcSAVg+ROdaB9v+pNNkRqdhD7qnsK1 woXQ== X-Gm-Message-State: APjAAAU9vUZhvgoYlpHrUqlz4vZDORdPnKGD9zPLL0xZPk3uLcgVVGyo nlbXuHAa4FiHxpK8cP8exjTReaTyVi+1fhYUVsE= X-Google-Smtp-Source: APXvYqzOEV9EbwVmuQArxNfw2XxwEDZyvYkHKYAArlit2YleAuxZgWaw8APwRozMqwT77FcGY/4yP+/XLjaWmfxNavc= X-Received: by 2002:a02:b00c:: with SMTP id p12mr25913550jah.112.1574753678797; Mon, 25 Nov 2019 23:34:38 -0800 (PST) MIME-Version: 1.0 References: <20191126070358.11322-1-skori@marvell.com> In-Reply-To: <20191126070358.11322-1-skori@marvell.com> From: Jerin Jacob Date: Tue, 26 Nov 2019 16:34:22 +0900 Message-ID: To: Sunil Kumar Kori , Ferruh Yigit Cc: Jerin Jacob , Nithin Dabilpuram , Kiran Kumar K , dpdk-dev , dpdk stable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] net/octeontx2: error on loopback mode for VFs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Nov 26, 2019 at 4:04 PM Sunil Kumar Kori wrote: > > loopback mode is not supported for VFs so returning error if > VF is being configured with loopback mode. > > Fixes: 920717e4d8ba ("net/octeontx2: add device start operation") Cc: stable@dpdk.org > > Signed-off-by: Sunil Kumar Kori > --- Changed the subject to: net/octeontx2: fix loopback config return value for VF Acked-by: Jerin Jacob Applied to dpdk-next-net-mrvl/master. Thanks > drivers/net/octeontx2/otx2_ethdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/octeontx2/otx2_ethdev.c b/drivers/net/octeontx2/otx2_ethdev.c > index ddab3aa06..70eebaef1 100644 > --- a/drivers/net/octeontx2/otx2_ethdev.c > +++ b/drivers/net/octeontx2/otx2_ethdev.c > @@ -205,7 +205,7 @@ cgx_intlbk_enable(struct otx2_eth_dev *dev, bool en) > struct otx2_mbox *mbox = dev->mbox; > > if (otx2_dev_is_vf_or_sdp(dev)) > - return 0; > + return -ENOTSUP; > > if (en) > otx2_mbox_alloc_msg_cgx_intlbk_enable(mbox); > -- > 2.17.1 >