Re: [PATCH v2 1/3] lib/librte_port: enable file descriptor port support
flat view
From: Dumitrescu, Cristian <hidden>
Date: 2016-10-12 20:44:08
-----Original Message----- From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] Sent: Wednesday, October 12, 2016 9:33 PM To: Singh, Jasvinder <redacted> Cc: dev@dpdk.org; Dumitrescu, Cristian <redacted> Subject: Re: [dpdk-dev] [PATCH v2 1/3] lib/librte_port: enable file descriptor port support 2016-09-04 15:38, Jasvinder Singh:quoted
+#define RTE_PORT_FD_READER_STATS_PKTS_IN_ADD(port, val) \ + do { port->stats.n_pkts_in += val } while (0) +#define RTE_PORT_FD_READER_STATS_PKTS_DROP_ADD(port, val) \ + do { port->stats.n_pkts_drop += val } while (0) +It does not compile because of missing ;quoted
+ * Copyright(c) 2010-2014 Intel Corporation. All rights reserved.The years seem outdated.
Will fix immediately.
This patchset was probably not tested as it does not compile. And it could be useless if a TAP PMD is integrated. I suggest to wait 17.02 cycle and see.
This patch was tested by me and Jasvinder as well and it works brilliantly. We did not enable stats when testing, will sort out the missing semicolon issue in the stats macros and resend v3 asap. This is a trivial issue, no need to wait for 17.02. This is not conflicting with TAP PMD, and as said the scope of this supersedes the TAP PMD.