From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v4 05/10] qede: Add core driver Date: Wed, 30 Mar 2016 09:40:29 -0700 Message-ID: <20160330094029.49117ab9@xeon-e3> References: <1459315705-25001-1-git-send-email-rasesh.mody@qlogic.com> <1459315705-25001-6-git-send-email-rasesh.mody@qlogic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: , , , , , To: Rasesh Mody Return-path: Received: from mail-pf0-f171.google.com (mail-pf0-f171.google.com [209.85.192.171]) by dpdk.org (Postfix) with ESMTP id F11C22BD9 for ; Wed, 30 Mar 2016 18:41:06 +0200 (CEST) Received: by mail-pf0-f171.google.com with SMTP id n5so47145234pfn.2 for ; Wed, 30 Mar 2016 09:41:06 -0700 (PDT) In-Reply-To: <1459315705-25001-6-git-send-email-rasesh.mody@qlogic.com> 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" On Tue, 29 Mar 2016 22:28:20 -0700 Rasesh Mody wrote: > +static void > +qede_mac_addr_remove(__rte_unused struct rte_eth_dev *eth_dev, > + __rte_unused uint32_t index) > +{ > + struct qede_dev *qdev = eth_dev->data->dev_private; > + struct ecore_dev *edev = &qdev->edev; > + > + /* TBD: Not implemented currently because DPDK does not provide > + * macaddr and instead just passes the index. So pmd needs to > + * maintain index mapping to macaddr. > + */ > + DP_NOTICE(edev, false, "%s: Unsupported operation\n", __func__); > +} > + Rather than have a stub and break software, why not just not define the operation and let base DPDK handle the error?