[dpdk-test-report] |FAILURE| pw65376[v5, 4/5] drivers: use mlx5 debug flag instead of NDEBUG

sys_stv at intel.com sys_stv at intel.com
Tue Feb 18 03:05:57 CET 2020


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/65376

_apply issues_

Submitter: Alexander Kozyrev <akozyrev at mellanox.com>
Date: 2020-01-30 16:14:39
Reply_mail: 1580400880-96628-5-git-send-email-akozyrev at mellanox.com
DPDK git baseline:
	Repo:dpdk-next-net-mlx, CommitID: 914397d6c1141235b48ca60249221976e9e08feb
	Repo:dpdk, CommitID: bc3282125b72ccfe8641f0826955a384f40ca775

*Repo: dpdk-next-net-mlx
CFLAGS += -Wno-error=cast-qual -DNDEBUG -UPEDANTIC

EXPORT_MAP := rte_common_mlx5_version.map


error: patch failed: drivers/common/mlx5/Makefile:45
error: drivers/common/mlx5/Makefile: patch does not apply
Checking patch drivers/common/mlx5/meson.build...
error: while searching for:
		endif
	endforeach
--
		cflags += [ '-DNDEBUG', '-UPEDANTIC' ]
	endif
	# To maintain the compatibility with the make build system
	# mlx5_autoconf.h file is still generated.

error: patch failed: drivers/common/mlx5/meson.build:60
error: drivers/common/mlx5/meson.build: patch does not apply
Checking patch drivers/common/mlx5/mlx5_common.c...
error: while searching for:
	}
	mlx5_glue = *sym;
--
#ifndef NDEBUG
	/* Glue structure must not contain any NULL pointers. */
	{
		unsigned int i;

error: patch failed: drivers/common/mlx5/mlx5_common.c:304
error: drivers/common/mlx5/mlx5_common.c: patch does not apply
Checking patch drivers/common/mlx5/mlx5_common.h...
error: while searching for:
		RTE_FMT_TAIL(__VA_ARGS__,)))

--
#ifndef NDEBUG

#define PMD_DRV_LOG__(level, type, name, ...) \
	PMD_DRV_LOG___(level, type, name, "%s:%u: %s(): " __VA_ARGS__)

error: patch failed: drivers/common/mlx5/mlx5_common.h:75
error: drivers/common/mlx5/mlx5_common.h: patch does not apply
Checking patch drivers/common/mlx5/mlx5_nl.c...
error: while searching for:
				rte_errno = ENOMEM;
				return -rte_errno;
--
#ifndef NDEBUG
			char m[18];

			rte_ether_format_addr(m, 18, RTA_DATA(attribute));

error: patch failed: drivers/common/mlx5/mlx5_nl.c:418
error: drivers/common/mlx5/mlx5_nl.c: patch does not apply
Checking patch drivers/net/mlx5/Makefile...
error: while searching for:

# User-defined CFLAGS.
--
CFLAGS += -DNDEBUG -UPEDANTIC
endif

include $(RTE_SDK)/mk/rte.lib.mk

error: patch failed: drivers/net/mlx5/Makefile:67
error: drivers/net/mlx5/Makefile: patch does not apply
Checking patch drivers/net/mlx5/meson.build...
error: while searching for:
	endif
endforeach
--
	cflags += [ '-pedantic', '-UNDEBUG', '-DPEDANTIC' ]
else
	cflags += [ '-DNDEBUG', '-UPEDANTIC' ]
endif

