ethpipe.c: support multi cards in kernel driver