From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by dpdk.org (Postfix) with ESMTP id 07CB55A7A for ; Mon, 9 May 2016 19:41:09 +0200 (CEST) Received: by mail-pa0-f49.google.com with SMTP id xk12so75365281pac.0 for ; Mon, 09 May 2016 10:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HmiQWOF+cSRlmLfv2OjwX1+Fp/1g+L5klL4tZk7lz6k=; b=fOPfOd+LdDfCDFYbRc2PxpwZ4suEMP2T2/Rl+Eljw3dO4BbBdCYXkrNuw3QKHmBwev Sk/kkQAlcjJjRIyZC4UBv5Ml/mhWqBIU7UNDQhfnIBfGMA+5FTaupa5tQ7uZUTK5CSS0 tZHIJiMepte/d1YCRCvJ1OsglhhQowxX67pJhfSIoNScUDYnTrGvnhXcQlG4Wd0bbW9G z0ijTiL0ePRjgW618sIe6uljoBVZNaNOlwf5r+fVoplbTZ/NTqv26dW8Q8AuGz9ca/gR VxR/iaD1mecccKrMcveCMET8+M0Y5SKW0NoSUbblRHV98G4aT1sM+HyBlrwWQB3ltwV5 gIDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HmiQWOF+cSRlmLfv2OjwX1+Fp/1g+L5klL4tZk7lz6k=; b=ikLEK8IPcCbTkfbBpacfzXyQ0pASN3YEiB9hSiicz40kU6CLHsx8uWIpgowECSBQ7/ oJ4XofgJ2IPuBrn20RbpjxyF3FGbpTwHEt/IDDlV2wUC9IxPJUsgZrLR3iLHrocRKFnx 2NY9Dtw/SK5CdqpuLE2f1LzUgcZ/G7tJgOKhwOMf8V4daXchypbjLXbKfXJC4D6k672A teLNHTrPCy8Ku452aLawPh8tP4+R730IT1+KiU55nl4Qa2/JVj9NJvkEFaTIHRSUoAJ5 MeSPQSijH8HR7VBQ5uhhxem7wvGSGZwLT5ZI/58QC9JLbLkmWpbQo1JgGwsMQt+nUk4w uUHQ== X-Gm-Message-State: AOPr4FVwhQyniILgerx9WJbdsRaFAxrKJKhhG85B5c3Y17wvluqJYPV0yH/2nSjIBDtPeA== X-Received: by 10.66.177.16 with SMTP id cm16mr52088430pac.23.1462815668454; Mon, 09 May 2016 10:41:08 -0700 (PDT) Received: from xeon-e3 (static-50-53-72-186.bvtn.or.frontiernet.net. [50.53.72.186]) by smtp.gmail.com with ESMTPSA id 87sm41982157pfq.93.2016.05.09.10.41.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 May 2016 10:41:08 -0700 (PDT) Date: Mon, 9 May 2016 10:41:22 -0700 From: Stephen Hemminger To: Jerin Jacob Cc: , , , Maciej Czekaj , Kamil Rytarowski , Zyta Szpak , Slawomir Rosek , Radoslaw Biernacki Message-ID: <20160509104122.5c65f12a@xeon-e3> In-Reply-To: <1462634198-2289-3-git-send-email-jerin.jacob@caviumnetworks.com> References: <1462634198-2289-1-git-send-email-jerin.jacob@caviumnetworks.com> <1462634198-2289-3-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 02/20] thunderx/nicvf: add pmd skeleton X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2016 17:41:09 -0000 On Sat, 7 May 2016 20:46:20 +0530 Jerin Jacob wrote: > + > +static inline struct nicvf* > +nicvf_pmd_priv(struct rte_eth_dev *eth_dev) > +{ > + return (struct nicvf *)eth_dev->data->dev_private; > +} Cast here is unnecessary because dev_private is void *