From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) by dpdk.org (Postfix) with ESMTP id 6BD331DBE for ; Mon, 4 Mar 2019 13:05:13 +0100 (CET) Received: by mail-lj1-f194.google.com with SMTP id z20so4080950ljj.10 for ; Mon, 04 Mar 2019 04:05:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netcope.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xEjPaXs5/OqTgl7Sl5etlK7U4tMbsveZinNsYLcfhlA=; b=Rh+Aaknj+rgszQVTcQ2nX23IVzpIBib6VivsTv8tNhvAXvNniMKG1W4cx3/ytXUHOs Z0I76ZOP/N8hMaioaIQjVQ28wlo5B7rJJuQ8begMHtQXobOOnPkr9NSXRzGGuZAJ2xhx OWfhws86FchWI8u2NIs8GBjaXbtFB8YxkSwLj8m/4lcK5O+1jVTXrgcXnDOCcrcthpyn CWnqretTWzfxTJFfoBY9njitc016WqdtOIlI9hWk4st2H07kc66uvlkVxJEzkh23xt+n dppJcPtY4FlhPjQ2hPRrt1QQsrrjD3qMW2tGceJYfb8ZyVwYwt0Jne8RePWuR/iO9LS/ M+bA== 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; bh=xEjPaXs5/OqTgl7Sl5etlK7U4tMbsveZinNsYLcfhlA=; b=EYg2g05W9dsiZgMbTLil38rc+CmgZxFUBd7K5K7NLTS5uhT4Y4G4iAx4LNv769ujqh W2s8dz2pIYyoklj/nBD/pGxsaYOVwv7ttL1BxBYdrMxAFoyltIlp/jtW9x0DT61m6Gba diEb/+7ucqc35KRqGsaaYHcQxcisGinrh5XODwT9/ddQDkdCiE9m00zk0Zer+XnUwwyV TIo1MuA8qjFgXnXz6edDuszViu+Y9O9C3UKrkdSGritp2JiCgEZ+1HZ5ESQty9sMrX7t 9Wa18UJ3Z+WFhBfa4jRoluh6/q6aSgLuDi7ajDPz6Nrd2x0sD0vPQZtnltN6u+9Y7i7M lM0w== X-Gm-Message-State: APjAAAWV+RII7YjagkZnS1sbpzAvCXKw+lQx26c8BSTFLTM1YcRJQgL4 0upBTFBh0v0g9EHBrY5BlFGfssPQN1US1bYNdrtSWA== X-Google-Smtp-Source: APXvYqzYHnGFvgaqbojDRR4OsO7TPxUYx/2OS8UKnhuM+Tcw9hm56HBswzJr+ONwlTA4wa0NWadx7P5fN/6/lFbnuhQ= X-Received: by 2002:a2e:9217:: with SMTP id k23mr449357ljg.159.1551701112794; Mon, 04 Mar 2019 04:05:12 -0800 (PST) MIME-Version: 1.0 References: <1551185824-5501-2-git-send-email-cernay@netcope.com> <1551451054-111249-1-git-send-email-cernay@netcope.com> <20190301104729.34fc32f5@shemminger-XPS-13-9360> In-Reply-To: <20190301104729.34fc32f5@shemminger-XPS-13-9360> From: =?UTF-8?Q?Rastislav_=C4=8Cernay?= Date: Mon, 4 Mar 2019 15:07:44 +0100 Message-ID: To: Stephen Hemminger Cc: dev , ferruh.yigit@intel.com Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v3] net/nfb: new netcope driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Mar 2019 12:05:13 -0000 Typically device works in promiscuous mode and filtering/processing is done after packets are received, use of MACS is a marginal case so we are not exactly focused on it. I will add random ethernet address so card can work in initial state with multiple devices. On Fri, Mar 1, 2019 at 7:47 PM Stephen Hemminger wrote: > On Fri, 1 Mar 2019 15:37:34 +0100 > Rastislav Cernay wrote: > > > +/** > > + * Default MAC addr > > + */ > > +static struct ether_addr eth_addr = { > > + .addr_bytes = { 0x00, 0x11, 0x17, 0x00, 0x00, 0x00 } > > You might want to consider using a random ethernet address. > What does the device do on Linux? >