From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0114.outbound.protection.outlook.com [104.47.42.114]) by dpdk.org (Postfix) with ESMTP id A1AB14CB3 for ; Tue, 14 Aug 2018 20:20:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=versanetworks.onmicrosoft.com; s=selector1-versanetworks-com01c; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WjGxeMyDktZp1Hrdi3HoCORMkBUwYFbFieJ9iEp2PUw=; b=Gy6JQAnrwwTBuVv61v0U6L1dW1W49kMGk48Oml6eBrxbiBAyGHPompj8/Fy3yWw5ckrDhh1STsug9eKWNgyxvkUzZZ8rFrxNLfw92c3ZriFO9vNfAEo1MJsHlPSLwC+TsKhCVGKL22nJFO5PO/ps0q2zuhpFBkfVYW1PFhlsBWA= Received: from CY4PR11MB0054.namprd11.prod.outlook.com (10.171.254.155) by CY4PR11MB1429.namprd11.prod.outlook.com (10.172.69.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1038.21; Tue, 14 Aug 2018 18:20:46 +0000 Received: from CY4PR11MB0054.namprd11.prod.outlook.com ([fe80::58a0:2a17:1e9c:bfca]) by CY4PR11MB0054.namprd11.prod.outlook.com ([fe80::58a0:2a17:1e9c:bfca%3]) with mapi id 15.20.1017.022; Tue, 14 Aug 2018 18:20:46 +0000 From: Ananda Sathyanarayana To: Alex Kiselev , "Xing, Beilei" , "users@dpdk.org" , "Zhang, Qi Z" Thread-Topic: [dpdk-users] problem with an additional MAC address on i40e Thread-Index: AQHT8z/OTZBgc697+EGdrGo3WMhTvqRDv4gAgAAECACAfExvQA== Date: Tue, 14 Aug 2018 18:20:45 +0000 Message-ID: References: <351944790.20180522134228@gmail.com> <94479800C636CB44BD422CB454846E0132161CCA@SHSMSX101.ccr.corp.intel.com> <1997021743.20180527185438@gmail.com> <504552467.20180527190904@gmail.com> In-Reply-To: <504552467.20180527190904@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=ananda@versa-networks.com; x-originating-ip: [12.50.146.146] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR11MB1429; 6:5OJl0OxOGlwUGwXJaU7nuls+YUkccfYLCYEKLo2kbBlGU9EGjvH/NnlDqd0LFQwfJ/ojRLqCQEaom/fegnemMvwp+MpX/pHvG6lkGGFgUI6JNht834hJqzm7TXTVpj3gq/3eOGBNP2mUocNDekcf653G/YoToE41JMpm9H5nUrVwYSSDgH/jyneO6ned4KkkUa6cRctlfxwGhzlBK0rvtN7qhnI/uveRpIIZc+0k9oeSNazlrPQ+BlW8c38xI+mlKx/IU6UatdV1mdmCD2ZAr5FCoqrkhjnGCCjvlFMHF/nnvU8A6ynvKKr9mkGxJhruFsBL7Lxp5DNtthg4ws5YKoz/QTuvZmEK8Lz//e2ViHCxHEbKwqS5+tTS8gzI1iHzjJCFr2TlaOv+eQtXAfAsAd2Ypwcv77j8XH6CWEpS53U52j64emNxelHZu3Nfqa3Md3HZM7nhRQaeW7bj0jIw8g==; 5:kXIVnlgZxEavahpxlZ9eU7D69j9opeFHducC+0JW3Ig8Gq6kJE7UkErIHM3U9pskpjLGMuX9PgPRSRdI9lJsdc/CJdNZ3e5RHmhQH8w3ZHObDj9edpKcNe0C7W/5lxyQ3KjHd6g5rCAzQxk6nUV5uuaTSoQ9DahwE1upGuD749w=; 7:UCdiO8Acn3mxqNl+qn7wY3TgT2J7/yiITmls0rD+JMIDRp7qIGyh1MSOiCVbx9JuHhsuTDzRjZEWFJTV1qE5wyFs92Vvas4OpmMsZXsbBKMoWwMv7J6zsQCvuk79ex9hjMzDQDOh4+XWHdDZjeTV8s538a5GI/TQScySfHBHZovRcWioVqchkvytxo5EvSWPW1c/zvH2I2R0IaT98o4irCgKSreAMdlmLC0BfGbrZk9yPagLvpoIcvAfuHlZErUJ x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 45d0908b-f9ce-4f61-996d-08d60212a75f x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:CY4PR11MB1429; x-ms-traffictypediagnostic: CY4PR11MB1429: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(85827821059158)(21532816269658)(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(3231311)(944501410)(52105095)(10201501046)(149027)(150027)(6041310)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:CY4PR11MB1429; BCL:0; PCL:0; RULEID:; SRVR:CY4PR11MB1429; x-forefront-prvs: 0764C4A8CD x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39840400004)(396003)(376002)(366004)(346002)(136003)(199004)(189003)(51234002)(13464003)(486006)(478600001)(6436002)(105586002)(76176011)(14454004)(476003)(229853002)(5250100002)(99286004)(7696005)(6246003)(305945005)(2501003)(68736007)(33656002)(2900100001)(93886005)(2906002)(8936002)(5660300001)(7736002)(66066001)(102836004)(81156014)(74316002)(81166006)(8676002)(446003)(53546011)(6506007)(97736004)(11346002)(106356001)(39060400002)(110136005)(316002)(6116002)(186003)(55016002)(14444005)(53946003)(3846002)(575784001)(16200700003)(86362001)(53936002)(26005)(25786009)(9686003)(256004)(569006); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR11MB1429; H:CY4PR11MB0054.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: versa-networks.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: e7PFNVU699yHTV0+fVFXTvQNc9drvM/18B76cgxHyrUzSehe+yXmnGKEBIfiCi1cPhDMqlE5djMsWL5G3wIy8ePqIZ3tOG5HCa0xf1vH5u5U7RZGx8kp+KmHzmJ5cNaOu4xYm2rIfLblPe+r+1fjbgo4svPUnUdwTKqj9Uk2iHLFNCTjsOqFMLtvrzadb6wlhKCIRPxhzjK0w+sTT5pHiK0liK+bS3iN34oCuztMcu6WWKwVb2PDVJFVGkvJTtUmZusdY1iBFEPGIwzPYtikowgpKeRcYz4vg3a5rZ1VmTvCAKC+qjxBeobN3H6pRe9gEVCnOvz2qwgCaLVM07qZFpjJYbITLa7qMmKLlczPegU= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: versa-networks.com X-MS-Exchange-CrossTenant-Network-Message-Id: 45d0908b-f9ce-4f61-996d-08d60212a75f X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Aug 2018 18:20:45.8519 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d39a23bd-897c-45f1-a3f5-c5213b673627 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1429 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: Tue, 14 Aug 2018 18:20:49 -0000 Hi Alex, Beilei, I am also facing the same issue. Do we have a possible solution/work-around= 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=20 > i40e port the port stop receiving packets with source MAC addresses=20 > equal to the added MAC. > First, I modified testpmd and turned off promisc mode by commenting=20 > 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=20 > mode was turned off by the command "set promisc 0 off" > a port was still receiving packets with any MAC addresses, for example=20 > 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=20 > --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)= =20 > 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 > - l2_len=3D14 - l3_len=3D20 - Receive queue=3D0x0 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD=20 > 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=20 > 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=20 > a switch that begin transmitting packets destined to multicast MAC=20 > 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=20 > 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=20 > 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=20 > --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 -= =20 > 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)=20 > 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 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D8 - Receive queue=3D0x0 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD=20 > 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=20 > 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=20 > 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=20 > L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D8 - Receive queue=3D0x0 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD=20 > 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=20 > 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=20 > L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D8 - Receive queue=3D0x0 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD=20 > 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=20 > 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=20 > L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D8 - Receive queue=3D0x0 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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 -= =20 > 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)=20 > 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 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D8 - Receive queue=3D0x0 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD=20 > 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=20 > 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=20 > L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D8 - Receive queue=3D0x0 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD=20 > 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=20 > L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D8 - Receive queue=3D0x0 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD=20 > 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=20 > 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=20 > L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D8 - Receive queue=3D0x0 > ol_flags: PKT_RX_VLAN PKT_RX_L4_CKSUM_GOOD=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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=20 > 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 stop 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=20 >>> Z >>> Subject: problem with an additional MAC address on i40e >>> Hi. >>> I am facing an issue trying to receive packets destined to the MAC=20 >>> address >>> ipv4_mcast_12 01:00:5E:00:00:12. >>> The problem is that once I add to a port additional MAC address=20 >>> 00:00:5E:00:01:0A using rte_eth_dev_mac_addr_add(), the port stop=20 >>> receiving packets destinated to the address 01:00:5E:00:00:12. When=20 >>> there is no additinal mac on a port everything is ok. Also, there is=20 >>> no such issue when I am using intel X520 nic (ixgbe), I am facing=20 >>> this behavior only with >>> X710 (i40e) intel NIC. >>> DPDK ver dpdk-stable-17.11.1 >>> -- >>> Alex Kiselev. -- =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, Alex mailto:kiselev99@gmail.com