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 B8F6E439C9 for ; Fri, 26 Jan 2024 00:55:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6AE59402A7; Fri, 26 Jan 2024 00:55:56 +0100 (CET) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mails.dpdk.org (Postfix) with ESMTP id 065C9402A7 for ; Fri, 26 Jan 2024 00:55:54 +0100 (CET) Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1d73066880eso49732355ad.3 for ; Thu, 25 Jan 2024 15:55:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1706226954; x=1706831754; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=5d9IoRMZULqecPBJpG696Ff9IRhM5gPu7vhobzY1oPY=; b=Z2o70oJUVNHvWYWyvwphTpq4/hIbGNFyndFiVlb9Hw3g1pbEBkIGkXy5kD8RE+x2AF uKyl/7Kp05RSuBuWDQe0CcMcHfG/XX/bHOJjKOfBWdKULeh1NsJBg+KOij6wo4Dauci5 Q1n+PaPFo0ifuK4DViNeSlBwdZwXQe062xEQZegrNkq8lBZLJatlxddMwr7WebINXV1u 4mcVhZtxKeBvHXNIYX1SttnxChmPNr+9dQYLBHSbxCc9gu5mfnG2f9ifhHKuKVa9XndR uRwgbkr2bh4lSghw1v588VC96btGK8CIwT0XrgXXXzAt1PGG8VYVL7Uvyq/nkiJrTWa+ M8Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706226954; x=1706831754; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5d9IoRMZULqecPBJpG696Ff9IRhM5gPu7vhobzY1oPY=; b=h4cojJutQp2tidhjXgxv8MGaGXPtP9abK5pj3Lh2JABDadHuqzzixi7Maj05a//1a1 EHWY6P8k3KON2U/irJI+lbrab447QL7Of0VpyjiXPo2UL4rFlU0pqSkoO48iy/UQiLLu sEgSfqdVqIHuOcbCScinySeFBoyGr2EwJ1sdRfz0mTClimvR8WsTxYG+dSvM4xtvG/Iu 3VswPEgMxf0tv/VCBZlH6/TWCUXQIXPCpBBNDEEsETHNTwgeYu6c9nWHgIO+EDc5aXka RC1/U8cOCquPY/XkhpAH6SjWJj6DQMDJUJTCKtdORKVPLNR6Qc9z3zuQI0zhnA9wHVTn koHg== X-Gm-Message-State: AOJu0YxP0xGc8a+SQpnoomddeLat4GtWXkuz4Yh1aOFuH4uUsWBxt4kZ kCjGWBlQkVOr67GJdkYTPhgJAJf7wRB2YMB6xpJn70GqXvchScgc7vTrOLQGMZ0= X-Google-Smtp-Source: AGHT+IEt4N/LfzRaGYkymH3f0tvzailFDMPy+17LKo+Y8c/89nyomCXdImAW+8E8N0gEE+45ECMM3g== X-Received: by 2002:a17:902:f681:b0:1d4:a179:e697 with SMTP id l1-20020a170902f68100b001d4a179e697mr654886plg.55.1706226954054; Thu, 25 Jan 2024 15:55:54 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id z20-20020a170903409400b001d73047d4f9sm48702plc.284.2024.01.25.15.55.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 15:55:53 -0800 (PST) Date: Thu, 25 Jan 2024 15:55:52 -0800 From: Stephen Hemminger To: Nitin Katiyar Cc: "users@dpdk.org" Subject: Re: Failed to enable SRIOV Message-ID: <20240125155552.2e19e52d@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Thu, 25 Jan 2024 09:13:55 +0000 Nitin Katiyar wrote: > Hi, > I am trying to enable SR-IOV on linux server (details below) and it throws following error: > # echo '4' > /sys/class/net/enp1s0f0/device/sriov_numvfs > -bash: echo: write error: Cannot allocate memory > > I went through some of articles on internet and it suggested some grub changes for pci but none of them helped. Following are the details of system and error > > System details: > ------------------- > Rocky Linux release 9.3 (Blue Onyx) > > model name : Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp vnmi md_clear flush_l1d arch_capabilities > vmx flags : vnmi preemption_timer invvpid ept_x_only ept_ad ept_1gb flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest ple shadow_vmcs pml ept_mode_based_exec > > > ixgbe ver: 5.14.0-362.8.1.el9_3.x86_64 > You may be running into an issue with the limit on the number of interrupt vectors the device supports (hardware limit). What is the total number of MSI-X vectors across the total number of VF's?