net/octeontx2: add basic stats operation