error: patch failed: drivers/net/mlx5/meson.build:49
error: drivers/net/mlx5/meson.build: patch does not apply
Checking patch drivers/net/mlx5/mlx5.c...
error: while searching for:
mlx5_free_shared_ibctx(struct mlx5_ibv_shared *sh)
{
--
#ifndef NDEBUG
	/* Check the object presence in the list. */
	struct mlx5_ibv_shared *lctx;


error: patch failed: drivers/net/mlx5/mlx5.c:661
error: drivers/net/mlx5/mlx5.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_flow_dv.c...
error: while searching for:
	return dev_flow;
}
--
#ifndef NDEBUG
/**
 * Sanity check for match mask and value. Similar to check_valid_spec() in
 * kernel driver. If unmasked bit is present in value, it returns failure.

error: patch failed: drivers/net/mlx5/mlx5_flow_dv.c:5118
error: drivers/net/mlx5/mlx5_flow_dv.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_mr.c...
error: while searching for:
void
mlx5_mr_btree_dump(struct mlx5_mr_btree *bt __rte_unused)
--
#ifndef NDEBUG
	int idx;
	struct mlx5_mr_cache *lkp_tbl;


error: patch failed: drivers/net/mlx5/mlx5_mr.c:241
error: drivers/net/mlx5/mlx5_mr.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_rxtx.c...
error: while searching for:
		last->cseg.flags = RTE_BE32(MLX5_COMP_ALWAYS <<
					    MLX5_COMP_MODE_OFFSET);
--
					(last->cseg.opcode >> 8) << 16;
#endif
		/* A CQE slot must always be available. */
		assert((txq->cq_pi - txq->cq_ci) <= txq->cqe_s);

error: patch failed: drivers/net/mlx5/mlx5_rxtx.c:2185
error: drivers/net/mlx5/mlx5_rxtx.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_rxtx.h...
error: while searching for:
	struct mlx5_mr_ctrl mr_ctrl; /* MR control descriptor. */
	struct mlx5_wqe *wqes; /* Work queue. */
--
	uint32_t *fcqs; /* Free completion queue (debug extended). */
#endif
	volatile struct mlx5_cqe *cqes; /* Completion queue. */
	volatile uint32_t *qp_db; /* Work queue doorbell. */

error: patch failed: drivers/net/mlx5/mlx5_rxtx.h:300
error: drivers/net/mlx5/mlx5_rxtx.h: patch does not apply
Checking patch drivers/net/mlx5/mlx5_txq.c...
error: while searching for:

		assert(elt != NULL);
--
#ifndef NDEBUG
		/* Poisoning. */
		memset(&(*elts)[elts_tail & elts_m],
		       0x77,

error: patch failed: drivers/net/mlx5/mlx5_txq.c:85
error: drivers/net/mlx5/mlx5_txq.c: patch does not apply
*Repo: dpdk
CFLAGS += -Wno-error=cast-qual -DNDEBUG -UPEDANTIC

EXPORT_MAP := rte_common_mlx5_version.map


error: patch failed: drivers/common/mlx5/Makefile:45
error: drivers/common/mlx5/Makefile: patch does not apply
Checking patch drivers/common/mlx5/meson.build...
error: while searching for:
		endif
	endforeach
--
		cflags += [ '-DNDEBUG', '-UPEDANTIC' ]
	endif
	# To maintain the compatibility with the make build system
	# mlx5_autoconf.h file is still generated.

error: patch failed: drivers/common/mlx5/meson.build:60
error: drivers/common/mlx5/meson.build: patch does not apply
Checking patch drivers/common/mlx5/mlx5_common.c...
error: while searching for:
	}
	mlx5_glue = *sym;
--
#ifndef NDEBUG
	/* Glue structure must not contain any NULL pointers. */
	{
		unsigned int i;

error: patch failed: drivers/common/mlx5/mlx5_common.c:304
error: drivers/common/mlx5/mlx5_common.c: patch does not apply
Checking patch drivers/common/mlx5/mlx5_common.h...
error: while searching for:
		RTE_FMT_TAIL(__VA_ARGS__,)))

--
#ifndef NDEBUG

#define PMD_DRV_LOG__(level, type, name, ...) \
	PMD_DRV_LOG___(level, type, name, "%s:%u: %s(): " __VA_ARGS__)

error: patch failed: drivers/common/mlx5/mlx5_common.h:75
error: drivers/common/mlx5/mlx5_common.h: patch does not apply
Checking patch drivers/common/mlx5/mlx5_nl.c...
error: while searching for:
				rte_errno = ENOMEM;
				return -rte_errno;
