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 C3410A0A03 for ; Sun, 17 Jan 2021 23:04:18 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B69C140D12; Sun, 17 Jan 2021 23:04:18 +0100 (CET) Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) by mails.dpdk.org (Postfix) with ESMTP id B1038140CAF for ; Mon, 11 Jan 2021 12:18:39 +0100 (CET) Received: by mail-ej1-f51.google.com with SMTP id x16so24131139ejj.7 for ; Mon, 11 Jan 2021 03:18:39 -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=B1gXCfmLsoODiNMV7yrf3cs9LTv4aSU4MnODNhFCUbM=; b=relP3g6F6m/eOBlEzlDzaZEo54mB2mVKllkxkfmW0TIwc+60yf7IJNiU812/JmH55j RBAYr00oXY2b1UEUl48uu6I5P8wYyWVk29VzCnCupDecZlCafP0WFe1TYBlzaciYgOJP X9XcX0cack9Wi0xzuJljPKUKm4HJiCh3hP5uh7udmv2h+nS1MRYabzkd3nwhRdLk2/bB Vlty/66iF00ruPn3Z9eiXPCDuPdd5nKNcB7DsR5cOYeQDrbWZL23Rng2Btu9uIIWkSwJ hLo6h9YiZ4luXcty2M9vNmFFxEO5EGknotO1/CpTxzX1YZVMRdKKEEwMVx6WV+y793bB C/2A== 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=B1gXCfmLsoODiNMV7yrf3cs9LTv4aSU4MnODNhFCUbM=; b=BzHn/lb1aMwFA1asLx6jU8CyGtsejyrvxViTSPjCM4PsAKq60uM391z/aV0DX0HlrK NMKyoAulDbD4G7602EvftabaVII+twjjX1BKW3dbjJKJBxbCXkJvRv76aKuIbyT41k1n 4d21z3rsKL8t34qkwXmlAUxKfvyXjg268m5U//FWARPM4+DYd5IYVrIJcFdfpM9HhxSi 06VdLo1FEuLwbOMGYO/wjlcezwXA1SMg3n00tBOL6MlnX74g1AHk9sL8N+S5N97K+C4r 0a/i1M586neSD3MZwT4N7EM6mc5XGDcMimmG0ZbEw/L3Z91YoKnVnV8tAqMMnw+gW66X s89w== X-Gm-Message-State: AOAM532/Bd5uPy7hsYCyMWCpxi2ugYYaD/cfcQd0sPT8vq4iwScidjCQ vd1/7NHdsWpGiJEEl99+S9k7ORH13pR5MvxYnS329oOULPWj3AKn X-Google-Smtp-Source: ABdhPJxXeILeKeeBwH46alIKpEMoLazw3lFTJDiz3ghhMZULu+k6rV9Eo22PVr7lgN8ZP7sUZiMvqhU51OTbMh1PawM= X-Received: by 2002:a17:906:1197:: with SMTP id n23mr10583277eja.359.1610363919148; Mon, 11 Jan 2021 03:18:39 -0800 (PST) MIME-Version: 1.0 From: Myth Ren Date: Mon, 11 Jan 2021 19:18:27 +0800 Message-ID: To: users@dpdk.org X-Mailman-Approved-At: Sun, 17 Jan 2021 23:04:17 +0100 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-users] use VF in promiscuous mode in dpdk to receive all traffic received by PF 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 Sender: "users" Hi=EF=BC=8C all is it possible we are mirror traffic from switch/router to PF, then a program based on DPDK read packet from a VF related to the PF, presume we are mirror the traffic from PF to the VF =EF=BC=88promiscuous=EF=BC=89=EF=BC=8C while the PF device still managed by the kernel driver(if it's possible), or managed by UIO driver. at least, restart the DPDK based program will not influence the PF device state. i have already read the the VFIO doc ( https://doc.dpdk.org/guides/linux_gsg/linux_drivers.html#vfio) and test it, but not see what i want (maybe i mis-understood or take wrong steps). if VFIO can do what i want? which device i should use, which version kernel i should use, which driver i should use? thank you