From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-f174.google.com (mail-yb1-f174.google.com [209.85.219.174]) by dpdk.org (Postfix) with ESMTP id CDD241B4B5 for ; Thu, 14 Feb 2019 22:05:50 +0100 (CET) Received: by mail-yb1-f174.google.com with SMTP id v2so2981273ybm.2 for ; Thu, 14 Feb 2019 13:05:50 -0800 (PST) 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=4IU6PqwhTgW+CnZLug6HNnQNHb6pATWBCvTHpTqa6/4=; b=YKOCvwTRM/JmFMNRRryuz4u+4T8HCgwusfl4MsX56zLs1nPzT1VDFF954fJ2V44uKC Yinu96ItPYw95WTAtbYVpuUZT8uUEIfesz2cLkAIoIYXq3RBpjNP9TRgYoGJKedccnLM Bt5ObrwCXdSf6/zw/g/h/pdZJAdNLo12XwLEkEtHhK3Gp/EsvNfyqQAWFu6GIR2aDgM8 eeeLtC6Rzo307ZOPWzC0q1uJ4VbHWJ3ITb8Tb53vEcIRtmh6vcdHKTcpOLF7Yu3MKCon DtF5LJbCY198pdIyynlLFcnUnPImKljq3mBBdFahBJyK79A68q1K8QT5YN7nhK7Gt6j7 Irxw== 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=4IU6PqwhTgW+CnZLug6HNnQNHb6pATWBCvTHpTqa6/4=; b=uX3aHfw7y+gcMDYyc2H76WL7njnVzU+nFkclVXhbsh/yta5N4GzTfGRrMF/l+RnPza k45iew1oDr2WubtnxDp2MeeJx74LQuF8ao1wMBVyw6HVbvmHOsSyN29oOP2sHvIFS0MQ S2frViUamT1KdRqT3zGQWPB8ofWegaEK6htbLsbzn6HOZqajbKmBTeHIYFFBo1F1p/Qt C/nLIrgQMNM1Ki8+zecTP9FK7zIVBFtLCfDEActDt13j7VMparvK93VIry9UlZXuhU2z C+jgQfjb+YfeGlxWp0l2lNKuwSsUXPJaYMTPAEniI6EPZiSinZoJtjFrcdpMu8Pm/sGP 4SjQ== X-Gm-Message-State: AHQUAuYDq2bpcJsEEO5YsuzGPRSUQq/4VxkiBISA5Pr3YK62hvC/qM0z WC2pkYKsTwLtO8SNt/0X1V6RQtXpcWCMyZ8YY5jlokf/ X-Google-Smtp-Source: AHgI3IZECPKankVHRzoBtF8AOzwfk3m2Sb03jLpLN9CC7aLL5J5XF5aWfQody5awV+Hq6O1IcOuXfUihbwmScBgwi3s= X-Received: by 2002:a25:73cc:: with SMTP id o195mr5016026ybc.310.1550178349650; Thu, 14 Feb 2019 13:05:49 -0800 (PST) MIME-Version: 1.0 From: Cliff Burdick Date: Thu, 14 Feb 2019 13:05:28 -0800 Message-ID: To: users Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Mellanox + DPDK + Docker/Kubernetes X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2019 21:05:51 -0000 Hi, I'm trying to get DPDK working inside of a container deployed with Kubernetes. It works great if I pass hostNetwork: true (effectively net=host in Docker) to where the container sees all the host interfaces. The problem with this is you lose all normal Kubernetes networking for other non-DPDK interfaces by doing this. If I disable host networking, I get the following error: EAL: Probing VFIO support... EAL: PCI device 0000:01:00.0 on NUMA socket 0 EAL: probe driver: 15b3:1013 net_mlx5 net_mlx5: port 0 cannot get MAC address, is mlx5_en loaded? (errno: No such device) net_mlx5: probe of PCI device 0000:01:00.0 aborted after encountering an error: No such device EAL: Requested device 0000:01:00.0 cannot be used I've tried mounting /sys and /dev in the container from the host, and it still doesn't work. Is there something I can do to get the Mellanox mlx5 driver to work inside a container if it can't see the host interfaces?