Introduced "snaplen=" option. It is convenient to truncate
large packets to only capture necessary headers.
Signed-off-by: Zhike Wang
---
app/pdump/main.c | 32 ++-
doc/guides/rel_notes/release_20_08.rst | 4
doc/guides/tools
allocated, and leads to population failure, then errno
other than ENOMEM may be returned.
Fixes: 3a3d0c75b43e ("mempool: fix slow allocation of large pools")
Signed-off-by: Andrew Rybchenko
Signed-off-by: Zhike Wang
---
lib/librte_mempool/rte_mempool.c | 2 +-
1 file changed, 1 inse
Introduced "snaplen=" option. It is convenient to truncate
large packets to only capture necessary headers.
Signed-off-by: Zhike Wang
---
app/pdump/main.c| 32 +++-
drivers/net/pcap/rte_eth_pcap.c | 40 ++-
allocated, and leads to population failure, then errno
other than ENOMEM may be returned.
Signed-off-by: Andrew Rybchenko
Signed-off-by: Zhike Wang
---
lib/librte_mempool/rte_mempool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_mempool/rte_mempool.c b/lib/libr
Signed-off-by: Zhike Wang
---
lib/librte_mempool/rte_mempool.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/lib/librte_mempool/rte_mempool.c b/lib/librte_mempool/rte_mempool.c
index 0bde995..b24feb6 100644
--- a/lib/librte_mempool/rte_mempool.c
+++ b/lib/librte_mempool/rte_mempool.c
Introduced "snaplen=" option. It is convenient to truncate
large packets to only capture necessary headers.
Signed-off-by: Zhike Wang
---
app/pdump/main.c| 32 +++-
drivers/net/pcap/rte_eth_pcap.c | 35 ++
Introduced "snaplen=" option. It is convinient to truncate
large packets to only capture necessary headers.
Signed-off-by: Zhike Wang
---
app/pdump/main.c| 28 +++-
drivers/net/pcap/rte_eth_pcap.c | 34 +-
2 fil
use of the vhost fd,
then leads to deadlock.
It is better to return -EAGAIN to application, who will decide how to handle
(eg OVS can call ovsrcu_quiesce() and then retry).
Signed-off-by: Zhike Wang
---
lib/librte_vhost/rte_vhost.h | 4 +++-
lib/librte_vhost/socket.c| 8
2 files c
will access invalid memory when trying to reconnect.
The fix is to move the "removing of vsocket from conn_list" to end of the
vhost_user_read_cb(), then avoid the race condition.
The core trace is
Program terminated with signal 11, Segmentation fault.
Signed-off-by: Zhike Wang
X722 SFPs have different flavors, eg I40E_DEV_ID_SFP_X722
/I40E_DEV_ID_SFP_I_X722. So instead we use mac.type to judge
whether it is X722 or not.
Fixes: 9efa8d28b ("net/i40e: fix SFP X722 with FW4.16")
Signed-off-by: Zhike Wang
---
drivers/net/i40e/i40e_ethdev.c | 2 +-
1 file
From: Zhike Wang
Previously large packet would be dropped, instead now it is better to keep it
via truncating it.
Signed-off-by: Zhike Wang
---
drivers/net/pcap/rte_eth_pcap.c | 16 ++--
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/drivers/net/pcap
, which locates at host with ovs+dpdk.
2.Notice that inside ovs there are endless logs regarding failure to
handle VHOST_USER_SET_VRING_CALL, and link of vm could NOT be up.
Fixes: bf47225 ("vhost: fix possible denial of service by leaking FDs")
Signed-off-by: Zhike Wang
---
lib/li
When VHOST_USER_VRING_NOFD_MASK is set, the fd_num is 0.
Fixes: bf47225 ("vhost: fix possible denial of service by leaking FDs")
Signed-off-by: Zhike Wang
---
lib/librte_vhost/vhost_user.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/lib/li
From: Zhike Wang
Previously large packet would be dropped, instead now it is better to keep it
via truncating it.
Signed-off-by: Zhike Wang
---
drivers/net/pcap/rte_eth_pcap.c | 16 +++-
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/drivers/net/pcap/rte_eth_pcap.c
From: zhike wang
The max_mtu is kept as zero in case no CRTL channel, which leads
to failure when calling virtio_mtu_set().
Signed-off-by: Zhike Wang
---
drivers/net/virtio/virtio_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net
The max_mtu is kept as zero in case no CRTL channel, which leads
to failure when calling virtio_mtu_set().
Signed-off-by: zhike wang
---
drivers/net/virtio/virtio_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio
while the 2nd thread would be blocked by mutex and can not
change the flag. Then dead lock is observed.
Signed-off-by: zhike wang
---
lib/librte_vhost/socket.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/lib/librte_vhost/socket.c b/lib/librte_vhost/socke
Then dead lock is observed.
Signed-off-by: zhike wang
---
lib/librte_vhost/socket.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/lib/librte_vhost/socket.c b/lib/librte_vhost/socket.c
index 422da00..017f824 100644
--- a/lib/librte_vhost/socket.c
, the rcb,
such as vhost_user_read_cb() would try to retrieve the conn_mutex.
So issue is that the 1st thread will loop check the flag while holding
the mutex, while the 2nd thread would be blocked by mutex and can not
change the flag. Then dead lock is observed.
Signed-off-by: zhike wang
19 matches
Mail list logo