Home
last modified time | relevance | path

Searched refs:switch_port_request (Results 1 – 2 of 2) sorted by relevance

/dpdk/drivers/net/sfc/
H A Dsfc_repr.c927 struct sfc_mae_switch_port_request switch_port_request; in sfc_repr_eth_dev_init() local
939 memset(&switch_port_request, 0, sizeof(switch_port_request)); in sfc_repr_eth_dev_init()
940 switch_port_request.type = SFC_MAE_SWITCH_PORT_REPRESENTOR; in sfc_repr_eth_dev_init()
941 switch_port_request.ethdev_mportp = &ethdev_mport_sel; in sfc_repr_eth_dev_init()
942 switch_port_request.entity_mportp = &repr_data->mport_sel; in sfc_repr_eth_dev_init()
943 switch_port_request.ethdev_port_id = dev->data->port_id; in sfc_repr_eth_dev_init()
944 switch_port_request.port_data.repr.intf = repr_data->intf; in sfc_repr_eth_dev_init()
945 switch_port_request.port_data.repr.pf = repr_data->pf; in sfc_repr_eth_dev_init()
946 switch_port_request.port_data.repr.vf = repr_data->vf; in sfc_repr_eth_dev_init()
949 &switch_port_request, in sfc_repr_eth_dev_init()
H A Dsfc_mae.c214 struct sfc_mae_switch_port_request switch_port_request = {0}; in sfc_mae_attach() local
267 switch_port_request.type = SFC_MAE_SWITCH_PORT_INDEPENDENT; in sfc_mae_attach()
268 switch_port_request.ethdev_mportp = &ethdev_mport; in sfc_mae_attach()
269 switch_port_request.entity_mportp = &entity_mport; in sfc_mae_attach()
270 switch_port_request.ethdev_port_id = sas->port_id; in sfc_mae_attach()
271 switch_port_request.port_data.indep.mae_admin = in sfc_mae_attach()
274 &switch_port_request, in sfc_mae_attach()