From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb0-f173.google.com (mail-yb0-f173.google.com [209.85.213.173]) by dpdk.org (Postfix) with ESMTP id A1A94370 for ; Wed, 24 Aug 2016 02:59:43 +0200 (CEST) Received: by mail-yb0-f173.google.com with SMTP id z10so599888ybh.2 for ; Tue, 23 Aug 2016 17:59:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=luminatewireless-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=9d6KkVLDg+IM8jpM6Pt01aP7ITLsdllr3FlXorRyFk4=; b=At0XYFPNOM+fs2fw3/U4kXZw9R0IGkt/n3pG+rjUk+GIKtL05qWckTiawEX1Ecv24/ e9fAjsmxpXWoWQJ20xH1d13nGVQ6MOoYZ2l/zfhUoltKFQ+CL0Kcpiru09aYfu7dg1c7 uNnxbIDoLMxYjyhhXJpKF49jPM1uzCEjIlxc4cyIjnOkal4M90wtB+wdd4FWsEEnUp0d n5sx1JUrbrE6ehg5VzG6itDzlBarQt+lsxgfFLN9dtzMv9WxurO2qlZvi2sSAp3S0Wmf CMXol1k/UBDD5re28eWYNobNfu6aBdE3/kai9tih5967wylc8tOz2oIpUgZeSRZBCVph Drhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=9d6KkVLDg+IM8jpM6Pt01aP7ITLsdllr3FlXorRyFk4=; b=QZzEBg1XlIB5K5VgxNeBx2vbT8m+KEfbYTAhKLZhttkoSAlL7m56+XoqyNPLeRIPBv zHPijUgw3CxkSf/6J9qvD5J3uj03D99uGr7pUgj/A2KCtvouN17RHWFOyyb2JjnMWvo0 cKWIPxi3w7e9TjIy3iyV2Q40mAUuxnsZQJ5PFXZb4hlMrz3DEJo+0971Ri+ysFkGUUjW FJI2+gmZPP2VgsR5uQRogd/J6cDP+tIi349VvPazPeV08jBUioSiWAdZIXRCs9KKIs0O Vw451i9Z7DVCTjJLLLGYM7ZbwrjRyJKkoP5uxTo1S/u9cbmo3CgBT2yXzIZeY3R31A28 ZQTg== X-Gm-Message-State: AEkoousXKC33o9mwMmmhBnkidbmTJu4EcjcxM7B+n0OTDh7hZuIeLS3qcBS1z7A3763ZUqalRtcfKF1nEGmPzaV7 X-Received: by 10.37.90.4 with SMTP id o4mr198828ybb.81.1472000382157; Tue, 23 Aug 2016 17:59:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.119.139 with HTTP; Tue, 23 Aug 2016 17:59:41 -0700 (PDT) From: Zhongming Qu Date: Tue, 23 Aug 2016 17:59:41 -0700 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Do the two functions on 82599ES have independent registers? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2016 00:59:43 -0000 Hi, Thanks in advance (Orz)! Could someone quickly confirm that the two functions on a 82599ES nic have independent BAR0-based registers or not? For example, when running two primary dpdk processes, one of which uses port0 and the other of which uses port1, writing to RDBAL[0] simultaneously is a race condition or not? The BAR0-based registers are mapped to different physical memories, as in: ``` lwr@dev5:~$ lspci -s 02:00.0 -xx -n -v 02:00.0 0200: 8086:10fb (rev 01) .... Memory at fbd80000 (64-bit, prefetchable) [size=512K] ... lwr@dev5:~$ lspci -s 02:00.1 -xx -n -v 02:00.1 0200: 8086:10fb (rev 01) ... Memory at fbd00000 (64-bit, prefetchable) [size=512K] ... ``` Could these two physical addresses be mapped to actually the same PCI address? The 82599 data sheet says that the two ports have independent BAR's. But it does not explicitly say that the two ports share the same rx/tx queue registers or not. It does not, either, say that the 128 rx/tx queues are per-port or shared by the two ports. It has been really difficult to find relevant information outside of this group. Thanks in advance! Best, Zhongming