From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tetsuya Mukawa Subject: Re: [RFC PATCH 5/5] virtio: Extend virtio-net PMD to support container environment Date: Tue, 26 Jan 2016 11:58:47 +0900 Message-ID: <56A6E0E7.6060104@igel.co.jp> References: <1453108389-21006-2-git-send-email-mukawa@igel.co.jp> <1453374478-30996-6-git-send-email-mukawa@igel.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit To: "Xie, Huawei" , "dev@dpdk.org" , "yuanhan.liu@linux.intel.com" , "Tan, Jianfeng" Return-path: Received: from mail-pf0-f174.google.com (mail-pf0-f174.google.com [209.85.192.174]) by dpdk.org (Postfix) with ESMTP id B3E4D91B8 for ; Tue, 26 Jan 2016 03:58:50 +0100 (CET) Received: by mail-pf0-f174.google.com with SMTP id 65so4412878pfd.2 for ; Mon, 25 Jan 2016 18:58:50 -0800 (PST) In-Reply-To: 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 2016/01/25 19:29, Xie, Huawei wrote: > On 1/21/2016 7:09 PM, Tetsuya Mukawa wrote: >> +#define PCI_CONFIG_ADDR(_bus, _device, _function, _offset) ( \ >> + (1 << 31) | ((_bus) & 0xff) << 16 | ((_device) & 0x1f) << 11 | \ >> + ((_function) & 0xf) << 8 | ((_offset) & 0xfc)) > (_function) & 0x7 ? Yes, you are correct. I will fix it. Thanks, Tetsuya