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 463BEA04A4; Tue, 26 May 2020 07:57:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F0DFB1D926; Tue, 26 May 2020 07:57:23 +0200 (CEST) Received: from mail-vs1-f48.google.com (mail-vs1-f48.google.com [209.85.217.48]) by dpdk.org (Postfix) with ESMTP id 9D1921D91D for ; Tue, 26 May 2020 07:57:22 +0200 (CEST) Received: by mail-vs1-f48.google.com with SMTP id v26so11175859vsa.1 for ; Mon, 25 May 2020 22:57:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ytGYnle6Xe/Kz4W0KXAkKd9EEhQfAl4P5fHsOViHU0c=; b=mzUS7TM4HXc83zt8HlnsJRBg+Oq2r2HyB2RII7Y8xV5ffNNWnYzMVFz9wgGMkBdhXw IMIPkOS7DbaUNyfh2f9cCzgHxKyNI2z2T43MX6eidb2tC8L4gV0/7I/s462YRqZr8X+P aTqYNrXSuxGu98ci0NitFV+UoXI9+LGRCs/DE2k364kfo8DTB5lICdLSDSi2IT8QIr+y I8wccH8NqkIJC57X1bHhQEy326RLWg6h7yD0vvljhmW1Dac8U4er2qBEr5MmLbE/unMP pyDx+/Vuu31Du8VvTD2axvNPz87wl5LkXMyyWw1BCOpaqN9aNPUhi2xty1I/kHyNYpBw 0Huw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ytGYnle6Xe/Kz4W0KXAkKd9EEhQfAl4P5fHsOViHU0c=; b=WrqIHauJFcpUpwiT6/AUFnmZ6GXV8d56ULm60xWXIVGFikD38rSgeO+Q92VMmYWqYG 5b80b+OyjSm/0MNd0ifnQiD0QBGwU978H88nQM3vd5hcxzaI0KILE8nQFiQygB6UDT6Q Zxpet1IAZyoBTwpyBraCXYdzbZKWzWQLU41RFs1sGcwUVKZVW/pYxYSPzkqgXpHXcN5C QlfC8uev5UfRNw1jzgVUI93jMqYKB2klVYsXYt+n0G0vlq+K8YG2b2xUTMnl7Y/69AJ2 uGqN0GtXLb/nysEh+ZJ4SMN7K8tCFWe8LS4OP7IgiXX+NhMaX4AXvgHnQhomxH0LHoS7 PwwQ== X-Gm-Message-State: AOAM532+/OYJzrAtWIPRwhQDjE48ofTBS+mFCEzqI0MLEFeOPYPBKYSB F03cIbEx7lD1EpYIU3w/dfpVIxGJEfcytIzUuKuGYqTyqA8= X-Google-Smtp-Source: ABdhPJz5WbbywqeZQc6U5dXEz8O3JuqkC8ZzBnCPI/L/vstkNu1eXtpmU1xP2Q6wcaRKfNsNSGYbrrZYmw9Aqe5hMi8= X-Received: by 2002:a67:1dc5:: with SMTP id d188mr21250752vsd.103.1590472641493; Mon, 25 May 2020 22:57:21 -0700 (PDT) MIME-Version: 1.0 From: Deepak Gowda Date: Tue, 26 May 2020 11:27:10 +0530 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] xdp_umem_configure(): Failed to create umem 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" Hi All, I'm fairly new to xdp, i'm trying to run the testpmd with af_xdp. I have checked all the prerequisites for af_xdp. I see testpmd exiting with the following error, ./testpmd -c 0x3 -n 4 --vdev net_af_xdp0,iface=tap0 -- -i EAL: Detected 8 lcore(s) EAL: Detected 1 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'PA' EAL: Probing VFIO support... EAL: PCI device 0000:00:03.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 1af4:1000 net_virtio EAL: PCI device 0000:00:0a.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 1af4:1000 net_virtio Interactive-mode selected testpmd: create a new mbuf pool : n=155456, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc Warning! port-topology=paired and odd forward ports number, the last port will pair with itself. Configuring Port 0 (socket 0) *xdp_umem_configure(): Failed to create umemeth_rx_queue_setup(): Failed to configure xdp socket* Fail to configure port 0 rx queues EAL: Error - exiting with code: 1 Cause: Start ports failed Seems like xsk_umem__create() is failing, could this be a kernel issue? Before going further i wanted to confirm that my setup is fine and that there are no obvious mistakes, here is my setup details: debian buster kvm machine 4.19.0-9-amd64 kernel iface argument is a tap interface dpdk-stable-19.11.2 Any insight is appreciated. Thanks!