tb_nvm_validate
ret = tb_nvm_validate(rt->nvm);
ret = tb_nvm_validate(sw->nvm);
int tb_nvm_validate(struct tb_nvm *nvm);