app/testpmd: add hash configuration