net/thunderx/base: add statistics