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 58BE845BB9; Thu, 24 Oct 2024 04:13:00 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 287384060F; Thu, 24 Oct 2024 04:13:00 +0200 (CEST) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mails.dpdk.org (Postfix) with ESMTP id 843CD402CF for ; Thu, 24 Oct 2024 04:12:58 +0200 (CEST) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-72041ff06a0so219490b3a.2 for ; Wed, 23 Oct 2024 19:12:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1729735977; x=1730340777; 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=fOvQZXk2v09Gh0SFJQOddRhzHLVpIgLw9vwevXpSbHA=; b=dwfzi/5gVchg7nw7kiEVEinaNP+SXhuHzL+Kke3+nDdoLOI5NKu7R2VL7+2H69I9y7 5EB96U4g9XjXzQGWo04TWSmzWbf80rHRCi0kFw+pARthDH3mkdMSmpymc8DDhwjP53tv Dn8KzXcHXw8vKhKoeSTbO6lLBDds2B4NAnYP6Fd3R8LMaryT5iBd1w3SgyvH2l/LPm5X se9fgVD5YXiIe5K+tBsX15DRGPPeBNRSHf3JUKXZvyimwZE6IWHNIDDuv6gmcNfFY11h +WXYdXxdlyOGAEh6vochF6q5AKimLO2dvIIpSfBgfQ0Eme6OqjSScVFT5EAPHRM909nY 74Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729735977; x=1730340777; 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=fOvQZXk2v09Gh0SFJQOddRhzHLVpIgLw9vwevXpSbHA=; b=R8v9QF3dIIVX9wQtai3iZ4s0YvVAarVyWE/Z6PvG5WJ3bX5kgzmXU0xHoYRUburoNk 37BcgcclO5EMbCkYddxaThPdvNLBoxJf1vXTQmplyvAQJlFI15tpAeOpoumBZcAVMl6w SAgctRPKFnDUlm2mUvss66F0kpkvn9tAcbDkvj0rRhMDT0uvpP//7VadqjoLPt/Jph9W PscdsdbkUwRj7MCLn17XN6K7nseKf6P+Ky559qaPzo1Zguv01hOVpNybSAf0lOHSTWw2 H7CMfKnFUC9/cpGCJwEyud37D7I95ywU4l3Hamd/yrAiBkXPJOSJoKt5//qJUtnnd/rQ cF3w== X-Gm-Message-State: AOJu0Yynd75XUNIHYdtQlIY2O1OqJCv7D9p4iUcRdfWUa7zeMne1ISTz S7oqbi4QFxrvs685IqumL80Ni4reObw38zcYuQMitcLsyR6qFEJbBNqAcCHCE4IShUwkFrm/0L5 v X-Google-Smtp-Source: AGHT+IGeul34P1smRmCAXwSEDOj5fG2qIgdlxB1eH7av6hFSR8pX7vNRi0/OQ5SJfldr8xoaGk0seA== X-Received: by 2002:a05:6a21:398:b0:1d8:abc6:71a4 with SMTP id adf61e73a8af0-1d978aeacdcmr5492110637.6.1729735977509; Wed, 23 Oct 2024 19:12:57 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ec1312d6bsm6969035b3a.29.2024.10.23.19.12.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 19:12:57 -0700 (PDT) Date: Wed, 23 Oct 2024 19:12:55 -0700 From: Stephen Hemminger To: Xiaohua Wang Cc: "dev@dpdk.org" Subject: Re: Can DPDK AF_XDP PMD support macvlan driver in container? Message-ID: <20241023191255.505a1068@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, 23 Oct 2024 06:07:22 +0000 Xiaohua Wang wrote: > eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0 > libbpf: elf: skipping unrecognized data section(8) .xdp_run_config > libbpf: elf: skipping unrecognized data section(9) xdp_metadata > libbpf: elf: skipping unrecognized data section(7) xdp_metadata > libbpf: prog 'xdp_pass': BPF program load failed: Invalid argument > libbpf: prog 'xdp_pass': failed to load: -22 Is xdp_pass your own BPF program? It maybe that the kernel device driver (in this case macvlan) needs to have support for BPF programs. Macvlan does not see macvlan.c:macvlan_netdev_ops