enic: fix port id in received mbufs
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Tue, 14 Apr 2015 14:23:55 +0000 (16:23 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 20 Apr 2015 13:21:31 +0000 (15:21 +0200)
commit2c46f7ffe1ae0e6973c06c22c1385ac684003f83
treee411a7fdbbc1895c147e38b91b631c417f9a9e3e
parentf12f13f2f67d26029eaccae15b92561e3554af3a
enic: fix port id in received mbufs

This field is not supposed to contain the RX queue index. Applications can
rely on it to determine the port a given mbuf comes from.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Sujith Sankar <ssujith@cisco.com>
lib/librte_pmd_enic/enic.h
lib/librte_pmd_enic/enic_ethdev.c
lib/librte_pmd_enic/enic_main.c