From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by dpdk.org (Postfix) with ESMTP id 5EC36235 for ; Wed, 15 Aug 2018 10:47:56 +0200 (CEST) Received: by mail-lf1-f54.google.com with SMTP id l16-v6so368472lfc.13 for ; Wed, 15 Aug 2018 01:47:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=emtfjvkSrd1uZsZStoL7TFP4JykDgWmwv31TyJAp424=; b=n2hTI8f2b4JVYGsMlTaa8t9IF5N+oGn9pmoJXvHIv2WQzJGvHnHeYZGht/KFt/O6zJ govigbItG3kmI0aSoO5eRkdEbd8gw1m74cbrehetlC2lkWi5Zktw4+lABucccjzlTW8s YLsCjH9S03Py9T+t/Me9l0PEdTR5Gbuy7Eto0/4svvP1RojQSrwXOemECUo/9jZzXHbk GzotOGB7E1VKq9/mclSBZrcxjnFVTJdcdxvmN0qa9Pet11qAut5vxTIGGy5nqERDSFgB Z62pRnu4U53lyyWY2ONMEgKg2J5Bp6wKnBQuMJdK7TcnMsanJ0PvRjmHvDCUnWZAf9yU pVSw== 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:content-transfer-encoding; bh=emtfjvkSrd1uZsZStoL7TFP4JykDgWmwv31TyJAp424=; b=NMVuKK764G/TQgETjmTneK0A01CvWWb69lO3q9qQ+jlAdQF2rpSpdeyeOZDZhQsrBE DX/OVktLwCaT0sNPRJDTuxg34lEJXMc47D0xwSQca+waJrXgakmHhm5wV1E+A4gKC8fi z5sdFCS5Mb6im40hJHnkbJdqbaJNh1dWynjvQwHvAGreoK/EDeL73VCjo4DvJsry0IM1 XBwKr9VmSXolM4VzVxz+f3Giw5GIciOU1Y9hWmV1faM8BUaFqKEIaFSnaEazHH+yZMBa wxKyk5KogNKO2ZRwdJQQCX08fir98h/E7dd4oAiNuI7qWtt3PmLZ++ol0uuG5ujqgN1N dghg== X-Gm-Message-State: AOUpUlHz5ow3cd9MScjwJezpP7sMkW1tC7LMnzxjYBHr3ue10tDNkXpM eZw8M21qdOkCDRSxUoE9+eXQpsJqCJos+OCnPOo= X-Google-Smtp-Source: AA+uWPzXuhmC6yzjBLY+idq+J/Z9OkVQPAahpg8rAoOTewVAR3ror/rXH+fUR1MaUtHPUw9fXAuqheVW2rIrnQRDhwY= X-Received: by 2002:a19:2207:: with SMTP id i7-v6mr16649525lfi.69.1534322874383; Wed, 15 Aug 2018 01:47:54 -0700 (PDT) MIME-Version: 1.0 References: <351944790.20180522134228@gmail.com> <94479800C636CB44BD422CB454846E0132161CCA@SHSMSX101.ccr.corp.intel.com> <1997021743.20180527185438@gmail.com> <504552467.20180527190904@gmail.com> In-Reply-To: From: Alex Kiselev Date: Wed, 15 Aug 2018 11:47:39 +0300 Message-ID: To: ananda@versa-networks.com Cc: Beilei Xing , users , Qi Zhang Content-Type: text/plain; charset="UTF-8" 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: Wed, 15 Aug 2018 08:47:56 -0000 Hi Ananda. I am not aware of any workaround. I think it's a bug and it should be fixed in the driver or firmware. =D0=B2=D1=82, 14 =D0=B0=D0=B2=D0=B3. 2018 =D0=B3. =D0=B2 21:20, Ananda Sath= yanarayana : > > Hi Alex, Beilei, > > I am also facing the same issue. Do we have a possible solution/work-arou= nd for this issue ? > > Really appreciate your response. > > Thanks, > Ananda > > > -----Original Message----- > From: users On Behalf Of Alex Kiselev > Sent: Sunday, May 27, 2018 9:09 AM > To: Xing, Beilei ; users@dpdk.org; Zhang, Qi Z > Subject: Re: [dpdk-users] problem with an additional MAC address on i40e > > 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 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= 0000: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 > > > > Port 1: LSC event > > > > 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 > > > > 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=3D3= 2 > > RX threshold registers: pthresh=3D8 hthresh=3D8 wthr= esh=3D0 > > TX queues=3D1 - TX desc=3D512 - TX free threshold=3D3= 2 > > TX threshold registers: pthresh=3D32 hthresh=3D0 wth= resh=3D0 > > TX RS bit threshold=3D32 - TXQ flags=3D0xf01 > > port 1: > > CRC stripping enabled > > RX queues=3D1 - RX desc=3D128 - RX free threshold=3D3= 2 > > RX threshold registers: pthresh=3D8 hthresh=3D8 wthr= esh=3D0 > > TX queues=3D1 - TX desc=3D512 - TX free threshold=3D3= 2 > > TX threshold registers: pthresh=3D32 hthresh=3D0 wth= resh=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 > > - 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 > > .. > > .. > > .. > > > > Telling cores to stop... > > Waiting for lcores to finish... > > > > ---------------------- Forward statistics for port 0 = ---------------------- > > RX-packets: 29 RX-dropped: 0 RX-= total: 29 > > RX-error: 1 > > RX-nombufs: 0 > > TX-packets: 0 TX-dropped: 0 TX-= total: 0 > > > > ---------------------------------------------------------------------- > > ------ > > > > ---------------------- Forward statistics for port 1 = ---------------------- > > RX-packets: 29 RX-dropped: 0 RX-= total: 29 > > TX-packets: 0 TX-dropped: 0 TX-= total: 0 > > > > ---------------------------------------------------------------------- > > ------ > > > > +++++++++++++++ Accumulated forward statistics for al= l ports+++++++++++++++ > > RX-packets: 58 RX-dropped: 0 RX-= total: 58 > > TX-packets: 0 TX-dropped: 0 TX-= total: 0 > > > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++ > > > > Done. > > testpmd> show port info 0 > > > > ********************* 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 > > > > 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 ad= ded to the port 0. > > Once I deleted MAC 00:00:5E:00:01:0A from the port, testpmd started rec= eiving 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= 0000: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 > > > > Port 1: LSC event > > > > 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= =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 > > > > 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 - s= w > > 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 - s= w > > 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 - s= w > > 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 - s= w > > 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 - s= w > > 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 - s= w > > 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 - s= w > > 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 - s= w > > 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 - s= w > > 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 - s= w > > 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 - s= w > > 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 - s= w > > 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... > > > > ---------------------- 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 > > > > ---------------------------------------------------------------------- > > ------ > > > > ---------------------- Forward statistics for port 1 -------= --------------- > > RX-packets: 38 RX-dropped: 0 RX-total= : 38 > > TX-packets: 0 TX-dropped: 0 TX-total= : 0 > > > > ---------------------------------------------------------------------- > > ------ > > > > +++++++++++++++ Accumulated forward statistics for all ports+= ++++++++++++++ > > RX-packets: 75 RX-dropped: 0 RX-total= : 75 > > TX-packets: 0 TX-dropped: 0 TX-total= : 0 > > > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++ > > > > 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= =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 > > > > 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... > > > > ---------------------- 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 > > > > ---------------------------------------------------------------------- > > ------ > > > > ---------------------- Forward statistics for port 1 -------= --------------- > > RX-packets: 18 RX-dropped: 0 RX-total= : 18 > > TX-packets: 0 TX-dropped: 0 TX-total= : 0 > > > > ---------------------------------------------------------------------- > > ------ > > > > +++++++++++++++ Accumulated forward statistics for all ports+= ++++++++++++++ > > RX-packets: 36 RX-dropped: 0 RX-total= : 36 > > TX-packets: 0 TX-dropped: 0 TX-total= : 0 > > > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++ > > > > Done. > > testpmd> > > > > > 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 stop start > > >> After that, packets with destination 01:00:5E:00:00:12 still can be re= ceived. > > >> 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 > >>> address > >>> 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 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. > > > > > > > > -- > =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, > Alex mailto:kiselev99@gmail.com > --=20 -- Kiselev Alexander