Flavio, Thanks for these questions.
Flavio Leitner <f...@sysclose.org> writes: > Hi, > > In order to build the Fedora RPM with DPDK some changes to the > spec file are required. However, I was told that not all users > want to build with DPDK or even have the DPDK libs installed. It > seems a fair request if you are working with OVS only. I don't know about this being a fair request. From what I can tell, the mere existence of DPDK enabled OVS doesn't _require_ that one is using DPDK interfaces. I haven't seen a performance impact using DPDK enabled OVS. Sounds like irrational fear maybe? > Therefore we have two options. > 1) add the option '--with dpdk' to the current spec file, so > that users that doesn't want DPDK just follow the usual steps > and that's it. DPDK users only need to pass those two arguments > to have the OVS+DPDK RPM files. > > 2) Create another copy of .spec (openvswitch-dpdk.spec?) with DPDK > support enabled. I don't like this approach; have a complete separate spec just for linking with a library seems like not a good approach. Of the two, I like the first more, but I'm still thinking "Are there really folks who care about -ldpdk"? Hopefully they see this message and let me know what I'm not understanding. > Another question is static versus shared linking. > > My opinion is that we should go with (1), shared linked, but I don't > know if it covers all use-cases. I agree - preference is shared linkage. I know this can create a possible issue where DPDK ABI goes out of sync - that will need to be managed carefully. However, I think it's the _right_ approach because in cases where ABI is compatible, it allows really easy upgrading without requiring a complete ovs rebuild. In cases where it isn't... well shared vs. static is a small fish. > Thoughts? > Thanks, > fbl > > > > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev