From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vn0-f44.google.com (mail-vn0-f44.google.com [209.85.216.44]) by dpdk.org (Postfix) with ESMTP id 13837C508 for ; Wed, 24 Jun 2015 10:15:03 +0200 (CEST) Received: by vnbg1 with SMTP id g1so5211364vnb.12 for ; Wed, 24 Jun 2015 01:15:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=dGf4MuGvFp7ekgtMH5Tl8ZdLJaGgvAJnZpMeklvXJrM=; b=Yq9lCaTMLmXVLZ0NLKal30ffzvMkEdGwETgJK22uAoXtEgVFzdXxOwAVpltr/oLWQX bjiUZ9LmdpZicbzH2JcPFJ2txChFH/iM7YwFrOg811BZue8HtZ47yWkSMj8rYUDF+vEX XYFsnHsFZAnMIE1A53PVqoDyaBO1hhtLO9vAsb3Bz9Pvezr7h64kE5DWRkFl0CAuMI7R g8FIikAwer4cQ/FlC1ovV7S57mY+v02e7+c2+8HbJRmggJWeikremZ9wtcMqTEdqPCPF GnKyocfxfimTsEW1Akw0ZSHA0cFc/1QRjvuSrfZ2UeGO0SUFUPqy5OBMwnbEQrggDYKY kiwA== X-Gm-Message-State: ALoCoQmZ8F6qtLdHbs2MXs/ABFEln8tHQ/nPAyI4mRT23Ynm9lMrWVRZ32zcrKJHtxI4ZuUgKZLx MIME-Version: 1.0 X-Received: by 10.52.228.42 with SMTP id sf10mr36069861vdc.12.1435133700913; Wed, 24 Jun 2015 01:15:00 -0700 (PDT) Received: by 10.52.27.242 with HTTP; Wed, 24 Jun 2015 01:15:00 -0700 (PDT) Date: Wed, 24 Jun 2015 09:15:00 +0100 Message-ID: From: Alejandro Lucero To: dev Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] [PATCH] eal_pci_vfio.c: fix the type for handling BAR size and offset info 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: Wed, 24 Jun 2015 08:15:04 -0000 Kernel mmap syscall and VFIO kernel driver expect unsigned long for offset. The BAR index to work with inside VFIO kernel driver will be the wrong one except for BAR 0. The patch solves the issue.