net/ice: remove VSI update on DCF reset by PF
[dpdk.git] / drivers / net / sfc / sfc_mae.c
index 6a13852..455744c 100644 (file)
@@ -234,6 +234,8 @@ sfc_mae_attach(struct sfc_adapter *sa)
        /* RTE ethdev MPORT matches that of the entity for independent ports. */
        switch_port_request.ethdev_mportp = &entity_mport;
        switch_port_request.ethdev_port_id = sas->port_id;
+       switch_port_request.port_data.indep.mae_admin =
+               encp->enc_mae_admin == B_TRUE;
        rc = sfc_mae_assign_switch_port(mae->switch_domain_id,
                                        &switch_port_request,
                                        &mae->switch_port_id);