X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fnet%2Fsfc%2Fsfc_switch.h;h=1eee5fc0b6b790fbd4c8d72e0cc37698d5672181;hb=44db08d53be366d69bb7d16bffc3e55ba2d7398a;hp=a1a2ab98482fc4e354f09a6e473d11b8c80ede59;hpb=a62ec90522a6c7404bce95e2b7d7bfab61670d71;p=dpdk.git diff --git a/drivers/net/sfc/sfc_switch.h b/drivers/net/sfc/sfc_switch.h index a1a2ab9848..1eee5fc0b6 100644 --- a/drivers/net/sfc/sfc_switch.h +++ b/drivers/net/sfc/sfc_switch.h @@ -44,6 +44,14 @@ struct sfc_mae_switch_port_request { int sfc_mae_assign_switch_domain(struct sfc_adapter *sa, uint16_t *switch_domain_id); +int sfc_mae_switch_domain_controllers(uint16_t switch_domain_id, + const efx_pcie_interface_t **controllers, + size_t *nb_controllers); + +int sfc_mae_switch_domain_map_controllers(uint16_t switch_domain_id, + efx_pcie_interface_t *controllers, + size_t nb_controllers); + int sfc_mae_assign_switch_port(uint16_t switch_domain_id, const struct sfc_mae_switch_port_request *req, uint16_t *switch_port_id);