|WARNING| pw122298-122301 [PATCH v2 1/4] common/cnxk: restructure for cn10k datapath

qemudev at loongson.cn qemudev at loongson.cn
Wed Jan 18 11:31:15 CET 2023


Test-Label: loongarch-compilation
Test-Status: WARNING
http://dpdk.org/patch/122298

_apply patch failure_

Submitter: Rahul Bhansali <rbhansali at marvell.com>
Date: Wed, 18 Jan 2023 15:56:59 +0530
DPDK git baseline: Repo:dpdk
  Branch: main
  CommitID: 83397b9f073904438965e1fda2efe76f7850fe01

Apply patch set 122298-122301 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...



More information about the test-report mailing list