From: qemudev@loongson.cn
To: test-report@dpdk.org
Cc: Rahul Bhansali <rbhansali@marvell.com>, zhoumin@loongson.cn
Subject: |WARNING| pw122517-122520 [PATCH v3 1/4] common/cnxk: restructure for cn10k datapath
Date: Wed, 25 Jan 2023 19:25:22 +0800 [thread overview]
Message-ID: <202301251125.30PBPMlS821842@localhost.localdomain> (raw)
In-Reply-To: <20230125113126.2860273-1-rbhansali@marvell.com>
Test-Label: loongarch-compilation
Test-Status: WARNING
http://dpdk.org/patch/122517
_apply patch failure_
Submitter: Rahul Bhansali <rbhansali@marvell.com>
Date: Wed, 25 Jan 2023 17:01:23 +0530
DPDK git baseline: Repo:dpdk
Branch: main
CommitID: 2a211079a92e962bbd0ec81e425a6ffc32890e67
Apply patch set 122517-122520 failed:
Checking patch drivers/net/cnxk/cn10k_ethdev.h...
error: while searching for:
#include <cnxk_ethdev.h>
#include <cnxk_security.h>
struct cn10k_eth_txq {
uint64_t send_hdr_w0;
int64_t fc_cache_pkts;
uint64_t *fc_mem;
uintptr_t lmt_base;
rte_iova_t io_addr;
uint16_t sqes_per_sqb_log2;
int16_t nb_sqb_bufs_adj;
rte_iova_t cpt_io_addr;
uint64_t sa_base;
uint64_t *cpt_fc;
uint16_t cpt_desc;
int32_t *cpt_fc_sw;
uint64_t lso_tun_fmt;
uint64_t ts_mem;
uint64_t mark_flag : 8;
uint64_t mark_fmt : 48;
struct cnxk_eth_txq_comp tx_compl;
} __plt_cache_aligned;
struct cn10k_eth_rxq {
uint64_t mbuf_initializer;
uintptr_t desc;
void *lookup_mem;
uintptr_t cq_door;
uint64_t wdata;
int64_t *cq_status;
uint32_t head;
uint32_t qmask;
uint32_t available;
uint16_t data_off;
uint64_t sa_base;
uint64_t lmt_base;
uint64_t meta_aura;
uint16_t rq;
struct cnxk_timesync_info *tstamp;
} __plt_cache_aligned;
/* Private data in sw rsvd area of struct roc_ot_ipsec_inb_sa */
struct cn10k_inb_priv_data {
void *userdata;
int reass_dynfield_off;
int reass_dynflag_bit;
struct cnxk_eth_sec_sess *eth_sec;
};
/* Private data in sw rsvd area of struct roc_ot_ipsec_outb_sa */
struct cn10k_outb_priv_data {
error: patch failed: drivers/net/cnxk/cn10k_ethdev.h:6
error: drivers/net/cnxk/cn10k_ethdev.h: patch does not apply
Checking patch drivers/net/cnxk/cn10k_rx.h...
Checking patch drivers/net/cnxk/cn10k_rxtx.h...
Checking patch drivers/net/cnxk/cn10k_tx.h...
Checking patch drivers/net/cnxk/cnxk_ethdev.h...
error: while searching for:
#define RSS_DMAC_INDEX 5
/* Default mark value used when none is provided. */
#define CNXK_FLOW_ACTION_FLAG_DEFAULT 0xffff
#define CNXK_NIX_MTR_COUNT_MAX 73 /* 64(leaf) + 8(mid) + 1(top) */
/* Default cycle counter mask */
#define CNXK_CYCLECOUNTER_MASK 0xffffffffffffffffULL
#define CNXK_NIX_TIMESYNC_RX_OFFSET 8
#define PTYPE_NON_TUNNEL_WIDTH 16
#define PTYPE_TUNNEL_WIDTH 12
#define PTYPE_NON_TUNNEL_ARRAY_SZ BIT(PTYPE_NON_TUNNEL_WIDTH)
#define PTYPE_TUNNEL_ARRAY_SZ BIT(PTYPE_TUNNEL_WIDTH)
#define PTYPE_ARRAY_SZ \
((PTYPE_NON_TUNNEL_ARRAY_SZ + PTYPE_TUNNEL_ARRAY_SZ) * sizeof(uint16_t))
/* NIX_RX_PARSE_S's ERRCODE + ERRLEV (12 bits) */
#define ERRCODE_ERRLEN_WIDTH 12
#define ERR_ARRAY_SZ ((BIT(ERRCODE_ERRLEN_WIDTH)) * sizeof(uint32_t))
/* Fastpath lookup */
#define CNXK_NIX_FASTPATH_LOOKUP_MEM "cnxk_nix_fastpath_lookup_mem"
#define CNXK_NIX_UDP_TUN_BITMASK \
((1ull << (RTE_MBUF_F_TX_TUNNEL_VXLAN >> 45)) | \
(1ull << (RTE_MBUF_F_TX_TUNNEL_GENEVE >> 45)))
/* Subtype from inline outbound error event */
#define CNXK_ETHDEV_SEC_OUTB_EV_SUB 0xFFUL
/* SPI will be in 20 bits of tag */
#define CNXK_ETHDEV_SPI_TAG_MASK 0xFFFFFUL
#define CNXK_NIX_PFC_CHAN_COUNT 16
#define CNXK_TM_MARK_VLAN_DEI BIT_ULL(0)
#define CNXK_TM_MARK_IP_DSCP BIT_ULL(1)
#define CNXK_TM_MARK_IP_ECN BIT_ULL(2)
#define CNXK_TM_MARK_MASK \
(CNXK_TM_MARK_VLAN_DEI | CNXK_TM_MARK_IP_DSCP | CNXK_TM_MARK_IP_ECN)
#define CNXK_TX_MARK_FMT_MASK (0xFFFFFFFFFFFFull)
struct cnxk_eth_txq_comp {
uintptr_t desc_base;
uintptr_t cq_door;
int64_t *cq_status;
uint64_t wdata;
uint32_t head;
uint32_t qmask;
uint32_t nb_desc_mask;
uint32_t available;
uint32_t sqe_id;
bool ena;
struct rte_mbuf **ptr;
rte_spinlock_t ext_buf_lock;
};
struct cnxk_fc_cfg {
enum rte_eth_fc_mode mode;
uint8_t rx_pause;
error: patch failed: drivers/net/cnxk/cnxk_ethdev.h:111
error: drivers/net/cnxk/cnxk_ethdev.h: patch does not apply
Checking patch drivers/net/cnxk/cnxk_ethdev_dp.h...
Checking patch drivers/net/cnxk/rx/cn10k/rx_0_15.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_0_15_mseg.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_0_15_vec.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_0_15_vec_mseg.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_112_127.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_112_127_mseg.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_112_127_vec.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_112_127_vec_mseg.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_16_31.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_16_31_mseg.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_16_31_vec.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_16_31_vec_mseg.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_32_47.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_32_47_mseg.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_32_47_vec.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_32_47_vec_mseg.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_48_63.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_48_63_mseg.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_48_63_vec.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_48_63_vec_mseg.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_64_79.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_64_79_mseg.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_64_79_vec.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_64_79_vec_mseg.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_80_95.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_80_95_mseg.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_80_95_vec.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_80_95_vec_mseg.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_96_111.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_96_111_mseg.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_96_111_vec.c...
Checking patch drivers/net/cnxk/rx/cn10k/rx_96_111_vec_mseg.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_0_15.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_0_15_mseg.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_0_15_vec.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_0_15_vec_mseg.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_112_127.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_112_127_mseg.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_112_127_vec.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_112_127_vec_mseg.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_16_31.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_16_31_mseg.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_16_31_vec.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_16_31_vec_mseg.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_32_47.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_32_47_mseg.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_32_47_vec.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_32_47_vec_mseg.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_48_63.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_48_63_mseg.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_48_63_vec.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_48_63_vec_mseg.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_64_79.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_64_79_mseg.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_64_79_vec.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_64_79_vec_mseg.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_80_95.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_80_95_mseg.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_80_95_vec.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_80_95_vec_mseg.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_96_111.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_96_111_mseg.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_96_111_vec.c...
Checking patch drivers/net/cnxk/tx/cn10k/tx_96_111_vec_mseg.c...
next parent reply other threads:[~2023-01-25 11:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20230125113126.2860273-1-rbhansali@marvell.com>
2023-01-25 11:25 ` qemudev [this message]
2023-01-25 11:33 ` |WARNING| pw122517 " checkpatch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202301251125.30PBPMlS821842@localhost.localdomain \
--to=qemudev@loongson.cn \
--cc=rbhansali@marvell.com \
--cc=test-report@dpdk.org \
--cc=zhoumin@loongson.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).