[PATCH v2 3/3] testpmd: replace EAL logtype TESTPMD_LOG

Stephen Hemminger stephen at networkplumber.org
Fri Mar 8 17:26:31 CET 2024


On Fri, 8 Mar 2024 19:05:32 +0530
"Singh, Aman Deep" <aman.deep.singh at intel.com> wrote:

> >   		if (ret) {
> > -			RTE_LOG(ERR, EAL, "can not get port by device %s!\n",
> > -				device_name);
> > +			fprintf(stderr, "Can not get port by device %s!\n", device_name);  
> 
> Any specific reason to use fprintf() here rather than TESTPMD_LOG

No. Just that was done in earlier version.


More information about the dev mailing list