Removed redundant and unused fields from the idpf pmd specific field
in common Tx queue structure to reduce its memory footprint.
Signed-off-by: Shaiq Wani
---
drivers/net/intel/common/tx.h | 6 +--
drivers/net/intel/cpfl/cpfl_ethdev.c | 6 ---
drivers/net/intel/cpfl
Removed redundant and unused fields from the idpf pmd specific field
in common Tx queue structure to reduce its memory footprint.
Signed-off-by: Shaiq Wani
---
drivers/net/intel/common/tx.h | 6 +---
drivers/net/intel/cpfl/cpfl_ethdev.c | 6
drivers/net/intel
Switch the idpf driver to use the common Tx free function for
AVX2 and AVX512
Signed-off-by: Shaiq Wani
Acked-by: Bruce Richardson
---
.../net/intel/idpf/idpf_common_rxtx_avx2.c| 61 +
.../net/intel/idpf/idpf_common_rxtx_avx512.c | 230 +-
drivers/net/intel/idpf
Merge in additional fields used by the idpf driver and then convert it
over to using the common Tx queue structure
Signed-off-by: Shaiq Wani
Acked-by: Bruce Richardson
---
drivers/net/intel/common/tx.h | 18 ++
drivers/net/intel/cpfl/cpfl_ethdev.c | 3 +-
drivers
Used the common Tx entry structure and common Tx mbuf ring replenish fn
in place of idpf-specific structure and function.
The vector driver code paths (AVX2, AVX512) use the smaller SW
ring structure.
Signed-off-by: Shaiq Wani
Acked-by: Bruce Richardson
---
drivers/net/intel/cpfl/cpfl_rxtx.c
Align the Tx queue struct field names in idpf and
cpfl driver with the common Tx queue struct.
Signed-off-by: Shaiq Wani
Acked-by: Bruce Richardson
---
drivers/net/intel/cpfl/cpfl_rxtx.c| 40 -
drivers/net/intel/cpfl/cpfl_rxtx_vec_common.h | 4 +-
drivers/net/intel/idpf
reworked the drivers to use the common functions
and structures from drivers/net/intel/common.
v8: fixed idpf_desc_done fn.
v7: rebased on top of latest main branch for a clean apply.
Shaiq Wani (4):
net/intel: align Tx queue struct field names
net/intel: use common Tx entry structure
net
Merge in additional fields used by the idpf driver and then convert it
over to using the common Tx queue structure
Signed-off-by: Shaiq Wani
Acked-by: Bruce Richardson
---
drivers/net/intel/common/tx.h | 18 ++
drivers/net/intel/cpfl/cpfl_ethdev.c | 3 +-
drivers
Align the Tx queue struct field names in idpf and
cpfl driver with the common Tx queue struct.
Signed-off-by: Shaiq Wani
Acked-by: Bruce Richardson
---
drivers/net/intel/cpfl/cpfl_rxtx.c| 40 -
drivers/net/intel/cpfl/cpfl_rxtx_vec_common.h | 4 +-
drivers/net/intel/idpf
Switch the idpf driver to use the common Tx free function for
AVX2 and AVX512
Signed-off-by: Shaiq Wani
Acked-by: Bruce Richardson
---
.../net/intel/idpf/idpf_common_rxtx_avx2.c| 61 +
.../net/intel/idpf/idpf_common_rxtx_avx512.c | 230 +-
drivers/net/intel/idpf
Used the common Tx entry structure and common Tx mbuf ring replenish fn
in place of idpf-specific structure and function.
The vector driver code paths (AVX2, AVX512) use the smaller SW
ring structure.
Signed-off-by: Shaiq Wani
Acked-by: Bruce Richardson
---
drivers/net/intel/cpfl/cpfl_rxtx.c
reworked the drivers to use the common functions
and structures from drivers/net/intel/common.
v7: rebased on top of latest main branch so that it now applies cleanly.
Shaiq Wani (4):
net/intel: align Tx queue struct field names
net/intel: use common Tx entry structure
net/intel: use
Used the common Tx entry structure and common Tx mbuf ring replenish fn
in place of idpf-specific structure and function.
The vector driver code paths (AVX2, AVX512) use the smaller SW
ring structure.
Signed-off-by: Shaiq Wani
---
drivers/net/intel/idpf/idpf_common_rxtx.c | 26
Merge in additional fields used by the idpf driver and then convert it
over to using the common Tx queue structure
Signed-off-by: Shaiq Wani
---
drivers/net/intel/common/tx.h | 18 ++
drivers/net/intel/cpfl/cpfl_ethdev.c | 3 +-
drivers/net/intel/cpfl/cpfl_ethdev.h
reworked the drivers to use the common functions
and structures from drivers/net/intel/common.
Shaiq Wani (4):
net/intel: align Tx queue struct field names
net/intel: use common Tx entry structure
net/intel: use common Tx queue structure
net/idpf: use common Tx free fn in idpf
drivers
Merge in additional fields used by the idpf driver and then convert it
over to using the common Tx queue structure.
Signed-off-by: Shaiq Wani
---
drivers/net/intel/common/tx.h | 18 ++
drivers/net/intel/cpfl/cpfl_ethdev.c | 2 +-
drivers/net/intel/cpfl
Switch the idpf driver to use the common Tx free function for
AVX2 and AVX512
Signed-off-by: Shaiq Wani
---
.../net/intel/idpf/idpf_common_rxtx_avx2.c| 61 +
.../net/intel/idpf/idpf_common_rxtx_avx512.c | 230 +-
drivers/net/intel/idpf/idpf_rxtx_vec_common.h | 8 +
3
Used the common Tx entry structure and common Tx mbuf ring replenish fn
in place of idpf-specific structure and function.
The vector driver code paths (AVX2, AVX512) use the smaller SW
ring structure.
Signed-off-by: Shaiq Wani
---
drivers/net/intel/cpfl/cpfl_rxtx.c| 2 +-
drivers
Align the Tx queue struct field names in idpf and
cpfl driver with the common Tx queue struct.
Signed-off-by: Shaiq Wani
---
drivers/net/intel/cpfl/cpfl_rxtx.c| 40 -
drivers/net/intel/cpfl/cpfl_rxtx_vec_common.h | 4 +-
drivers/net/intel/idpf/idpf_common_rxtx.c | 72
Merge in additional fields used by the idpf driver and then convert it
over to using the common Tx queue structure
Signed-off-by: Shaiq Wani
---
drivers/net/intel/common/tx.h | 20 +++
drivers/net/intel/cpfl/cpfl_ethdev.c | 3 +-
drivers/net/intel/cpfl
Switch the idpf driver to use the common Tx free function for
AVX2 and AVX512
Signed-off-by: Shaiq Wani
---
.../net/intel/idpf/idpf_common_rxtx_avx2.c| 68 +
.../net/intel/idpf/idpf_common_rxtx_avx512.c | 237 +-
2 files changed, 22 insertions(+), 283 deletions
Used the common Tx entry structure and common Tx mbuf ring replenish fn
in place of idpf-specific structure and function.
The vector driver code paths (AVX2, AVX512) use the smaller SW
ring structure.
Signed-off-by: Shaiq Wani
---
drivers/net/intel/idpf/idpf_common_rxtx.c | 26
Align the Tx queue struct field names in idpf and
cpfl driver with the common Tx queue struct.
Signed-off-by: Shaiq Wani
---
drivers/net/intel/cpfl/cpfl_rxtx.c| 40 -
drivers/net/intel/cpfl/cpfl_rxtx_vec_common.h | 4 +-
drivers/net/intel/idpf/idpf_common_rxtx.c | 72
reworked the drivers to use the common functions
and structures from drivers/net/intel/common.
Shaiq Wani (4):
net/intel: align Tx queue struct field names
net/intel: use common Tx queue structure
net/intel: use common Tx entry structure
net/idpf: use common Tx free fn in idpf
drivers
Align the Tx queue struct field names in idpf and
cpfl driver with the common Tx queue struct.
Signed-off-by: Shaiq Wani
---
drivers/net/intel/cpfl/cpfl_rxtx.c| 40 -
drivers/net/intel/cpfl/cpfl_rxtx_vec_common.h | 4 +-
drivers/net/intel/idpf/idpf_common_rxtx.c | 72
Switch the idpf driver to use the common Tx free function for
AVX2 and AVX512.
Signed-off-by: Shaiq Wani
---
.../net/intel/idpf/idpf_common_rxtx_avx2.c| 10 +-
.../net/intel/idpf/idpf_common_rxtx_avx512.c | 237 +-
2 files changed, 22 insertions(+), 225 deletions(-)
diff
Merge in additional fields used by the idpf driver and then convert it
over to using the common Tx queue structure.
Signed-off-by: Shaiq Wani
---
drivers/net/intel/common/tx.h | 20 +++
drivers/net/intel/cpfl/cpfl_ethdev.c | 3 +-
drivers/net/intel/cpfl
reworked the drivers to use the common functions and structures
from drivers/net/intel/common.
Shaiq Wani (4):
net/intel: align Tx queue struct field names
net/intel: use common Tx queue structure
net/intel: use common Tx entry structure
net/idpf: use common Tx free fn in idpf
drivers
Used the common Tx entry structure and common Tx mbuf ring replenish fn
in place of idpf-specific structure and function.
The vector driver code paths (AVX2, AVX512) use the smaller SW
ring structure.
Signed-off-by: Shaiq Wani
---
drivers/net/intel/cpfl/cpfl_ethdev.c | 1 +
drivers
reworked the idpf and cpfl drivers to use the common functions and structures
from drivers/net/intel/common.
Shaiq Wani (4):
net/intel: use common Tx queue structure
net/intel: align Tx queue struct field names
net/intel: use common Tx entry structure
net/idpf: use common Tx free fn in
Using common code from net/intel/common in idpf and cpfl drivers.
Shaiq Wani (4):
net/intel: use common Tx queue structure
net/intel: align Tx queue struct field names
net/intel: use common Tx entry structure
net/idpf: use common Tx free fn in idpf
drivers/net/intel/common/tx.h
Used the common Tx entry structure and common Tx mbuf ring replenish fn
in place of idpf-specific structure and function.
The vector driver code paths (AVX2, AVX512) use the smaller SW
ring structure.
Signed-off-by: Shaiq Wani
---
drivers/net/intel/cpfl/cpfl_ethdev.c | 1 +
drivers
Align the Tx queue struct field names in idpf and
cpfl driver with the common Tx queue struct.
Signed-off-by: Shaiq Wani
---
drivers/net/intel/cpfl/cpfl_rxtx.c| 40 -
drivers/net/intel/cpfl/cpfl_rxtx_vec_common.h | 4 +-
drivers/net/intel/idpf/idpf_common_rxtx.c | 72
Switch the idpf driver to use the common Tx free function for
AVX2 and AVX512.
Signed-off-by: Shaiq Wani
---
.../net/intel/idpf/idpf_common_rxtx_avx2.c| 68 +
.../net/intel/idpf/idpf_common_rxtx_avx512.c | 237 +-
drivers/net/intel/idpf/idpf_rxtx_vec_common.h | 2
Align the Tx queue struct field names in idpf and
cpfl driver with the common Tx queue struct.
Signed-off-by: Shaiq Wani
---
drivers/net/intel/cpfl/cpfl_rxtx.c| 40 -
drivers/net/intel/cpfl/cpfl_rxtx_vec_common.h | 4 +-
drivers/net/intel/idpf/idpf_common_rxtx.c | 72
Switch the idpf driver to use the common Tx free function for
AVX2 and AVX512.
Signed-off-by: Shaiq Wani
---
.../net/intel/idpf/idpf_common_rxtx_avx2.c| 68 +
.../net/intel/idpf/idpf_common_rxtx_avx512.c | 237 +-
drivers/net/intel/idpf/idpf_rxtx_vec_common.h | 2
Merge in additional fields used by the idpf driver and then convert it
over to using the common Tx queue structure.
Signed-off-by: Shaiq Wani
---
drivers/net/intel/common/tx.h | 18 ++
drivers/net/intel/cpfl/cpfl_ethdev.c | 2 +-
drivers/net/intel/cpfl
reworked the drivers to use the common functions and structures
from drivers/net/intel/common.
Signed-off-by: Shaiq Wani
---
drivers/net/intel/common/tx.h | 21 +++-
drivers/net/intel/cpfl/cpfl_ethdev.c | 1 +
drivers/net/intel/cpfl/cpfl_ethdev.h | 2
d-off-by: Shaiq Wani
---
doc/guides/nics/cpfl.rst | 3 ++-
drivers/net/intel/cpfl/cpfl_rxtx.c | 24
2 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/doc/guides/nics/cpfl.rst b/doc/guides/nics/cpfl.rst
index 154201e745..5d267ef667 100644
--- a/doc/g
d-off-by: Shaiq Wani
---
drivers/common/idpf/idpf_common_device.h| 1 +
drivers/common/idpf/idpf_common_rxtx.h | 4 +
drivers/common/idpf/idpf_common_rxtx_avx2.c | 480
drivers/common/idpf/meson.build | 7 +
drivers/common/idpf/versio
d-off-by: Shaiq Wani
---
doc/guides/nics/idpf.rst| 8 +-
doc/guides/rel_notes/release_25_03.rst | 7 +
drivers/common/idpf/idpf_common_device.h| 1 +
drivers/common/idpf/idpf_common_rxtx.h | 4 +
drivers/common/idpf/idpf_common_rxtx_avx2.c
v5:
- Addressed review comments.
- Used newly introduced macros as suggested.
- Fixed build and compilation issues.
Shaiq Wani (2):
common/idpf: enable AVX2 for single queue Rx
common/idpf: enable AVX2 for single queue Tx
doc/guides/nics/idpf.rst| 8 +-
doc/guides
d-off-by: Shaiq Wani
---
doc/guides/nics/idpf.rst| 8 +-
doc/guides/rel_notes/release_25_03.rst | 7 +
drivers/common/idpf/idpf_common_device.h| 1 +
drivers/common/idpf/idpf_common_rxtx.h | 4 +
drivers/common/idpf/idpf_common_rxtx_avx2.c
d-off-by: Shaiq Wani
---
drivers/common/idpf/idpf_common_device.h| 1 +
drivers/common/idpf/idpf_common_rxtx.h | 4 +
drivers/common/idpf/idpf_common_rxtx_avx2.c | 480
drivers/common/idpf/meson.build | 7 +
drivers/common/idpf/versio
v4:
- Addressed review comments.
- Used newly introduced macros as suggested.
*** BLURB HERE ***
Shaiq Wani (2):
common/idpf: enable AVX2 for single queue Rx
common/idpf: enable AVX2 for single queue Tx
doc/guides/nics/idpf.rst| 8 +-
doc/guides/rel_notes
d-off-by: Shaiq Wani
---
doc/guides/nics/idpf.rst| 8 +-
doc/guides/rel_notes/release_25_03.rst | 7 +
drivers/common/idpf/idpf_common_device.h| 1 +
drivers/common/idpf/idpf_common_rxtx.h | 4 +
drivers/common/idpf/idpf_common_rxtx_avx2.c
d-off-by: Shaiq Wani
---
drivers/common/idpf/idpf_common_device.h| 1 +
drivers/common/idpf/idpf_common_rxtx.h | 4 +
drivers/common/idpf/idpf_common_rxtx_avx2.c | 485
drivers/common/idpf/meson.build | 7 +
drivers/common/idpf/versio
v3:
- Addressed review comments.
- Updated doc.
- Merged patch 3 into patch 2.
Shaiq Wani (2):
common/idpf: enable AVX2 for single queue Rx
common/idpf: enable AVX2 for single queue Tx
doc/guides/nics/idpf.rst| 8 +-
doc/guides/rel_notes/release_25_03.rst | 7
v2:
- Incorporated feedback from the review of v1.
- Updated documentation for idpf pmd.
- Removed support of buffer reassembly for multi-segment packets
- Reworked the `meson.build` script, referencing the ice driver.
- Resolved word wrapping issues.
Shaiq Wani (3):
common/idpf: enable AVX2
updated the documentation to reflect that both AVX512 and AVX2
support are available.
Signed-off-by: Shaiq Wani
---
doc/guides/nics/idpf.rst | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/doc/guides/nics/idpf.rst b/doc/guides/nics/idpf.rst
index 0370989a07
d-off-by: Shaiq Wani
---
doc/guides/rel_notes/release_25_03.rst | 7 +
drivers/common/idpf/idpf_common_device.h| 1 +
drivers/common/idpf/idpf_common_rxtx.h | 4 +
drivers/common/idpf/idpf_common_rxtx_avx2.c | 224
drivers/common/idpf/versio
d-off-by: Shaiq Wani
---
drivers/common/idpf/idpf_common_device.h| 1 +
drivers/common/idpf/idpf_common_rxtx.h | 4 +
drivers/common/idpf/idpf_common_rxtx_avx2.c | 485
drivers/common/idpf/meson.build | 9 +
drivers/common/idpf/versio
In case some CPUs don't support AVX512. Enable AVX2 for them to
get better per-core performance.
Signed-off-by: Shaiq Wani
---
doc/guides/rel_notes/release_25_03.rst | 3 +
drivers/common/idpf/idpf_common_device.h| 1 +
drivers/common/idpf/idpf_common_rxtx.h | 4 +
dr
In case some CPUs don't support AVX512. Enable AVX2 for them to
get better per-core performance.
Signed-off-by: Shaiq Wani
---
drivers/common/idpf/idpf_common_device.h| 1 +
drivers/common/idpf/idpf_common_rxtx.h | 4 +
drivers/common/idpf/idpf_common_rxtx_avx2.c
In case some CPUs don't support AVX512. Enable AVX2 for them to
get better per-core performance.
Shaiq Wani (2):
common/idpf: enable AVX2 for single queue Rx
common/idpf: enable AVX2 for single queue Tx
doc/guides/rel_notes/release_25_03.rst | 3 +
drivers/common
Added a note to avoid usage errors by end user.
Signed-off-by: Shaiq Wani
v2 - addressed review comments.
---
app/test-dma-perf/config.ini | 3 +++
doc/guides/tools/dmaperf.rst | 2 ++
2 files changed, 5 insertions(+)
diff --git a/app/test-dma-perf/config.ini b/app/test-dma-perf/config.ini
Added a note to avoid usage errors by end user.
Signed-off-by: Shaiq Wani
---
app/test-dma-perf/config.ini | 3 +++
doc/guides/tools/dmaperf.rst | 1 +
2 files changed, 4 insertions(+)
diff --git a/app/test-dma-perf/config.ini b/app/test-dma-perf/config.ini
index a1222ae86c..5008103979 100644
Added a note to avoid usage errors by end user.
Signed-off-by: Shaiq Wani
---
app/test-dma-perf/config.ini | 3 +++
doc/guides/tools/dmaperf.rst | 1 +
2 files changed, 4 insertions(+)
diff --git a/app/test-dma-perf/config.ini b/app/test-dma-perf/config.ini
index a1222ae86c..5008103979 100644
Set GRPCFG traffic class to value of 1 for best performance on current
generation of accelerators. Applicable to gen1 and gen2 devices.
Signed-off-by: Shaiq Wani
---
drivers/dma/idxd/idxd_pci.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/dma/idxd/idxd_pci.c b
-off-by: Shaiq Wani
---
doc/guides/nics/cpfl.rst | 3 +++
drivers/net/cpfl/cpfl_ethdev.c | 19 +++
drivers/net/cpfl/cpfl_ethdev.h | 5 -
3 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/doc/guides/nics/cpfl.rst b/doc/guides/nics/cpfl.rst
index 9b7a99c894
Check whether CPFL PMD runs on Host or ACC
Signed-off-by: Shaiq Wani
---
v2 Changes:
-Changed implementation based on review comment.
v3 Changes:
-Fixed indentation and coding style.
v4 Changes:
-Fix ipu_imc and ipu_acc to ipu-imc and ipu-acc.
---
drivers/net/cpfl/cpfl_ethdev.c | 17
Check whether CPFL PMD runs on Host or ACC
Signed-off-by: Shaiq Wani
---
drivers/net/cpfl/cpfl_ethdev.c | 17 +
drivers/net/cpfl/cpfl_ethdev.h | 5 -
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl
Check whether CPFL PMD runs on Host or ACC
Signed-off-by: Shaiq Wani
---
drivers/net/cpfl/cpfl_ethdev.c | 21 +
drivers/net/cpfl/cpfl_ethdev.h | 5 -
2 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl
Check whether CPFL PMD is running on Host or ACC
Signed-off-by: Shaiq Wani
---
drivers/net/cpfl/cpfl_ethdev.c | 25 +
drivers/net/cpfl/cpfl_ethdev.h | 5 -
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net
Check whether CPFL PMD runs on host IMC or ACC
Signed-off-by: Shaiq Wani
---
drivers/net/cpfl/cpfl_ethdev.c | 25 +
drivers/net/cpfl/cpfl_ethdev.h | 6 +-
2 files changed, 30 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net
Checks if DPDK is running on host, IMC or ACC
Signed-off-by: Shaiq Wani
---
get_running_host_id.patch | 70 +++
1 file changed, 70 insertions(+)
create mode 100644 get_running_host_id.patch
diff --git a/get_running_host_id.patch b/get_running_host_id.patch
66 matches
Mail list logo