X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fsfc%2Fsfc.c;h=22141c60373b6fd4acb469bed17b02e17b1251ec;hb=df64eadd29235b55707e34e0dbb6628ff25d7792;hp=88228ae824472bfef18d3c76de1204132a277e96;hpb=f7637d4d555321803ce71f70475ede5230369782;p=dpdk.git diff --git a/drivers/net/sfc/sfc.c b/drivers/net/sfc/sfc.c index 88228ae824..22141c6037 100644 --- a/drivers/net/sfc/sfc.c +++ b/drivers/net/sfc/sfc.c @@ -417,15 +417,15 @@ sfc_configure(struct sfc_adapter *sa) if (rc != 0) goto fail_rx_configure; - rc = sfc_tx_init(sa); + rc = sfc_tx_configure(sa); if (rc != 0) - goto fail_tx_init; + goto fail_tx_configure; sa->state = SFC_ADAPTER_CONFIGURED; sfc_log_init(sa, "done"); return 0; -fail_tx_init: +fail_tx_configure: sfc_rx_close(sa); fail_rx_configure: @@ -451,7 +451,7 @@ sfc_close(struct sfc_adapter *sa) SFC_ASSERT(sa->state == SFC_ADAPTER_CONFIGURED); sa->state = SFC_ADAPTER_CLOSING; - sfc_tx_fini(sa); + sfc_tx_close(sa); sfc_rx_close(sa); sfc_port_close(sa); sfc_intr_close(sa);