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 237F2A0524 for ; Mon, 19 Apr 2021 17:10:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 02E8D4130F; Mon, 19 Apr 2021 17:10:57 +0200 (CEST) Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by mails.dpdk.org (Postfix) with ESMTP id 61961412E6 for ; Mon, 19 Apr 2021 17:10:56 +0200 (CEST) Received: by mail-pg1-f176.google.com with SMTP id d10so24448170pgf.12 for ; Mon, 19 Apr 2021 08:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JbYlrIG2AKeT5FqCh12ksJvB4extO5WxsmLE/GyJQE4=; b=ii5lqdmplg+G29/IFsEtV02szQFf4KjwTp1CHnbYcJsIbyu9WvLS1Aoh/l0sPPk9I0 GCchNgTkExN4t4IPC0S1Zba9KwrDahltTLERwlQc42n+rzM4Egc/93ovvtEguyHQKDJD 6YMuSeiqGmLbXzRmgF2pw9GIIh69AaWob9klEtDyplTYqOkI8woZ466qpaukHxeZAHym 4sukzEhqrWtz3JGNtWIJIP88lyPoDAbeNibrv+vtirVar85hmij79oZ/aDtxkuBAhXMu 0A/U7Ih2CrYmIXLyQ0lOTlNI+9pBDJufAVXK13lVLvL70MMH/nHk1da0bRY41k4wiHvN G/Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JbYlrIG2AKeT5FqCh12ksJvB4extO5WxsmLE/GyJQE4=; b=XSdGFfWxO0VLXO9otB8s3JYLJM2LUjh0OcYaceLuL7TwjeuIW+H7uaXDTOIJjwKgVs TOYIzGbuEUIPi4qFVjTiMPxfglkMVrzwp+A3jhS4nbkkU5qnT5Qy2F35VtoGNA6lhpoO J1+efOJp1U4ytWD5KytWHpWFQwlrsTDHN1ztBVktmbXy7Ns6CmKxvExn2E1SIkPXr9EH 2GDkPchrJNMu4VzmU3s9JasF5ysD1YwTcIL+hDSZwTASw3Fo8X2X5Gsas+DjMyy0AoVU 7qSQZv20hxOFcDOOtgfYROBJ1RYGHTplM2zUadyIOcf/ghL74ye146aFDQvw8PN67YAB mdHQ== X-Gm-Message-State: AOAM530/wlruqpw1KKjGPkKm2+24dLJXywJxUp+dUg++NsLT0fZan/kP geHo39VMYNMDYWV74HQSOwL+Uw== X-Google-Smtp-Source: ABdhPJw2t3XII4UPQtgREbNI2X5xGB/rRwNthvE6LhHt+C2E92tk8bzH6HgBtV/A6/KvgJNnmUT10w== X-Received: by 2002:a65:6282:: with SMTP id f2mr12162927pgv.289.1618845055494; Mon, 19 Apr 2021 08:10:55 -0700 (PDT) Received: from hermes.local (76-14-218-44.or.wavecable.com. [76.14.218.44]) by smtp.gmail.com with ESMTPSA id d1sm188452pjs.12.2021.04.19.08.10.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Apr 2021 08:10:55 -0700 (PDT) Date: Mon, 19 Apr 2021 08:10:47 -0700 From: Stephen Hemminger To: madhukar mythri Cc: users@dpdk.org Message-ID: <20210419081047.0d2b463e@hermes.local> In-Reply-To: References: <20210418083753.308083bc@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] Failed to bring-up DPDK ports on Azure VM 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 Sender: "users" On Mon, 19 Apr 2021 11:58:22 +0530 madhukar mythri wrote: > Hi Stephen, > > Thanks for quick response. > Yes this error is from a TAP driver from DPDK, but why this error/issue > occurs only when configured with -2queues only ? > Whereas with single or 4 queues it works Rx/Tx traffic works well. > > And also, this issue occurs only on single port-0, whereas on other ports > this error/issue is not seen. > > > On Sun, Apr 18, 2021 at 9:08 PM Stephen Hemminger < > stephen@networkplumber.org> wrote: > > > On Sun, 18 Apr 2021 17:51:09 +0530 > > madhukar mythri wrote: > > > > > Hi, > > > > > > When we tried to launch a DPDK app on Azure VM with 2-queues, > > > seeing following errors and thus we are not able to receive any traffic > > > on these NIC ports(MLX5). > > > On Azure VM, using "net_failsafe" PMD. > > > > > > ======================= > > > PORT 0 Max supports 16 rx queues and 16 tx queues (driver_name = > > > net_failsafe, driver_type = 16) > > > PORT 0 is polling for link-change, interrupts disabled > > > *rss_add_actions(): Failed to load BPF section l3_l4 (11): Resource > > > temporarily unavailable* > > > net_failsafe: Failed to create flow on sub_device 1 > > > add_flow(): create() fails for port 0; Reason: action not supported > > > =================== > > > > > > This issue is seen with 2-queues only, whereas with 4-queues we are not > > > seeing this issue. > > > > > > Does anybody faced similar issue and if any solution/work-around please > > let > > > me know. > > > > > > DPDK version: 20.11 > > > With RHEL: 7.9 version. > > > > > > Thanks, > > > Madhukar. > > > > > > If you are using failsafe, make sure that you have the Mellanox drivers > > enabled > > in your DPDK build, also TAP device. You need to build with rdma-core > > version 23 or > > later, and you need to have the kernel modules for flower, multiq, and TAP. > > > > Turn on full DPDK logging and check the kernel log (dmesg). > > No idea, look at the kernel log. Might be related to RSS.