in flow director)
Cc: sta...@dpdk.org
Signed-off-by: Yuan Wang
---
drivers/net/intel/ixgbe/ixgbe_flow.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/intel/ixgbe/ixgbe_flow.c
b/drivers/net/intel/ixgbe/ixgbe_flow.c
index 33da2f47ec..1e3804bb15 100644
--- a/drivers/net/intel
There is a incorrect comparison in get_eeprom that cause epprom dump fail.
This patch fixes this issue.
Fixes: 83c314da4c38 (igb: add access to specific device info)
Cc: sta...@dpdk.org
Signed-off-by: Yuan Wang
---
drivers/net/intel/e1000/igb_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1
Update README with the date of when the lastest snapshot was generated.
Signed-off-by: Yuan Wang
---
drivers/net/ixgbe/base/README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/base/README b/drivers/net/ixgbe/base/README
index a6429fef19..8693c4ebc1
command buffer. This allows the original structure
and buffer to be restored before attempting the command again. However,
the function didn't perform the actual copy of the original command
buffer into the copy buffer.
Signed-off-by: Dan Nowlin
Signed-off-by: Yuan Wang
---
drivers/net/ixgbe
From: Dawid Zielinski
Added new capability informing about OROM recovery update.
Signed-off-by: Dawid Zielinski
Signed-off-by: Yuan Wang
---
drivers/net/ixgbe/base/ixgbe_e610.c | 3 +++
drivers/net/ixgbe/base/ixgbe_type_e610.h | 3 +++
2 files changed, 6 insertions(+)
diff --git a
: sta...@dpdk.org
Signed-off-by: Piotr Kwapulinski
Signed-off-by: Yuan Wang
---
drivers/net/ixgbe/base/ixgbe_type.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_type.h
b/drivers/net/ixgbe/base/ixgbe_type.h
index cc49eace91..99ae823119 100644
From: Karol Kolacinski
Add max_drift_thresh parameter to ixgbe_get_ptp_by_phy() to allow
passing maxDriftThreshold parameter from the response.
Signed-off-by: Karol Kolacinski
Signed-off-by: Yuan Wang
---
drivers/net/ixgbe/base/ixgbe_e610.c | 5 -
drivers/net/ixgbe/base/ixgbe_e610.h | 3
link management for E610)
Cc: sta...@dpdk.org
Signed-off-by: Piotr Kwapulinski
Signed-off-by: Yuan Wang
---
drivers/net/ixgbe/base/ixgbe_e610.c | 35 +++--
1 file changed, 23 insertions(+), 12 deletions(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_e610.c
b/drivers/net
From: Krzysztof Galazka
E610 adapters report overheating using a FW event. Add opcode
and event structure to properly handle such events.
Signed-off-by: Krzysztof Galazka
Signed-off-by: Yuan Wang
---
drivers/net/ixgbe/base/ixgbe_type_e610.h | 25
1 file changed, 25
-by: Karol Kolacinski
Signed-off-by: Yuan Wang
---
drivers/net/ixgbe/base/ixgbe_e610.c | 56
drivers/net/ixgbe/base/ixgbe_e610.h | 3 ++
drivers/net/ixgbe/base/ixgbe_type_e610.h | 52 ++
3 files changed, 111 insertions(+)
diff --git a/drivers/net/
From: Lukasz Krakowiak
The return value of ixgbe_get_fw_tsam_mode function may be a large integer
that does not match the desired bool type.
Fixes: 316637762a5f (net/ixgbe/base: enable E610 device)
Cc: sta...@dpdk.org
Signed-off-by: Lukasz Krakowiak
Signed-off-by: Yuan Wang
---
drivers/net
From: Dawid Zielinski
Add interface for sending ACI command for setting port
identification LED on E610.
Signed-off-by: Dawid Zielinski
Signed-off-by: Yuan Wang
---
drivers/net/ixgbe/base/ixgbe_e610.c | 29
drivers/net/ixgbe/base/ixgbe_e610.h | 1
/5G speeds from auto-negotiation for E610
net/ixgbe/base: update VF HV subsystem device ID constant
Yuan Wang (1):
net/ixgbe: update base driver README
drivers/net/ixgbe/base/README| 2 +-
drivers/net/ixgbe/base/ixgbe_api.c | 5 +-
drivers/net/ixgbe/base/ixgbe_e610.c
Add labels to get the correct table size and register address for RETA.
Fixes: 316637762a5f ("net/ixgbe/base: enable E610 device")
Signed-off-by: Yuan Wang
---
drivers/net/ixgbe/ixgbe_ethdev.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c
Interrupt mode is not working on E610 device because
this device doesn't enable the queue interrupt mapping,
this patch fixed the issue.
Fixes: 316637762a5f ("net/ixgbe/base: enable E610 device")
Cc: sta...@dpdk.org
Signed-off-by: Yuan Wang
---
drivers/net/ixgbe/ixgbe_ethdev.c |
device for a tx/rx queue.
(Default: no queues enable asynchronous data path)
- dma-ring-size: DMA ring size.
(Default: 4096).
Here is an example:
--vdev
'eth_vhost0,iface=./s0,dmas=[txq0@:00.01.0;rxq0@:00.01.1],dma-ring-size=4096'
Signed-off-by: Jiayu Hu
Signed-of
ore
remain symmetrical.
Fixes: 52e2e7edcf48 ("app/testpmd: add protocol-based buffer split")
Signed-off-by: Yuan Wang
---
v5:
- remove unrelated changes.
v4:
- redefine rx_pkt_hdr_protos to hold the full ptypes.
- use single switch in get_ptype_str().
v3:
- use RTE_PTYPE_*_MASK as masks.
- re
ore
remain symmetrical.
Fixes: 52e2e7edcf48 ("app/testpmd: add protocol-based buffer split")
Signed-off-by: Yuan Wang
---
v4:
- redefine rx_pkt_hdr_protos to hold the full ptypes.
- use single switch in get_ptype_str().
v3:
- use RTE_PTYPE_*_MASK as masks.
- refactor to use switch statemen
ks.
Fixes: 52e2e7edcf48 ("app/testpmd: add protocol-based buffer split")
Signed-off-by: Yuan Wang
---
v3:
- use RTE_PTYPE_*_MASK as masks.
- refactor to use switch statement.
v2:
- add fixline.
---
app/test-pmd/config.c | 89 +--
1 file changed, 44 inserti
device for a tx/rx queue.
(Default: no queues enable asynchronous data path)
- dma-ring-size: DMA ring size.
(Default: 4096).
Here is an example:
--vdev
'eth_vhost0,iface=./s0,dmas=[txq0@:00.01.0;rxq0@:00.01.1],dma-ring-size=4096'
Signed-off-by: Jiayu Hu
Signed-of
/testpmd: add protocol-based buffer split")
Signed-off-by: Yuan Wang
Tested-by: Yaqi Tang
---
v2: add fixline.
---
app/test-pmd/config.c | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 0f7d
The "show config rxhdrs" cmd displays the configured protocol headers
that are used for protocol-based buffer split.
However, it shows "inner-ipv6" as "inner-ipv4".
This patch fixes that by adjusting the order of condition judgments.
Signed-off-by: Yuan Wang
-
the end of the judgement condition.
Fixes: 629dad3ef325 ("net/ice: support buffer split in scalar Rx")
Signed-off-by: Yuan Wang
---
v2: fix typo
---
drivers/net/ice/ice_rxtx.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/net/ice/ic
the end of the judgement condition.
Fixes: 629dad3ef325 ("net/ice: support buffer split in scalar Rx")
Signed-off-by: Yuan Wang
---
drivers/net/ice/ice_rxtx.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/net/ice/ice_rxtx.c b/drive
Protocol header sequence checking is supported in the ethdev library,
the application does not need to do it again.
Coverity issue: 381396
Fixes: 52e2e7edcf48 ("app/testpmd: add protocol-based buffer split")
Signed-off-by: Yuan Wang
---
app/test-pmd/cmdline.c| 6 ++
ap
split is not supported in vectorized
paths.
A new API ice_buffer_split_supported_hdr_ptypes_get() has been
introduced, it will return the supported header protocols of ice PMD
to app for splitting.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
---
doc/guides/nics
the configuration can
only be applied when it is supported by specific pmd.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
---
app/test-pmd/cmdline.c | 152 +++-
app/test-pmd/config.c | 108 ++
app/test-
t seg
The split limitations imposed by underlying driver is reported in the
rte_eth_dev_info->rx_seg_capa field. The memory attributes for the split
parts may differ either, dpdk memory and external memory, respectively.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan
Add a new ethdev API to retrieve supported protocol headers
of a PMD, which helps to configure protocol header based buffer split.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
Reviewed-by: Andrew Rybchenko
---
doc/guides/nics/features.rst | 2 +-
doc
determine whether to use protocol based split.
v3:
Fix mail thread.
v2:
Add mbuf dump to the driver's buffer split path.
Add buffer split to the driver feature list.
Remove unsupported header protocols from the driver.
Yuan Wang (4):
ethdev: introduce protocol header API
ethdev: intr
.
Currently, protocol based buffer split is not supported in vectorized
paths.
A new api ice_buffer_split_supported_hdr_ptypes_get() has been
introduced, it will return the supported header protocols of ice PMD
to app for splitting.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by
the configuration can
only be applied when it is supported by specific pmd.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
---
app/test-pmd/cmdline.c| 152 +-
app/test-pmd/config.c | 95
app/test-
ored.
The split limitations imposed by underlying driver is reported in the
rte_eth_dev_info->rx_seg_capa field. The memory attributes for the split
parts may differ either, dpdk memory and external memory, respectively.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan
Add a new ethdev API to retrieve supported protocol headers
of a PMD, which helps to configure protocol header based buffer split.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
Reviewed-by: Andrew Rybchenko
---
doc/guides/rel_notes/release_22_11.rst | 5
description on how to put the unsplit packages.
Use proto_hdr to determine whether to use protocol based split.
v3:
Fix mail thread.
v2:
Add mbuf dump to the driver's buffer split path.
Add buffer split to the driver feature list.
Remove unsupported header protocols from the driver.
Yuan Wa
.
Currently, protocol based buffer split is not supported in vectorized
paths.
A new api ice_buffer_split_supported_hdr_ptypes_get() has been
introduced, it will return the supported header protocols of ice PMD
to app for splitting.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by
udp|grenat-eth-ipv4-sctp|
grenat-eth-ipv6-sctp)
Above protocols can be configured in testpmd. But the configuration can
only be applied when it is supported by specific pmd.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
---
app/test-pmd/cmdline.c|
configured, while the length field will
be ignored.
The split limitations imposed by underlying driver is reported in the
rte_eth_dev_info->rx_seg_capa field. The memory attributes for the split
parts may differ either, dpdk memory and external memory, respectively.
Signed-off-by: Yuan Wang
Add a new ethdev API to retrieve supported protocol headers
of a PMD, which helps to configure protocol header based buffer split.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
Reviewed-by: Andrew Rybchenko
---
doc/guides/rel_notes/release_22_11.rst | 5
put the unsplit packages.
Use proto_hdr to determine whether to use protocol based split.
v3:
Fix mail thread.
v2:
Add mbuf dump to the driver's buffer split path.
Add buffer split to the driver feature list.
Remove unsupported header protocols from the driver.
Yuan Wang (4):
ethdev: intr
device for a tx/rx queue.
(Default: no queues enable asynchronous data path)
- dma-ring-size: DMA ring size.
(Default: 4096).
Here is an example:
--vdev
'eth_vhost0,iface=./s0,dmas=[txq0@:00.01.0;rxq0@:00.01.1],dma-ring-size=4096'
Signed-off-by: Jiayu Hu
Signed-of
udp|grenat-eth-ipv4-sctp|
grenat-eth-ipv6-sctp)
Above protocols can be configured in testpmd. But the configuration can
only be applied when it is supported by specific pmd.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
---
app/test-pmd/cmdline.c|
configured, while the length field will
be ignored.
The split limitations imposed by underlying driver is reported in the
rte_eth_dev_info->rx_seg_capa field. The memory attributes for the split
parts may differ either, dpdk memory and external memory, respectively.
Signed-off-by: Yuan Wang
.
Currently, protocol based buffer split is not supported in vectorized
paths.
A new api ice_buffer_split_supported_hdr_ptypes_get() has been
introduced, it will return the supported header protocols of ice PMD
to app for splitting.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by
Add a new ethdev API to retrieve supported protocol headers
of a PMD, which helps to configure protocol header based buffer split.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
Reviewed-by: Andrew Rybchenko
---
doc/guides/rel_notes/release_22_11.rst | 5
.
Use proto_hdr to determine whether to use protocol based split.
v3:
Fix mail thread.
v2:
Add mbuf dump to the driver's buffer split path.
Add buffer split to the driver feature list.
Remove unsupported header protocols from the driver.
Yuan Wang (4):
ethdev: introduce protocol heade
.
Currently, protocol based buffer split is not supported in vectorized
paths.
A new api ice_buffer_split_supported_hdr_ptypes_get() has been
introduced, it will return the supported header protocols of ice PMD
to app for splitting.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by
udp|grenat-eth-ipv4-sctp|
grenat-eth-ipv6-sctp)
Above protocols can be configured in testpmd. But the configuration can
only be applied when it is supported by specific pmd.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
---
app/test-pmd/cmdline.c|
configured, while the length field will
be ignored.
The split limitations imposed by underlying driver is reported in the
rte_eth_dev_info->rx_seg_capa field. The memory attributes for the split
parts may differ either, dpdk memory and external memory, respectively.
Signed-off-by: Yuan Wang
Add a new ethdev API to retrieve supported protocol headers
of a PMD, which helps to configure protocol header based buffer split.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
Reviewed-by: Andrew Rybchenko
---
doc/guides/rel_notes/release_22_11.rst | 5
based split.
v3:
Fix mail thread.
v2:
Add mbuf dump to the driver's buffer split path.
Add buffer split to the driver feature list.
Remove unsupported header protocols from the driver.
Yuan Wang (4):
ethdev: introduce protocol header API
ethdev: introduce protocol hdr based buffer split
.
Currently, protocol based buffer split is not supported in vectorized
paths.
A new api ice_buffer_split_supported_hdr_ptypes_get() has been
introduced, it will return the supported header protocols of ice PMD
to app for splitting.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by
pmd : eth|ipv4|ipv6|tcp|udp|sctp|
inner_eth|inner_ipv4|inner_ipv6|
inner_tcp|inner_udp|inner_sctp)
Above protocols can be configured in testpmd. But the configuration can
only be applied when it is supported by specific pmd.
Signed-off-by: Y
The split limitations imposed by underlying driver is reported in the
rte_eth_dev_info->rx_seg_capa field. The memory attributes for the split
parts may differ either, dpdk memory and external memory, respectively.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
--
Add a new ethdev API to retrieve supported protocol headers
of a PMD, which helps to configure protocol header based buffer split.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
---
doc/guides/rel_notes/release_22_11.rst | 5
lib/ethdev/ethdev_driver.h
river.
Yuan Wang (4):
ethdev: introduce protocol header API
ethdev: introduce protocol hdr based buffer split
app/testpmd: add rxhdrs commands and parameters
net/ice: support buffer split in Rx path
app/test-pmd/cmdline.c | 124 +-
app/test-pmd/con
.
Currently, protocol based buffer split is not supported in vectorized
paths.
A new api ice_buffer_split_supported_hdr_ptypes_get() has been
introduced, it will return the supported header protocols of ice PMD
to app for splitting.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by
ned-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
---
app/test-pmd/cmdline.c| 123 +-
app/test-pmd/config.c | 70 ++
app/test-pmd/parameters.c | 16 -
app/test-pmd/testpmd.c| 2 +
app/test-
h_dev_info->rx_seg_capa field. The memory attributes for the split
parts may differ either, dpdk memory and external memory, respectively.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
---
doc/guides/rel_notes/release_22_11.rst | 5 +++
lib/ethdev/rte_ethdev.c
Add a new ethdev API to retrieve supported protocol headers
of a PMD, which helps to configure protocol header based buffer split.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
---
doc/guides/rel_notes/release_22_11.rst | 5
lib/ethdev/ethdev_driver.h
driver's buffer split path.
Add buffer split to the driver feature list.
Remove unsupported header protocols from the driver.
Yuan Wang (4):
ethdev: introduce protocol header API
ethdev: introduce protocol hdr based buffer split
app/testpmd: add rxhdrs commands and parameters
ne
.
Currently, protocol based buffer split is not supported in vectorized
paths.
A new api ice_buffer_split_supported_hdr_ptypes_get() has been
introduced, it will return the supported header protocols of ice PMD
to app for splitting.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by
ned-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
---
app/test-pmd/cmdline.c| 123 +-
app/test-pmd/config.c | 70 ++
app/test-pmd/parameters.c | 16 -
app/test-pmd/testpmd.c| 2 +
app/test-
h_dev_info->rx_seg_capa field. The memory attributes for the split
parts may differ either, dpdk memory and external memory, respectively.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
---
doc/guides/rel_notes/release_22_11.rst | 5 +++
lib/ethdev/rte_ethdev.c
Add a new ethdev API to retrieve supported protocol headers
of a PMD, which helps to configure protocol header based buffer split.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
---
doc/guides/rel_notes/release_22_11.rst | 5
lib/ethdev/ethdev_driver.h
split path.
Add buffer split to the driver feature list.
Remove unsupported header protocols from the driver.
Yuan Wang (4):
ethdev: introduce protocol header API
ethdev: introduce protocol hdr based buffer split
app/testpmd: add rxhdrs commands and parameters
net/ice: support buffer spl
device for a tx/rx queue.
(Default: no queues enable asynchronous data path)
- dma-ring-size: DMA ring size.
(Default: 4096).
Here is an example:
--vdev
'eth_vhost0,iface=./s0,dmas=[txq0@:00.01.0;rxq0@:00.01.1],dma-ring-size=4096'
Signed-off-by: Jiayu Hu
Signed-of
.
Currently, protocol based buffer split is not supported in vectorized
paths.
A new api ice_buffer_split_supported_hdr_ptypes_get() has been
introduced, it will return the supported header protocols of ice PMD
to app for splitting.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by
h_dev_info->rx_seg_capa field. The memory attributes for the split
parts may differ either, dpdk memory and external memory, respectively.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
---
doc/guides/rel_notes/release_22_11.rst | 5 +++
lib/ethdev/rte_ethdev.c
ned-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
---
app/test-pmd/cmdline.c| 123 +-
app/test-pmd/config.c | 70 ++
app/test-pmd/parameters.c | 16 -
app/test-pmd/testpmd.c| 6 +-
app/test-
Add a new ethdev API to retrieve supported protocol headers
of a PMD, which helps to configure protocol header based buffer split.
Signed-off-by: Yuan Wang
Signed-off-by: Xuan Ding
Signed-off-by: Wenxuan Wu
---
doc/guides/rel_notes/release_22_11.rst | 5
lib/ethdev/ethdev_driver.h
patchset aims to support protocol header split based on current buffer
split. When Rx queue is configured with RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT
offload and corresponding protocol, packets received will be directly split
into different mempools.
Yuan Wang (4):
ethdev: introduce protocol header API
The callfds[] array stores eventfds sequentially for Rx and Tx vq.
Fixes: d61138d4f0e2 ("drivers: remove direct access to interrupt handle")
Cc: sta...@dpdk.org
Signed-off-by: Yuan Wang
---
drivers/net/virtio/virtio_user/virtio_user_dev.c | 2 +-
1 file changed, 1 insertion(+),
wait while
destroy/stopping the device, but not in other cases.
This patch adds a flag for whether or not to wait to fix this issue.
Fixes: 1ce3c7fe149f ("net/vhost: emulate device start/stop behavior")
Cc: sta...@dpdk.org
Signed-off-by: Yuan Wang
---
V2: rewrite the commit log.
---
d
penalty.
This patch fix that by using the difference between tx/rx burst
as the retry condition.
Fixes: be800696c26e ("examples/vhost: use burst enqueue and dequeue from lib")
Cc: sta...@dpdk.org
Signed-off-by: Yuan Wang
Tested-by: Wei Ling
---
V4: Fix fiexs tag.
V3: Fix mbuf index.
V2:
penalty.
This patch fix that by using the difference between tx/rx burst
as the retry condition.
Fixes: 4ecf22e356de ("vhost: export device id as the interface to applications")
Cc: sta...@dpdk.org
Signed-off-by: Yuan Wang
Tested-by: Wei Ling
---
V3: Fix mbuf index.
V2: Rebase to
penalty.
This patch fix that by using the difference between tx/rx burst
as the retry condition.
Fixes: 4ecf22e356de ("vhost: export device id as the interface to applications")
Cc: sta...@dpdk.org
Signed-off-by: Yuan Wang
Tested-by: Wei Ling
---
V2: Rebase to 22.07 rc1.
---
exam
t_handler()
--> vhost_user_update_link_state()
Fix that by replacing O_NONBLOCK with the recv per-call option
MSG_DONTWAIT.
Fixes: ef53b6030039 ("net/virtio-user: support LSC")
Cc: sta...@dpdk.org
Signed-off-by: Yuan Wang
---
drivers/net/virtio/virtio_user/vhost_user.c | 15 +---
This patch allows vring_state_changed() to clear in-flight
dequeue packets. It also clears the in-flight packets in
a thread-safe way in destroy_device().
Signed-off-by: Yuan Wang
---
examples/vhost/main.c | 26 +-
1 file changed, 21 insertions(+), 5 deletions(-)
diff
lock.
These APIs maybe used to clean up packets in the async channel
to prevent packet loss when the device state changes or
when the device is destroyed.
Signed-off-by: Yuan Wang
---
doc/guides/prog_guide/vhost_lib.rst| 8 ++-
doc/guides/rel_notes/release_22_07.rst | 4 ++
lib/vhost
Yuan Wang (2):
vhost: support clear in-flight packets for async dequeue
example/vhost: support to clear in-flight packets for async dequeue
doc/guides/prog_guide/vhost_lib.rst| 8 ++-
doc/guides/rel_notes/release_22_07.rst | 4 ++
examples/vhost/main.c | 26 +--
lib
This patch allows vring_state_changed() to clear in-flight
dequeue packets. It also clears the in-flight packets in
a thread-safe way in destroy_device().
Signed-off-by: Yuan Wang
---
examples/vhost/main.c | 26 +-
1 file changed, 21 insertions(+), 5 deletions(-)
diff
lock.
These APIs maybe used to clean up packets in the async channel
to prevent packet loss when the device state changes or
when the device is destroyed.
Signed-off-by: Yuan Wang
---
doc/guides/prog_guide/vhost_lib.rst| 8 ++-
doc/guides/rel_notes/release_22_07.rst | 5 ++
lib/vhost
Yuan Wang (2):
vhost: support clear in-flight packets for async dequeue
example/vhost: support to clear in-flight packets for async dequeue
doc/guides/prog_guide/vhost_lib.rst| 8 ++-
doc/guides/rel_notes/release_22_07.rst | 5 ++
examples/vhost/main.c | 26 ++--
lib
based on virtio_rempa_pci.
Fixes: 36a7a2e7a53 ("net/virtio: move PCI device init in dedicated file")
Cc: sta...@dpdk.org
Signed-off-by: Yuan Wang
Tested-by: Wei Ling
---
drivers/net/virtio/virtio_pci_ethdev.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
di
behavior)
Cc: sta...@dpdk.org
Signed-off-by: Yuan Wang
---
drivers/net/vhost/rte_eth_vhost.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/net/vhost/rte_eth_vhost.c
b/drivers/net/vhost/rte_eth_vhost.c
index a248a65df4..a280e788fb 100644
--- a
This patch allows vring_state_changed() to clear in-flight
dequeue packets. It also clears the in-flight packets in
a thread-safe way in destroy_device().
Signed-off-by: Yuan Wang
---
examples/vhost/main.c | 26 +-
1 file changed, 21 insertions(+), 5 deletions(-)
diff
lock.
These APIs maybe used to clean up packets in the async channel
to prevent packet loss when the device state changes or
when the device is destroyed.
Signed-off-by: Yuan Wang
---
doc/guides/prog_guide/vhost_lib.rst| 8 ++-
doc/guides/rel_notes/release_22_07.rst | 5 ++
lib/vhost
These patches support to clear in-flight packets for async dequeue
and introduce thread-safe version of this function.
v3:
- Rebase to latest DPDK
v2:
- Rebase to latest DPDK
- Use the thread-safe version in destroy_device()
v1:
- Protect vq access with splitlock
Yuan Wang (2):
vhost
penalty.
This patch uses the difference between tx burst and rx burst
as a retry condition, and introduces enqueue_pkts() to reduce
code duplication.
Fixes: 4ecf22e356 ("vhost: export device id as the interface to applications")
Cc: sta...@dpdk.org
Signed-off-by: Yuan Wang
---
exam
If the VMDQ limits is 0, a divide-by-zero error occurs.
This patch replaces throwing a floating point exception with
a normal error message.
Fixes: d19533e86f ("examples/vhost: copy old vhost example")
Cc: sta...@dpdk.org
Signed-off-by: Yuan Wang
---
examples/vhost/main.c | 4 ++
This patch allows vring_state_changed() to clear in-flight
dequeue packets. It also clears the in-flight packets in
a thread-safe way in destroy_device().
Signed-off-by: Yuan Wang
---
examples/vhost/main.c | 26 +-
1 file changed, 21 insertions(+), 5 deletions(-)
diff
lock.
These APIs maybe used to clean up packets in the async channel
to prevent packet loss when the device state changes or
when the device is destroyed.
Signed-off-by: Yuan Wang
---
doc/guides/prog_guide/vhost_lib.rst| 8 ++-
doc/guides/rel_notes/release_22_07.rst | 5 ++
lib/vhost
/patch/20220513025058.12898-6-xuan.d...@intel.com/)
v1->v2:
* Rebase to latest DPDK
* Use the thread-safe version in destroy_device()
RFC->v1:
* Protect vq access with splitlock
Yuan Wang (2):
vhost: support clear in-flight packets for async dequeue
example/vhost: support to clear in-
based on virtio_rempa_pci().
Fixes: 36a7a2e7a53 ("net/virtio: move PCI device init in dedicated file")
Signed-off-by: Yuan Wang
---
drivers/net/virtio/virtio_pci_ethdev.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/net/virtio/virtio_pci_e
This patch allows vring_state_changed() to clear
in-flight dequeue packets.
Signed-off-by: Yuan Wang
---
examples/vhost/main.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index d26e40ab73..04e7821322 100644
--- a/examples/vhost/main.c
lock.
These APIs maybe used to clean up packets in the async channel
to prevent packet loss when the device state changes or
when the device is destroyed.
Signed-off-by: Yuan Wang
---
doc/guides/prog_guide/vhost_lib.rst| 8 ++-
doc/guides/rel_notes/release_22_07.rst | 4 ++
lib/vhost
/dpdk/patch/20220411100032.114434-6-xuan.d...@intel.com/)
Yuan Wang (2):
vhost: support clear in-flight packets for async dequeue
example/vhost: support to clear in-flight packets for async dequeue
doc/guides/prog_guide/vhost_lib.rst| 8 ++-
doc/guides/rel_notes/release_22_07.rst | 4
If the VMDQ limits is 0, a divide-by-zero error occurs.
This patch replaces throwing a floating point exception with
a normal error message.
Signed-off-by: Yuan Wang
---
examples/vhost/main.c | 4
1 file changed, 4 insertions(+)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
This patch allows vring_state_changed() to clear
in-flight dequeue packets.
Signed-off-by: Yuan Wang
---
examples/vhost/main.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index d26e40ab73..04e7821322 100644
--- a/examples/vhost/main.c
1 - 100 of 120 matches
Mail list logo