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 0C99DA0350; Thu, 25 Jun 2020 16:06:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 75961AAD5; Thu, 25 Jun 2020 16:06:11 +0200 (CEST) Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) by dpdk.org (Postfix) with ESMTP id A30FBAAD5 for ; Thu, 25 Jun 2020 16:06:08 +0200 (CEST) Received: by mail-ej1-f43.google.com with SMTP id i14so6057072ejr.9 for ; Thu, 25 Jun 2020 07:06:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=U6aJKO5EfZrRhk231Wfiqe0WryDCHowTuLbu+27U1wQ=; b=SUSQnxqk7EU5Gb4lxtgd6mwPH72BJrIbV9kFOWgi1xopL/Ikn93ylyko0ooy8g5Lmj 5E03mDkA/DBU39hvpKmfdNAzqa4bgL+FPddd9TcRehW+VvCFFymWFEGllyy9DvU7YqR8 hLRfFhxWJ7Ctsc0+SI2oWlwC1uxvv1O0gPLks= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=U6aJKO5EfZrRhk231Wfiqe0WryDCHowTuLbu+27U1wQ=; b=CiUvza8OJfUbmwgxY/t4tDQjAyEIsHlkfxtPGF2CgKp3gsNLDeBHAWX4UT5wwiLSh4 gv4pz9+8R2QPNlPKk2T7V4k10/GtWtE5d/9Ds8hMWylhYEON2bTXr0UBdzxR3CdoI8Zt MBZcXC0gopvBcuWXw4iZbmY4tXsGDDXZhzpfCRVzpg+PV/aW0PrWXq3cmOEodvzNCbfS 1z64NM2BdFgzXQvFCMqtfUw+mZZQw/V4t/XR4jxHLNiva6wznt/6RiGvaUaTIhSvE0pe lxC5Jq8vX4x9vwRsigbLpTKSETEY9u1+tl1KvPfQYsI2hAU0F7rZh1sXwg0j3ieei1h1 gGfw== X-Gm-Message-State: AOAM533WH8px2VzjvVgBE2wX6j5pljVPbRDNeYuPniSTRm3mkQF5iU8G m/cBMlsfPNgFwLi1Uy29aJx1GdWnD6prXcF00ebrEg== X-Google-Smtp-Source: ABdhPJzvS52Wh8cwxKjjACcoFI7N5kLjJcee1NEHfvDKxbusFURabD1VzKhqWh0qu3Vkp744FtSEbXlaWJPjp79YixM= X-Received: by 2002:a17:907:395:: with SMTP id ss21mr3500752ejb.181.1593093968223; Thu, 25 Jun 2020 07:06:08 -0700 (PDT) MIME-Version: 1.0 References: <4869615.bvJKNRufO7@thomas> In-Reply-To: <4869615.bvJKNRufO7@thomas> From: Lincoln Lavoie Date: Thu, 25 Jun 2020 10:05:33 -0400 Message-ID: To: Thomas Monjalon Cc: David Liu , dev@dpdk.org, dts@dpdk.org, David Marchand , Ferruh Yigit , Andrew Rybchenko , Ori Kam , Ciara Power , Ivan Ilchenko , Hemant Agrawal , Stephen Hemminger , Raslan Darawsheh , James Hendergart , grive@u256.net Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Promiscuous Mode Feature 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" Small bit of context here, the described case already exists in the DTS Dynamic Config tests. So, would the other corner cases and "modes" justify additional test case development, etc. On Wed, Jun 24, 2020 at 4:03 PM Thomas Monjalon wrote: > Hi, > > A bit of context: David is going to implement a test in DTS > for promiscuous mode: > http://doc.dpdk.org/guides/nics/features.html#promiscuous-mode > > 24/06/2020 18:18, David Liu: > > Hi all, > > > > From my understanding, the promiscuous mode feature will verify the > > functionality of promiscuous mode when it is on or off. > > You need to check in which condition the promiscuous mode can be enabled. > Some contexts may forbid this mode. untrusted VF? flow isolation mode? > > > The plan for testing this feature is as follows: > > > > Sending over a packet to verify the ports are working properly before any > > testing. First to verify the promiscuous mode is enabled. With the > > promiscuous being enabled, send over a packet and check if the packet > will > > be received when sending it to a different destination mac address than > the > > host/card. Then disable the promiscuous mode. The packet will only be > > received if the mac address is the destination mac address. Otherwise, > the > > test case will be considered a failure. > > I assume you will test positive and negative in both on/off cases. > > > Please let me know if there is anything I need to add on or if there are > > certain cases I need to be aware of. > > Anyone else has ideas about what to test and corner cases? > > > > > Thanks, > > David Liu > > UNH Interoperability Lab > > > -- *Lincoln Lavoie* Senior Engineer, Broadband Technologies 21 Madbury Rd., Ste. 100, Durham, NH 03824 lylavoie@iol.unh.edu https://www.iol.unh.edu +1-603-674-2755 (m)