[dpdk-dev] Using example flow_filtering

Matteo Lanzuisi m.lanzuisi at resi.it
Wed Sep 12 09:38:06 CEST 2018


Hi all,

maybe a bug or something I'm doing wrong: I'm using the example 
flow_filtering on a RedHat 7.5, kernel 3.10.0-862.6.3.el7.x86_64 with 
i40e and X710.

DPDK is 18.08 and configuration is x86_64-native-linuxapp-gcc

I changed the SRC_IP and DST_IP this way

#define SRC_IP ((83<<24) + (175<<16) + (7<<8) + 228) /* src ip = 
83.175.7.228 */
#define DEST_IP ((83<<24) + (175<<16) + (7<<8) + 226) /* dest ip = 
83.175.7.226 */

for test purpose and set EMPTY_MASK to both.

If I understood well, putting EMPTY_MASK on both, all incoming traffic 
is going to be sent to queue 1 (selected_queue) but all I have is that 
all packets are sent to queue 0 (MACs are 00:00:00:00:00:00 in my sample 
capture)

src=00:00:00:00:00:00 - dst=00:00:00:00:00:00 - queue=0x0
src=00:00:00:00:00:00 - dst=00:00:00:00:00:00 - queue=0x0
src=00:00:00:00:00:00 - dst=00:00:00:00:00:00 - queue=0x0
src=00:00:00:00:00:00 - dst=00:00:00:00:00:00 - queue=0x0

Am I doing something wrong?

Thank you and regards.

Matteo



More information about the dev mailing list