From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7B532A00C5 for ; Mon, 6 Jul 2020 09:56:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 47BEF1D684; Mon, 6 Jul 2020 09:56:05 +0200 (CEST) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) by dpdk.org (Postfix) with ESMTP id 4D28F1D628 for ; Mon, 6 Jul 2020 09:56:03 +0200 (CEST) Received: by mail-lj1-f176.google.com with SMTP id e4so44188062ljn.4 for ; Mon, 06 Jul 2020 00:56:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=0nGtBHIr+xv21tdFCezEi6LXmY8bpipOUXRNOyRuLbs=; b=YSm72FdEqcFV9ugOLpiiR/pH9AXykG7WVmxpHSDt3HzWCSMNse9K33XkT0GNXDkEcw JzZy3F/LVDvLX1zO/mqvxfDLu0beu2uC6vX9/Ralxf870sjeg11VDvlco7ga/UWApuFQ Is4pBWeHqcX0MTDqVYdB0aWSfnrn1FoMXG6xv8irAwPHZt7DQso2CVyD1m3pCWdKSj7O wXAvsWehGswsoxq44N3vxPn6ajbpEfbAlVAvb12RB3WnBCz+w7/dVBfF3Wa4q1J0foTc k/IdpXPayMi4xc3/D7fLfEU0pg6JA2dEHw/jOupOUmkvulZdvZrj9EeYbkPX55LUpbLb 9hwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=0nGtBHIr+xv21tdFCezEi6LXmY8bpipOUXRNOyRuLbs=; b=SCxDQRQpQ0NrFMk+VaVMmtmaMSnZGX1aplOTlYClRVHL/dMu9FMKDnCDMkZ+pRC0Hj 7s7Gf5m+o4nBAVo8omVEhEJvqDmIB+QSYzTfF5U2zOk6cSfk+cetBZVGztjs+pRmnQTA wM1Kk0h+929OImbEBM/mSssZnDyqwrEBaDhgqO3FouzBt9zIDD0UIsGDVC/tspogwsbd ZMVtgavaGdirrSLhH5CvjDFE03yK8Gq8pH2FKQVT1fyXeGptblX0WqlqASd27zp6TJA9 zd96jo9Ej4U28aSSBFm7V4X+WIZgIkQVX8jca8N1A99VEJzRjwsms4t93A91iNyAcsrv mtaA== X-Gm-Message-State: AOAM533j4bPudNXJuu3AFRYVQy2TEJbMyZ/6MinJXolUs7UsTt/Z4ay5 ni5kG95w+v2B37SojnEbyd64ocQXauzVcxoZmsjMDI6umMR5dg== X-Google-Smtp-Source: ABdhPJz4/9JcfsTyqAv0eDM5kf4j5wFckc/v+OKauPAJTwBCKssJhss5pu+UXH+IKX1k7dEvgQxIjH+iVYK1YFoZ/4I= X-Received: by 2002:a2e:860b:: with SMTP id a11mr16078911lji.259.1594022162303; Mon, 06 Jul 2020 00:56:02 -0700 (PDT) MIME-Version: 1.0 From: Dmitry B Date: Mon, 6 Jul 2020 10:55:50 +0300 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] VRRP broadcast message is discarded X710 NIC 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: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi all, I'm having a problem with the following 40G NIC adaptor when using DPDK 18: *04:00.3 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)* The DPDK uses driver *net_i40e*. Apparently NIC drops broadcast packet with source MAC it owns. Here is a more detailed description of what is going on. I have High-Availability environment with two routers. Both routers registered by means of *rte_eth_dev_mac_addr_add*() Virtual MAC (00:00:5e:00:01:64) in addition to a physical burned-in MAC. When the primary router sending broadcast VRRP-advertise message with source MAC set to Virtual MAC, the secondary route's adapter seems to drop the packet. This is how the message looks like: > Ethernet II, Src: 00:00:5e:00:01:64, Dst: ff:ff:ff:ff:ff:ff > Destination: ff:ff:ff:ff:ff:ff > Address: ff:ff:ff:ff:ff:ff > .... ..1. .... .... .... .... = LG bit: Locally administered > address (this is NOT the factory default) > .... ...1 .... .... .... .... = IG bit: Group address > (multicast/broadcast) > Source: 00:00:5e:00:01:64 > Address: 00:00:5e:00:01:64 > .... ..0. .... .... .... .... = LG bit: Globally unique address > (factory default) > .... ...0 .... .... .... .... = IG bit: Individual address > (unicast) > Type: IPv4 (0x0800) > Internet Protocol Version 4, Src: 10.93.0.1, Dst: 255.255.255.255 > 0100 .... = Version: 4 > .... 0101 = Header Length: 20 bytes (5) > Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT) > 0000 00.. = Differentiated Services Codepoint: Default (0) > .... ..00 = Explicit Congestion Notification: Not ECN-Capable > Transport (0) > Total Length: 32 > Identification: 0x0000 (0) > Flags: 0x0000 > 0... .... .... .... = Reserved bit: Not set > .0.. .... .... .... = Don't fragment: Not set > ..0. .... .... .... = More fragments: Not set > ...0 0000 0000 0000 = Fragment offset: 0 > Time to live: 255 > Protocol: VRRP (112) > Header checksum: 0x0000 incorrect, should be 0xb110(may be caused by > "IP checksum offload"?) > Source: 10.93.0.1 > Destination: 255.255.255.255 > Virtual Router Redundancy Protocol > Version 3, Packet type 1 (Advertisement) > 0011 .... = VRRP protocol version: 3 > .... 0001 = VRRP packet type: Advertisement (1) > Virtual Rtr ID: 100 > Priority: 254 (Non-default backup priority) > Addr Count: 1 > 0000 .... = Reserved: 0 > .... 0000 0000 0001 = Adver Int: 1 > Checksum: 0xf896 [correct] > [Checksum Status: Good] > IP Address: 0.31.205.8 > Same code, same DPDK version but with 1G NICs work perfectly. What I'm missing? Thanks Dmitry -- -----