net/octeontx2: fix VF configuration
authorHarman Kalra <hkalra@marvell.com>
Mon, 2 Dec 2019 14:41:15 +0000 (14:41 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:02 +0000 (19:46 +0100)
commitd059dba51d7c9b7ba13c20fc5070a329a50451ad
tree45c52885ccd26afa49a4109bdffa744b3d9bed64
parent6f26e604a9c3a6527ae9689a42831a20037dc582
net/octeontx2: fix VF configuration

Returning -ENOTSUP only in case loopback mode is enabled and
device is VF or SDP.

Fixes: c2c0aa75cd01 ("net/octeontx2: fix loopback config return for VF")
Cc: stable@dpdk.org
Signed-off-by: Harman Kalra <hkalra@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/octeontx2/otx2_ethdev.c