From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 8FA5744C3 for ; Sun, 27 May 2018 17:54:42 +0200 (CEST) Received: by mail-wm0-f52.google.com with SMTP id f6-v6so25994718wmc.4 for ; Sun, 27 May 2018 08:54:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:message-id:to:subject:in-reply-to:references:mime-version :content-transfer-encoding; bh=GvAQsB7GARpv4OM6bDZJhpwYWih4mqyZl8/q/gxiKzY=; b=hzHrSuFNp0BI0SDxdg0GdOmRR6dNkIq3ABT7nhNjahgGUxl0wf78pBOB3TehRJTLnS 5Pass8LY7PuNBE7l9BRGR2UQwXbUDZUZYTz7o9z1lerZ765jruAZEmPXJbxJMR0K3Olg 0LkZkiaRrPjWQDYjhOBDotFBb2Ui/g4f5KIWWTR1MNbcCWI7yPmcuvnEqtPeO1xR7E1q iYSHlM/LqBfF+4DcuUbNkGEE1qwOsVq4EnFp6m9QwrORuIWJBYWXJde2ArjZ2E/v2yHf iJoouR2W/jKmi4hQIbnoB3cOAS/Nl+moUMNP/7aMCwgWo2eJuuK0Aof0p80dI9d7WWO6 r71A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:message-id:to:subject:in-reply-to :references:mime-version:content-transfer-encoding; bh=GvAQsB7GARpv4OM6bDZJhpwYWih4mqyZl8/q/gxiKzY=; b=trIvkeEBMUo7h95wwAvwD1GRGSfsYncMKSKqEAEMk3Xlu7bxVrLmIptp36DgQvcQhg 8dnpyEMSGbxVprYKXK0Zqpigc6RC+1r506/aDbQLXbxEy0Kg/NSr2g7kVb+IlVpRNAgp X46KJKTIb2pYcOHdoikDyxR+L0Y1wY4DRWOw8woxMcCq/A/3+rwoH7exWE7AWM/f0WOU STLd3LrCVnstBuuXjrUEM71iBrPa4Y2EWHkWdO6Ol4bUawBGaQNmoB0v7TtkazuPAKB8 ZRr49La6Fchz4jbBbwQwJr9Oer1jGCnph7XUSadG8rMGR7tl3i7QoJnkpBzBYhQwd4LD Ffmw== X-Gm-Message-State: ALKqPwfvLYkYTW//IxzIxs00Qn1qCwSjdFbekGOQhnbJttvJvmDotPZ3 n7rqQ56jqIgzdlqOXniouUc= X-Google-Smtp-Source: AB8JxZrmHBk4ndEb/Jh9YGbHA4ahRhXQ+ew6XjNb2TeAWimQGZgJiH6J4lR9fUW4Tx8ub2tik1sl3g== X-Received: by 2002:a2e:1055:: with SMTP id j82-v6mr6335291lje.94.1527436481748; Sun, 27 May 2018 08:54:41 -0700 (PDT) Received: from al ([2001:470:1f0b:1460:24e6:3555:bcec:4a36]) by smtp.gmail.com with ESMTPSA id u8-v6sm5491304ljg.40.2018.05.27.08.54.40 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 27 May 2018 08:54:40 -0700 (PDT) Date: Sun, 27 May 2018 18:54:38 +0300 From: Alex Kiselev Message-ID: <1997021743.20180527185438@gmail.com> To: "Xing, Beilei" , "users@dpdk.org" , "Zhang, Qi Z" In-Reply-To: <94479800C636CB44BD422CB454846E0132161CCA@SHSMSX101.ccr.corp.intel.com> References: <351944790.20180522134228@gmail.com> <94479800C636CB44BD422CB454846E0132161CCA@SHSMSX101.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-users] problem with an additional MAC address on i40e 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: Sun, 27 May 2018 15:54:42 -0000 Hi Beilei. I've found a way to reproduce the bug with the testpmd. I beleive that the bug is that once an additional MAC is added to=20 a i40e port the port stop receiving packets with source MAC addresses equal to the added MAC. First, I modified testpmd and turned off promisc mode by commenting lines 2537, 2538 in testpmd.c =09RTE_ETH_FOREACH_DEV(port_id) =09=09rte_eth_promiscuous_enable(port_id); It's very strange, but without this modification even when promisc mode was turned off by the command "set promisc 0 off" a port was still receiving packets with any MAC addresses, for example 60:A4:4C:41:0A:F1 in the log below set promisc 0 off set allmulti 0 on set fwd rxonly set verbose 1 start =09=09h5 test-pmd # ./testpmd --proc-type=3Dprimary -c 0xF --lcores=3D'0@0,= 1@1,2@2,3@3' --syslog=3D'daemon' -n2 -w 0000:01:00.0 -w 0000:01:00.1 -- -i =09=09Interactive-mode selected =09=09Configuring Port 0 (socket 0) =09=09Port 0: 68:05:CA:30:61:80 =09=09Configuring Port 1 (socket 0) =09=09Port 1: 68:05:CA:30:61:81 =09=09Checking link statuses... =09=09Done =09=09testpmd> =09=09Port 0: LSC event =09=09 =09=09Port 1: LSC event =09=09 =09=09testpmd> set promisc 0 off =09=09testpmd> set allmulti 0 on =09=09testpmd> set fwd rxonly =09=09Set rxonly packet forwarding mode =09=09testpmd> set verbose 1 =09=09Change verbose level from 0 to 1 =09=09testpmd> start =09=09rxonly packet forwarding - ports=3D2 - cores=3D1 - streams=3D2 - NUMA= support enabled, MP over anonymous pages disabled =09=09Logical Core 1 (socket 0) forwards packets on 2 streams: =09=09 RX P=3D0/Q=3D0 (socket 0) -> TX P=3D1/Q=3D0 (socket 0) peer=3D02:00= :00:00:00:01 =09=09 RX P=3D1/Q=3D0 (socket 0) -> TX P=3D0/Q=3D0 (socket 0) peer=3D02:00= :00:00:00:00 =09=09 =09=09 rxonly packet forwarding packets/burst=3D32 =09=09 nb forwarding cores=3D1 - nb forwarding ports=3D2 =09=09 port 0: =09=09 CRC stripping enabled =09=09 RX queues=3D1 - RX desc=3D128 - RX free threshold=3D32 =09=09 RX threshold registers: pthresh=3D8 hthresh=3D8 wthresh=3D0 =09=09 TX queues=3D1 - TX desc=3D512 - TX free threshold=3D32 =09=09 TX threshold registers: pthresh=3D32 hthresh=3D0 wthresh=3D0 =09=09 TX RS bit threshold=3D32 - TXQ flags=3D0xf01 =09=09 port 1: =09=09 CRC stripping enabled =09=09 RX queues=3D1 - RX desc=3D128 - RX free threshold=3D32 =09=09 RX threshold registers: pthresh=3D8 hthresh=3D8 wthresh=3D0 =09=09 TX queues=3D1 - TX desc=3D512 - TX free threshold=3D32 =09=09 TX threshold registers: pthresh=3D32 hthresh=3D0 wthresh=3D0 =09=09 TX RS bit threshold=3D32 - TXQ flags=3D0xf01 =09=09testpmd> port 1/queue 0: received 1 packets =09=09 src=3D60:A4:4C:41:0A:24 - dst=3D60:A4:4C:41:0A:F1 - type=3D0x0800 -= length=3D98 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER L3_IPV4_EX= T_UNKNOWN L4_ICMP - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D2= 0 - Receive queue=3D0x0 =09=09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT= _RX_VLAN_STRIPPED =09=09port 1/queue 0: received 1 packets =09=09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 -= length=3D60 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER_ARP - sw = ptype: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 =09=09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT= _RX_VLAN_STRIPPED =09=09.. =09=09.. =09=09.. =09=09 =09=09Telling cores to stop... =09=09Waiting for lcores to finish... =09=09 =09=09 ---------------------- Forward statistics for port 0 -------------= --------- =09=09 RX-packets: 29 RX-dropped: 0 RX-total: 29 =09=09 RX-error: 1 =09=09 RX-nombufs: 0 =09=09 TX-packets: 0 TX-dropped: 0 TX-total: 0 =09=09 -------------------------------------------------------------------= --------- =09=09 =09=09 ---------------------- Forward statistics for port 1 -------------= --------- =09=09 RX-packets: 29 RX-dropped: 0 RX-total: 29 =09=09 TX-packets: 0 TX-dropped: 0 TX-total: 0 =09=09 -------------------------------------------------------------------= --------- =09=09 =09=09 +++++++++++++++ Accumulated forward statistics for all ports+++++++= ++++++++ =09=09 RX-packets: 58 RX-dropped: 0 RX-total: 58 =09=09 TX-packets: 0 TX-dropped: 0 TX-total: 0 =09=09 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++ =09=09 =09=09Done. =09=09testpmd> show port info 0 =09=09 =09=09********************* Infos for port 0 ********************* =09=09MAC address: 68:05:CA:30:61:80 =09=09Driver name: net_i40e =09=09Connect to socket: 0 =09=09memory allocation on the socket: 0 =09=09Link status: up =09=09Link speed: 10000 Mbps =09=09Link duplex: full-duplex =09=09MTU: 1500 =09=09Promiscuous mode: disabled =09=09Allmulticast mode: enabled =09=09Maximum number of MAC addresses: 64 =09=09Maximum number of MAC addresses of hash filtering: 0 =09=09VLAN offload: =09=09 strip on =09=09 filter on =09=09 qinq(extend) off =09=09Hash key size in bytes: 52 =09=09Redirection table size: 512 =09=09Supported flow types: =09=09 ipv4-frag =09=09 ipv4-tcp =09=09 ipv4-udp =09=09 ipv4-sctp =09=09 ipv4-other =09=09 ipv6-frag =09=09 ipv6-tcp =09=09 ipv6-udp =09=09 ipv6-sctp =09=09 ipv6-other =09=09 l2_payload =09=09Max possible RX queues: 320 =09=09Max possible number of RXDs per queue: 4096 =09=09Min possible number of RXDs per queue: 64 =09=09RXDs number alignment: 32 =09=09Max possible TX queues: 320 =09=09Max possible number of TXDs per queue: 4096 =09=09Min possible number of TXDs per queue: 64 =09=09TXDs number alignment: 32 Then I started main tests with an additional mac address. I added MAC 00:00:5E:00:01:0A on port 0 and started two VRRP group on a switch that begin transmitting packets destined to multicast MAC 01:00:5E:00:00:12. First VRRP group were transmitting packets =09src=3D00:00:5E:00:01:0A - dst=3D01:00:5E:00:00:12 =09 and second VRRP group were transmitting packets =09src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 testpmd should've received both packets since allmuticast mode was turned o= n, but it did receive only packets with source MAC 00:00:5E:00:01:0B. The cause of that behavior is that MAC address 00:00:5E:00:01:0A was added = to the port 0. Once I deleted MAC 00:00:5E:00:01:0A from the port, testpmd started receivi= ng both packets. Log 1, additional MAC 00:00:5E:00:01:0A is added on the port 0. Testpmd is ONLY receiving packets with src 00:00:5E:00:01:0B and skipping packets with src 00:00:5E:00:01:0A. set promisc 0 off set allmulti 0 on set fwd rxonly set verbose 1 mac_addr add 0 00:00:5E:00:01:0A start =09h5 test-pmd # ./testpmd --proc-type=3Dprimary -c 0xF --lcores=3D'0@0,1@1= ,2@2,3@3' --syslog=3D'daemon' -n2 -w 0000:01:00.0 -w 0000:01:00.1 -- -i =09Interactive-mode selected =09Configuring Port 0 (socket 0) =09Port 0: 68:05:CA:30:61:80 =09Configuring Port 1 (socket 0) =09Port 1: 68:05:CA:30:61:81 =09Checking link statuses... =09Done =09testpmd> =09testpmd> =09Port 0: LSC event =09 =09Port 1: LSC event =09 =09testpmd> set promisc 0 off =09testpmd> set allmulti 0 on =09testpmd> set fwd rxonly =09Set rxonly packet forwarding mode =09testpmd> set verbose 1 =09Change verbose level from 0 to 1 =09testpmd> mac_addr add 0 00:00:5E:00:01:0A =09testpmd> start =09rxonly packet forwarding - ports=3D2 - cores=3D1 - streams=3D2 - NUMA su= pport enabled, MP over anonymous pages disabled =09Logical Core 1 (socket 0) forwards packets on 2 streams: =09 RX P=3D0/Q=3D0 (socket 0) -> TX P=3D1/Q=3D0 (socket 0) peer=3D02:00:00= :00:00:01 =09 RX P=3D1/Q=3D0 (socket 0) -> TX P=3D0/Q=3D0 (socket 0) peer=3D02:00:00= :00:00:00 =09 =09 rxonly packet forwarding packets/burst=3D32 =09 nb forwarding cores=3D1 - nb forwarding ports=3D2 =09 port 0: =09 CRC stripping enabled =09 RX queues=3D1 - RX desc=3D128 - RX free threshold=3D32 =09 RX threshold registers: pthresh=3D8 hthresh=3D8 wthresh=3D0 =09 TX queues=3D1 - TX desc=3D512 - TX free threshold=3D32 =09 TX threshold registers: pthresh=3D32 hthresh=3D0 wthresh=3D0 =09 TX RS bit threshold=3D32 - TXQ flags=3D0xf01 =09 port 1: =09 CRC stripping enabled =09 RX queues=3D1 - RX desc=3D128 - RX free threshold=3D32 =09 RX threshold registers: pthresh=3D8 hthresh=3D8 wthresh=3D0 =09 TX queues=3D1 - TX desc=3D512 - TX free threshold=3D32 =09 TX threshold registers: pthresh=3D32 hthresh=3D0 wthresh=3D0 =09 TX RS bit threshold=3D32 - TXQ flags=3D0xf01 =09testpmd> =09testpmd> port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 1/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER_ARP - sw pty= pe: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 0/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw ptype: L2_ETHER - l= 2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 1/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER_ARP - sw pty= pe: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 0/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw ptype: L2_ETHER - l= 2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw ptype: L2_ETHER - l= 2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 1/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER_ARP - sw pty= pe: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 1/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER_ARP - sw pty= pe: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 0/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw ptype: L2_ETHER - l= 2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw ptype: L2_ETHER - l= 2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 1/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER_ARP - sw pty= pe: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 0/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw ptype: L2_ETHER - l= 2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 1/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER_ARP - sw pty= pe: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw ptype: L2_ETHER - l= 2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 1/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER_ARP - sw pty= pe: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 0/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw ptype: L2_ETHER - l= 2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 1/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER_ARP - sw pty= pe: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 1/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER_ARP - sw pty= pe: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 0/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw ptype: L2_ETHER - l= 2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw ptype: L2_ETHER - l= 2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 1/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER_ARP - sw pty= pe: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 1/queue 0: received 1 packets =09 src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0800 - le= ngth=3D342 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_= UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=3D14 - l3_len= =3D20 - l4_len=3D8 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 0/queue 0: received 1 packets =09 src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0800 - le= ngth=3D342 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP -= sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D= 8 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0800 - le= ngth=3D342 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP -= sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D= 8 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 1/queue 0: received 1 packets =09 src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0800 - le= ngth=3D342 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_= UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=3D14 - l3_len= =3D20 - l4_len=3D8 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 0/queue 0: received 1 packets =09 src=3D10:7B:EF:58:59:80 - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0800 - le= ngth=3D316 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP -= sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D= 8 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 1/queue 0: received 1 packets =09 src=3D10:7B:EF:58:59:80 - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0800 - le= ngth=3D316 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_= UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=3D14 - l3_len= =3D20 - l4_len=3D8 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 0/queue 0: received 1 packets =09 src=3D10:7B:EF:58:59:80 - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0800 - le= ngth=3D316 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP -= sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D= 8 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 1/queue 0: received 1 packets =09 src=3D10:7B:EF:58:59:80 - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0800 - le= ngth=3D316 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_= UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=3D14 - l3_len= =3D20 - l4_len=3D8 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw ptype: L2_ETHER - l= 2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 1/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER_ARP - sw pty= pe: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 0/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw ptype: L2_ETHER - l= 2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 1/queue 0: received 1 packets =09 src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0806 - le= ngth=3D60 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER_ARP - sw pty= pe: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09stport 0/queue 0: received 1 packets =09 src=3D00:1A:E3:67:83:47 - dst=3D01:00:5E:00:00:0D - type=3D0x0800 - le= ngth=3D68 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09op =09Telling cores to stop... =09Waiting for lcores to finish... =09 =09 ---------------------- Forward statistics for port 0 ----------------= ------ =09 RX-packets: 37 RX-dropped: 0 RX-total: 37 =09 RX-error: 1 =09 RX-nombufs: 0 =09 TX-packets: 0 TX-dropped: 0 TX-total: 0 =09 ----------------------------------------------------------------------= ------ =09 =09 ---------------------- Forward statistics for port 1 ----------------= ------ =09 RX-packets: 38 RX-dropped: 0 RX-total: 38 =09 TX-packets: 0 TX-dropped: 0 TX-total: 0 =09 ----------------------------------------------------------------------= ------ =09 =09 +++++++++++++++ Accumulated forward statistics for all ports++++++++++= +++++ =09 RX-packets: 75 RX-dropped: 0 RX-total: 75 =09 TX-packets: 0 TX-dropped: 0 TX-total: 0 =09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++ =09 =09Done. =09testpmd> Log 2, additional MAC 00:00:5E:00:01:0A is removed on the port 0. Testpmd is receiving both packets with src 00:00:5E:00:01:0A and 00:00:5E:0= 0:01:0B =09testpmd> mac_addr remove 0 00:00:5E:00:01:0A =09testpmd> start =09rxonly packet forwarding - ports=3D2 - cores=3D1 - streams=3D2 - NUMA su= pport enabled, MP over anonymous pages disabled =09Logical Core 1 (socket 0) forwards packets on 2 streams: =09 RX P=3D0/Q=3D0 (socket 0) -> TX P=3D1/Q=3D0 (socket 0) peer=3D02:00:00= :00:00:01 =09 RX P=3D1/Q=3D0 (socket 0) -> TX P=3D0/Q=3D0 (socket 0) peer=3D02:00:00= :00:00:00 =09 =09 rxonly packet forwarding packets/burst=3D32 =09 nb forwarding cores=3D1 - nb forwarding ports=3D2 =09 port 0: =09 CRC stripping enabled =09 RX queues=3D1 - RX desc=3D128 - RX free threshold=3D32 =09 RX threshold registers: pthresh=3D8 hthresh=3D8 wthresh=3D0 =09 TX queues=3D1 - TX desc=3D512 - TX free threshold=3D32 =09 TX threshold registers: pthresh=3D32 hthresh=3D0 wthresh=3D0 =09 TX RS bit threshold=3D32 - TXQ flags=3D0xf01 =09 port 1: =09 CRC stripping enabled =09 RX queues=3D1 - RX desc=3D128 - RX free threshold=3D32 =09 RX threshold registers: pthresh=3D8 hthresh=3D8 wthresh=3D0 =09 TX queues=3D1 - TX desc=3D512 - TX free threshold=3D32 =09 TX threshold registers: pthresh=3D32 hthresh=3D0 wthresh=3D0 =09 TX RS bit threshold=3D32 - TXQ flags=3D0xf01 =09testpmd> port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0A - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0A - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0A - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0800 - le= ngth=3D174 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP -= sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D= 8 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 1/queue 0: received 1 packets =09 src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0800 - le= ngth=3D174 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_= UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=3D14 - l3_len= =3D20 - l4_len=3D8 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 0/queue 0: received 1 packets =09 src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0800 - le= ngth=3D174 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP -= sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D= 8 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 1/queue 0: received 1 packets =09 src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0800 - le= ngth=3D174 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_= UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=3D14 - l3_len= =3D20 - l4_len=3D8 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 1/queue 0: received 1 packets =09 src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0800 - le= ngth=3D174 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_= UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=3D14 - l3_len= =3D20 - l4_len=3D8 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 0/queue 0: received 1 packets =09 src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0800 - le= ngth=3D174 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP -= sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D= 8 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 1/queue 0: received 1 packets =09 src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0800 - le= ngth=3D174 - nb_segs=3D1 - VLAN tci=3D0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_= UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=3D14 - l3_len= =3D20 - l4_len=3D8 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX= _VLAN_STRIPPED =09port 0/queue 0: received 1 packets =09 src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - type=3D0x0800 - le= ngth=3D174 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP -= sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D= 8 - Receive queue=3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09port 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0A - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09sport 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09toport 0/queue 0: received 1 packets =09 src=3D00:00:5E:00:01:0A - dst=3D01:00:5E:00:00:12 - type=3D0x0800 - le= ngth=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG= - sw ptype: L2_ETHER L3_IPV4 - l2_len=3D14 - l3_len=3D20 - Receive queue= =3D0x0 =09 ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD =09p =09Telling cores to stop... =09Waiting for lcores to finish... =09 =09 ---------------------- Forward statistics for port 0 ----------------= ------ =09 RX-packets: 18 RX-dropped: 0 RX-total: 18 =09 RX-error: 1 =09 RX-nombufs: 0 =09 TX-packets: 0 TX-dropped: 0 TX-total: 0 =09 ----------------------------------------------------------------------= ------ =09 =09 ---------------------- Forward statistics for port 1 ----------------= ------ =09 RX-packets: 18 RX-dropped: 0 RX-total: 18 =09 TX-packets: 0 TX-dropped: 0 TX-total: 0 =09 ----------------------------------------------------------------------= ------ =09 =09 +++++++++++++++ Accumulated forward statistics for all ports++++++++++= +++++ =09 RX-packets: 36 RX-dropped: 0 RX-total: 36 =09 TX-packets: 0 TX-dropped: 0 TX-total: 0 =09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++ =09 =09Done. =09testpmd> =09 h5 test-pmd # echo $RTE_SDK /usr/src/dpdk-stable-17.11.1 h5 src # ethtool -i enp1s0f0 driver: i40e version: 2.4.6 firmware-version: 6.01 0x80003483 1.1747.0 bus-info: 0000:01:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: yes h5 src # h5 src # ethtool -i enp1s0f1 driver: i40e version: 2.4.6 firmware-version: 6.01 0x80003483 1.1747.0 bus-info: 0000:01:00.1 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: yes -- Alex > What's the firmware version you used? Did you try testpmd? > I tried testpmd with X710 on my side, the steps are: testpmd>> set fwd rxonly testpmd>> set verbose 1 testpmd>> start testpmd>> mac_addr add 0 00:00:5E:00:01:0A testpmd>> stop testpmd>> start > After that, packets with destination 01:00:5E:00:00:12 still can be recei= ved. > Best Regards > Beilei Xing >> -----Original Message----- >> From: Alex Kiselev [mailto:kiselev99@gmail.com] >> Sent: Tuesday, May 22, 2018 6:42 PM >> To: users@dpdk.org; Xing, Beilei ; Zhang, Qi Z >> >> Subject: problem with an additional MAC address on i40e >> Hi. >> I am facing an issue trying to receive packets destined to the MAC addre= ss >> ipv4_mcast_12 01:00:5E:00:00:12. >> The problem is that once I add to a port additional MAC address >> 00:00:5E:00:01:0A using rte_eth_dev_mac_addr_add(), the port stop >> receiving packets destinated to the address 01:00:5E:00:00:12. When there >> is no additinal mac on a port everything is ok. Also, there is no such i= ssue >> when I am using intel X520 nic (ixgbe), I am facing this behavior only w= ith >> X710 (i40e) intel NIC. >> DPDK ver dpdk-stable-17.11.1 >> -- >> Alex Kiselev. --=20 =D1 =F3=E2=E0=E6=E5=ED=E8=E5=EC, Alex mailto:kiselev99@gmail.com