net/nfp: fix assigning port id in mbuf
authorAlejandro Lucero <alejandro.lucero@netronome.com>
Thu, 22 Feb 2018 11:13:48 +0000 (11:13 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:43 +0000 (14:08 +0200)
commitca7d716b3ad74529fa331f2cfb45716241124b27
tree32300d81e0bdbbcf0bc50cde83ed5b68f3856151
parent3b39cc76d9b4ed6fdcc42695336051da187cc875
net/nfp: fix assigning port id in mbuf

Although this can be done by the app, because other PMDs are doing it,
apps expect this behaviour from the PMD.

Fixes: b812daadad0d ("nfp: add Rx and Tx")
Cc: stable@dpdk.org
Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
drivers/net/nfp/nfp_net.c