RTE_ETHER_MAX_JUMBO_FRAME_LEN is better than the
previous limit.
On 2022-08-08 18:42, Stephen Hemminger wrote:
> On Mon, 8 Aug 2022 17:38:21 +0200
> Francesco Mancino wrote:
>
>> Thank you for the feedback.
>>
>> I am sorry for the email spam, it was a learning process.
>&
:49:44 +0200
> Francesco Mancino wrote:
>
>> eth_dev_validate_mtu, introduced in 990912e676e, validates configured
>> MTU plus overhead against max_rx_pktlen.
>> Since TAP is a virtual device, it should support as big MTU as possible.
>>
>> Signed-off-
eth_dev_validate_mtu, introduced in 990912e676e, validates configured
MTU plus overhead against max_rx_pktlen.
Since TAP is a virtual device, it should support as big MTU as possible.
Signed-off-by: Francesco Mancino
---
drivers/net/tap/rte_eth_tap.c | 2 +-
1 file changed, 1 insertion(+), 1
eth_dev_validate_mtu, introduced in 990912e676e, validates configured
MTU plus overhead against max_rx_pktlen.
Since TAP is a virtual device, it should support as big MTU as possible.
Signed-off-by: Francesco Mancino
---
drivers/net/tap/rte_eth_tap.c | 2 +-
1 file changed, 1 insertion(+), 1
eth_dev_validate_mtu, introduced in 990912e676e, validates configured
MTU plus overhead against max_rx_pktlen.
Since TAP is a virtual device, it should support as big MTU as possible.
---
drivers/net/tap/rte_eth_tap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/
eth_dev_validate_mtu, introduced in 990912e676e, validates configured
MTU plus overhead against max_rx_pktlen.
Since TAP is a virtual device, it should support as big MTU as possible.
---
drivers/net/tap/rte_eth_tap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net
eth_dev_validate_mtu, introduced in 990912e676e, validates configured
MTU plus overhead against max_rx_pktlen.
Since TAP is a virtual device, it should support as big MTU as possible.
---
drivers/net/tap/rte_eth_tap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/t
eth_dev_validate_mtu, introduced in 990912e676e, validates configured
MTU plus overhead against max_rx_pktlen.
Since TAP is a virtual device, it should support as big MTU as possible.
---
drivers/net/tap/rte_eth_tap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net
eth_dev_validate_mtu, introduced in 990912e676e, validates configured
MTU plus overhead against max_rx_pktlen.
Since TAP is a virtual device, it should support as big MTU as possible.
---
drivers/net/tap/rte_eth_tap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net
s different, and almost opposite.
Is this intentional?
In my usecase I do not manage to put the link down with the most recent
DPDK (21.11), but it worked fine with 19.11. Should a configure
something differently?
Best regards,
Francesco Mancino
but seems like there were no changes since 3 years... I wonder if that works or
not with recent DPDK versions...
Thanks for any hint,
Francesco Montorsi
Hi Anatoly
Il giorno mer 10 giu 2020 alle ore 11:24 Burakov, Anatoly <
anatoly.bura...@intel.com> ha scritto:
> On 09-Jun-20 8:40 PM, Francesco wrote:
> > Hi Anatoly,
> >
> > Thanks a lot for the detailed response!
> > Good to know anyway there's a "fix
Hi Anatoly,
Thanks a lot for the detailed response!
Good to know anyway there's a "fix" already done in 20.05... also because
I'm not interested in supporting secondary processes or having shared
memory...
Looking forward for the backports in stable branches then!
Thanks!
; example... is this a known
issue with latest DPDK versions?
Can I tweak some setting to have VIRT memory usage more or less similar to
RSS ?
I forgot to add I'm working on Linux, Centos7
Thanks,
Francesco Montorsi
Hi,
From: Stephen Hemminger
Sent: Friday, July 13, 2018 5:52 PM
To: Montorsi, Francesco
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] warnings when including DPDK headers from a C++17
source file
> Why is DPDK code using register keyword at all? It
arty/cpp-libs/dpdk/include/rte_byteorder_64.h:52:20: warning:
ISO C++1z does not allow 'register' storage class specifier [-Wregister]
register uint64_t x = _x;
^
?Just thought to let you know... that's a small issue for me since I'm using
-Werror
Thanks,
Francesco
Hi Thomas,
Thanks for the useful information! I think I will wait till 8th of June then.
Thanks,
Francesco Montorsi
Hi all,
I'd like to build DPDK on Centos 7.5... I found a commit
(http://dpdk.org/browse/dpdk-stable/commit/?h=17.11&id=3ee847054cc9ab62fa2c9c6dc6ba68899d620e3a)
that allows that, but it will go into DPDK 17.11.3 right?
Is there a release date for 17.11.3 already defined?
Thanks,
river?
(apparently somebody already asked that in 2015:
http://dpdk.org/ml/archives/dev/2015-November/027214.html ... I'm asking if
there were any improvements)
Thanks,
Francesco Montorsi
; 12Mpps, but zero drops (also through xstats).
Is this a known bug?
I found a message at
http://dpdk.org/ml/archives/dev/2016-March/035374.html
reporting a similar issue back in March this year...
Thanks,
Francesco Montorsi
en removed.
That was my only way to search through the archives of this mailing list... is
there any other way to search them?
Thanks,
Francesco Montorsi
Hi Olivier,
> On 10/04/2016 02:28 PM, Montorsi, Francesco wrote:
> > Yes, but to be honest, that seems a troublesome solution for something
> > as easy as logging a string; e.g. by using fopencookie() approach, you
> > don't have the concept of "log message",
should be no
exception... :)
Thanks,
Francesco
>From 52d4fdccee4de3787e85589ff8f666028ad9ea7b Mon Sep 17 00:00:00 2001
From: Francesco Montorsi
Date: Tue, 4 Oct 2016 12:08:34 +0200
Subject: [PATCH] Enable custom log sink implementations
---
lib/librte_eal/common/eal_common_log.c | 23
rework to put it in a better shape... but first of all: are you interested in
such patch?
Thanks,
Francesco Montorsi
n
find 4 bytes with the CRC.
>
> Let's see what others, if any, that might care think about such a change into
> the CRC stripping semantics.
Thanks!
Francesco
rrect:
uint32_t crc = rte_pktmbuf_mtod_offset (mymbuf, uint32_t*, mymbuf->pkt_len) ;
?
Thanks,
Francesco Montorsi
VMXNET3 does not support it, I'm getting a SEGFAULT.
So next question is: is user's task to check for validity of pointers inside
dev_ops before calling driver functions? Because rte_eth_rx_queue_count() and
companion funcitons have no safety checks apparently (!!!)
Thanks!
Francesco
nt to only receive packets (no TX) I'm not really
interested in TX queues / num of TX descriptors... However I have troubles
decrypting this -22 error code... any hint?
Thanks a lot,
Francesco Montorsi
oving in that direction (hopefully other distros will follow
too).
Thanks a lot!
Francesco
/bin/bash on first
line) and it works fine on my Ubuntu 14.04.
Unfortunately I'm forced to run my sw on SLES 11.3 (which btw uses kernel
3.0.76 which I don't know if is compatible with VFIO) and there the output of
"list-devices" is plain empty. I will try to look at what's happening...
Thanks,
Francesco
and just use that (since it will be probably always up to date and correct). My
only concern is that (reading the python code) dpdk_nic_bind.py script does not
return with an error code != 0 if something bad happens during binding... maybe
it may be worth doing such a small change...
Just my 2 cents,
Francesco
do
for (int i=0; i < ...; i++)
system("dpdk_nic_bind.py --bind=igb_uio " + PCI_device_chosen[i]);
Do you see any problem with that?
Thanks!
Francesco Montorsi
---
app/Makefile | 8
config/common_linuxapp | 21 +
2 files changed, 25 insertions(+), 4 deletions(-)
diff --git a/app/Makefile b/app/Makefile
index 88c0bad..0b266b5 100644
--- a/app/Makefile
+++ b/app/Makefile
@@ -32,10 +32,10 @@
include $(RTE_SDK)/mk/rt
using the ETH_RSS_IP for the hash functions
to apply. I now see that all 4 RX queues are correctly used.
Thanks!!
Francesco
Hi,
Just as reference for other DPDK users: the solution to the problem is simple:
rte_eth_dev_info_get (uint8_t port_id, struct rte_eth_dev_info *dev_info)
returns a dev_info structure that contains "driver_name"...
HTH,
Francesco
> -Original Message-
> From:
nt() API I see that only the first
RX queue is used. The remaining 3 seems unused... am I missing something?
Thanks!
Francesco Montorsi
ant to use nb_rx_q=1...
Thanks,
Francesco Montorsi
ssing something?
Thanks,
Francesco
2015-10-13 15:22 GMT+02:00 Olivier MATZ :
> Hi Francesco,
>
> On 09/29/2015 06:04 PM, Francesco Montorsi wrote:
> > From: Francesco Montorsi
> >
> > ---
> > mk/rte.sdkbuild.mk | 6 ++
> > 1 file changed, 6 inse
timeout for flushing the receive queue?
In other words, if I send a single packet to the PHY of the NIC, after how much
time will the Intel network controller will stop waiting for further packets
(to put in the same "burst") and send that single packet to the CPU?
Thanks,
Francesco
Hi Wenzhuo,
> -Original Message-
> From: Lu, Wenzhuo [mailto:wenzhuo.lu at intel.com]
> Hi Francesco,
> Why not searching ieee1588 in the dpdk git repository? Surely you'll find
> something.
I tried using IEEE 1588 without success. In particular I enabled it at
bu
and works only for INTEL 82580
controllers... do you know if that simple patch linked above could be similarly
ported to Intel 82599 and 82571 controllers? Is there any better/easier way to
do that?
Thanks a lot,
Francesco Montorsi
> > It seems the patch missed the boat :)
>
> Correct, sorry. I'm attaching it now.
Ok, for some reason the email client is removing the attachment... I'm copying
and pasting it:
(the points marked as TODO are functions that still contain rte_panic()
calls...)
dpdk-2.1.0/lib/librte_eal/
Hi Panu,
> -Original Message-
> From: Panu Matilainen [mailto:pmatilai at redhat.com]
> Sent: venerd? 9 ottobre 2015 10:26
> To: Montorsi, Francesco ; Thomas Monjalon
>
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] rte_eal_init() alternative?
>
> > Som
Hi,
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: mercoled? 2 settembre 2015 15:10
> To: Montorsi, Francesco
> Cc: dev at dpdk.org; Bruce Richardson
> Subject: Re: [dpdk-dev] rte_eal_init() alternative?
>
> 2015-09-02
From: Francesco Montorsi
---
mk/rte.sdkbuild.mk | 6 ++
1 file changed, 6 insertions(+)
diff --git a/mk/rte.sdkbuild.mk b/mk/rte.sdkbuild.mk
index 38ec7bd..013aa89 100644
--- a/mk/rte.sdkbuild.mk
+++ b/mk/rte.sdkbuild.mk
@@ -29,6 +29,12 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
dded the code you posted on ret.sdkbuild.mk and it works just fine, making
this usage case more clear... I just submitted a patch for that.
Thanks,
Francesco
Hi John,
> -Original Message-
> From: Mcnamara, John [mailto:john.mcnamara at intel.com]
> Sent: mercoled? 2 settembre 2015 16:32
> To: Montorsi, Francesco ; dev at dpdk.org
> Subject: RE: "cannot use T= with gcov target" when doing "makefile clean"
>
when init fails) is a
basic requirement... would you accept a patch that adds an alternative
rte_eal_init() function that just returns an error code upon failure, instead
of immediately exiting?
Thanks for your hard work!
Francesco Montorsi
for each received packet)?
Thanks a lot,
Francesco Montorsi
way.
Thanks,
Francesco Montorsi
Hi all,
I have searched the archives for this, without much success.
Is it possible to build dpdk user-space libraries with -O0 and -g instead of
-O3 ?
This would make debugging via GDB much more friendly...
Thanks!
Francesco Montorsi
ive-linuxapp-gcc/include/rte_ether.h:292:14: error:
'const struct ether_addr' has no member named 'addr_bytes'
dpdk/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/rte_ether.h:293:14: error:
'const struct ether_addr' has no member named 'addr_bytes'
My idea here is that DPDK should rather define an "rte_ether_addr" (or directly
always use but I guess this is not done for some good
reason)... isn't it?
Thanks,
Francesco Montorsi
de/rte_compat.h
== Build lib/librte_eal
== Build app
Build complete
So that
CONFIG_RTE_LIBRTE_EAL_LINUXAPP=y
Seems to be a pre-requisite of kernel drivers... or am I missing something?
Thanks,
Francesco
-Original Message-
From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
Sent: gi
(eal_alarm.o): In
function `eal_alarm_callback':
eal_alarm.c:(.text+0x59e): undefined reference to `rte_free'
How can I avoid building any app like dump_cfg?
Thanks!
Francesco
54 matches
Mail list logo