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 F401F42923 for ; Wed, 12 Apr 2023 08:58:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 104D942B8E; Wed, 12 Apr 2023 08:58:40 +0200 (CEST) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by mails.dpdk.org (Postfix) with ESMTP id 019B341153 for ; Thu, 6 Apr 2023 12:08:55 +0200 (CEST) Received: by mail-lj1-f170.google.com with SMTP id bx10so21838691ljb.8 for ; Thu, 06 Apr 2023 03:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680775735; x=1683367735; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=2E8J3qFAclgEK21yAw1jUPy172FsESZnHr7b7Wff3rk=; b=gHV3ZDBsXpT8ufs3ubfLsPGmIv5swG1VEX9Lx1MpV122R2DODa8+yZsbe8nxuorIyH z+wp1QbGqYCTCtzQHCFQeX7G+kjIVWGIDBbeomuSRnMAfdg/Z5sAS76tegR9JwCL45pA RqyqtIiLkREzMojcgUY5Oa4SZTmnVpNwLwTCLeg+ukHMddmDXWAGitx2CdgDPjx8fzRm nsbywEOJDByeocYwMwDZt+DMQ2PwWCYvD4r3k2RiAoaIYMmCDuPMN93dtdPqaZg131d/ tUWsC3nJb3yVTr2oxkCKFFV82tHj2PKdX/0H+sPLhjbjp5RpKgJpERXRc92nVoBfg234 fV0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680775735; x=1683367735; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=2E8J3qFAclgEK21yAw1jUPy172FsESZnHr7b7Wff3rk=; b=cHOSL2XBflg7Vt3XWJyuRzGhYCzf4B1VVeOJGFHQL1ra7mx72rpGmQKLTu+nyGpXQa ETjidDz9x7ZNSESSEkyL/yV3GIIgNihcvurqYSvY/byZqSuTfSwaosBir3WDTS5DLqd7 DuCmJhOrYZLULnjfCsK+Vx2GeLq8fpUe/3i93AgNWHkkRwE0z1MwtR130cYXrYYy55Zn LLQuWAEniqBY4IPrxThEzDpdHZxg1OVeWXdLPFlK2Ocq/WaparoBcdAraaiEHHgLEVZ+ VF4n6k4xXvcpbOmVuw9RfOzfhmaU15d/0TZ/O+vY+joLvxq1JR952IfKhF7hh7Si20CO 1MTg== X-Gm-Message-State: AAQBX9cdvqaUmWfYWwmNj1nYAMIjxsS/p2wkRBt/CG68m0kV0BEJw/32 8hDnnE8kO70lFHS7SWUnMeZYjj7u2ivs0pbAVsxzsjyHjnFYtg== X-Google-Smtp-Source: AKy350brUkwtxCuqur8ZYhnYgQ2P/LX/BgA/31dJWHFH5w0fhlUZ+El5TZ1c+bY/9xkXWRMytT2/OZlAoY0vQUGGDvs= X-Received: by 2002:a2e:9cc9:0:b0:29f:caf0:f77f with SMTP id g9-20020a2e9cc9000000b0029fcaf0f77fmr3138002ljj.3.1680775735011; Thu, 06 Apr 2023 03:08:55 -0700 (PDT) MIME-Version: 1.0 From: Dhamodaran Pandiyan Date: Thu, 6 Apr 2023 15:38:36 +0530 Message-ID: Subject: MAX_MBUF_SIZE causes queue configuration failure. To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000a1ecd105f8a818f2" X-Mailman-Approved-At: Wed, 12 Apr 2023 08:58:36 +0200 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 --000000000000a1ecd105f8a818f2 Content-Type: text/plain; charset="UTF-8" Hi Team, When I set the value to MAX_MBUF_SIZE as less than 16256, all the initialization went through fine and the application was online. But when I increase the MAX_MBUF_SIZE to more than 16256 like 16257, 17000, or 18000, I get the attached log error which shows an issue in configuring the virtual queues for the NIC. Log Snip: i40evf_configure_vsi_queues(): Failed to execute command of VIRTCHNL_OP_CONFIG_VSI_QUEUES i40evf_dev_start(): configure queues failed MTU size for port id: is: 9000 Failed to start the fast pkt for port_id : 1Ret: -1 Some Observations: 1. Thought memory availability was an issue, so provided 10x more memory and allocated 10x huge pages than required, still noticed the same issue. 2. Got to know MTU size also plays a role in deciding the mbuf_size, so tried running app with MTU of less value, but still issue persists. Please someone enlighten me on what is happening here. Thanks --000000000000a1ecd105f8a818f2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Team,

When I set the value to MAX_MB= UF_SIZE as less than 16256, all the initialization went through fine and th= e application was online.

But when I increase the= =C2=A0MAX_MBUF_SIZE to more than 16256 like 16257, 17000, or 18000, I get t= he attached log error which shows an issue in configuring the virtual queue= s for the NIC.

Log Snip:
i40evf_configure_vsi_queues(): = Failed to execute command of VIRTCHNL_OP_CONFIG_VSI_QUEUES
i40evf_dev_start(): configure queues failed
=
MTU size for port id:=C2=A0 is: 9000
Failed to start the fast pkt for port_id : 1Ret: -1

Some Observations:
1. Thought = memory availability was an issue, so provided 10x more memory and allocated= 10x huge pages than required, still noticed the same issue.
2. G= ot to know MTU size also plays a role in deciding the mbuf_size, so tried= =C2=A0running app with MTU of less value, but still issue persists.

Please someone enlighten me on what is happening here.

Thanks
--000000000000a1ecd105f8a818f2--