From: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> To: dev@dpdk.org Cc: Viacheslav Galaktionov <viacheslav.galaktionov@oktetlabs.ru>, Andy Moreton <amoreton@xilinx.com> Subject: [dpdk-dev] [PATCH 37/38] net/sfc: implement the representor info API Date: Fri, 27 Aug 2021 09:57:16 +0300 Message-ID: <20210827065717.1838258-38-andrew.rybchenko@oktetlabs.ru> (raw) In-Reply-To: <20210827065717.1838258-1-andrew.rybchenko@oktetlabs.ru> From: Viacheslav Galaktionov <viacheslav.galaktionov@oktetlabs.ru> Let the driver provide the user with information about available representors by implementing the representor_info_get operation. Due to the lack of any structure to representor IDs, every ID range describes exactly one representor. Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Reviewed-by: Andy Moreton <amoreton@xilinx.com> --- doc/guides/rel_notes/release_21_11.rst | 6 + drivers/net/sfc/sfc_ethdev.c | 229 +++++++++++++++++++++++++ drivers/net/sfc/sfc_switch.c | 104 +++++++++-- drivers/net/sfc/sfc_switch.h | 24 +++ 4 files changed, 352 insertions(+), 11 deletions(-) diff --git a/doc/guides/rel_notes/release_21_11.rst b/doc/guides/rel_notes/release_21_11.rst index d707a554ef..911e500ce5 100644 --- a/doc/guides/rel_notes/release_21_11.rst +++ b/doc/guides/rel_notes/release_21_11.rst @@ -55,6 +55,12 @@ New Features Also, make sure to start the actual text at the margin. ======================================================= +* **Updated Solarflare network PMD.** + + Updated the Solarflare ``sfc_efx`` driver with changes including: + + * Added port representors support on SN1000 SmartNICs + Removed Items ------------- diff --git a/drivers/net/sfc/sfc_ethdev.c b/drivers/net/sfc/sfc_ethdev.c index 29c8d220a2..62b81ed61a 100644 --- a/drivers/net/sfc/sfc_ethdev.c +++ b/drivers/net/sfc/sfc_ethdev.c @@ -1922,7 +1922,11 @@ static efx_rc_t sfc_process_mport_journal_entry(struct sfc_mport_journal_ctx *ctx, efx_mport_desc_t *mport) { + struct sfc_mae_switch_port_request req; + efx_mport_sel_t entity_selector; efx_mport_sel_t ethdev_mport; + uint16_t switch_port_id; + efx_rc_t efx_rc; int rc; sfc_dbg(ctx->sa, @@ -1938,6 +1942,63 @@ sfc_process_mport_journal_entry(struct sfc_mport_journal_ctx *ctx, return rc; } + /* Build Mport selector */ + efx_rc = efx_mae_mport_by_pcie_mh_function(mport->emd_vnic.ev_intf, + mport->emd_vnic.ev_pf, + mport->emd_vnic.ev_vf, + &entity_selector); + if (efx_rc != 0) { + sfc_err(ctx->sa, "failed to build entity mport selector for c%upf%uvf%u", + mport->emd_vnic.ev_intf, + mport->emd_vnic.ev_pf, + mport->emd_vnic.ev_vf); + return efx_rc; + } + + rc = sfc_mae_switch_port_id_by_entity(ctx->switch_domain_id, + &entity_selector, + SFC_MAE_SWITCH_PORT_REPRESENTOR, + &switch_port_id); + switch (rc) { + case 0: + /* Already registered */ + break; + case ENOENT: + /* + * No representor has been created for this entity. + * Create a dummy switch registry entry with an invalid ethdev + * mport selector. When a corresponding representor is created, + * this entry will be updated. + */ + req.type = SFC_MAE_SWITCH_PORT_REPRESENTOR; + req.entity_mportp = &entity_selector; + req.ethdev_mportp = ðdev_mport; + req.ethdev_port_id = RTE_MAX_ETHPORTS; + req.port_data.repr.intf = mport->emd_vnic.ev_intf; + req.port_data.repr.pf = mport->emd_vnic.ev_pf; + req.port_data.repr.vf = mport->emd_vnic.ev_vf; + + rc = sfc_mae_assign_switch_port(ctx->switch_domain_id, + &req, &switch_port_id); + if (rc != 0) { + sfc_err(ctx->sa, + "failed to assign MAE switch port for c%upf%uvf%u: %s", + mport->emd_vnic.ev_intf, + mport->emd_vnic.ev_pf, + mport->emd_vnic.ev_vf, + rte_strerror(rc)); + return rc; + } + break; + default: + sfc_err(ctx->sa, "failed to find MAE switch port for c%upf%uvf%u: %s", + mport->emd_vnic.ev_intf, + mport->emd_vnic.ev_pf, + mport->emd_vnic.ev_vf, + rte_strerror(rc)); + return rc; + } + return 0; } @@ -2034,6 +2095,173 @@ sfc_process_mport_journal(struct sfc_adapter *sa) return 0; } +static void +sfc_count_representors_cb(enum sfc_mae_switch_port_type type, + const efx_mport_sel_t *ethdev_mportp __rte_unused, + uint16_t ethdev_port_id __rte_unused, + const efx_mport_sel_t *entity_mportp __rte_unused, + uint16_t switch_port_id __rte_unused, + union sfc_mae_switch_port_data *port_datap + __rte_unused, + void *user_datap) +{ + int *counter = user_datap; + + SFC_ASSERT(counter != NULL); + + if (type == SFC_MAE_SWITCH_PORT_REPRESENTOR) + (*counter)++; +} + +struct sfc_get_representors_ctx { + struct rte_eth_representor_info *info; + struct sfc_adapter *sa; + uint16_t switch_domain_id; + const efx_pcie_interface_t *controllers; + size_t nb_controllers; +}; + +static void +sfc_get_representors_cb(enum sfc_mae_switch_port_type type, + const efx_mport_sel_t *ethdev_mportp __rte_unused, + uint16_t ethdev_port_id __rte_unused, + const efx_mport_sel_t *entity_mportp __rte_unused, + uint16_t switch_port_id, + union sfc_mae_switch_port_data *port_datap, + void *user_datap) +{ + struct sfc_get_representors_ctx *ctx = user_datap; + struct rte_eth_representor_range *range; + int ret; + int rc; + + SFC_ASSERT(ctx != NULL); + SFC_ASSERT(ctx->info != NULL); + SFC_ASSERT(ctx->sa != NULL); + + if (type != SFC_MAE_SWITCH_PORT_REPRESENTOR) { + sfc_dbg(ctx->sa, "not a representor, skipping"); + return; + } + if (ctx->info->nb_ranges >= ctx->info->nb_ranges_alloc) { + sfc_dbg(ctx->sa, "info structure is full already"); + return; + } + + range = &ctx->info->ranges[ctx->info->nb_ranges]; + rc = sfc_mae_switch_controller_from_mapping(ctx->controllers, + ctx->nb_controllers, + port_datap->repr.intf, + &range->controller); + if (rc != 0) { + sfc_err(ctx->sa, "invalid representor controller: %d", + port_datap->repr.intf); + range->controller = -1; + } + range->pf = port_datap->repr.pf; + range->id_base = switch_port_id; + range->id_end = switch_port_id; + + if (port_datap->repr.vf != EFX_PCI_VF_INVALID) { + range->type = RTE_ETH_REPRESENTOR_VF; + range->vf = port_datap->repr.vf; + ret = snprintf(range->name, RTE_DEV_NAME_MAX_LEN, + "c%dpf%dvf%d", range->controller, range->pf, + range->vf); + } else { + range->type = RTE_ETH_REPRESENTOR_PF; + ret = snprintf(range->name, RTE_DEV_NAME_MAX_LEN, + "c%dpf%d", range->controller, range->pf); + } + if (ret >= RTE_DEV_NAME_MAX_LEN) { + sfc_err(ctx->sa, "representor name has been truncated: %s", + range->name); + } + + ctx->info->nb_ranges++; +} + +static int +sfc_representor_info_get(struct rte_eth_dev *dev, + struct rte_eth_representor_info *info) +{ + struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev); + struct sfc_get_representors_ctx get_repr_ctx; + const efx_nic_cfg_t *nic_cfg; + uint16_t switch_domain_id; + uint32_t nb_repr; + int controller; + int rc; + + sfc_adapter_lock(sa); + + if (sa->mae.status != SFC_MAE_STATUS_SUPPORTED) { + sfc_adapter_unlock(sa); + return -ENOTSUP; + } + + rc = sfc_process_mport_journal(sa); + if (rc != 0) { + sfc_adapter_unlock(sa); + SFC_ASSERT(rc > 0); + return -rc; + } + + switch_domain_id = sa->mae.switch_domain_id; + + nb_repr = 0; + rc = sfc_mae_switch_ports_iterate(switch_domain_id, + sfc_count_representors_cb, + &nb_repr); + if (rc != 0) { + sfc_adapter_unlock(sa); + SFC_ASSERT(rc > 0); + return -rc; + } + + if (info == NULL) { + sfc_adapter_unlock(sa); + return nb_repr; + } + + rc = sfc_mae_switch_domain_controllers(switch_domain_id, + &get_repr_ctx.controllers, + &get_repr_ctx.nb_controllers); + if (rc != 0) { + sfc_adapter_unlock(sa); + SFC_ASSERT(rc > 0); + return -rc; + } + + nic_cfg = efx_nic_cfg_get(sa->nic); + + rc = sfc_mae_switch_domain_get_controller(switch_domain_id, + nic_cfg->enc_intf, + &controller); + if (rc != 0) { + sfc_err(sa, "invalid controller: %d", nic_cfg->enc_intf); + controller = -1; + } + + info->controller = controller; + info->pf = nic_cfg->enc_pf; + + get_repr_ctx.info = info; + get_repr_ctx.sa = sa; + get_repr_ctx.switch_domain_id = switch_domain_id; + rc = sfc_mae_switch_ports_iterate(switch_domain_id, + sfc_get_representors_cb, + &get_repr_ctx); + if (rc != 0) { + sfc_adapter_unlock(sa); + SFC_ASSERT(rc > 0); + return -rc; + } + + sfc_adapter_unlock(sa); + return nb_repr; +} + static const struct eth_dev_ops sfc_eth_dev_ops = { .dev_configure = sfc_dev_configure, .dev_start = sfc_dev_start, @@ -2081,6 +2309,7 @@ static const struct eth_dev_ops sfc_eth_dev_ops = { .xstats_get_by_id = sfc_xstats_get_by_id, .xstats_get_names_by_id = sfc_xstats_get_names_by_id, .pool_ops_supported = sfc_pool_ops_supported, + .representor_info_get = sfc_representor_info_get, }; struct sfc_ethdev_init_data { diff --git a/drivers/net/sfc/sfc_switch.c b/drivers/net/sfc/sfc_switch.c index 5cd9b46d26..dc5b9a676c 100644 --- a/drivers/net/sfc/sfc_switch.c +++ b/drivers/net/sfc/sfc_switch.c @@ -151,6 +151,34 @@ sfc_mae_find_switch_domain_by_id(uint16_t switch_domain_id) return NULL; } +int +sfc_mae_switch_ports_iterate(uint16_t switch_domain_id, + sfc_mae_switch_port_iterator_cb *cb, + void *data) +{ + struct sfc_mae_switch_domain *domain; + struct sfc_mae_switch_port *port; + + if (cb == NULL) + return EINVAL; + + rte_spinlock_lock(&sfc_mae_switch.lock); + + domain = sfc_mae_find_switch_domain_by_id(switch_domain_id); + if (domain == NULL) { + rte_spinlock_unlock(&sfc_mae_switch.lock); + return EINVAL; + } + + TAILQ_FOREACH(port, &domain->ports, switch_domain_ports) { + cb(port->type, &port->ethdev_mport, port->ethdev_port_id, + &port->entity_mport, port->id, &port->data, data); + } + + rte_spinlock_unlock(&sfc_mae_switch.lock); + return 0; +} + /* This function expects to be called only when the lock is held */ static struct sfc_mae_switch_domain * sfc_mae_find_switch_domain_by_hw_switch_id(const struct sfc_hw_switch_id *id) @@ -280,19 +308,12 @@ sfc_mae_switch_domain_map_controllers(uint16_t switch_domain_id, } int -sfc_mae_switch_domain_get_controller(uint16_t switch_domain_id, - efx_pcie_interface_t intf, - int *controller) +sfc_mae_switch_controller_from_mapping(const efx_pcie_interface_t *controllers, + size_t nb_controllers, + efx_pcie_interface_t intf, + int *controller) { - const efx_pcie_interface_t *controllers; - size_t nb_controllers; size_t i; - int rc; - - rc = sfc_mae_switch_domain_controllers(switch_domain_id, &controllers, - &nb_controllers); - if (rc != 0) - return rc; if (controllers == NULL) return ENOENT; @@ -307,6 +328,26 @@ sfc_mae_switch_domain_get_controller(uint16_t switch_domain_id, return ENOENT; } +int +sfc_mae_switch_domain_get_controller(uint16_t switch_domain_id, + efx_pcie_interface_t intf, + int *controller) +{ + const efx_pcie_interface_t *controllers; + size_t nb_controllers; + int rc; + + rc = sfc_mae_switch_domain_controllers(switch_domain_id, &controllers, + &nb_controllers); + if (rc != 0) + return rc; + + return sfc_mae_switch_controller_from_mapping(controllers, + nb_controllers, + intf, + controller); +} + int sfc_mae_switch_domain_get_intf(uint16_t switch_domain_id, int controller, efx_pcie_interface_t *intf) @@ -350,6 +391,30 @@ sfc_mae_find_switch_port_by_entity(const struct sfc_mae_switch_domain *domain, return NULL; } +/* This function expects to be called only when the lock is held */ +static int +sfc_mae_find_switch_port_id_by_entity(uint16_t switch_domain_id, + const efx_mport_sel_t *entity_mportp, + enum sfc_mae_switch_port_type type, + uint16_t *switch_port_id) +{ + struct sfc_mae_switch_domain *domain; + struct sfc_mae_switch_port *port; + + SFC_ASSERT(rte_spinlock_is_locked(&sfc_mae_switch.lock)); + + domain = sfc_mae_find_switch_domain_by_id(switch_domain_id); + if (domain == NULL) + return EINVAL; + + port = sfc_mae_find_switch_port_by_entity(domain, entity_mportp, type); + if (port == NULL) + return ENOENT; + + *switch_port_id = port->id; + return 0; +} + int sfc_mae_assign_switch_port(uint16_t switch_domain_id, const struct sfc_mae_switch_port_request *req, @@ -455,3 +520,20 @@ sfc_mae_switch_port_by_ethdev(uint16_t switch_domain_id, return rc; } + +int +sfc_mae_switch_port_id_by_entity(uint16_t switch_domain_id, + const efx_mport_sel_t *entity_mportp, + enum sfc_mae_switch_port_type type, + uint16_t *switch_port_id) +{ + int rc; + + rte_spinlock_lock(&sfc_mae_switch.lock); + rc = sfc_mae_find_switch_port_id_by_entity(switch_domain_id, + entity_mportp, type, + switch_port_id); + rte_spinlock_unlock(&sfc_mae_switch.lock); + + return rc; +} diff --git a/drivers/net/sfc/sfc_switch.h b/drivers/net/sfc/sfc_switch.h index d187c6dbbb..a77d2e6f28 100644 --- a/drivers/net/sfc/sfc_switch.h +++ b/drivers/net/sfc/sfc_switch.h @@ -52,6 +52,19 @@ struct sfc_mae_switch_port_request { union sfc_mae_switch_port_data port_data; }; +typedef void (sfc_mae_switch_port_iterator_cb)( + enum sfc_mae_switch_port_type type, + const efx_mport_sel_t *ethdev_mportp, + uint16_t ethdev_port_id, + const efx_mport_sel_t *entity_mportp, + uint16_t switch_port_id, + union sfc_mae_switch_port_data *port_datap, + void *user_datap); + +int sfc_mae_switch_ports_iterate(uint16_t switch_domain_id, + sfc_mae_switch_port_iterator_cb *cb, + void *data); + int sfc_mae_assign_switch_domain(struct sfc_adapter *sa, uint16_t *switch_domain_id); @@ -63,6 +76,12 @@ int sfc_mae_switch_domain_map_controllers(uint16_t switch_domain_id, efx_pcie_interface_t *controllers, size_t nb_controllers); +int sfc_mae_switch_controller_from_mapping( + const efx_pcie_interface_t *controllers, + size_t nb_controllers, + efx_pcie_interface_t intf, + int *controller); + int sfc_mae_switch_domain_get_controller(uint16_t switch_domain_id, efx_pcie_interface_t intf, int *controller); @@ -79,6 +98,11 @@ 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_port_id_by_entity(uint16_t switch_domain_id, + const efx_mport_sel_t *entity_mportp, + enum sfc_mae_switch_port_type type, + uint16_t *switch_port_id); + #ifdef __cplusplus } #endif -- 2.30.2
next prev parent reply other threads:[~2021-08-27 7:01 UTC|newest] Thread overview: 79+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-08-27 6:56 [dpdk-dev] [PATCH 00/38] net/sfc: support port representors Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 01/38] common/sfc_efx/base: update MCDI headers Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 02/38] common/sfc_efx/base: update EF100 registers definitions Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 03/38] net/sfc: add switch mode device argument Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 04/38] net/sfc: insert switchdev mode MAE rules Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 05/38] common/sfc_efx/base: add an API to get mport ID by selector Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 06/38] net/sfc: support EF100 Tx override prefix Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 07/38] net/sfc: add representors proxy infrastructure Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 08/38] net/sfc: reserve TxQ and RxQ for port representors Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 09/38] net/sfc: move adapter state enum to separate header Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 10/38] common/sfc_efx/base: allow creating invalid mport selectors Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 11/38] net/sfc: add port representors infrastructure Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 12/38] common/sfc_efx/base: add filter ingress mport matching field Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 13/38] common/sfc_efx/base: add API to get mport selector by ID Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 14/38] common/sfc_efx/base: add mport alias MCDI wrappers Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 15/38] net/sfc: add representor proxy port API Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 16/38] net/sfc: implement representor queue setup and release Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 17/38] net/sfc: implement representor RxQ start/stop Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 18/38] net/sfc: implement representor TxQ start/stop Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 19/38] net/sfc: implement port representor start and stop Andrew Rybchenko 2021-08-27 6:56 ` [dpdk-dev] [PATCH 20/38] net/sfc: implement port representor link update Andrew Rybchenko 2021-08-27 6:57 ` [dpdk-dev] [PATCH 21/38] net/sfc: support multiple device probe Andrew Rybchenko 2021-08-27 6:57 ` [dpdk-dev] [PATCH 22/38] net/sfc: implement representor Tx routine Andrew Rybchenko 2021-08-27 6:57 ` [dpdk-dev] [PATCH 23/38] net/sfc: use xword type for EF100 Rx prefix Andrew Rybchenko 2021-08-27 6:57 ` [dpdk-dev] [PATCH 24/38] net/sfc: handle ingress m-port in " Andrew Rybchenko 2021-08-27 6:57 ` [dpdk-dev] [PATCH 25/38] net/sfc: implement representor Rx routine Andrew Rybchenko 2021-08-27 6:57 ` [dpdk-dev] [PATCH 26/38] net/sfc: add simple port representor statistics Andrew Rybchenko 2021-08-27 6:57 ` [dpdk-dev] [PATCH 27/38] net/sfc: free MAE lock once switch domain is assigned Andrew Rybchenko 2021-08-27 6:57 ` [dpdk-dev] [PATCH 28/38] common/sfc_efx/base: add multi-host function M-port selector Andrew Rybchenko 2021-08-27 6:57 ` [dpdk-dev] [PATCH 29/38] common/sfc_efx/base: retrieve function interfaces for VNICs Andrew Rybchenko 2021-08-27 6:57 ` [dpdk-dev] [PATCH 30/38] common/sfc_efx/base: add a means to read MAE mport journal Andrew Rybchenko 2021-08-27 6:57 ` [dpdk-dev] [PATCH 31/38] common/sfc_efx/base: allow getting VNIC MCDI client handles Andrew Rybchenko 2021-08-27 6:57 ` [dpdk-dev] [PATCH 32/38] net/sfc: maintain controller to EFX interface mapping Andrew Rybchenko 2021-08-27 6:57 ` [dpdk-dev] [PATCH 33/38] net/sfc: store PCI address for represented entities Andrew Rybchenko 2021-08-27 6:57 ` [dpdk-dev] [PATCH 34/38] net/sfc: include controller and port in representor name Andrew Rybchenko 2021-08-27 6:57 ` [dpdk-dev] [PATCH 35/38] net/sfc: support new representor parameter syntax Andrew Rybchenko 2021-08-27 6:57 ` [dpdk-dev] [PATCH 36/38] net/sfc: use switch port ID as representor ID Andrew Rybchenko 2021-08-27 6:57 ` Andrew Rybchenko [this message] 2021-08-27 6:57 ` [dpdk-dev] [PATCH 38/38] net/sfc: update comment about representor support Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 00/38] net/sfc: support port representors Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 01/38] common/sfc_efx/base: update MCDI headers Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 02/38] common/sfc_efx/base: update EF100 registers definitions Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 03/38] net/sfc: add switch mode device argument Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 04/38] net/sfc: insert switchdev mode MAE rules Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 05/38] common/sfc_efx/base: add an API to get mport ID by selector Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 06/38] net/sfc: support EF100 Tx override prefix Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 07/38] net/sfc: add representors proxy infrastructure Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 08/38] net/sfc: reserve TxQ and RxQ for port representors Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 09/38] net/sfc: move adapter state enum to separate header Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 10/38] common/sfc_efx/base: allow creating invalid mport selectors Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 11/38] net/sfc: add port representors infrastructure Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 12/38] common/sfc_efx/base: add filter ingress mport matching field Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 13/38] common/sfc_efx/base: add API to get mport selector by ID Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 14/38] common/sfc_efx/base: add mport alias MCDI wrappers Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 15/38] net/sfc: add representor proxy port API Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 16/38] net/sfc: implement representor queue setup and release Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 17/38] net/sfc: implement representor RxQ start/stop Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 18/38] net/sfc: implement representor TxQ start/stop Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 19/38] net/sfc: implement port representor start and stop Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 20/38] net/sfc: implement port representor link update Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 21/38] net/sfc: support multiple device probe Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 22/38] net/sfc: implement representor Tx routine Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 23/38] net/sfc: use xword type for EF100 Rx prefix Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 24/38] net/sfc: handle ingress m-port in " Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 25/38] net/sfc: implement representor Rx routine Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 26/38] net/sfc: add simple port representor statistics Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 27/38] net/sfc: free MAE lock once switch domain is assigned Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 28/38] common/sfc_efx/base: add multi-host function M-port selector Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 29/38] common/sfc_efx/base: retrieve function interfaces for VNICs Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 30/38] common/sfc_efx/base: add a means to read MAE mport journal Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 31/38] common/sfc_efx/base: allow getting VNIC MCDI client handles Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 32/38] net/sfc: maintain controller to EFX interface mapping Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 33/38] net/sfc: store PCI address for represented entities Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 34/38] net/sfc: include controller and port in representor name Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 35/38] net/sfc: support new representor parameter syntax Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 36/38] net/sfc: use switch port ID as representor ID Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 37/38] net/sfc: implement the representor info API Andrew Rybchenko 2021-10-11 14:48 ` [dpdk-dev] [PATCH v2 38/38] net/sfc: update comment about representor support Andrew Rybchenko 2021-10-12 16:45 ` [dpdk-dev] [PATCH v2 00/38] net/sfc: support port representors Ferruh Yigit
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210827065717.1838258-38-andrew.rybchenko@oktetlabs.ru \ --to=andrew.rybchenko@oktetlabs.ru \ --cc=amoreton@xilinx.com \ --cc=dev@dpdk.org \ --cc=viacheslav.galaktionov@oktetlabs.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
DPDK patches and discussions This inbox may be cloned and mirrored by anyone: git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \ dev@dpdk.org public-inbox-index dev Example config snippet for mirrors. Newsgroup available over NNTP: nntp://inbox.dpdk.org/inbox.dpdk.dev AGPL code for this site: git clone https://public-inbox.org/public-inbox.git