From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 8E86AA00E6 for ; Thu, 13 Jun 2019 15:01:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 998451D413; Thu, 13 Jun 2019 15:01:51 +0200 (CEST) Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id 9CCC61D3DC for ; Thu, 13 Jun 2019 15:01:49 +0200 (CEST) Received: by mail-wr1-f66.google.com with SMTP id x4so18040268wrt.6 for ; Thu, 13 Jun 2019 06:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netcope.com; s=google; h=from:to:cc:subject:date:message-id; bh=r7W1wK7xWff1dGEpmgr8vf3siBU1GX0R99rKWIJm5gI=; b=Lj55AzAnsrGaX9qdhPiqvg7F7IgHxx6E5DzGCHFWiZLPf6NloipTfyuBM+X3BLaI9p VVnTnQzsTfy0dv+PQiYeQxSemxHjfaDH2At4XS0XmTWQWI8DZpWuvsZGwBLSpaY7iy6E B2nOFD+KKBgxtzHY0wI+sZD9opTuqQJxPfqM45y6Wn+wP2Uy5UNnCGadze1/6reEUqMb brTz7/kvVL+23IvA5nwRcQi84CMhjmJ6Br2CFCDPFYDKf43KunkrHngOGjQwEn3ChJc9 yrR6yzr9+7YHweLB+hYiCi9nnKVLyCunM1TYMfubEprQx/m/6vLQzCPNula7Xc/DR+Qu a9Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=r7W1wK7xWff1dGEpmgr8vf3siBU1GX0R99rKWIJm5gI=; b=CJ3W9n3Hh9P/YiJ6rM3Cs2g3p1/qA14SvdOK9FGxcDfAWAW2TSy3R//ulEW+bHV4vK 2/anlOnxShvtezJy+0QdMGWdnu1aLqBfxzFxz3JtFxPphboMfqaA/YBs54oYhVvpfnQk HX7kZR78shkY5dzutVaPCypnXSfn/ZeKNqBYrTW+zBI3qODtJnjvPsXrRwFxyrBfzsEl tnVIX0C7y6vfSuU/nC5UImvOg/ycIsGSpwCCNRRkYEFsBL6jZbVpOE8xoYR28hHQaS9m 0vw47HTYUp1jGTRsdc7O9wCVoHwlfsV6kU0gJe59uyIGHZ8OlsOM8DVodmYplH4mkxA5 7vAw== X-Gm-Message-State: APjAAAX87BkB4su5G/p4ff6gv/g8PpZCNvEoKLvrsIcam7M1rQlLq7ib WRhKBPeMGxfE4dFuT+t+nwBLpd9+glw= X-Google-Smtp-Source: APXvYqzHbLeVEeLLcWKy/LLRHt7NHMLln7iaHf1W9aEXHfgcE/EuKDjf/wrElStRuqKOltI/VV5c3w== X-Received: by 2002:adf:eb4e:: with SMTP id u14mr12711034wrn.168.1560430909144; Thu, 13 Jun 2019 06:01:49 -0700 (PDT) Received: from ruprecht.int.netcope.com ([185.24.237.70]) by smtp.gmail.com with ESMTPSA id w67sm6120139wma.24.2019.06.13.06.01.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jun 2019 06:01:48 -0700 (PDT) From: Rastislav Cernay X-Google-Original-From: Rastislav Cernay To: dev@dpdk.org Cc: cernay@netcope.com, remes@netcope.com Date: Thu, 13 Jun 2019 15:01:46 +0200 Message-Id: <1560430906-65172-1-git-send-email-cernay@netcope.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH] net/szedata2: add Silicom Mango support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Rastislav Cernay Add support for Silicom FB2CGG3 smart NIC Signed-off-by: Rastislav Cernay --- drivers/net/szedata2/rte_eth_szedata2.c | 8 ++++++++ drivers/net/szedata2/rte_eth_szedata2.h | 3 +++ 2 files changed, 11 insertions(+) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net/szedata2/rte_eth_szedata2.c index 99de9f4..0e9da47 100644 --- a/drivers/net/szedata2/rte_eth_szedata2.c +++ b/drivers/net/szedata2/rte_eth_szedata2.c @@ -1569,6 +1569,14 @@ struct szedata2_tx_queue { PCI_DEVICE_ID_NETCOPE_NFB200G2QL) }, { + RTE_PCI_DEVICE(PCI_VENDOR_ID_SILICOM, + PCI_DEVICE_ID_FB2CGG3) + }, + { + RTE_PCI_DEVICE(PCI_VENDOR_ID_SILICOM, + PCI_DEVICE_ID_FB2CGG3D) + }, + { .vendor_id = 0, } }; diff --git a/drivers/net/szedata2/rte_eth_szedata2.h b/drivers/net/szedata2/rte_eth_szedata2.h index 26a82b3..6453ea0 100644 --- a/drivers/net/szedata2/rte_eth_szedata2.h +++ b/drivers/net/szedata2/rte_eth_szedata2.h @@ -13,12 +13,15 @@ /* PCI Vendor ID */ #define PCI_VENDOR_ID_NETCOPE 0x1b26 +#define PCI_VENDOR_ID_SILICOM 0x1c2c /* PCI Device IDs */ #define PCI_DEVICE_ID_NETCOPE_COMBO80G 0xcb80 #define PCI_DEVICE_ID_NETCOPE_COMBO100G 0xc1c1 #define PCI_DEVICE_ID_NETCOPE_COMBO100G2 0xc2c1 #define PCI_DEVICE_ID_NETCOPE_NFB200G2QL 0xc250 +#define PCI_DEVICE_ID_FB2CGG3 0x00d0 +#define PCI_DEVICE_ID_FB2CGG3D 0xc240 /* szedata2_packet header length == 4 bytes == 2B segment size + 2B hw size */ #define RTE_SZE2_PACKET_HEADER_SIZE 4 -- 1.8.3.1