From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: default unicast mac address - was: add multicast address filtering Date: Fri, 29 May 2015 15:12:28 +0200 Message-ID: <3149965.63Z4QvtXnx@xps13> References: <1432825523-19006-1-git-send-email-ivan.boule@6wind.com> <1432825523-19006-2-git-send-email-ivan.boule@6wind.com> <20150528092256.292e566c@urahara> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Stephen Hemminger Return-path: Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by dpdk.org (Postfix) with ESMTP id C85D35A57 for ; Fri, 29 May 2015 15:13:19 +0200 (CEST) Received: by wicmx19 with SMTP id mx19so17283972wic.0 for ; Fri, 29 May 2015 06:13:19 -0700 (PDT) In-Reply-To: <20150528092256.292e566c@urahara> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Stephen, Looking at mac address management, you and Changchun added an entry in driver ops to be able to change the default mac address with virtio: http://dpdk.org/browse/dpdk/commit/?id=5186fb1f37fe986 Other ops functions (mac_addr_add/remove) manage the secondary unicast mac addresses and have a wrapper function in the API: http://dpdk.org/doc/api/rte__ethdev_8h.html#aa2b81750086f5f9e55cf65e5cf9f2c58 It seems now that the review of the above patch was too weak and I'd like these issues to be fixed: - mac_addr_set must be wrapped by rte_eth_dev_mac_addr_set() - eth_mac_addr_set_t must be fixed to explicitly state that it replaces the default address I'm wondering what was the first intent since virtio_mac_addr_set() is never called?