Strict-aliasing rules are violated by cast to uint16_t* in flowgen.c
and the calculated IP checksum is wrong on GCC 9 and GCC 10.
Signed-off-by: George Prekas
---
v2:
* Instead of a compiler barrier, use a compiler flag.
---
app/test-pmd/meson.build | 1 +
1 file changed, 1 insertion(+)
diff
On 12/4/2020 2:59 AM, Ferruh Yigit wrote:
CAUTION: This email originated from outside of the organization. Do
not click links or open attachments unless you can confirm the sender
and know the content is safe.
On 12/3/2020 1:59 PM, George Prekas wrote:
Insert a compiler barrier to make
Insert a compiler barrier to make sure that the IP checksum calculation
happens after setting all the fields of the IP header.
Signed-off-by: George Prekas
---
app/test-pmd/flowgen.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/test-pmd/flowgen.c b/app/test-pmd/flowgen.c
index
On 12/3/2020 10:08 AM, Stephen Hemminger wrote:
On Thu, 3 Dec 2020 07:59:54 -0600
George Prekas wrote:
Insert a compiler barrier to make sure that the IP checksum calculation
happens after setting all the fields of the IP header.
Signed-off-by: George Prekas
I don't think this is nece
d
uio_info.open, which only does pci_disable_device() and
pci_enable_device(),
but this prevent app receiving packets in its second run, independent
from app terminated gracefully or not. Any idea why this is not working?
btw, I can produce the problematic case, as George Prekas described in:
ht
here https://github.com/prekageo/allmemscan
$ make
$ sudo insmod allmem.ko
$ sudo ./allmemscan 28 prekageo_was_here
Optionally:
$ sudo dd if=/dev/allmem bs=4K skip=PAGE count=1 | hexdump -C | less
On 11/03/2016 19:41, George Prekas wrote:
> Hi. I've been using DPDK for a research project
> (h
6 matches
Mail list logo