From: <wanry@3snic.com>
To: <dev@dpdk.org>
Cc: <ferruh.yigit@amd.com>, Renyong Wan <wanry@3snic.com>,
Steven Song <steven.song@3snic.com>
Subject: [PATCH v5 16/32] net/sssnic: support Rx queue start and stop
Date: Mon, 4 Sep 2023 12:56:42 +0800 [thread overview]
Message-ID: <20230904045658.238185-17-wanry@3snic.com> (raw)
In-Reply-To: <20230904045658.238185-1-wanry@3snic.com>
From: Renyong Wan <wanry@3snic.com>
Signed-off-by: Steven Song <steven.song@3snic.com>
Signed-off-by: Renyong Wan <wanry@3snic.com>
---
drivers/net/sssnic/base/sssnic_api.c | 63 +++++
drivers/net/sssnic/base/sssnic_api.h | 2 +
drivers/net/sssnic/base/sssnic_cmd.h | 49 ++++
drivers/net/sssnic/sssnic_ethdev.c | 2 +
drivers/net/sssnic/sssnic_ethdev.h | 2 +
drivers/net/sssnic/sssnic_ethdev_rx.c | 332 ++++++++++++++++++++++++++
drivers/net/sssnic/sssnic_ethdev_rx.h | 4 +
7 files changed, 454 insertions(+)
diff --git a/drivers/net/sssnic/base/sssnic_api.c b/drivers/net/sssnic/base/sssnic_api.c
index 3bb31009c5..3050d573bf 100644
--- a/drivers/net/sssnic/base/sssnic_api.c
+++ b/drivers/net/sssnic/base/sssnic_api.c
@@ -11,6 +11,7 @@
#include "sssnic_hw.h"
#include "sssnic_cmd.h"
#include "sssnic_mbox.h"
+#include "sssnic_ctrlq.h"
#include "sssnic_api.h"
int
@@ -434,3 +435,65 @@ sssnic_netif_enable_set(struct sssnic_hw *hw, uint8_t state)
return 0;
}
+
+int
+sssnic_port_enable_set(struct sssnic_hw *hw, bool state)
+{
+ int ret;
+ struct sssnic_port_enable_set_cmd cmd;
+ struct sssnic_msg msg;
+ uint32_t cmd_len;
+
+ if (hw == NULL)
+ return -EINVAL;
+
+ memset(&cmd, 0, sizeof(cmd));
+ cmd.function = SSSNIC_FUNC_IDX(hw);
+ cmd.state = state ? 1 : 0;
+ cmd_len = sizeof(cmd);
+ sssnic_msg_init(&msg, (uint8_t *)&cmd, cmd_len,
+ SSSNIC_SET_PORT_ENABLE_CMD, SSSNIC_MPU_FUNC_IDX,
+ SSSNIC_LAN_MODULE, SSSNIC_MSG_TYPE_REQ);
+ ret = sssnic_mbox_send(hw, &msg, (uint8_t *)&cmd, &cmd_len, 0);
+ if (ret != 0) {
+ PMD_DRV_LOG(ERR, "Failed to send mbox message, ret=%d", ret);
+ return ret;
+ }
+
+ if (cmd_len == 0 || cmd.common.status != 0) {
+ PMD_DRV_LOG(ERR,
+ "Bad response to SSSNIC_SET_PORT_ENABLE_CMD, len=%u, status=%u",
+ cmd_len, cmd.common.status);
+ return -EIO;
+ }
+
+ return 0;
+}
+
+int
+sssnic_rxq_flush(struct sssnic_hw *hw, uint16_t qid)
+{
+ struct sssnic_ctrlq_cmd cmd;
+ struct sssnic_rxq_flush_cmd data;
+ int ret;
+
+ data.u32 = 0;
+ data.qid = qid;
+ data.u32 = rte_cpu_to_be_32(data.u32);
+
+ memset(&cmd, 0, sizeof(cmd));
+ cmd.data = &data;
+ cmd.module = SSSNIC_LAN_MODULE;
+ cmd.data_len = sizeof(data);
+ cmd.cmd = SSSNIC_FLUSH_RXQ_CMD;
+
+ ret = sssnic_ctrlq_cmd_exec(hw, &cmd, 0);
+ if (ret != 0 || cmd.result != 0) {
+ PMD_DRV_LOG(ERR,
+ "Failed to execulte ctrlq command %s, ret=%d, result=%" PRIu64,
+ "SSSNIC_FLUSH_RXQ_CMD", ret, cmd.result);
+ return -EIO;
+ }
+
+ return 0;
+}
diff --git a/drivers/net/sssnic/base/sssnic_api.h b/drivers/net/sssnic/base/sssnic_api.h
index 168aa152b9..29962aabf8 100644
--- a/drivers/net/sssnic/base/sssnic_api.h
+++ b/drivers/net/sssnic/base/sssnic_api.h
@@ -45,5 +45,7 @@ int sssnic_netif_link_status_get(struct sssnic_hw *hw, uint8_t *status);
int sssnic_netif_link_info_get(struct sssnic_hw *hw,
struct sssnic_netif_link_info *info);
int sssnic_netif_enable_set(struct sssnic_hw *hw, uint8_t state);
+int sssnic_port_enable_set(struct sssnic_hw *hw, bool state);
+int sssnic_rxq_flush(struct sssnic_hw *hw, uint16_t qid);
#endif /* _SSSNIC_API_H_ */
diff --git a/drivers/net/sssnic/base/sssnic_cmd.h b/drivers/net/sssnic/base/sssnic_cmd.h
index 6957b742fc..6364058d36 100644
--- a/drivers/net/sssnic/base/sssnic_cmd.h
+++ b/drivers/net/sssnic/base/sssnic_cmd.h
@@ -35,6 +35,37 @@ enum sssnic_netif_cmd_id {
SSSNIC_GET_NETIF_LINK_INFO_CMD = 153,
};
+enum sssnic_port_cmd_id {
+ SSSNIC_REGISTER_VF_PORT_CMD = 0,
+ SSSNIC_SET_PORT_RXTX_SIZE_CMD = 5,
+ SSSNIC_SET_PORT_ENABLE_CMD = 6,
+ SSSNIC_SET_PORT_RX_MODE_CMD = 7,
+ SSSNIC_SET_PORT_TX_CI_ATTR_CMD = 8,
+ SSSNIC_GET_PORT_STATS_CMD = 9,
+ SSSNIC_CLEAR_PORT_STATS_CMD = 10,
+
+ SSSNIC_CLEAN_PORT_RES_CMD = 11,
+
+ SSSNIC_PORT_LRO_CFG_CMD = 13,
+ SSSNIC_PORT_LRO_TIMER_CMD = 14,
+ SSSNIC_PORT_FEATURE_CMD = 15,
+
+ SSSNIC_SET_PORT_VLAN_FILTER_CMD = 25,
+ SSSNIC_ENABLE_PORT_VLAN_FILTER_CMD = 26,
+ SSSNIC_ENABLE_PORT_VLAN_STRIP_CMD = 27,
+
+ SSSNIC_PORT_FLOW_CTRL_CMD = 101,
+};
+
+enum sssnic_ctrlq_cmd_id {
+ SSSNIC_SET_RXTXQ_CTX_CMD = 0,
+ SSSNIC_RESET_OFFLOAD_CTX_CMD = 1,
+ SSSNIC_SET_RSS_INDIR_TABLE_CMD = 4,
+ SSSNIC_SET_RSS_KEY_CTRLQ_CMD = 5,
+ SSSNIC_GET_RSS_INDIR_TABLE_CMD = 6,
+ SSSNIC_FLUSH_RXQ_CMD = 10,
+};
+
struct sssnic_cmd_common {
uint8_t status;
uint8_t version;
@@ -187,4 +218,22 @@ struct sssnic_netif_enable_set_cmd {
uint8_t resvd1[3];
};
+struct sssnic_port_enable_set_cmd {
+ struct sssnic_cmd_common common;
+ uint16_t function;
+ uint16_t resvd0;
+ uint8_t state;
+ uint8_t resvd1[3];
+};
+
+struct sssnic_rxq_flush_cmd {
+ union {
+ struct {
+ uint16_t resvd0;
+ uint16_t qid;
+ };
+ uint32_t u32;
+ };
+};
+
#endif /* _SSSNIC_CMD_H_ */
diff --git a/drivers/net/sssnic/sssnic_ethdev.c b/drivers/net/sssnic/sssnic_ethdev.c
index 732fddfcf7..208f0db402 100644
--- a/drivers/net/sssnic/sssnic_ethdev.c
+++ b/drivers/net/sssnic/sssnic_ethdev.c
@@ -358,6 +358,8 @@ static const struct eth_dev_ops sssnic_ethdev_ops = {
.rx_queue_release = sssnic_ethdev_rx_queue_release,
.tx_queue_setup = sssnic_ethdev_tx_queue_setup,
.tx_queue_release = sssnic_ethdev_tx_queue_release,
+ .rx_queue_start = sssnic_ethdev_rx_queue_start,
+ .rx_queue_stop = sssnic_ethdev_rx_queue_stop,
};
static int
diff --git a/drivers/net/sssnic/sssnic_ethdev.h b/drivers/net/sssnic/sssnic_ethdev.h
index ab832d179f..38e6dc0d62 100644
--- a/drivers/net/sssnic/sssnic_ethdev.h
+++ b/drivers/net/sssnic/sssnic_ethdev.h
@@ -65,6 +65,8 @@ struct sssnic_netdev {
struct rte_ether_addr default_addr;
uint16_t max_num_txq;
uint16_t max_num_rxq;
+ uint16_t num_started_rxqs;
+ uint16_t num_started_txqs;
};
#define SSSNIC_ETHDEV_PRIVATE(eth_dev) \
diff --git a/drivers/net/sssnic/sssnic_ethdev_rx.c b/drivers/net/sssnic/sssnic_ethdev_rx.c
index 0f489cf82f..d8429e734d 100644
--- a/drivers/net/sssnic/sssnic_ethdev_rx.c
+++ b/drivers/net/sssnic/sssnic_ethdev_rx.c
@@ -162,24 +162,64 @@ struct sssnic_ethdev_rxq_doorbell {
};
};
+static inline void
+sssnic_ethdev_rxq_doorbell_ring(struct sssnic_ethdev_rxq *rxq, uint16_t pi)
+{
+ uint64_t *db_addr;
+ struct sssnic_ethdev_rxq_doorbell db;
+ uint16_t hw_pi;
+ static const struct sssnic_ethdev_rxq_doorbell default_db = {
+ .cf = 1,
+ .service = 1,
+ };
+
+ hw_pi = pi << 1;
+
+ db.u64 = default_db.u64;
+ db.qid = rxq->qid;
+ db.pi_hi = (hw_pi >> 8) & 0xff;
+
+ db_addr = (uint64_t *)(rxq->doorbell + (hw_pi & 0xff));
+
+ rte_write64(db.u64, db_addr);
+}
+
static inline uint16_t
sssnic_ethdev_rxq_num_used_entries(struct sssnic_ethdev_rxq *rxq)
{
return sssnic_workq_num_used_entries(rxq->workq);
}
+static inline uint16_t
+sssnic_ethdev_rxq_num_idle_entries(struct sssnic_ethdev_rxq *rxq)
+{
+ return rxq->workq->idle_entries;
+}
+
static inline uint16_t
sssnic_ethdev_rxq_ci_get(struct sssnic_ethdev_rxq *rxq)
{
return sssnic_workq_ci_get(rxq->workq);
}
+static inline uint16_t
+sssnic_ethdev_rxq_pi_get(struct sssnic_ethdev_rxq *rxq)
+{
+ return sssnic_workq_pi_get(rxq->workq);
+}
+
static inline void
sssnic_ethdev_rxq_consume(struct sssnic_ethdev_rxq *rxq, uint16_t num_entries)
{
sssnic_workq_consume_fast(rxq->workq, num_entries);
}
+static inline void
+sssnic_ethdev_rxq_produce(struct sssnic_ethdev_rxq *rxq, uint16_t num_entries)
+{
+ sssnic_workq_produce_fast(rxq->workq, num_entries);
+}
+
static void
sssnic_ethdev_rx_buf_size_optimize(uint32_t orig_size, uint16_t *new_size)
{
@@ -418,3 +458,295 @@ sssnic_ethdev_rx_queue_all_release(struct rte_eth_dev *ethdev)
for (qid = 0; qid < ethdev->data->nb_rx_queues; qid++)
sssnic_ethdev_rx_queue_release(ethdev, qid);
}
+
+static void
+sssnic_ethdev_rxq_pktmbufs_fill(struct sssnic_ethdev_rxq *rxq)
+{
+ struct rte_mbuf **pktmbuf;
+ rte_iova_t buf_iova;
+ struct sssnic_ethdev_rxq_entry *rqe;
+ uint16_t idle_entries;
+ uint16_t bulk_entries;
+ uint16_t pi;
+ uint16_t i;
+ int ret;
+
+ idle_entries = sssnic_ethdev_rxq_num_idle_entries(rxq) - 1;
+ pi = sssnic_ethdev_rxq_pi_get(rxq);
+
+ while (idle_entries > 0) {
+ /* calculate number of continuous entries */
+ bulk_entries = rxq->depth - pi;
+ if (idle_entries < bulk_entries)
+ bulk_entries = idle_entries;
+
+ pktmbuf = (struct rte_mbuf **)(&rxq->rxe[pi]);
+
+ ret = rte_pktmbuf_alloc_bulk(rxq->mp, pktmbuf, bulk_entries);
+ if (ret != 0) {
+ rxq->stats.nombuf += idle_entries;
+ return;
+ }
+
+ for (i = 0; i < bulk_entries; i++) {
+ rqe = SSSNIC_ETHDEV_RXQ_ENTRY(rxq, pi);
+ buf_iova = rte_mbuf_data_iova(pktmbuf[i]);
+ rqe->buf_hi_addr = SSSNIC_UPPER_32_BITS(buf_iova);
+ rqe->buf_lo_addr = SSSNIC_LOWER_32_BITS(buf_iova);
+ sssnic_ethdev_rxq_produce(rxq, 1);
+ pi = sssnic_ethdev_rxq_pi_get(rxq);
+ }
+
+ idle_entries -= bulk_entries;
+ sssnic_ethdev_rxq_doorbell_ring(rxq, pi);
+ }
+}
+
+static uint16_t
+sssnic_ethdev_rxq_pktmbufs_cleanup(struct sssnic_ethdev_rxq *rxq)
+{
+ struct sssnic_ethdev_rx_entry *rxe;
+ volatile struct sssnic_ethdev_rx_desc *rxd;
+ uint16_t ci, count = 0;
+ uint32_t pktlen = 0;
+ uint32_t buflen = rxq->rx_buf_size;
+ uint16_t num_entries;
+
+ num_entries = sssnic_ethdev_rxq_num_used_entries(rxq);
+
+ ci = sssnic_ethdev_rxq_ci_get(rxq);
+ rxe = &rxq->rxe[ci];
+ rxd = &rxq->desc[ci];
+
+ while (num_entries > 0) {
+ if (pktlen > 0)
+ pktlen = pktlen > buflen ? (pktlen - buflen) : 0;
+ else if (rxd->flush != 0)
+ pktlen = 0;
+ else if (rxd->done != 0)
+ pktlen = rxd->len > buflen ? (rxd->len - buflen) : 0;
+ else
+ break;
+
+ rte_pktmbuf_free(rxe->pktmbuf);
+ rxe->pktmbuf = NULL;
+
+ count++;
+ num_entries--;
+
+ sssnic_ethdev_rxq_consume(rxq, 1);
+ ci = sssnic_ethdev_rxq_ci_get(rxq);
+ rxe = &rxq->rxe[ci];
+ rxd = &rxq->desc[ci];
+ }
+
+ PMD_DRV_LOG(DEBUG,
+ "%u rx packets cleanned up (Port:%u rxq:%u), ci=%u, pi=%u",
+ count, rxq->port, rxq->qid, ci, sssnic_ethdev_rxq_pi_get(rxq));
+
+ return count;
+}
+
+#define SSSNIC_ETHDEV_RXQ_FUSH_TIMEOUT 3000 /* 3000 ms */
+static int
+sssnic_ethdev_rxq_flush(struct sssnic_ethdev_rxq *rxq)
+{
+ struct sssnic_hw *hw;
+ uint64_t timeout;
+ uint16_t used_entries;
+ int ret;
+
+ hw = SSSNIC_ETHDEV_TO_HW(rxq->ethdev);
+
+ ret = sssnic_rxq_flush(hw, rxq->qid);
+ if (ret != 0) {
+ PMD_DRV_LOG(ERR, "Failed to flush rxq:%u, port:%u", rxq->qid,
+ rxq->port);
+ return ret;
+ }
+
+ timeout = rte_get_timer_cycles() +
+ rte_get_timer_hz() * SSSNIC_ETHDEV_RXQ_FUSH_TIMEOUT / 1000;
+
+ do {
+ sssnic_ethdev_rxq_pktmbufs_cleanup(rxq);
+ used_entries = sssnic_ethdev_rxq_num_used_entries(rxq);
+ if (used_entries == 0)
+ return 0;
+ rte_delay_us_sleep(1000);
+ } while (((long)(rte_get_timer_cycles() - timeout)) < 0);
+
+ PMD_DRV_LOG(ERR, "Flush port:%u rxq:%u timeout, used_rxq_entries:%u",
+ rxq->port, rxq->qid, sssnic_ethdev_rxq_num_used_entries(rxq));
+
+ return -ETIMEDOUT;
+}
+
+static int
+sssnic_ethdev_rxq_enable(struct rte_eth_dev *ethdev, uint16_t queue_id)
+{
+ struct sssnic_ethdev_rxq *rxq = ethdev->data->rx_queues[queue_id];
+
+ sssnic_ethdev_rxq_pktmbufs_fill(rxq);
+
+ return 0;
+}
+
+static int
+sssnic_ethdev_rxq_disable(struct rte_eth_dev *ethdev, uint16_t queue_id)
+{
+ struct sssnic_ethdev_rxq *rxq = ethdev->data->rx_queues[queue_id];
+ int ret;
+
+ ret = sssnic_ethdev_rxq_flush(rxq);
+ if (ret != 0) {
+ PMD_DRV_LOG(ERR, "Failed to flush rxq:%u, port:%u", queue_id,
+ ethdev->data->port_id);
+ return ret;
+ }
+
+ return 0;
+}
+int
+sssnic_ethdev_rx_queue_start(struct rte_eth_dev *ethdev, uint16_t queue_id)
+{
+ struct sssnic_netdev *netdev = SSSNIC_ETHDEV_PRIVATE(ethdev);
+ struct sssnic_hw *hw = SSSNIC_ETHDEV_TO_HW(ethdev);
+ int ret;
+
+ ret = sssnic_ethdev_rxq_enable(ethdev, queue_id);
+ if (ret != 0) {
+ PMD_DRV_LOG(ERR, "Failed to start rxq:%u, port:%u", queue_id,
+ ethdev->data->port_id);
+ return ret;
+ }
+
+ if (netdev->num_started_rxqs == 0) {
+ ret = sssnic_port_enable_set(hw, true);
+ if (ret != 0) {
+ PMD_DRV_LOG(ERR, "Failed to enable sssnic port:%u",
+ ethdev->data->port_id);
+ sssnic_ethdev_rxq_disable(ethdev, queue_id);
+ return ret;
+ }
+ }
+
+ netdev->num_started_rxqs++;
+ ethdev->data->rx_queue_state[queue_id] = RTE_ETH_QUEUE_STATE_STARTED;
+
+ PMD_DRV_LOG(DEBUG, "port %u rxq %u started", ethdev->data->port_id,
+ queue_id);
+
+ return 0;
+}
+
+int
+sssnic_ethdev_rx_queue_stop(struct rte_eth_dev *ethdev, uint16_t queue_id)
+{
+ struct sssnic_netdev *netdev = SSSNIC_ETHDEV_PRIVATE(ethdev);
+ struct sssnic_hw *hw = SSSNIC_ETHDEV_TO_HW(ethdev);
+ int ret;
+
+ if (netdev->num_started_rxqs == 1) {
+ ret = sssnic_port_enable_set(hw, false);
+ if (ret != 0) {
+ PMD_DRV_LOG(ERR, "Failed to disable sssnic port:%u",
+ ethdev->data->port_id);
+ return ret;
+ }
+ }
+
+ ret = sssnic_ethdev_rxq_disable(ethdev, queue_id);
+ if (ret != 0) {
+ PMD_DRV_LOG(ERR, "Failed to disable rxq:%u, port:%u", queue_id,
+ ethdev->data->port_id);
+ sssnic_port_enable_set(hw, true);
+ return ret;
+ }
+
+ netdev->num_started_rxqs--;
+ ethdev->data->rx_queue_state[queue_id] = RTE_ETH_QUEUE_STATE_STOPPED;
+
+ PMD_DRV_LOG(DEBUG, "port %u rxq %u stopped", ethdev->data->port_id,
+ queue_id);
+
+ return 0;
+}
+
+int
+sssnic_ethdev_rx_queue_all_start(struct rte_eth_dev *ethdev)
+{
+ struct sssnic_netdev *netdev = SSSNIC_ETHDEV_PRIVATE(ethdev);
+ struct sssnic_hw *hw = SSSNIC_ETHDEV_TO_HW(ethdev);
+ uint16_t numq = ethdev->data->nb_rx_queues;
+ uint16_t qid;
+
+ int ret;
+
+ for (qid = 0; qid < numq; qid++) {
+ ret = sssnic_ethdev_rxq_enable(ethdev, qid);
+ if (ret != 0) {
+ PMD_DRV_LOG(ERR, "Failed to enable rxq:%u, port:%u",
+ qid, ethdev->data->port_id);
+ goto fail_out;
+ }
+
+ ethdev->data->rx_queue_state[qid] = RTE_ETH_QUEUE_STATE_STARTED;
+ netdev->num_started_rxqs++;
+
+ PMD_DRV_LOG(DEBUG, "port %u rxq %u started",
+ ethdev->data->port_id, qid);
+ }
+
+ ret = sssnic_port_enable_set(hw, true);
+ if (ret) {
+ PMD_DRV_LOG(ERR, "Failed to enable port:%u",
+ ethdev->data->port_id);
+ goto fail_out;
+ }
+
+ return 0;
+
+fail_out:
+ while (qid--) {
+ sssnic_ethdev_rxq_disable(ethdev, qid);
+ ethdev->data->rx_queue_state[qid] = RTE_ETH_QUEUE_STATE_STOPPED;
+ netdev->num_started_rxqs--;
+ }
+
+ return ret;
+}
+
+int
+sssnic_ethdev_rx_queue_all_stop(struct rte_eth_dev *ethdev)
+{
+ struct sssnic_netdev *netdev = SSSNIC_ETHDEV_PRIVATE(ethdev);
+ struct sssnic_hw *hw = SSSNIC_ETHDEV_TO_HW(ethdev);
+ uint16_t numq = ethdev->data->nb_rx_queues;
+ uint16_t qid;
+ int ret;
+
+ ret = sssnic_port_enable_set(hw, false);
+ if (ret) {
+ PMD_DRV_LOG(ERR, "Failed to disable port:%u",
+ ethdev->data->port_id);
+ return ret;
+ }
+
+ for (qid = 0; qid < numq; qid++) {
+ ret = sssnic_ethdev_rxq_disable(ethdev, qid);
+ if (ret != 0) {
+ PMD_DRV_LOG(WARNING, "Failed to enable rxq:%u, port:%u",
+ qid, ethdev->data->port_id);
+ continue;
+ }
+
+ ethdev->data->rx_queue_state[qid] = RTE_ETH_QUEUE_STATE_STOPPED;
+ netdev->num_started_rxqs--;
+
+ PMD_DRV_LOG(DEBUG, "port %u rxq %u stopped",
+ ethdev->data->port_id, qid);
+ }
+
+ return 0;
+}
diff --git a/drivers/net/sssnic/sssnic_ethdev_rx.h b/drivers/net/sssnic/sssnic_ethdev_rx.h
index dc41811a2f..c6ddc366d5 100644
--- a/drivers/net/sssnic/sssnic_ethdev_rx.h
+++ b/drivers/net/sssnic/sssnic_ethdev_rx.h
@@ -20,5 +20,9 @@ int sssnic_ethdev_rx_queue_setup(struct rte_eth_dev *ethdev,
void sssnic_ethdev_rx_queue_release(struct rte_eth_dev *ethdev,
uint16_t queue_id);
void sssnic_ethdev_rx_queue_all_release(struct rte_eth_dev *ethdev);
+int sssnic_ethdev_rx_queue_start(struct rte_eth_dev *ethdev, uint16_t queue_id);
+int sssnic_ethdev_rx_queue_stop(struct rte_eth_dev *ethdev, uint16_t queue_id);
+int sssnic_ethdev_rx_queue_all_start(struct rte_eth_dev *ethdev);
+int sssnic_ethdev_rx_queue_all_stop(struct rte_eth_dev *ethdev);
#endif
--
2.27.0
next prev parent reply other threads:[~2023-09-04 4:59 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-04 4:56 [PATCH v5 00/32] Introduce sssnic PMD for 3SNIC's 9x0 serials Ethernet adapters wanry
2023-09-04 4:56 ` [PATCH v5 01/32] net/sssnic: add build and doc infrastructure wanry
2023-09-26 13:06 ` Ferruh Yigit
2023-09-04 4:56 ` [PATCH v5 02/32] net/sssnic: add log type and log macros wanry
2023-09-04 4:56 ` [PATCH v5 03/32] net/sssnic: support probe and remove wanry
2023-09-18 16:08 ` Stephen Hemminger
2023-09-19 2:00 ` Renyong Wan
2023-09-04 4:56 ` [PATCH v5 04/32] net/sssnic: initialize hardware base wanry
2023-09-18 2:28 ` Stephen Hemminger
2023-09-18 4:47 ` Renyong Wan
2023-09-04 4:56 ` [PATCH v5 05/32] net/sssnic: add event queue wanry
2023-09-04 4:56 ` [PATCH v5 06/32] net/sssnic/base: add message definition and utility wanry
2023-09-18 2:31 ` Stephen Hemminger
2023-09-18 5:08 ` Renyong Wan
2023-09-04 4:56 ` [PATCH v5 07/32] net/sssnic/base: add mailbox support wanry
2023-09-18 2:32 ` Stephen Hemminger
2023-09-18 5:10 ` Renyong Wan
2023-09-26 13:13 ` Ferruh Yigit
2023-09-04 4:56 ` [PATCH v5 08/32] net/sssnic/base: add work queue wanry
2023-09-18 2:33 ` Stephen Hemminger
2023-09-18 5:11 ` Renyong Wan
2023-09-04 4:56 ` [PATCH v5 09/32] net/sssnic/base: add control queue wanry
2023-09-18 2:36 ` Stephen Hemminger
2023-09-18 5:22 ` Renyong Wan
2023-09-04 4:56 ` [PATCH v5 10/32] net/sssnic: add dev configure and infos get wanry
2023-09-04 4:56 ` [PATCH v5 11/32] net/sssnic: add dev MAC ops wanry
2023-09-26 13:07 ` Ferruh Yigit
2023-09-04 4:56 ` [PATCH v5 12/32] net/sssnic: support dev link status wanry
2023-09-04 4:56 ` [PATCH v5 13/32] net/sssnic: support link status event wanry
2023-09-26 13:08 ` Ferruh Yigit
2023-09-04 4:56 ` [PATCH v5 14/32] net/sssnic: support Rx queue setup and release wanry
2023-09-04 4:56 ` [PATCH v5 15/32] net/sssnic: support Tx " wanry
2023-09-04 4:56 ` wanry [this message]
2023-09-04 4:56 ` [PATCH v5 17/32] net/sssnic: support Tx queue start and stop wanry
2023-09-04 4:56 ` [PATCH v5 18/32] net/sssnic: add Rx interrupt support wanry
2023-09-04 4:56 ` [PATCH v5 19/32] net/sssnic: support dev start and stop wanry
2023-09-26 13:09 ` Ferruh Yigit
2023-09-04 4:56 ` [PATCH v5 20/32] net/sssnic: support dev close and reset wanry
2023-09-26 13:09 ` Ferruh Yigit
2023-09-04 4:56 ` [PATCH v5 21/32] net/sssnic: add allmulticast and promiscuous ops wanry
2023-09-04 4:56 ` [PATCH v5 22/32] net/sssnic: add basic and extended stats ops wanry
2023-09-04 4:56 ` [PATCH v5 23/32] net/sssnic: support Rx packet burst wanry
2023-09-04 4:56 ` [PATCH v5 24/32] net/sssnic: support Tx " wanry
2023-09-26 13:10 ` Ferruh Yigit
2023-09-04 4:56 ` [PATCH v5 25/32] net/sssnic: add RSS support wanry
2023-09-04 4:56 ` [PATCH v5 26/32] net/sssnic: support dev MTU set wanry
2023-09-04 4:56 ` [PATCH v5 27/32] net/sssnic: support dev queue info get wanry
2023-09-04 4:56 ` [PATCH v5 28/32] net/sssnic: support dev firmware version get wanry
2023-09-04 4:56 ` [PATCH v5 29/32] net/sssnic: add dev flow control ops wanry
2023-09-26 13:12 ` Ferruh Yigit
2023-09-04 4:56 ` [PATCH v5 30/32] net/sssnic: support VLAN offload and filter wanry
2023-09-04 4:56 ` [PATCH v5 31/32] net/sssnic: add generic flow ops wanry
2023-09-04 4:56 ` [PATCH v5 32/32] net/sssnic: add VF dev support wanry
2023-09-26 13:11 ` Ferruh Yigit
2023-09-18 2:37 ` [PATCH v5 00/32] Introduce sssnic PMD for 3SNIC's 9x0 serials Ethernet adapters Stephen Hemminger
2023-09-18 3:23 ` Renyong Wan
2023-09-19 3:19 ` Stephen Hemminger
2023-09-19 5:18 ` Renyong Wan
2023-09-19 3:21 ` Stephen Hemminger
2023-09-19 5:18 ` Renyong Wan
2023-09-19 3:23 ` Stephen Hemminger
2023-09-19 5:19 ` Renyong Wan
2023-09-19 15:24 ` Stephen Hemminger
2023-09-26 13:13 ` Ferruh Yigit
2024-03-29 11:32 ` Ferruh Yigit
2024-07-31 17:32 ` Thomas Monjalon
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=20230904045658.238185-17-wanry@3snic.com \
--to=wanry@3snic.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@amd.com \
--cc=steven.song@3snic.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).