On 1/15/2018 5:11 PM, Jerin Jacob wrote:

+int
+rte_mbuf_register_platform_mempool_ops(const char *ops_name)
+{

Should we also check the following?

if (internal_config.plat_mbuf_pool_ops_name != NULL &&
strncmp(internal_config.plat_mbuf_pool_ops_name, ops_name, ..) == 0)
        return 0;

i.e avoid returning error if the same the driver but another
instance(different ethdev port) updates the same ops_name value.


No, there shall be only one default platform hw pool name.
Any ethdev driven (may be weight based) replacement shall be dealt separately.

Reply via email to