From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by dpdk.org (Postfix) with ESMTP id 57AAB1B113 for ; Tue, 1 Jan 2019 11:04:54 +0100 (CET) Received: by mail-pf1-f171.google.com with SMTP id u6so13980739pfh.11 for ; Tue, 01 Jan 2019 02:04:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fluidic-io.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=7foimE/C74As3yFMfi3eW53/UBAhu1K/suLlIcFRpxw=; b=p8B7rDXlyEUw5lbCaHxwFhKQCf7jaDpjmyI2WICjg8NVE2jUmgH1XSBiQi+rSc8yPQ UweKxod0t4fUIRnOuoNdgUjyAgmfQKrvFJJghZm1L55N1dQAz+A7DUxz2/KUPrPYg8ER rqKKWw907gGdIV2AHPc8jSskB8A8gOtiO1ZPk3Rqldsmp1HG8lMfSNeekdf3f8HXu4k6 6aMnyMH5qefqrljZS6f4GC9svroAeWBRuxLGkAVey241MAE0lEmP7jOd1TMAKLe61zMf Vuxs79gJK7yguHyBEAy0AR3WsWCC8PWJtW0GxBcpVLAdmcyBXbvoZyWvzazkZpqFaQO2 8TRA== 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; bh=7foimE/C74As3yFMfi3eW53/UBAhu1K/suLlIcFRpxw=; b=GpndhbdZXjAvVoYu2fBaU41C4+W1TmJ/oruQ9VZtyz5alM18otf5s/B4CqH5jGFbBs PUIuKuzzIcKWr0XUgLsJXmI+ner6ZiX+pLHu5SD4jqdb27a6FdjeXcRf0nk04f9nEPf3 EcxAYYEqoQcdwWPLf1kbqhEvTysJbgWx5GhjDyGucMKDu1Z4WgDR0Wkf4jl/8g5gkki8 4kLuHaNO4VpmFrx41Re7v5M4ZVHLTArNMxH3KjnnYwY8Oa2Vpl0vbiH+dNGYJUY4iSN3 Sjz98nEsMq23uxKMCrkfxk9oV7F3pGgJn1zT1IAaDI4CutLdOcoj1Fbzx7/X4PAQESSZ sjRA== X-Gm-Message-State: AA+aEWY/DiJg8P5iR3Quz1YTCAS+Zz0ZoiujSzo0YksLnecfmMGWZ33n okW+QosMv0CgtIrsCVbcyDiKkrPd1y247+cNjLMCTC7S X-Google-Smtp-Source: AFSGD/UGLslZ9awXZlyNVk3rm05fT0NpxusDZ1dCYfbzF+G7/UYmY71R5QVRCKRqGgrRbBblxzfYu8e2lPaT68B02QE= X-Received: by 2002:a62:1e87:: with SMTP id e129mr40404486pfe.221.1546337093199; Tue, 01 Jan 2019 02:04:53 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: DoHyung Kim Date: Tue, 1 Jan 2019 19:04:45 +0900 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Weird phenomenon involving KNI 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, 01 Jan 2019 10:04:55 -0000 It was a consequence of the well-known behavior of Linux kernel regarding ARP handling when multiple NICs are on the same subnet. Thanks for all who have spent one's time looking into my question. DoHyung 2018=EB=85=84 12=EC=9B=94 31=EC=9D=BC (=EC=9B=94) =EC=98=A4=ED=9B=84 6:42, = DoHyung Kim =EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1: > I'm on the latest revision of 17.11 w/ a 2-port Intel X540 NIC. And havin= g > some trouble. one of the 2 ports is bound to a uio_pci_generic, and a KNI > interface is up and assigned the MAC address of the port and an IP addres= s, > while the other port is kept intact bound to the kernel. > > Initially the 2 ports are known by their own IP addresses. But a few doze= n > seconds later, the latter port begins to report via ARP it has the IP > address originally assigned to the KNI interface. So my DPDK app doesn't > receive any of packets sent to the IP address assigned to the KNI interfa= ce. > > If I set the latter port down w/ ifdown and start my DPDK app, then my ap= p > receives packets as intended. But when I set the normal port up again, th= en > it doesn't receive any packet since, this time, the KNI announces via ARP > it has the IP address of the other port too. > > I searched for solution in DPDK mailing lists for this problem, but > instead found a few posts mentioning KNI will be replaced w/ something > else. But it seems that it's still gaining functionalities over the > releases. So I'm confused. > > Please inform me of any clue for solving the problem described above. Or > should I fallback to something more stable like TAP driver? > > Thanks in advance. > > -- > DoHyung Kim > Fluidic Inc. > --=20 DoHyung Kim Fluidic Inc.