e0474b94f8
'rte_eth_dev_get_port_by_name()' return value is not checked caught by coverity, adding return value check. Coverity issue: 305853 Fixes: 96cb19521147 ("net/ring: use EAL APIs in PMD specific API") Cc: stable@dpdk.org Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>