On Mon, Nov 2, 2020 at 3:40 PM Aaron Conole <[email protected]> wrote:
> > diff --git a/lib/dpdk.c b/lib/dpdk.c
> > index 319540394b..7d3c0637c9 100644
> > --- a/lib/dpdk.c
> > +++ b/lib/dpdk.c
> > @@ -14,6 +14,10 @@
> >   * limitations under the License.
> >   */
> >
> > +#ifndef ALLOW_EXPERIMENTAL_API
> > +#define ALLOW_EXPERIMENTAL_API
> > +#endif
> > +
>
> We already have a #define for this in netdev-dpdk.c, maybe we should
> follow that (and also, possibly combine them).
>
> Just a quick nit.

- In the dpdk-latest branch, there is no trace of ALLOW_EXPERIMENTAL_API since:
https://github.com/openvswitch/ovs/commit/0730d7786a40d80a45c8d587ebfdd92ceb4b689d

On the why the check on already defined ALLOW_EXPERIMENTAL_API, this
is because I added a job with it enabled to catch potential build
issues.


- About combining (I'd say dpdk.h would be the best location), I am not sure.
I like turning this knob on only when needed.


-- 
David Marchand

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to