net/sfc: clarify Rx subsystem configure/close function names
[dpdk.git] / drivers / net / sfc / sfc.c
index 8da7879..88228ae 100644 (file)
@@ -413,9 +413,9 @@ sfc_configure(struct sfc_adapter *sa)
        if (rc != 0)
                goto fail_port_configure;
 
-       rc = sfc_rx_init(sa);
+       rc = sfc_rx_configure(sa);
        if (rc != 0)
-               goto fail_rx_init;
+               goto fail_rx_configure;
 
        rc = sfc_tx_init(sa);
        if (rc != 0)
@@ -426,9 +426,9 @@ sfc_configure(struct sfc_adapter *sa)
        return 0;
 
 fail_tx_init:
-       sfc_rx_fini(sa);
+       sfc_rx_close(sa);
 
-fail_rx_init:
+fail_rx_configure:
        sfc_port_close(sa);
 
 fail_port_configure:
@@ -452,7 +452,7 @@ sfc_close(struct sfc_adapter *sa)
        sa->state = SFC_ADAPTER_CLOSING;
 
        sfc_tx_fini(sa);
-       sfc_rx_fini(sa);
+       sfc_rx_close(sa);
        sfc_port_close(sa);
        sfc_intr_close(sa);