]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_switch.h
net/ice: track DCF state of PF
[dpdk.git] / drivers / net / sfc / sfc_switch.h
index 79171410388ea88a2d7bea9ea5eb494de86d3894..62aea9b785fcce7d5d31507a7627155c7c95db9f 100644 (file)
@@ -102,9 +102,13 @@ int sfc_mae_assign_switch_port(uint16_t switch_domain_id,
 int sfc_mae_clear_switch_port(uint16_t switch_domain_id,
                              uint16_t switch_port_id);
 
-int sfc_mae_switch_port_by_ethdev(uint16_t switch_domain_id,
-                                 uint16_t ethdev_port_id,
-                                 efx_mport_sel_t *mport_sel);
+int sfc_mae_switch_get_ethdev_mport(uint16_t switch_domain_id,
+                                   uint16_t ethdev_port_id,
+                                   efx_mport_sel_t *mport_sel);
+
+int sfc_mae_switch_get_entity_mport(uint16_t switch_domain_id,
+                                   uint16_t ethdev_port_id,
+                                   efx_mport_sel_t *mport_sel);
 
 int sfc_mae_switch_port_id_by_entity(uint16_t switch_domain_id,
                                     const efx_mport_sel_t *entity_mportp,