net/enetc: fix SMMU unhandled context fault
authorGagandeep Singh <g.singh@nxp.com>
Fri, 12 Apr 2019 12:28:54 +0000 (12:28 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 19 Apr 2019 12:51:54 +0000 (14:51 +0200)
commit63c34c299acf53e3fdfb5a9c30af8c9d0b7b6188
tree1b8a247be2ba4615779ef198bffb5108c8e37c51
parentfa45fda8278171fb77e2cc56561294afa1e90c49
net/enetc: fix SMMU unhandled context fault

First configure ring with BDs properly then enable
the ring.

Fixes: 469c6111a799 ("net/enetc: enable Rx and Tx")
Cc: stable@dpdk.org
Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
drivers/net/enetc/enetc_ethdev.c