[dpdk-dev] [PATCH 3/3] port: code clean-up

2016-04-01 Thread Thomas Monjalon
2016-04-01 14:41, Fan Zhang: > --- a/mk/rte.app.mk > +++ b/mk/rte.app.mk > @@ -92,9 +92,7 @@ endif > ifeq ($(CONFIG_RTE_LIBRTE_VHOST_USER),n) > _LDLIBS-$(CONFIG_RTE_LIBRTE_VHOST) += -lfuse > endif > -ifeq ($(CONFIG_RTE_NEXT_ABI),y) > _LDLIBS-$(CONFIG_RTE_PORT_PCAP) += -lpca

[dpdk-dev] [PATCH 3/3] port: code clean-up

2016-04-01 Thread Zhang, Roy Fan
Hi Thomas, The reason for removing RTE_NEXT_ABI here is caused by sink port, which is not wrapped by RTE_NEXT_ABI macro. If the user disable RTE_NEXT_ABI but enable RTE_PORT_PCAP, the original code will cause the compile error as pcap library is missing. Regards, Fan On 01/04/2016 14:56, Thoma

[dpdk-dev] [PATCH 3/3] port: code clean-up

2016-04-01 Thread Fan Zhang
This patch clean-up the code in librte_port. The clean-up includes the following: * Clearer error message display. * Remove unnecessary RTE_NEXT_ABI macro warping. * Remove __rte_unused attribute Signed-off-by: Fan Zhang Acked-by: Cristian Dumitrescu --- lib/librte_port/Makefile

[dpdk-dev] [PATCH 3/3] port: code clean-up

2016-04-01 Thread Zhang, Roy Fan
- From: Thomas Monjalon [mailto:thomas.monja...@6wind.com] Sent: Friday, April 1, 2016 2:56 PM To: Zhang, Roy Fan Cc: dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH 3/3] port: code clean-up 2016-04-01 14:41, Fan Zhang: > --- a/mk/rte.app.mk > +++ b/mk/rte.app.mk > @@ -92,9 +92,7 @@ endi