[dpdk-dev] [PATCH v15 02/12] librte_pcapng: add new library for writing pcapng files

Stephen Hemminger stephen at networkplumber.org
Fri Oct 29 21:55:24 CEST 2021


On Fri, 29 Oct 2021 18:50:57 +0100
Ferruh Yigit <ferruh.yigit at intel.com> wrote:

> On 10/20/2021 10:42 PM, Stephen Hemminger wrote:
> > +	/* DPDK reports in units of Mbps */
> > +	rte_eth_link_get(port, &link);
> > +	if (link.link_status == ETH_LINK_UP)  
> 
> Should use renamed 'RTE_ETH_LINK_UP' macro with RTE_ prefix.

Sure, that wasn't there when this was first written.
Should we deprecate old one?


More information about the dev mailing list