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 F34B8A04DB; Thu, 10 Dec 2020 04:00:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A898CC9DE; Thu, 10 Dec 2020 03:58:01 +0100 (CET) Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id 6F730C9CA for ; Thu, 10 Dec 2020 03:57:59 +0100 (CET) Received: by mail-pg1-f195.google.com with SMTP id w16so2827126pga.9 for ; Wed, 09 Dec 2020 18:57:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pensando.io; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=uYNfwMYf0L+0wjxGXODbMBf2RgARICS+dyBknwpyAuQ=; b=hpfZ/0hArJUnMc6viDuPckA0VV3yfx4U+xq/sXhQngWJFuyZfGZ1oDUG3qBPpVujxH N4vdoglKxBaPOQqS/uV5l8kIsp9hOSuMCZk9kPAOmhu3e4Wj9sF8XmeR4UzeC4pQsog/ SkGDqRAHoGv2yOk2qFckeTq0kbzTh+epGJKY+9YG9Fqi66BWbdU3JY2fpvJq7B0Er0ps meNk6M0KoL4+SRXRDDdMke7qs5S7ai3mW4/+ID2+IE3hE51jLbUOOYFWarvK/hapeH0I hwNuTbI07d8bZ25n8KZAHE8nUW0Yhged46n5J8kuJ9Bw9/98R6Ir0MNgRBi2UdtUn8rH G+JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=uYNfwMYf0L+0wjxGXODbMBf2RgARICS+dyBknwpyAuQ=; b=SRI6GU8UFbaXXdWPVosAfOkmTCPW5jo7VbVmvPhUYDRArcQgqGSv9FY1b2zkRWFJkz fXPGxlmXOLAJld9SB4vgfhkohEJcTRYOn3dZjaHy7wXXqrNlQWMwdzaPSEkP8jgRNa0t aaEnscUeGhNBjSxOKMOGNrAHspjZR8BH0rEMmtA3kp7Q5HzzlKGqe3cC9zql9lBSt/S8 NTnJVgnw5JHiYelVrZlvZftiE1GKLWMPZmqXB4i/KokwE9aerHG/g8k7GffA1Wjs08De Hn8iDqny2Wzij9nqWt55dBG3sW+pUZC9U8b+C8YuW/EtTj9965P5vKkltzN796O+OhDQ YCEg== X-Gm-Message-State: AOAM533aSOTJXpLYpycMdLOhss+VT11XBNzhaf9D3+SbdZhZ3QguitAC j85awVXD+n/4Qr/tsaa/H/3noN/Xka7hDA== X-Google-Smtp-Source: ABdhPJx7mPN4RqBy0cSr7sNjYte9QHXmlcHYDJ8aoTX6iYwMwT4k8QwkvB0C/t0NYKkK7nfbpEQnfA== X-Received: by 2002:a63:5417:: with SMTP id i23mr4743285pgb.433.1607569077533; Wed, 09 Dec 2020 18:57:57 -0800 (PST) Received: from driver-dev1.pensando.io ([12.226.153.42]) by smtp.gmail.com with ESMTPSA id h16sm3942469pgd.62.2020.12.09.18.57.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Dec 2020 18:57:57 -0800 (PST) From: Andrew Boyer To: dev@dpdk.org Cc: Alfredo Cardigliano , Andrew Boyer Date: Wed, 9 Dec 2020 18:57:35 -0800 Message-Id: <20201210025737.1057-8-aboyer@pensando.io> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201210025737.1057-1-aboyer@pensando.io> References: <20201210025737.1057-1-aboyer@pensando.io> In-Reply-To: <20201210020743.68927-1-aboyer@pensando.io> References: <20201210020743.68927-1-aboyer@pensando.io> Subject: [dpdk-dev] [PATCH v5 7/9] net/ionic: warn if loopback mode is requested 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" The ionic FW does not support loopback mode at this time. Signed-off-by: Andrew Boyer --- drivers/net/ionic/ionic_ethdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ionic/ionic_ethdev.c b/drivers/net/ionic/ionic_ethdev.c index cd79f250e..ce6ca9671 100644 --- a/drivers/net/ionic/ionic_ethdev.c +++ b/drivers/net/ionic/ionic_ethdev.c @@ -919,6 +919,9 @@ ionic_dev_start(struct rte_eth_dev *eth_dev) return -EINVAL; } + if (dev_conf->lpbk_mode) + IONIC_PRINT(WARNING, "Loopback mode not supported"); + err = ionic_lif_start(lif); if (err) { IONIC_PRINT(ERR, "Cannot start LIF: %d", err); -- 2.17.1