From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8CF33A04B1; Tue, 25 Aug 2020 21:06:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 37F7EDE3; Tue, 25 Aug 2020 21:06:03 +0200 (CEST) Received: from mail-oi1-f194.google.com (mail-oi1-f194.google.com [209.85.167.194]) by dpdk.org (Postfix) with ESMTP id 03275B62 for ; Tue, 25 Aug 2020 21:06:01 +0200 (CEST) Received: by mail-oi1-f194.google.com with SMTP id e6so12627545oii.4 for ; Tue, 25 Aug 2020 12:06:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ob14r6TCp6v/NYOqn4RZ6bqNW8O0Ha3CD4dCuwDWzOk=; b=dHXMntNKFEVUUEb208s89xtv+iMZfzqusIKlrQhF7SDizbu4flTugCzMEaIwEAeHko KNFA2XFVPZFiPOoIiegdhYVKhwbGfJoT6jXZshHsWunwqgtD9fSm8YT2x6NGdTiGRgBk 8XuTWmbB+uUjKrogDp2P9tTDXDMLNf0e3hmJ4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ob14r6TCp6v/NYOqn4RZ6bqNW8O0Ha3CD4dCuwDWzOk=; b=j/yL4AsKtamReDCBuUvPeOjQkFQlxYG/OBK9RmlqNuqJQa/5CAFT22RVjdRqMd7DEh cza6Sgpqu8jA/kh79jcFoC75VcLvRt2QJl9V/S89nuJLK7itel+u5wZtVV4gcQQs89np YBxG2gAb4w7d3LDQOwzBexeIQJ57u3RBJyqILog7FveMOkmiqrexbgiRWC6kKXvGPyXC FsnARM2lEDOQ4UZe6jnQY/7yVO74cfxK7GWhwB0fnrSw6/QU984mS+FtrgP5jyvjGs0b RBspHxOXbZSSgd378ia7tfirSXhWoEqYdAeg33JDxM8NCpSih5EgZtGBvfXV+u98QY2A A/ng== X-Gm-Message-State: AOAM530TR5SxPG8Nu/nHsESmxOHUCoC9WeeiaaYo+cfCPHrHQMSY/Yzi EZE5mA40bYpEypn9npReDufaDrMuLJuJxsZ2rVMBXA== X-Google-Smtp-Source: ABdhPJz6VU1+XN+HAttm14OD+h7YeSgisKnopB81gtwMGFcvqaRnlLC7oqfBYS7i1ktuUnatfER/2GlbGawndEHQ6fo= X-Received: by 2002:a54:4f85:: with SMTP id g5mr1859777oiy.27.1598382361074; Tue, 25 Aug 2020 12:06:01 -0700 (PDT) MIME-Version: 1.0 References: <1597401092-13713-1-git-send-email-juraj.linkes@pantheon.tech> <1598360684-8975-1-git-send-email-juraj.linkes@pantheon.tech> <1598360684-8975-2-git-send-email-juraj.linkes@pantheon.tech> In-Reply-To: <1598360684-8975-2-git-send-email-juraj.linkes@pantheon.tech> From: Ajit Khaparde Date: Tue, 25 Aug 2020 12:05:45 -0700 Message-ID: To: =?UTF-8?Q?Juraj_Linke=C5=A1?= Cc: Bruce Richardson , Aaron Conole , maicolgabriel@hotmail.com, dpdk-dev , Ruifeng Wang Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v8 1/5] net/bnxt: add support for aarch32 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" On Tue, Aug 25, 2020 at 6:04 AM Juraj Linke=C5=A1 wrote: > From: Ruifeng Wang > > Expand vector PMD support to aarch32. > > Signed-off-by: Ruifeng Wang > Acked-by: Ajit Khaparde > --- > drivers/net/bnxt/bnxt_rxq.h | 2 +- > drivers/net/bnxt/bnxt_rxr.h | 2 +- > drivers/net/bnxt/bnxt_txr.h | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/net/bnxt/bnxt_rxq.h b/drivers/net/bnxt/bnxt_rxq.h > index d5ce3b6d5..1c4027711 100644 > --- a/drivers/net/bnxt/bnxt_rxq.h > +++ b/drivers/net/bnxt/bnxt_rxq.h > @@ -22,7 +22,7 @@ struct bnxt_rx_queue { > uint16_t nb_rx_hold; /* num held free RX desc */ > uint16_t rx_free_thresh; /* max free RX desc to > hold */ > uint16_t queue_id; /* RX queue index */ > -#if defined(RTE_ARCH_X86) || defined(RTE_ARCH_ARM64) > +#if defined(RTE_ARCH_X86) || defined(RTE_ARCH_ARM64) || > defined(RTE_ARCH_ARM) > uint16_t rxrearm_nb; /* number of descs to reinit. > */ > uint16_t rxrearm_start; /* next desc index to > reinit. */ > #endif > diff --git a/drivers/net/bnxt/bnxt_rxr.h b/drivers/net/bnxt/bnxt_rxr.h > index 2bf46cd91..e2fba1647 100644 > --- a/drivers/net/bnxt/bnxt_rxr.h > +++ b/drivers/net/bnxt/bnxt_rxr.h > @@ -221,7 +221,7 @@ int bnxt_init_one_rx_ring(struct bnxt_rx_queue *rxq); > int bnxt_rx_queue_start(struct rte_eth_dev *dev, uint16_t rx_queue_id); > int bnxt_rx_queue_stop(struct rte_eth_dev *dev, uint16_t rx_queue_id); > > -#if defined(RTE_ARCH_X86) || defined(RTE_ARCH_ARM64) > +#if defined(RTE_ARCH_X86) || defined(RTE_ARCH_ARM64) || > defined(RTE_ARCH_ARM) > uint16_t bnxt_recv_pkts_vec(void *rx_queue, struct rte_mbuf **rx_pkts, > uint16_t nb_pkts); > int bnxt_rxq_vec_setup(struct bnxt_rx_queue *rxq); > diff --git a/drivers/net/bnxt/bnxt_txr.h b/drivers/net/bnxt/bnxt_txr.h > index 7715c11b8..38e5ac9df 100644 > --- a/drivers/net/bnxt/bnxt_txr.h > +++ b/drivers/net/bnxt/bnxt_txr.h > @@ -59,7 +59,7 @@ uint16_t bnxt_xmit_pkts(void *tx_queue, struct rte_mbuf > **tx_pkts, > uint16_t nb_pkts); > uint16_t bnxt_dummy_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, > uint16_t nb_pkts); > -#if defined(RTE_ARCH_X86) || defined(RTE_ARCH_ARM64) > +#if defined(RTE_ARCH_X86) || defined(RTE_ARCH_ARM64) || > defined(RTE_ARCH_ARM) > uint16_t bnxt_xmit_pkts_vec(void *tx_queue, struct rte_mbuf **tx_pkts, > uint16_t nb_pkts); > #endif > -- > 2.20.1 > >