From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 341A1374E for ; Sun, 27 May 2018 18:09:08 +0200 (CEST) Received: by mail-wm0-f45.google.com with SMTP id f6-v6so26047457wmc.4 for ; Sun, 27 May 2018 09:09:08 -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=XU4wIoSZvaes2IjX2XSyKMFhDxhJelPejZ/TFYbyBB4=; b=aRYvjNej3kSMewrTIxAl1/xOHjX8SO4MjRM+cKiW54cvGdr6E20cCDrUP2bqGCiPHI 0Ya62U+pfoWbDaJXL4BTcxE9Dj2qLKG0e00aMad4RdTDqwR6eVrK3tMWvHNORnpuQ9iD PusHDtv9dRMIWwV/9cvmmtn01K5kmz8zBvR9oDNW/HVSE2lW+ZbS2zVyYJq53R2DKmMT 1YTG+fhXTXLHYc6J6XHmXnGa2gdHoB9XkHKZ+nIbTxHu+QZ0Bx/KFKFIyKQd+5JxtiOc cCfQW1Cx6D86RZczUgXk2uNbMxDDml2bhwr7Oyf5KyUqp0LaDtu8Oz+/PNyjMNYJTrBF Y+dg== 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=XU4wIoSZvaes2IjX2XSyKMFhDxhJelPejZ/TFYbyBB4=; b=As6aDgDIlFh+WVaVD+UYlXUD0KKlXlaBmCZexCv7OyMXDqkukNyonwi0UyYlL6hg+L zJtX5Adqsx58f6/n/uMOqhOb0meUkWnHEZLy/po/Pwytb55/CFf7hNYxYJV+URcEb13g lGdxG3tzHaeT6ZCZJEe27WWLoJy+ZFXS6absuynbPC4Es2Hf5XIfz0jVQF0J1PliW385 Fvc08NZHTfN1gRLabc4cZNsqwGtRGO+P7XX0Uaga98YmsEnvH8UVxRn5qMT7HigJWE55 SjEv8/FcYo1e0oLEIjnnqR1bGWnBhz8XiADowtpCsml8rvJ5fRgahrCn66cdyrNX4m9J tdGQ== X-Gm-Message-State: ALKqPwfeGJOMuZoqXJ00Gbze54V+QH5qY+eb+gI/F+ygB286rOTGHndS Vg86B6UrmTum5GxhQL0u8kY= X-Google-Smtp-Source: AB8JxZq+Ad2zHEPmNUw3ShUZuiHYjxm7CPVoG9MLBM4xuv7Dpcz77jZM0jOXPyWnjYShIcc6vSbh1w== X-Received: by 2002:a2e:202:: with SMTP id 2-v6mr5113133ljc.117.1527437347609; Sun, 27 May 2018 09:09:07 -0700 (PDT) Received: from al ([2001:470:1f0b:1460:24e6:3555:bcec:4a36]) by smtp.gmail.com with ESMTPSA id z24-v6sm6485782lfg.56.2018.05.27.09.09.06 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 27 May 2018 09:09:07 -0700 (PDT) Date: Sun, 27 May 2018 19:09:04 +0300 From: Alex Kiselev Message-ID: <504552467.20180527190904@gmail.com> To: "Xing, Beilei" , "users@dpdk.org" , "Zhang, Qi Z" In-Reply-To: <1997021743.20180527185438@gmail.com> References: <351944790.20180522134228@gmail.com> <94479800C636CB44BD422CB454846E0132161CCA@SHSMSX101.ccr.corp.intel.com> <1997021743.20180527185438@gmail.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 16:09:08 -0000 Everything is fine with testmpd promisc mode, it was just my inattention. The rest of my previous mail is still valid. > 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 > RTE_ETH_FOREACH_DEV(port_id) > rte_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 > h5 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 0= 000:01:00.1 -- -i > Interactive-mode selected > Configuring Port 0 (socket 0) > Port 0: 68:05:CA:30:61:80 > Configuring Port 1 (socket 0) > Port 1: 68:05:CA:30:61:81 > Checking link statuses... > Done > testpmd> > Port 0: LSC event > =20 > Port 1: LSC event > =20 > testpmd> set promisc 0 off > testpmd> set allmulti 0 on > testpmd> set fwd rxonly > Set rxonly packet forwarding mode > testpmd> set verbose 1 > Change verbose level from 0 to 1 > testpmd> start > rxonly packet forwarding - ports=3D2 - cores=3D1 - > streams=3D2 - NUMA support enabled, MP over anonymous pages disabled > Logical Core 1 (socket 0) forwards packets on 2 streams: > RX P=3D0/Q=3D0 (socket 0) -> TX P=3D1/Q=3D0 (socket 0) = peer=3D02:00:00:00:00:01 > RX P=3D1/Q=3D0 (socket 0) -> TX P=3D0/Q=3D0 (socket 0) = peer=3D02:00:00:00:00:00 > =20 > rxonly packet forwarding packets/burst=3D32 > nb forwarding cores=3D1 - nb forwarding ports=3D2 > port 0: > CRC stripping enabled > RX queues=3D1 - RX desc=3D128 - RX free threshold=3D32 > RX threshold registers: pthresh=3D8 hthresh=3D8 wthres= h=3D0 > TX queues=3D1 - TX desc=3D512 - TX free threshold=3D32 > TX threshold registers: pthresh=3D32 hthresh=3D0 wthre= sh=3D0 > TX RS bit threshold=3D32 - TXQ flags=3D0xf01 > port 1: > CRC stripping enabled > RX queues=3D1 - RX desc=3D128 - RX free threshold=3D32 > RX threshold registers: pthresh=3D8 hthresh=3D8 wthres= h=3D0 > TX queues=3D1 - TX desc=3D512 - TX free threshold=3D32 > TX threshold registers: pthresh=3D32 hthresh=3D0 wthre= sh=3D0 > TX RS bit threshold=3D32 - TXQ flags=3D0xf01 > testpmd> port 1/queue 0: received 1 packets > 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_EXT_UNKNOWN L4_ICMP - sw ptype: L2_ETHER L3_IPV4=20 > - l2_len=3D14 - l3_len=3D20 - Receive queue=3D0x0 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 1/queue 0: received 1 packets > 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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > .. > .. > .. > =20 > Telling cores to stop... > Waiting for lcores to finish... > =20 > ---------------------- Forward statistics for port 0 -= --------------------- > RX-packets: 29 RX-dropped: 0 RX-to= tal: 29 > RX-error: 1 > RX-nombufs: 0 > TX-packets: 0 TX-dropped: 0 TX-to= tal: 0 > =20 > -------------------------------------------------------------------------= --- > =20 > ---------------------- Forward statistics for port 1 -= --------------------- > RX-packets: 29 RX-dropped: 0 RX-to= tal: 29 > TX-packets: 0 TX-dropped: 0 TX-to= tal: 0 > =20 > -------------------------------------------------------------------------= --- > =20 > +++++++++++++++ Accumulated forward statistics for all = ports+++++++++++++++ > RX-packets: 58 RX-dropped: 0 RX-to= tal: 58 > TX-packets: 0 TX-dropped: 0 TX-to= tal: 0 > =20 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++ > =20 > Done. > testpmd> show port info 0 > =20 > ********************* Infos for port 0 *****************= **** > MAC address: 68:05:CA:30:61:80 > Driver name: net_i40e > Connect to socket: 0 > memory allocation on the socket: 0 > Link status: up > Link speed: 10000 Mbps > Link duplex: full-duplex > MTU: 1500 > Promiscuous mode: disabled > Allmulticast mode: enabled > Maximum number of MAC addresses: 64 > Maximum number of MAC addresses of hash filtering: 0 > VLAN offload: > strip on > filter on > qinq(extend) off > Hash key size in bytes: 52 > Redirection table size: 512 > Supported flow types: > ipv4-frag > ipv4-tcp > ipv4-udp > ipv4-sctp > ipv4-other > ipv6-frag > ipv6-tcp > ipv6-udp > ipv6-sctp > ipv6-other > l2_payload > Max possible RX queues: 320 > Max possible number of RXDs per queue: 4096 > Min possible number of RXDs per queue: 64 > RXDs number alignment: 32 > Max possible TX queues: 320 > Max possible number of TXDs per queue: 4096 > Min possible number of TXDs per queue: 64 > TXDs 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 > src=3D00:00:5E:00:01:0A - dst=3D01:00:5E:00:00:12 > =20 > and second VRRP group were transmitting packets > src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 > testpmd should've received both packets since allmuticast mode was turned= on, > 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 adde= d to the port 0. > Once I deleted MAC 00:00:5E:00:01:0A from the port, testpmd started recei= ving 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 > h5 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 0= 000:01:00.1 -- -i > Interactive-mode selected > Configuring Port 0 (socket 0) > Port 0: 68:05:CA:30:61:80 > Configuring Port 1 (socket 0) > Port 1: 68:05:CA:30:61:81 > Checking link statuses... > Done > testpmd> > testpmd> > Port 0: LSC event > =20 > Port 1: LSC event > =20 > testpmd> set promisc 0 off > testpmd> set allmulti 0 on > testpmd> set fwd rxonly > Set rxonly packet forwarding mode > testpmd> set verbose 1 > Change verbose level from 0 to 1 > testpmd> mac_addr add 0 00:00:5E:00:01:0A > testpmd> start > rxonly packet forwarding - ports=3D2 - cores=3D1 - streams=3D2 - > NUMA support enabled, MP over anonymous pages disabled > Logical Core 1 (socket 0) forwards packets on 2 streams: > RX P=3D0/Q=3D0 (socket 0) -> TX P=3D1/Q=3D0 (socket 0) peer=3D0= 2:00:00:00:00:01 > RX P=3D1/Q=3D0 (socket 0) -> TX P=3D0/Q=3D0 (socket 0) peer=3D0= 2:00:00:00:00:00 > =20 > rxonly packet forwarding packets/burst=3D32 > nb forwarding cores=3D1 - nb forwarding ports=3D2 > port 0: > CRC stripping enabled > RX queues=3D1 - RX desc=3D128 - RX free threshold=3D32 > RX threshold registers: pthresh=3D8 hthresh=3D8 wthresh=3D0 > TX queues=3D1 - TX desc=3D512 - TX free threshold=3D32 > TX threshold registers: pthresh=3D32 hthresh=3D0 wthresh=3D0 > TX RS bit threshold=3D32 - TXQ flags=3D0xf01 > port 1: > CRC stripping enabled > RX queues=3D1 - RX desc=3D128 - RX free threshold=3D32 > RX threshold registers: pthresh=3D8 hthresh=3D8 wthresh=3D0 > TX queues=3D1 - TX desc=3D512 - TX free threshold=3D32 > TX threshold registers: pthresh=3D32 hthresh=3D0 wthresh=3D0 > TX RS bit threshold=3D32 - TXQ flags=3D0xf01 > testpmd> > testpmd> port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 1/queue 0: received 1 packets > 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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 0/queue 0: received 1 packets > src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0806 - length=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw > ptype: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 1/queue 0: received 1 packets > 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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 0/queue 0: received 1 packets > src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0806 - length=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw > ptype: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0806 - length=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw > ptype: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 1/queue 0: received 1 packets > 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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 1/queue 0: received 1 packets > 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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 0/queue 0: received 1 packets > src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0806 - length=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw > ptype: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0806 - length=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw > ptype: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 1/queue 0: received 1 packets > 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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 0/queue 0: received 1 packets > src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0806 - length=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw > ptype: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 1/queue 0: received 1 packets > 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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0806 - length=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw > ptype: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 1/queue 0: received 1 packets > 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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 0/queue 0: received 1 packets > src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0806 - length=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw > ptype: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 1/queue 0: received 1 packets > 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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 1/queue 0: received 1 packets > 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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 0/queue 0: received 1 packets > src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0806 - length=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw > ptype: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0806 - length=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw > ptype: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 1/queue 0: received 1 packets > 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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 1/queue 0: received 1 packets > src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 0/queue 0: received 1 packets > src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0800 - length=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=3D8 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0800 - length=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=3D8 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 1/queue 0: received 1 packets > src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 0/queue 0: received 1 packets > src=3D10:7B:EF:58:59:80 - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0800 - length=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=3D8 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 1/queue 0: received 1 packets > src=3D10:7B:EF:58:59:80 - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 0/queue 0: received 1 packets > src=3D10:7B:EF:58:59:80 - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0800 - length=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=3D8 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 1/queue 0: received 1 packets > src=3D10:7B:EF:58:59:80 - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0806 - length=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw > ptype: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 1/queue 0: received 1 packets > 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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 0/queue 0: received 1 packets > src=3DD4:CA:6D:7C:D0:DC - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0806 - length=3D60 - nb_segs=3D1 - hw ptype: L2_ETHER_ARP - sw > ptype: L2_ETHER - l2_len=3D14 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 1/queue 0: received 1 packets > 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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > stport 0/queue 0: received 1 packets > src=3D00:1A:E3:67:83:47 - dst=3D01:00:5E:00:00:0D - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > op > Telling cores to stop... > Waiting for lcores to finish... > =20 > ---------------------- Forward statistics for port 0 ---------= ------------- > RX-packets: 37 RX-dropped: 0 RX-total: = 37 > RX-error: 1 > RX-nombufs: 0 > TX-packets: 0 TX-dropped: 0 TX-total: 0 > =20 > -------------------------------------------------------------------------= --- > =20 > ---------------------- Forward statistics for port 1 ---------= ------------- > RX-packets: 38 RX-dropped: 0 RX-total: = 38 > TX-packets: 0 TX-dropped: 0 TX-total: 0 > =20 > -------------------------------------------------------------------------= --- > =20 > +++++++++++++++ Accumulated forward statistics for all ports+++= ++++++++++++ > RX-packets: 75 RX-dropped: 0 RX-total: = 75 > TX-packets: 0 TX-dropped: 0 TX-total: 0 > =20 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++ > =20 > Done. > testpmd> > 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= :00:01:0B > testpmd> mac_addr remove 0 00:00:5E:00:01:0A > testpmd> start > rxonly packet forwarding - ports=3D2 - cores=3D1 - streams=3D2 - > NUMA support enabled, MP over anonymous pages disabled > Logical Core 1 (socket 0) forwards packets on 2 streams: > RX P=3D0/Q=3D0 (socket 0) -> TX P=3D1/Q=3D0 (socket 0) peer=3D0= 2:00:00:00:00:01 > RX P=3D1/Q=3D0 (socket 0) -> TX P=3D0/Q=3D0 (socket 0) peer=3D0= 2:00:00:00:00:00 > =20 > rxonly packet forwarding packets/burst=3D32 > nb forwarding cores=3D1 - nb forwarding ports=3D2 > port 0: > CRC stripping enabled > RX queues=3D1 - RX desc=3D128 - RX free threshold=3D32 > RX threshold registers: pthresh=3D8 hthresh=3D8 wthresh=3D0 > TX queues=3D1 - TX desc=3D512 - TX free threshold=3D32 > TX threshold registers: pthresh=3D32 hthresh=3D0 wthresh=3D0 > TX RS bit threshold=3D32 - TXQ flags=3D0xf01 > port 1: > CRC stripping enabled > RX queues=3D1 - RX desc=3D128 - RX free threshold=3D32 > RX threshold registers: pthresh=3D8 hthresh=3D8 wthresh=3D0 > TX queues=3D1 - TX desc=3D512 - TX free threshold=3D32 > TX threshold registers: pthresh=3D32 hthresh=3D0 wthresh=3D0 > TX RS bit threshold=3D32 - TXQ flags=3D0xf01 > testpmd> port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0A - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0A - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0A - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0800 - length=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=3D8 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 1/queue 0: received 1 packets > src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 0/queue 0: received 1 packets > src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0800 - length=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=3D8 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 1/queue 0: received 1 packets > src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 1/queue 0: received 1 packets > src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 0/queue 0: received 1 packets > src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0800 - length=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=3D8 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 1/queue 0: received 1 packets > src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD > PKT_RX_IP_CKSUM_GOOD PKT_RX_VLAN_STRIPPED > port 0/queue 0: received 1 packets > src=3DF8:32:E4:72:61:1B - dst=3DFF:FF:FF:FF:FF:FF - > type=3D0x0800 - length=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=3D8 - Receive queue=3D0x0 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > port 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0A - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > sport 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0B - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > toport 0/queue 0: received 1 packets > src=3D00:00:5E:00:01:0A - dst=3D01:00:5E:00:00:12 - > type=3D0x0800 - length=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 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > p > Telling cores to stop... > Waiting for lcores to finish... > =20 > ---------------------- Forward statistics for port 0 ---------= ------------- > RX-packets: 18 RX-dropped: 0 RX-total: = 18 > RX-error: 1 > RX-nombufs: 0 > TX-packets: 0 TX-dropped: 0 TX-total: 0 > =20 > -------------------------------------------------------------------------= --- > =20 > ---------------------- Forward statistics for port 1 ---------= ------------- > RX-packets: 18 RX-dropped: 0 RX-total: = 18 > TX-packets: 0 TX-dropped: 0 TX-total: 0 > =20 > -------------------------------------------------------------------------= --- > =20 > +++++++++++++++ Accumulated forward statistics for all ports+++= ++++++++++++ > RX-packets: 36 RX-dropped: 0 RX-total: = 36 > TX-packets: 0 TX-dropped: 0 TX-total: 0 > =20 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++ > =20 > Done. > testpmd> > =20 > 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 rece= ived. >> 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 addr= ess >>> 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 the= re >>> is no additinal mac on a port everything is ok. Also, there is no such = issue >>> when I am using intel X520 nic (ixgbe), I am facing this behavior only = with >>> 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