consequence
double returning it to the mempool.
Fixes: 2bf1eecea240 ("fixup code for 18.05 and cleanup")
Signed-off-by: Rafal Kozik
---
app/pktgen.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/app/pktgen.c b/app/pktgen.c
index f7eee07..c1039a6 100644
Expose number of missed Rx packets from DPDK NIC statistics to Lua API.
Signed-off-by: Rafal Kozik
---
app/lpktgenlib.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/lpktgenlib.c b/app/lpktgenlib.c
index 9a6307c..e9c7241 100644
--- a/app/lpktgenlib.c
+++ b/app/lpktgenlib.c
@@ -2888,6
Instead of magic number and DPDK constants use, constants defined
in PKTGEN. It allows to easily adjust packets size for users needs.
For example jumbo packets could be supported by just increasing
DEFAULT_MBUF_SIZE and MAX_PKT_SIZE.
Signed-off-by: Rafal Kozik
---
app/pktgen-pcap.c | 22
uniform throughput, average length of packets in each PCAP
needs to be the same.
Signed-off-by: Rafal Kozik
---
app/pktgen-main.c | 40 ++--
app/pktgen-pcap.c | 12 ++--
app/pktgen-port-cfg.c | 8 +++-
app/pktgen-port-cfg.h | 1 +
4 files
?
Best regards,
Rafal
Rafal Kozik (5):
[pktgen] fix race condition in start
[pktgen] different PCAP per each queue
[pktgen] use constants for PCAP creation
[pktgen] expose number of missed Rx packets
[pktgen] fix cleanup of not sent packets
app/lpktgenlib.c | 1 +
app/pktgen
: f5f901fdf52b ("Update for 1.8 rte_mbuf changes.")
Signed-off-by: Rafal Kozik
---
app/pktgen-cmds.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/pktgen-cmds.c b/app/pktgen-cmds.c
index 95f6ef1..655f6bd 100644
--- a/app/pktgen-cmds.c
+++ b/app/pktgen-cmds.c
@
.
Fixes: f034b381d19f ("cleanup and fix for FVL NIC performance")
Signed-off-by: Rafal Kozik
---
app/pktgen.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/app/pktgen.c b/app/pktgen.c
index 2d9ff59..b4d3dfe 100644
--- a/app/pktgen.c
+++ b/app/pktgen.c
@@ -1054
order completion")
Cc: sta...@dpdk.org
Signed-off-by: Rafal Kozik
Acked-by: Michal Krawczyk
---
v2:
Fix commit author.
v3:
Add () for readability.
---
drivers/net/ena/ena_ethdev.c | 40
drivers/net/ena/ena_ethdev.h | 1 +
2 files changed, 29
order completion")
Cc: sta...@dpdk.org
Signed-off-by: Rafal Kozik
Acked-by: Michal Krawczyk
---
Fix commit author.
---
drivers/net/ena/ena_ethdev.c | 40
drivers/net/ena/ena_ethdev.h | 1 +
2 files changed, 29 insertions(+), 12 deletions(-)
di
dd Rx out of order completion")
Cc: sta...@dpdk.org
Signed-off-by: Rafal Kozik
Acked-by: Michal Krawczyk
---
drivers/net/ena/ena_ethdev.c | 40
drivers/net/ena/ena_ethdev.h | 1 +
2 files changed, 29 insertions(+), 12 deletions(-)
diff --git a/d
When queues are stoped release tx buffers.
During start initialize array of empty
tx/rx reqs with default values.
Fixes: df238f84c0a2 ("net/ena: recreate HW IO rings on start and stop")
Signed-off-by: Rafal Kozik
Acked-by: Michal Krawczyk
---
drivers/net/ena/ena_ethdev.c | 7 +
Add instruction how to bind ENA to VFIO-PCI driver.
Fixes: cf8a122c296a ("ena: introduce documentation")
Cc: sta...@dpdk.org
Signed-off-by: Zorik Machulsky
Signed-off-by: Rafal Kozik
Acked-by: Michal Krawczyk
---
v2:
Describe cases with and without IOMMU.
---
doc/guides/ni
Add instruction how to bind ENA to VFIO-PCI driver.
Fixes: cf8a122c296a ("ena: introduce documentation")
Cc: sta...@dpdk.org
Signed-off-by: Zorik Machulsky
Signed-off-by: Rafal Kozik
Acked-by: Michal Krawczyk
---
doc/guides/nics/ena.rst | 12 +---
doc/guides/nic
drivers that potentially could use internal_addr,
parameter wc_activate adds possibility to skip it for those PMDs,
that do not use it.
[1] https://www.kernel.org/doc/ols/2008/ols2008v2-pages-135-144.pdf
section 5.3 and 5.4
Signed-off-by: Rafal Kozik
Acked-by: Bruce Richardson
Acked-by
From: Kozik
Add pointer to driver structure before calling rte_pci_map_device.
It allows to use driver flags for adjusting configuration.
Signed-off-by: Rafal Kozik
Acked-by: Bruce Richardson
---
drivers/bus/pci/pci_common.c | 17 -
1 file changed, 12 insertions(+), 5
From: Kozik
Write combining (WC) increases NIC performance by making better
utilization of PCI bus. ENA PMD may make usage of this feature.
To enable it load igb_uio driver with wc_activate set to 1.
Signed-off-by: Rafal Kozik
Acked-by: Bruce Richardson
---
drivers/net/ena/ena_ethdev.c | 3
.
When mapping PCI resources, firstly check if it support WC
and then try to us it.
In case of failure, it will fallback to normal mode.
Signed-off-by: Rafal Kozik
Acked-by: Bruce Richardson
---
drivers/bus/pci/linux/pci_uio.c | 47 ++---
drivers/bus/pci
Support for write combining.
---
v2:
* Rebased on top of master.
* Fix typos.
* Make commit messages more verbose.
* Add comments.
* Initialize fd.
---
v3:
* Log if BAR was mapped with or without support for WC.
---
v4:
* Log only if WC mapping failed.
* Log if wc_activate is set in igb_
From: Kozik
Write combining (WC) increases NIC performance by making better
utilization of PCI bus. ENA PMD may make usage of this feature.
To enable it load igb_uio driver with wc_activate set to 1.
Signed-off-by: Rafal Kozik
Acked-by: Bruce Richardson
---
drivers/net/ena/ena_ethdev.c | 3
.
When mapping PCI resources, firstly check if it supports WC
and try to use it.
In case of failure, it will fall-back to normal mode.
Signed-off-by: Rafal Kozik
Acked-by: Bruce Richardson
---
drivers/bus/pci/linux/pci_uio.c | 47 ++---
drivers/bus/pci
drivers that potentially could use internal_addr,
parameter wc_activate adds possibility to skip it for those PMDs,
that do not use it.
[1] https://www.kernel.org/doc/ols/2008/ols2008v2-pages-135-144.pdf
section 5.3 and 5.4
Signed-off-by: Rafal Kozik
Acked-by: Bruce Richardson
---
kernel
From: Kozik
Add pointer to driver structure before calling rte_pci_map_device.
It allows to use driver flags for adjusting configuration.
Signed-off-by: Rafal Kozik
Acked-by: Bruce Richardson
---
drivers/bus/pci/pci_common.c | 17 -
1 file changed, 12 insertions(+), 5
Support for write combining.
---
v2:
* Rebased on top of master.
* Fix typos.
* Make commit messages more verbose.
* Add comments.
* Initialize fd.
---
v3:
* Log if BAR was mapped with or without support for WC.
---
v4:
* Before opening PCI resource, check if it supports WC.
* Log only w
resources, firstly try to us WC.
If it is not supported it will fallback to normal mode.
Signed-off-by: Rafal Kozik
Acked-by: Bruce Richardson
---
drivers/bus/pci/linux/pci_uio.c | 44 ++---
drivers/bus/pci/rte_bus_pci.h | 2 ++
2 files changed, 34
Write combining (WC) increases NIC performance by making better
utilization of PCI bus. ENA PMD may make usage of this feature.
To enable it load igb_uio driver with wc_activate set to 1.
Signed-off-by: Rafal Kozik
Acked-by: Bruce Richardson
---
drivers/net/ena/ena_ethdev.c | 3 ++-
1 file
Add pointer to driver structure before calling rte_pci_map_device.
It allows to use driver flags for adjusting configuration.
Signed-off-by: Rafal Kozik
Acked-by: Bruce Richardson
---
drivers/bus/pci/pci_common.c | 17 -
1 file changed, 12 insertions(+), 5 deletions(-)
diff
potentially could use internal_addr,
parameter wc_activate adds possibility to skip it for those PMDs,
that do not use it.
[1] https://www.kernel.org/doc/ols/2008/ols2008v2-pages-135-144.pdf
section 5.3 and 5.4
Signed-off-by: Rafal Kozik
Acked-by: Bruce Richardson
---
kernel/linux
Support for write combining.
---
v2:
* Rebased on top of master.
* Fix typos.
* Make commit messages more verbose.
* Add comments.
* Initialize fd.
---
v3:
* Log if BAR was mapped with or without support for WC.
Rafal Kozik (4):
igb_uio: add wc option
bus/pci: reference driver
Write combining (WC) increases NIC performance by making better
utilization of PCI bus. ENA PMD may make usage of this feature.
To enable it load igb_uio driver with wc_activate set to 1.
Signed-off-by: Rafal Kozik
Acked-by: Bruce Richardson
---
drivers/net/ena/ena_ethdev.c | 3 ++-
1 file
Add pointer to driver structure before calling rte_pci_map_device.
It allows to use driver flags for adjusting configuration.
Signed-off-by: Rafal Kozik
Acked-by: Bruce Richardson
---
drivers/bus/pci/pci_common.c | 17 -
1 file changed, 12 insertions(+), 5 deletions(-)
diff
resources, firstly try to us WC.
If it is not supported it will fallback to normal mode.
Signed-off-by: Rafal Kozik
Acked-by: Bruce Richardson
---
drivers/bus/pci/linux/pci_uio.c | 41 +
drivers/bus/pci/rte_bus_pci.h | 2 ++
2 files changed, 31
potentially could use internal_addr,
parameter wc_activate adds possibility to skip it for those PMDs,
that do not use it.
[1] https://www.kernel.org/doc/ols/2008/ols2008v2-pages-135-144.pdf
section 5.3 and 5.4
Signed-off-by: Rafal Kozik
Acked-by: Bruce Richardson
---
kernel/linux
Support for write combining.
---
v2:
* Rebased on top of master.
* Fix typos.
* Make commit messages more verbose.
* Add comments.
* Initialize fd.
Rafal Kozik (4):
igb_uio: add wc option
bus/pci: reference driver structure
eal: enable WC during resources mapping
net/ena: enable WC
Reference driver structure before calling rte_pci_map_device.
It allow to use driver flags for adjusting configuration.
Signed-off-by: Rafal Kozik
---
drivers/bus/pci/pci_common.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/bus/pci/pci_common.c b
resources firstly try to us wc.
If it is not supported it will fallback to normal mode.
Signed-off-by: Rafal Kozik
---
drivers/bus/pci/linux/pci_uio.c | 39 ---
drivers/bus/pci/rte_bus_pci.h | 2 ++
2 files changed, 30 insertions(+), 11 deletions(-)
diff --git a
Write combining (wc) increase NIC performenca by making better
utilization of PCI bus. ENA support this feature.
To enable it load igb driver with wc_activate set to 1.
Signed-off-by: Rafal Kozik
---
drivers/net/ena/ena_ethdev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff
Support for write combining.
Rafal Kozik (4):
igb_uio: add wc option
bus/pci: reference driver structure
eal: enable WC during resources mapping
net/ena: enable WC
drivers/bus/pci/linux/pci_uio.c | 39 ---
drivers/bus/pci/pci_common.c| 13
Write combining (wc) increase NIC performance by making better
utilization of PCI bus, but cannot be use by all PMD.
Parameter wc_activate add possibility to enable it for
those PMD that could support it.
Signed-off-by: Rafal Kozik
---
kernel/linux/igb_uio/igb_uio.c | 17 ++---
1
ENA device supports Rx jumbo frames and such information needs to
be provided in the offloads flags.
Fixes: 7369f88f88c0 ("net/ena: convert to new Rx offloads API")
Signed-off-by: Rafal Kozik
---
drivers/net/ena/ena_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/d
t;ena: add polling-mode driver")
Reported-by: Matthew Smith
Signed-off-by: Rafal Kozik
---
drivers/net/ena/ena_ethdev.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c
index 83e0ae2..1e2af80 10
Ethdev Rx offloads API has changed since:
commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API")
This commit support the new Rx offloads API.
Signed-off-by: Rafal Kozik
---
v2:
* Use PRIx64 in printf.
drivers/net/ena/ena_ethdev.c | 36 ++-
this field are set.
Signed-off-by: Rafal Kozik
---
v2:
* Check ETH_TXQ_FLAGS_IGNORE flag.
* Use PRIx64 in printf.
drivers/net/ena/ena_ethdev.c | 74 +++-
drivers/net/ena/ena_ethdev.h | 3 ++
2 files changed, 62 insertions(+), 15 deletions(-)
diff --git
Ethdev Rx offloads API has changed since:
commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API")
This commit support the new Rx offloads API.
Signed-off-by: Rafal Kozik
---
drivers/net/ena/ena_ethdev.c | 36 ++--
drivers/net/ena/ena_ethdev.h
this field are set.
Signed-off-by: Rafal Kozik
---
drivers/net/ena/ena_ethdev.c | 73 +++-
drivers/net/ena/ena_ethdev.h | 3 ++
2 files changed, 61 insertions(+), 15 deletions(-)
diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c
ind
Ethdev offloads API has changed since:
commit cba7f53b717d ("ethdev: introduce Tx queue offloads API")
commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API")
Those patches support new offloads API.
Rafal Kozik (2):
net/ena: convert to new Tx offloads API
net/en
45 matches
Mail list logo