test: refactor packet mmap test to add tx ring.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
Merge pull request #24 from eroullit/pkt-mmap-test

Refactor packet mmap test to add tx ring.