Thread (5 messages) 5 messages, 4 authors, 2020-06-29

Re: [dpdk-dev] Promiscuous Mode Feature

From: Lincoln Lavoie <hidden>
Date: 2020-06-25 14:06:12

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 [off-list ref] 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:
quoted
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?
quoted
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
quoted
be received when sending it to a different destination mac address than
the
quoted
host/card. Then disable the promiscuous mode. The packet will only be
received if the mac address is the destination mac address. Otherwise,
the
quoted
test case will be considered a failure.
I assume you will test positive and negative in both on/off cases.
quoted
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?
quoted
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)
<https://www.iol.unh.edu/>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help