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 CC1DCA0547 for ; Sun, 18 Apr 2021 17:38:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5B66C410E5; Sun, 18 Apr 2021 17:38:05 +0200 (CEST) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mails.dpdk.org (Postfix) with ESMTP id AC306410D7 for ; Sun, 18 Apr 2021 17:38:03 +0200 (CEST) Received: by mail-pl1-f169.google.com with SMTP id 20so12462425pll.7 for ; Sun, 18 Apr 2021 08:38:03 -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=f3JrHuKrbhzMFJWP7Gu2LmtUelRvKV1TbB0raXvTH28=; b=JIE5Dy4wF0Ii8LCgAJ01yuqsT1T/qvjvo+mo+u3K4fH5gyyPocufH88VBpBThahWhj u/s+4fS68CmCtOQyFNIRepzLRk6qo/k33xTP0m7QaoM3seqIK9aI6/uFxrZ6LKXnRhGv Ih2agCLz9WNQZV8KH+MgZrsEg3iCqXBJpoffjALKJWE682ee4eTlP7xshe0yJui1bQtJ pXJCkbGHpkGBeoCeMBaL7ykkeYhL77J3/X3Ra5LHMifyz30jvZ7xeYQlK+xQhrW4F+vt AQxgrD+uBkBmtX9dgjnRutSj0LIF11UORvs6WJMBsfkhpIjdBE4Ff7E4JCWlevUViPe3 i4LQ== 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=f3JrHuKrbhzMFJWP7Gu2LmtUelRvKV1TbB0raXvTH28=; b=T/3DJ8TQjdYD0f9nt7lvY14cpP+2FGuarE6OGBkIJACRP7IVplH/M4EZOcl6hjL4+A GfxJ4Yk1dVOJZWNDQT4iWSPgeCOlozbcKkd7iZe5NpWMJeR39G45fvMmAFVIGAiALK9+ PbAgAPmmtLp5YJWyJgDArBbEVnUwC41NP+QbCMFIFTXErHeDvoEMh5iX9J0OJ6Kx6ZeW c9TKYXlnFzIs3y98axJ8Q81et9Ja6BexKt7kgIywvhd0k6NbPQ/TEVhJpDVI6HhsWxWs L2E5kApkKej0GW2UcE1yxgIyXA7vr6YB3sCAZP6Dtzpi2YWCbYq57/QFPBnBRvQbCIxe d6fg== X-Gm-Message-State: AOAM531nNl6KikUzNc75IBxNxcXzlXStK7DdwzfetvDm2BQhrPxUyc9S cRmxuVCwWP0njbRIR/X3Dy8EHQ== X-Google-Smtp-Source: ABdhPJzhzd6pcVhtjFstpVDe/bqWRWgmPUxnhVl+iUBE5phNT3s2+9IrzgrC2H1xWq8SAGkBo1mwoQ== X-Received: by 2002:a17:903:4095:b029:eb:496b:22c2 with SMTP id z21-20020a1709034095b02900eb496b22c2mr18680755plc.23.1618760282754; Sun, 18 Apr 2021 08:38:02 -0700 (PDT) Received: from hermes.local (76-14-218-44.or.wavecable.com. [76.14.218.44]) by smtp.gmail.com with ESMTPSA id d4sm8260921pfv.76.2021.04.18.08.38.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Apr 2021 08:38:02 -0700 (PDT) Date: Sun, 18 Apr 2021 08:37:53 -0700 From: Stephen Hemminger To: madhukar mythri Cc: users@dpdk.org Message-ID: <20210418083753.308083bc@hermes.local> In-Reply-To: References: 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 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).