On 20/03/15 16:42, Zoltan Kiss wrote:
No, I need to allocate all the packets from the pool and preset some fields in the packet metadata area, where OVS store it's ofpbuf structure. Setting it after every receive has a perf penalty. See "netdev-odp: allocate packet metadata in the same buffer as the packet itself" in the previous series. That's where this originally comes from.
Forgot to mention: this is something DPDK has facility for, you can add initializer functions for the buffer pool create function there. We discussed with Bill that something like that would be good for ODP.
_______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
