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 35005A04E6; Wed, 9 Dec 2020 15:00:06 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 16698C970; Wed, 9 Dec 2020 15:00:05 +0100 (CET) Received: from mail-oi1-f196.google.com (mail-oi1-f196.google.com [209.85.167.196]) by dpdk.org (Postfix) with ESMTP id 202A7C96E for ; Wed, 9 Dec 2020 15:00:02 +0100 (CET) Received: by mail-oi1-f196.google.com with SMTP id d27so1808399oic.0 for ; Wed, 09 Dec 2020 06:00:02 -0800 (PST) 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=0W9Mh1tLfFeLLDbWx8nOPvtNVrtyr3wCegOKK3ZSNRA=; b=YapfYNhXaT1luWdDNdn5Vvlw9dw0alVrkNvfZUHBKOSW4uhegatBdWEG9POIu6ng0k Tn7+O5AaerGlxTyVjzVMdmfEwjSPf2hnf7Jaqu4PD0qK1NhPhM735Pd4Xef4SWwf0WYs CVzBaDHvJ2iDJ6NVq7pXtqUNF0g5PO8IQGKOM= 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=0W9Mh1tLfFeLLDbWx8nOPvtNVrtyr3wCegOKK3ZSNRA=; b=fUiUrDek3IWAl9eHWrkkbilxDnPttENPh6pzsViMhneGBSBw5MYMohyh4bKaUrcbiO J9swPIbjou0Wsw7YHUuYyako/YjjSzElqQG5xEkcYjljXlB4vxibfKRChahG1WT6LPRK d0wNZ9u08KDgmLgb1IN88eDxZ8GkI0rRm3SXEo3x5SCq0y1TXAVBSGrUiClhUUOyMimr nIvyNCMkjsnRWAL215L81hOdSo4zt3s57iScs8CNLbvjcuBRNo9Zp3q/+/lWGArIUzyu CrI2xyBlfHbvGSDOWMX8q0ALtu9h2fFvr5hIoX1FgpxIt773JE9SJPdDCfA692SAuzJJ Ay1g== X-Gm-Message-State: AOAM531dS0Vri35fo0sRecpBm/pj8Ge8uxxPCLRdGxM7A5PUIfnABUbe hldimOPiBczDXRrVfVlaaKYkOnNaaziavUU+BIzZF77n6BKaid/6+i4I/nlScVV1s0KhohjZOry IdpT4aMB8og== X-Google-Smtp-Source: ABdhPJy7BLCTeXRgrbsqsid9Voa929DXG0D9U2xcUs4qCHUlFotPJoMxkDjYzqJhItntcc7YB3WWqWTUOTQl1+qgNds= X-Received: by 2002:aca:dc85:: with SMTP id t127mr1804186oig.19.1607522400296; Wed, 09 Dec 2020 06:00:00 -0800 (PST) MIME-Version: 1.0 References: <1600244472-29696-1-git-send-email-juraj.linkes@pantheon.tech> <1607518771-7564-1-git-send-email-juraj.linkes@pantheon.tech> <1607518771-7564-4-git-send-email-juraj.linkes@pantheon.tech> In-Reply-To: <1607518771-7564-4-git-send-email-juraj.linkes@pantheon.tech> From: Lance Richardson Date: Wed, 9 Dec 2020 08:59:49 -0500 Message-ID: To: =?UTF-8?Q?Juraj_Linke=C5=A1?= Cc: Thomas Monjalon , Bruce Richardson , aconole@redhat.com, maicolgabriel@hotmail.com, dev@dpdk.org, 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 v11 3/7] 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 Wed, Dec 9, 2020 at 8:00 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 c72105cf0..199bf976e 100644 > --- a/drivers/net/bnxt/bnxt_rxq.h > +++ b/drivers/net/bnxt/bnxt_rxq.h > @@ -21,7 +21,7 @@ struct bnxt_rx_queue { > uint16_t nb_rx_desc; /* num of RX desc */ > uint16_t rx_free_thresh; /* max free RX desc to ho= ld */ > 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 rein= it. */ > #endif > diff --git a/drivers/net/bnxt/bnxt_rxr.h b/drivers/net/bnxt/bnxt_rxr.h > index 3fc901fdf..dcc07c713 100644 > --- a/drivers/net/bnxt/bnxt_rxr.h > +++ b/drivers/net/bnxt/bnxt_rxr.h > @@ -83,7 +83,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 3dfc8ef9b..3a47c3db7 100644 > --- a/drivers/net/bnxt/bnxt_txr.h > +++ b/drivers/net/bnxt/bnxt_txr.h > @@ -49,7 +49,7 @@ int bnxt_init_one_tx_ring(struct bnxt_tx_queue *txq); > int bnxt_init_tx_ring_struct(struct bnxt_tx_queue *txq, unsigned int soc= ket_id); > uint16_t bnxt_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 > NAK (still). These changes are pointless since bnxt_rxtx_vec_neon.c cannot be compiled in 32-bit mode. Regards, Lance --=20 This electronic communication and the information and any files transmitted= =20 with it, or attached to it, are confidential and are intended solely for=20 the use of the individual or entity to whom it is addressed and may contain= =20 information that is confidential, legally privileged, protected by privacy= =20 laws, or otherwise restricted from disclosure to anyone else. If you are=20 not the intended recipient or the person responsible for delivering the=20 e-mail to the intended recipient, you are hereby notified that any use,=20 copying, distributing, dissemination, forwarding, printing, or copying of= =20 this e-mail is strictly prohibited. If you received this e-mail in error,= =20 please return the e-mail to the sender, delete it from your computer, and= =20 destroy any printed copy of it.