[PATCH v1 12/14] net/zxdh: delete all hash entries

Stephen Hemminger stephen at networkplumber.org
Mon Feb 10 18:47:26 CET 2025


On Mon, 10 Feb 2025 09:50:15 +0800
Bingbin Chen <chen.bingbin at zte.com.cn> wrote:

> +#define ZXDH_COMM_CHECK_POINT_MEMORY_FREE2PTR(point, ptr0, ptr1)\
> +do {\
> +	if ((point) == NULL) {\
> +		PMD_DRV_LOG(ERR, " ZXDH %s:%d[Error:POINT NULL] ! FUNCTION"\
> +		": %s!", __FILE__, __LINE__, __func__);\
> +		rte_free(ptr0);\
> +		rte_free(ptr1);\
> +		RTE_ASSERT(0);\

Again, PMD_DRV_LOG already puts function name in, and making louder
by SCREAMING UPPER CASE won't fix the problem


More information about the dev mailing list