--
#ifndef NDEBUG
			char m[18];

			rte_ether_format_addr(m, 18, RTA_DATA(attribute));

error: patch failed: drivers/common/mlx5/mlx5_nl.c:418
error: drivers/common/mlx5/mlx5_nl.c: patch does not apply
Checking patch drivers/net/mlx5/Makefile...
error: while searching for:

# User-defined CFLAGS.
--
CFLAGS += -DNDEBUG -UPEDANTIC
endif

include $(RTE_SDK)/mk/rte.lib.mk

error: patch failed: drivers/net/mlx5/Makefile:67
error: drivers/net/mlx5/Makefile: patch does not apply
Checking patch drivers/net/mlx5/meson.build...
error: while searching for:
	endif
endforeach
--
	cflags += [ '-pedantic', '-UNDEBUG', '-DPEDANTIC' ]
else
	cflags += [ '-DNDEBUG', '-UPEDANTIC' ]
endif

error: patch failed: drivers/net/mlx5/meson.build:49
error: drivers/net/mlx5/meson.build: patch does not apply
Checking patch drivers/net/mlx5/mlx5.c...
error: while searching for:
mlx5_free_shared_ibctx(struct mlx5_ibv_shared *sh)
{
--
#ifndef NDEBUG
	/* Check the object presence in the list. */
	struct mlx5_ibv_shared *lctx;


error: patch failed: drivers/net/mlx5/mlx5.c:661
error: drivers/net/mlx5/mlx5.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_flow_dv.c...
error: while searching for:
	return dev_flow;
}
--
#ifndef NDEBUG
/**
 * Sanity check for match mask and value. Similar to check_valid_spec() in
 * kernel driver. If unmasked bit is present in value, it returns failure.

error: patch failed: drivers/net/mlx5/mlx5_flow_dv.c:5118
error: drivers/net/mlx5/mlx5_flow_dv.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_mr.c...
error: while searching for:
void
mlx5_mr_btree_dump(struct mlx5_mr_btree *bt __rte_unused)
--
#ifndef NDEBUG
	int idx;
	struct mlx5_mr_cache *lkp_tbl;


error: patch failed: drivers/net/mlx5/mlx5_mr.c:241
error: drivers/net/mlx5/mlx5_mr.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_rxtx.c...
error: while searching for:
		last->cseg.flags = RTE_BE32(MLX5_COMP_ALWAYS <<
					    MLX5_COMP_MODE_OFFSET);
--
					(last->cseg.opcode >> 8) << 16;
#endif
		/* A CQE slot must always be available. */
		assert((txq->cq_pi - txq->cq_ci) <= txq->cqe_s);

error: patch failed: drivers/net/mlx5/mlx5_rxtx.c:2185
error: drivers/net/mlx5/mlx5_rxtx.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_rxtx.h...
error: while searching for:
	struct mlx5_mr_ctrl mr_ctrl; /* MR control descriptor. */
	struct mlx5_wqe *wqes; /* Work queue. */
--
	uint32_t *fcqs; /* Free completion queue (debug extended). */
#endif
	volatile struct mlx5_cqe *cqes; /* Completion queue. */
	volatile uint32_t *qp_db; /* Work queue doorbell. */

error: patch failed: drivers/net/mlx5/mlx5_rxtx.h:300
error: drivers/net/mlx5/mlx5_rxtx.h: patch does not apply
Checking patch drivers/net/mlx5/mlx5_txq.c...
error: while searching for:

		assert(elt != NULL);
--
#ifndef NDEBUG
		/* Poisoning. */
		memset(&(*elts)[elts_tail & elts_m],
		       0x77,

error: patch failed: drivers/net/mlx5/mlx5_txq.c:85
error: drivers/net/mlx5/mlx5_txq.c: patch does not apply

DPDK STV team


More information about the test-report mailing list