[PATCH v2 2/6] app/procinfo: add RSS RETA dump

Stephen Hemminger stephen at networkplumber.org
Tue Sep 20 17:24:05 CEST 2022


On Tue, 20 Sep 2022 18:51:43 +0800
Dongdong Liu <liudongdong3 at huawei.com> wrote:

> +		ret = rte_eth_dev_info_get(id, &dev_info);
> +		if (ret < 0) {
> +			printf("Error getting device info, ret = %d\n", ret);

Proc-info should be showing all errors on stderr, not stdout.
And in case of error should exit with non-zero status.

But this maybe a generic problem in lots of places in the application.


More information about the dev mailing list