From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by dpdk.org (Postfix) with ESMTP id 1C5D3255 for ; Fri, 6 Feb 2015 19:36:38 +0100 (CET) Received: by mail-pa0-f41.google.com with SMTP id kq14so18981599pab.0 for ; Fri, 06 Feb 2015 10:36:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=K8EKvlV+eLV2Mni9i6U0gF5xo1YBvsxMIREDAZwWmdA=; b=Fw5EhOi5o9NQNhocri2TW0sC4bonWyqSZwCIijrnBpYvuylC4VcZPs+Q5ecN++pI2V uOFZMhTIl7ibSc0ud+Jr3PLN2r44If75zi9W/N7/NXbBl5ZLVNau8mOCk4V5OD5cnv5t 3IRbtKiyVGnygSv4D/JcApsW0/OvArSKiEd+cETANno5kdjUvq5LzaQVe/Pzk8xs9vHe HFdpvCIVy1dJkaovA1NeRBYq+MiAzvdiOdVff8gAT0qk02w5zgvABqEBfcguWRJAQlDu OrIwruSU9BpybAYuwO3LrKUKRCWxTXRlLE9hQCVt7uODf67nfgz/HVIbKL+1q8XmEMaL HQXA== X-Gm-Message-State: ALoCoQkD0pDIvQddYyXwQQpD1rcflb+GAOe7rsiK2DJETRQ0os13L7c5245iFTJx6FGgo8ro+0QO X-Received: by 10.68.231.102 with SMTP id tf6mr8004889pbc.40.1423247797183; Fri, 06 Feb 2015 10:36:37 -0800 (PST) Received: from urahara.brocade.com (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id sq6sm8517486pbc.40.2015.02.06.10.36.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 Feb 2015 10:36:36 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Date: Fri, 6 Feb 2015 10:36:31 -0800 Message-Id: <1423247795-22399-1-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 Cc: Stephen Hemminger Subject: [dpdk-dev] [PATCH 0/4] Broadcom 10G NIC Poll Mode Driver 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: Fri, 06 Feb 2015 18:36:38 -0000 From: Stephen Hemminger These are the patches to enable supporting the Broadcom NetExtreme II 10G devices (show up as bnx2x on Linux). The driver has only been tested on Linux, there maybe issues with firmware loading and PCI config access on BSD. Stephen Hemminger (4): pci: allow access to PCI config space bcm: add BCM pci device ids bcm: new poll mode driver bcm: enable BCM poll mode driver in config config/common_linuxapp | 10 + lib/Makefile | 1 + lib/librte_eal/common/include/rte_pci.h | 29 + lib/librte_eal/common/include/rte_pci_dev_ids.h | 30 + lib/librte_eal/linuxapp/eal/eal_pci.c | 15 + lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 10 + lib/librte_eal/linuxapp/eal/rte_eal_version.map | 2 + lib/librte_pmd_bcm/Makefile | 28 + lib/librte_pmd_bcm/bcm.c | 11817 +++++++++++++++++++ lib/librte_pmd_bcm/bcm.h | 1998 ++++ lib/librte_pmd_bcm/bcm_ethdev.c | 544 + lib/librte_pmd_bcm/bcm_ethdev.h | 79 + lib/librte_pmd_bcm/bcm_logs.h | 51 + lib/librte_pmd_bcm/bcm_rxtx.c | 487 + lib/librte_pmd_bcm/bcm_rxtx.h | 85 + lib/librte_pmd_bcm/bcm_stats.c | 1619 +++ lib/librte_pmd_bcm/bcm_stats.h | 633 + lib/librte_pmd_bcm/bcm_vfpf.c | 597 + lib/librte_pmd_bcm/bcm_vfpf.h | 315 + lib/librte_pmd_bcm/debug.c | 113 + lib/librte_pmd_bcm/ecore_fw_defs.h | 423 + lib/librte_pmd_bcm/ecore_hsi.h | 6349 ++++++++++ lib/librte_pmd_bcm/ecore_init.h | 842 ++ lib/librte_pmd_bcm/ecore_init_ops.h | 886 ++ lib/librte_pmd_bcm/ecore_mfw_req.h | 207 + lib/librte_pmd_bcm/ecore_reg.h | 3664 ++++++ lib/librte_pmd_bcm/ecore_sp.c | 5455 +++++++++ lib/librte_pmd_bcm/ecore_sp.h | 1796 +++ lib/librte_pmd_bcm/elink.c | 13378 ++++++++++++++++++++++ lib/librte_pmd_bcm/elink.h | 610 + 30 files changed, 52073 insertions(+) create mode 100644 lib/librte_pmd_bcm/Makefile create mode 100644 lib/librte_pmd_bcm/bcm.c create mode 100644 lib/librte_pmd_bcm/bcm.h create mode 100644 lib/librte_pmd_bcm/bcm_ethdev.c create mode 100644 lib/librte_pmd_bcm/bcm_ethdev.h create mode 100644 lib/librte_pmd_bcm/bcm_logs.h create mode 100644 lib/librte_pmd_bcm/bcm_rxtx.c create mode 100644 lib/librte_pmd_bcm/bcm_rxtx.h create mode 100644 lib/librte_pmd_bcm/bcm_stats.c create mode 100644 lib/librte_pmd_bcm/bcm_stats.h create mode 100644 lib/librte_pmd_bcm/bcm_vfpf.c create mode 100644 lib/librte_pmd_bcm/bcm_vfpf.h create mode 100644 lib/librte_pmd_bcm/debug.c create mode 100644 lib/librte_pmd_bcm/ecore_fw_defs.h create mode 100644 lib/librte_pmd_bcm/ecore_hsi.h create mode 100644 lib/librte_pmd_bcm/ecore_init.h create mode 100644 lib/librte_pmd_bcm/ecore_init_ops.h create mode 100644 lib/librte_pmd_bcm/ecore_mfw_req.h create mode 100644 lib/librte_pmd_bcm/ecore_reg.h create mode 100644 lib/librte_pmd_bcm/ecore_sp.c create mode 100644 lib/librte_pmd_bcm/ecore_sp.h create mode 100644 lib/librte_pmd_bcm/elink.c create mode 100644 lib/librte_pmd_bcm/elink.h -- 2.1.4