This patch refines dev_link_update() of IDPF PMD, optimizing
the code style.
Signed-off-by: Mingxia Liu
---
drivers/net/idpf/idpf_ethdev.c | 63 +++---
1 file changed, 28 insertions(+), 35 deletions(-)
diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf
This patch refines idpf_dev_link_update callback function according to
CPFL PMD basic code.
Signed-off-by: Mingxia Liu
---
drivers/net/idpf/idpf_ethdev.c | 63 +++---
1 file changed, 28 insertions(+), 35 deletions(-)
diff --git a/drivers/net/idpf/idpf_ethdev.c b
This patch moves vport info updating lines to the last,
in order to fix reverting missing in the error handle.
Fixes: 5e0f60527e5b ("net/idpf: remove vport req and recv info from adapter")
Signed-off-by: Mingxia Liu
---
drivers/net/idpf/idpf_ethdev.c | 8
1 file changed, 4
This patch refines 'IDPF_VPORT' param string in
'RTE_PMD_REGISTER_PARAM_STRING'.
Signed-off-by: Mingxia Liu
---
drivers/net/idpf/idpf_ethdev.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf
This patch refines 'IDPF_VPORT' param string in
'RTE_PMD_REGISTER_PARAM_STRING'.
Signed-off-by: Mingxia Liu
---
drivers/net/idpf/idpf_ethdev.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf
This patch adds 'cur_vports' and 'cur_vport_nb' updation in error path.
Signed-off-by: Mingxia Liu
---
drivers/net/idpf/idpf_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c
index 801da57472..3e6
This patch moves 'struct eth_dev_ops idpf_eth_dev_ops = {...}'
block just after idpf_dev_close(), to group dev_ops related
code together.
Signed-off-by: Mingxia Liu
---
drivers/net/idpf/idpf_ethdev.c | 56 +-
1 file changed, 28 insertions(+), 28
This patch refines idpf_dev_link_update callback function according to
CPFL PMD basic code.
Signed-off-by: Mingxia Liu
---
drivers/net/idpf/idpf_ethdev.c | 63 --
1 file changed, 30 insertions(+), 33 deletions(-)
diff --git a/drivers/net/idpf/idpf_ethdev.c b
This patch refines idpf_dev_link_update callback function according to
CPFL PMD basic code.
Signed-off-by: Mingxia Liu
---
drivers/net/idpf/idpf_ethdev.c | 63 --
1 file changed, 30 insertions(+), 33 deletions(-)
diff --git a/drivers/net/idpf/idpf_ethdev.c b
This patch refines idpf_dev_link_update callback function according to
CPFL PMD basic code.
Signed-off-by: Mingxia Liu
---
drivers/net/idpf/idpf_ethdev.c | 63 --
1 file changed, 30 insertions(+), 33 deletions(-)
diff --git a/drivers/net/idpf/idpf_ethdev.c b
This patch refines devargs parsing functions and use valid
variable max_vport_nb to replace IDPF_MAX_VPORT_NUM.
Signed-off-by: Mingxia Liu
---
drivers/net/idpf/idpf_ethdev.c | 55 +++---
1 file changed, 24 insertions(+), 31 deletions(-)
diff --git a/drivers/net/idpf
This patch refines devargs parsing functions and use valid
variable max_vport_nb to replace IDPF_MAX_VPORT_NUM.
Signed-off-by: Mingxia Liu
---
drivers/net/idpf/idpf_ethdev.c | 61 +-
1 file changed, 30 insertions(+), 31 deletions(-)
diff --git a/drivers/net/idpf
This patch refines devargs parsing functions and use valid
variable max_vport_nb to replace IDPF_MAX_VPORT_NUM.
Signed-off-by: Mingxia Liu
---
drivers/net/idpf/idpf_ethdev.c | 61 +-
1 file changed, 30 insertions(+), 31 deletions(-)
diff --git a/drivers/net/idpf
This patch updates cpfl.rst doc, adjusting the order of chapters
referring to IDPF PMD doc.
Signed-off-by: Mingxia Liu
---
doc/guides/nics/cpfl.rst | 44 +---
1 file changed, 23 insertions(+), 21 deletions(-)
diff --git a/doc/guides/nics/cpfl.rst b/doc
annel message")
Signed-off-by: Mingxia Liu
---
drivers/net/idpf/idpf_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c
index db58157ba3..46aec6ae37 100644
--- a/drivers/net/idpf/idpf_ethdev.c
+++ b/d
ation")
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index 0940bf1276..54261d5743 100644
--- a/drivers/net/cpfl/cpfl_ethdev.c
+++ b/driver
ation")
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 2 +-
drivers/net/idpf/idpf_ethdev.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index 0940bf1276..54261d5743 100644
--- a/driver
Add support for these device ops:
- dev_xstats_get
- dev_xstats_get_names
- dev_xstats_reset
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 79 ++
1 file changed, 79 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl
This patch add single q recv scatter Rx function.
Signed-off-by: Wenjun Wu
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 3 ++-
drivers/net/cpfl/cpfl_rxtx.c | 27 +++
drivers/net/cpfl/cpfl_rxtx.h | 2 ++
3 files changed, 31 insertions(+), 1
Add support of AVX512 vector data path for single queue model.
Signed-off-by: Wenjun Wu
Signed-off-by: Mingxia Liu
---
doc/guides/nics/cpfl.rst| 24 +-
drivers/net/cpfl/cpfl_ethdev.c | 3 +-
drivers/net/cpfl/cpfl_rxtx.c| 93
Add support for these device ops:
- rss_reta_update
- rss_reta_query
- rss_hash_update
- rss_hash_conf_get
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 271 -
1 file changed, 270 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cpfl
This patch add hardware packets/bytes statistics.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 87 ++
1 file changed, 87 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index ae716d104c..4970020139
Add support of AVX512 data path for split queue model.
Signed-off-by: Wenjun Wu
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_rxtx.c| 56 +++--
drivers/net/cpfl/cpfl_rxtx_vec_common.h | 20 -
drivers/net/cpfl/meson.build| 6 ++-
3
Add support for timestamp offload.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 3 ++-
drivers/net/cpfl/cpfl_rxtx.c | 7 +++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index e64cadfd38
Add Tx offloading support:
- support TSO for single queue model and split queue model.
Signed-off-by: Mingxia Liu
---
doc/guides/nics/features/cpfl.ini | 1 +
drivers/net/cpfl/cpfl_ethdev.c| 8 +++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/doc/guides/nics/features
Add Rx offloading support:
- support CHKSUM and RSS offload for split queue model
- support CHKSUM offload for single queue model
Signed-off-by: Mingxia Liu
---
doc/guides/nics/features/cpfl.ini | 2 ++
drivers/net/cpfl/cpfl_ethdev.c| 6 ++
2 files changed, 8 insertions(+)
diff --git
Add RSS support.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 60 ++
drivers/net/cpfl/cpfl_ethdev.h | 15 +
2 files changed, 75 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index ef40ae08df
'idpf_vport_irq_map_config()' first.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 45 +-
drivers/net/cpfl/cpfl_ethdev.h | 2 ++
2 files changed, 46 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpf
Add basic Tx support in split queue mode and single queue mode.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 3 +++
drivers/net/cpfl/cpfl_rxtx.c | 20
drivers/net/cpfl/cpfl_rxtx.h | 1 +
3 files changed, 24 insertions(+)
diff --git a/drivers/net
Add basic Rx support in split queue mode and single queue mode.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 2 ++
drivers/net/cpfl/cpfl_rxtx.c | 18 ++
drivers/net/cpfl/cpfl_rxtx.h | 1 +
3 files changed, 21 insertions(+)
diff --git a/drivers/net/cpfl
Add dev ops mtu_set.
Signed-off-by: Mingxia Liu
---
doc/guides/nics/features/cpfl.ini | 1 +
drivers/net/cpfl/cpfl_ethdev.c| 27 +++
2 files changed, 28 insertions(+)
diff --git a/doc/guides/nics/features/cpfl.ini
b/doc/guides/nics/features/cpfl.ini
index
Add support for queue operations:
- rx_queue_release
- tx_queue_release
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 2 ++
drivers/net/cpfl/cpfl_rxtx.c | 24
drivers/net/cpfl/cpfl_rxtx.h | 2 ++
3 files changed, 28 insertions(+)
diff --git a
Add support for these device ops:
- rx_queue_stop
- tx_queue_stop
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 10 +++-
drivers/net/cpfl/cpfl_rxtx.c | 98 ++
drivers/net/cpfl/cpfl_rxtx.h | 3 ++
3 files changed, 110 insertions(+), 1
Add support for these device ops:
- rx_queue_start
- tx_queue_start
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 41 ++
drivers/net/cpfl/cpfl_rxtx.c | 138 +
drivers/net/cpfl/cpfl_rxtx.h | 4 +
3 files changed, 183 insertions
Add dev ops dev_start, dev_stop and link_update.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 35 ++
1 file changed, 35 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index ae011da76f..6cbc950d84
r the split queue model, "RX buffer queues" are used to pass
descriptor buffers from SW to HW, while RX queues are used only to
pass the descriptor completions from HW to SW.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 11 ++
drivers/net/cpfl/cpfl
split queue model, "Tx completion queue" are used to pass
descriptor buffers from SW to HW, while TX queues are used only to
pass the descriptor completions from HW to SW.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 13 ++
drivers/net/cpfl/cpfl
edundant code.
This patchset is based on the idpf PMD code for refining Rx/Tx queue
model info:
http://patches.dpdk.org/project/dpdk/patch/20230302195111.1104185-1-mingxia@intel.com/
Mingxia Liu (21):
net/cpfl: support device initialization
net/cpfl: add Tx queue setup
net/cpfl: add Rx qu
Support device init and add the following dev ops:
- dev_configure
- dev_close
- dev_infos_get
- link_update
- dev_supported_ptypes_get
Signed-off-by: Mingxia Liu
---
MAINTAINERS| 8 +
doc/guides/nics/cpfl.rst | 85 +++
doc/guides/nics/features
This patch updates queue mode info in struct idpf_adapter.
Using is_rx_singleq_model to diffentiate rx_singq and rx_splitq
explicitly, instead of deducing it from pointer values.
Signed-off-by: Mingxia Liu
---
drivers/common/idpf/idpf_common_device.c | 4 ++--
drivers/common/idpf
Add support for these device ops:
- dev_xstats_get
- dev_xstats_get_names
- dev_xstats_reset
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 78 ++
1 file changed, 78 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl
This patch add single q recv scatter Rx function.
Signed-off-by: Wenjun Wu
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 3 ++-
drivers/net/cpfl/cpfl_rxtx.c | 27 +++
drivers/net/cpfl/cpfl_rxtx.h | 2 ++
3 files changed, 31 insertions(+), 1
Add support for these device ops:
- rss_reta_update
- rss_reta_query
- rss_hash_update
- rss_hash_conf_get
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 271 -
1 file changed, 270 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cpfl
This patch add hardware packets/bytes statistics.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 87 ++
1 file changed, 87 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index 8ed6308a36..1f41bb8977
Add support of AVX512 data path for split queue model.
Signed-off-by: Wenjun Wu
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_rxtx.c| 56 +++--
drivers/net/cpfl/cpfl_rxtx_vec_common.h | 20 -
drivers/net/cpfl/meson.build| 6 ++-
3
Add support for timestamp offload.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 3 ++-
drivers/net/cpfl/cpfl_rxtx.c | 7 +++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index 8685c6e27b
Add support of AVX512 vector data path for single queue model.
Signed-off-by: Wenjun Wu
Signed-off-by: Mingxia Liu
---
doc/guides/nics/cpfl.rst| 24 +-
drivers/net/cpfl/cpfl_ethdev.c | 3 +-
drivers/net/cpfl/cpfl_rxtx.c| 93
Add Tx offloading support:
- support TSO for single queue model and split queue model.
Signed-off-by: Mingxia Liu
---
doc/guides/nics/features/cpfl.ini | 1 +
drivers/net/cpfl/cpfl_ethdev.c| 8 +++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/doc/guides/nics/features
Add Rx offloading support:
- support CHKSUM and RSS offload for split queue model
- support CHKSUM offload for single queue model
Signed-off-by: Mingxia Liu
---
doc/guides/nics/features/cpfl.ini | 2 ++
drivers/net/cpfl/cpfl_ethdev.c| 6 ++
2 files changed, 8 insertions(+)
diff --git
Add RSS support.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 60 ++
drivers/net/cpfl/cpfl_ethdev.h | 15 +
2 files changed, 75 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index b09c7d4996
'idpf_vport_irq_map_config()' first.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 45 +-
drivers/net/cpfl/cpfl_ethdev.h | 2 ++
2 files changed, 46 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpf
Add basic Tx support in split queue mode and single queue mode.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 3 +++
drivers/net/cpfl/cpfl_rxtx.c | 20
drivers/net/cpfl/cpfl_rxtx.h | 1 +
3 files changed, 24 insertions(+)
diff --git a/drivers/net
Add basic Rx support in split queue mode and single queue mode.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 2 ++
drivers/net/cpfl/cpfl_rxtx.c | 18 ++
drivers/net/cpfl/cpfl_rxtx.h | 1 +
3 files changed, 21 insertions(+)
diff --git a/drivers/net/cpfl
Add dev ops mtu_set.
Signed-off-by: Mingxia Liu
---
doc/guides/nics/features/cpfl.ini | 1 +
drivers/net/cpfl/cpfl_ethdev.c| 27 +++
2 files changed, 28 insertions(+)
diff --git a/doc/guides/nics/features/cpfl.ini
b/doc/guides/nics/features/cpfl.ini
index
Add support for queue operations:
- rx_queue_release
- tx_queue_release
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 2 ++
drivers/net/cpfl/cpfl_rxtx.c | 24
drivers/net/cpfl/cpfl_rxtx.h | 2 ++
3 files changed, 28 insertions(+)
diff --git a
Add support for these device ops:
- rx_queue_stop
- tx_queue_stop
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 10 +++-
drivers/net/cpfl/cpfl_rxtx.c | 98 ++
drivers/net/cpfl/cpfl_rxtx.h | 3 ++
3 files changed, 110 insertions(+), 1
Add support for these device ops:
- rx_queue_start
- tx_queue_start
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 41 ++
drivers/net/cpfl/cpfl_rxtx.c | 138 +
drivers/net/cpfl/cpfl_rxtx.h | 4 +
3 files changed, 183 insertions
Add dev ops dev_start, dev_stop and link_update.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 35 ++
1 file changed, 35 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index 99fd86d6d0..dbd3f056e7
r the split queue model, "RX buffer queues" are used to pass
descriptor buffers from SW to HW, while RX queues are used only to
pass the descriptor completions from HW to SW.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 11 ++
drivers/net/cpfl/cpfl
split queue model, "Tx completion queue" are used to pass
descriptor buffers from SW to HW, while TX queues are used only to
pass the descriptor completions from HW to SW.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 13 ++
drivers/net/cpfl/cpfl
Support device init and add the following dev ops:
- dev_configure
- dev_close
- dev_infos_get
- link_update
- dev_supported_ptypes_get
Signed-off-by: Mingxia Liu
---
MAINTAINERS| 8 +
doc/guides/nics/cpfl.rst | 85 +++
doc/guides/nics/features
e for refining Rx/Tx queue
model info:
http://patches.dpdk.org/project/dpdk/patch/20230301192659.601892-1-mingxia@intel.com/
Mingxia Liu (21):
net/cpfl: support device initialization
net/cpfl: add Tx queue setup
net/cpfl: add Rx queue setup
net/cpfl: support device start and stop
net
This patch updates queue mode info in struct idpf_adapter.
Using is_rx_singleq_model to diffentiate rx_singq and rx_splitq
explicitly, instead of deducing it from pointer values.
Signed-off-by: Mingxia Liu
---
drivers/common/idpf/idpf_common_device.c | 4 ++--
drivers/common/idpf
This patch update queue mode info in struct idpf_adapter.
Using is_rx_singleq_model to diffentiate rx_singq and rx_splitq
explicitly, instead of deducing it from pointer values.
Signed-off-by: Mingxia Liu
---
drivers/common/idpf/idpf_common_device.c | 4 ++--
drivers/common/idpf
This patch adds hw stats ierrors, when receiving packets with
bad csum, ierrors value will increase.
Signed-off-by: Mingxia Liu
---
drivers/net/idpf/idpf_ethdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c
index 38cbbf369d
This patch adds hw stats ierrors, when receiving packets with
bad csum, ierrors value will increase.
Signed-off-by: Mingxia Liu
---
drivers/net/idpf/idpf_ethdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c
index 38cbbf369d
This patch add hw stats ierrors, when receive packets with
bad csum, ierrors value will increase.
Signed-off-by: Mingxia Liu
---
drivers/net/idpf/idpf_ethdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c
index 38cbbf369d
Add support for these device ops:
- dev_xstats_get
- dev_xstats_get_names
- dev_xstats_reset
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 80 ++
1 file changed, 80 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl
This patch add single q recv scatter Rx function.
Signed-off-by: Wenjun Wu
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 3 ++-
drivers/net/cpfl/cpfl_rxtx.c | 27 +++
drivers/net/cpfl/cpfl_rxtx.h | 2 ++
3 files changed, 31 insertions(+), 1
Add support for these device ops:
- rss_reta_update
- rss_reta_query
- rss_hash_update
- rss_hash_conf_get
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 270 -
1 file changed, 269 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cpfl
This patch add hardware packets/bytes statistics.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 86 ++
1 file changed, 86 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index 1e40f3e55c..0fb9f0455b
Add support of AVX512 data path for split queue model.
Signed-off-by: Wenjun Wu
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_rxtx.c| 56 +++--
drivers/net/cpfl/cpfl_rxtx_vec_common.h | 20 -
drivers/net/cpfl/meson.build| 6 ++-
3
Add support for timestamp offload.
Signed-off-by: Mingxia Liu
---
doc/guides/nics/features/cpfl.ini | 1 +
drivers/net/cpfl/cpfl_ethdev.c| 3 ++-
drivers/net/cpfl/cpfl_rxtx.c | 7 +++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/doc/guides/nics/features/cpfl.ini
Add support of AVX512 vector data path for single queue model.
Signed-off-by: Wenjun Wu
Signed-off-by: Mingxia Liu
---
doc/guides/nics/cpfl.rst| 24 +-
drivers/net/cpfl/cpfl_ethdev.c | 3 +-
drivers/net/cpfl/cpfl_rxtx.c| 94
Add Tx offloading support:
- support TSO for single queue model and split queue model.
Signed-off-by: Mingxia Liu
---
doc/guides/nics/features/cpfl.ini | 1 +
drivers/net/cpfl/cpfl_ethdev.c| 8 +++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/doc/guides/nics/features
Add Rx offloading support:
- support CHKSUM and RSS offload for split queue model
- support CHKSUM offload for single queue model
Signed-off-by: Mingxia Liu
---
doc/guides/nics/features/cpfl.ini | 2 ++
drivers/net/cpfl/cpfl_ethdev.c| 6 ++
2 files changed, 8 insertions(+)
diff --git
Add RSS support.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 51 ++
drivers/net/cpfl/cpfl_ethdev.h | 15 ++
2 files changed, 66 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index
Enable write back on ITR expire, then packets can be received one by
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 45 +-
drivers/net/cpfl/cpfl_ethdev.h | 2 ++
2 files changed, 46 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cpfl
Add basic Tx support in split queue mode and single queue mode.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 3 +++
drivers/net/cpfl/cpfl_rxtx.c | 20
drivers/net/cpfl/cpfl_rxtx.h | 1 +
3 files changed, 24 insertions(+)
diff --git a/drivers/net
Add basic Rx support in split queue mode and single queue mode.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 2 ++
drivers/net/cpfl/cpfl_rxtx.c | 18 ++
drivers/net/cpfl/cpfl_rxtx.h | 1 +
3 files changed, 21 insertions(+)
diff --git a/drivers/net/cpfl
Add dev ops mtu_set.
Signed-off-by: Mingxia Liu
---
doc/guides/nics/features/cpfl.ini | 1 +
drivers/net/cpfl/cpfl_ethdev.c| 27 +++
2 files changed, 28 insertions(+)
diff --git a/doc/guides/nics/features/cpfl.ini
b/doc/guides/nics/features/cpfl.ini
index
Add support for queue operations:
- rx_queue_release
- tx_queue_release
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 2 ++
drivers/net/cpfl/cpfl_rxtx.c | 35 ++
drivers/net/cpfl/cpfl_rxtx.h | 2 ++
3 files changed, 39 insertions
Add support for these device ops:
- rx_queue_stop
- tx_queue_stop
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 10 +++-
drivers/net/cpfl/cpfl_rxtx.c | 87 ++
drivers/net/cpfl/cpfl_rxtx.h | 3 ++
3 files changed, 99 insertions(+), 1
Add support for these device ops:
- rx_queue_start
- tx_queue_start
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 41 ++
drivers/net/cpfl/cpfl_rxtx.c | 138 +
drivers/net/cpfl/cpfl_rxtx.h | 4 +
3 files changed, 183 insertions
Add dev ops dev_start, dev_stop and link_update.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 35 ++
1 file changed, 35 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index 3029f03d02..d1dfcfff9b
Add support for rx_queue_setup ops.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 11 ++
drivers/net/cpfl/cpfl_rxtx.c | 232 +
drivers/net/cpfl/cpfl_rxtx.h | 6 +
3 files changed, 249 insertions(+)
diff --git a/drivers/net/cpfl
Rx queues are used only to
pass the descriptor completions, that is, descriptors that point
to completed buffers, from HW to SW. This is contrary to the single
queue model in which Rx queues are used for both purposes.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 13
Support device init and add the following dev ops:
- dev_configure
- dev_close
- dev_infos_get
- link_update
- dev_supported_ptypes_get
Signed-off-by: Mingxia Liu
---
MAINTAINERS| 8 +
doc/guides/nics/cpfl.rst | 66 +++
doc/guides/nics/features
g/project/dpdk/cover/20230106090501.9106-1-beilei.x...@intel.com/
http://patches.dpdk.org/project/dpdk/cover/20230207084549.2225214-1-wenjun1...@intel.com/
http://patches.dpdk.org/project/dpdk/cover/20230208073401.2468579-1-mingxia@intel.com/
Mingxia Liu (21):
net/cpfl: support device initializatio
RSS should direct traffic only to the normal data Rx queues,
so when hairpin queue configured, RSS LUT should be adjusted
to exclude the hairpin queue.
Signed-off-by: Xiao Wang
Signed-off-by: Junfeng Guo
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 38
This patch add hairpin queue start and stop.
Signed-off-by: Beilei Xing
Signed-off-by: Xiao Wang
Signed-off-by: Junfeng Guo
Signed-off-by: Mingxia Liu
---
drivers/common/idpf/idpf_common_device.c | 1 +
drivers/common/idpf/idpf_common_virtchnl.c | 72 ++-
drivers/common/idpf
This patch add hairpin queue ops
- hairpin_cap_get
- rx_hairpin_queue_setup
- tx_hairpin_queue_setup
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 15 ++
drivers/net/cpfl/cpfl_rxtx.c | 443 -
drivers/net/cpfl/cpfl_rxtx.h | 22 +-
3
This patch update device initialization for hairpin queue.
Signed-off-by: Beilei Xing
Signed-off-by: Xiao Wang
Signed-off-by: Junfeng Guo
Signed-off-by: Mingxia Liu
---
drivers/common/idpf/idpf_common_device.c | 51
drivers/common/idpf/idpf_common_device.h | 2
This patch add some structure for hairpin queue,
cpfl_rx_queue/cpfl_tx_queue/cpfl_vport.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 102 +++-
drivers/net/cpfl/cpfl_ethdev.h | 8 +-
drivers/net/cpfl/cpfl_rxtx.c| 196
PMD code:
http://patches.dpdk.org/project/dpdk/cover/20230213021956.2953088-1-mingxia@intel.com/
Mingxia Liu (5):
net/cpfl: add some structure for hairpin queue
net/cpfl: update device initialization for hairpin queue
net/cpfl: add hairpin queue enable and setup
net/cpfl: support hairpin
Add support for these device ops:
- dev_xstats_get
- dev_xstats_get_names
- dev_xstats_reset
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 80 ++
1 file changed, 80 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl
Add support for these device ops:
- rss_reta_update
- rss_reta_query
- rss_hash_update
- rss_hash_conf_get
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 270 -
1 file changed, 269 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cpfl
This patch add single q recv scatter Rx function.
Signed-off-by: Wenjun Wu
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 3 ++-
drivers/net/cpfl/cpfl_rxtx.c | 27 +++
drivers/net/cpfl/cpfl_rxtx.h | 2 ++
3 files changed, 31 insertions(+), 1
This patch add hardware packets/bytes statistics.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 86 ++
1 file changed, 86 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index 1e40f3e55c..0fb9f0455b
Add support of AVX512 data path for split queue model.
Signed-off-by: Wenjun Wu
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_rxtx.c| 56 +++--
drivers/net/cpfl/cpfl_rxtx_vec_common.h | 20 -
drivers/net/cpfl/meson.build| 6 ++-
3
1 - 100 of 286 matches
Mail list logo