Re: [ovs-dev] [PATCH v8 2/3] conntrack: prefer dst port range during unique tuple search

2022-01-12 Thread Paolo Valerio
t ephemeral source range for each destination port. Signed-off-by: Paolo Valerio --- lib/conntrack.c | 49 + 1 file changed, 37 insertions(+), 12 deletions(-) diff --git a/lib/conntrack.c b/lib/conntrack.c index 33a1a9295..fec9f288a 10064

Re: [ovs-dev] [PATCH v8 3/3] conntrack: limit port clash resolution attempts

2022-01-12 Thread Paolo Valerio
Hello wenxu, I tested a bit more the patch, and it seems to effectively limit the number of attempts. There is a case with a sufficiently large port range that will always tries the same ports. E.g. (incresing the IPs you can reduce the port range):

[Corpora-List] 2nd CFP NLDB + industry track, 15-17 June 2022, Valencia

2022-01-11 Thread Valerio Basile
irre, University of the Basque Country / HiTZ Centre on Language Technology Lucie Flek, University of Marburg INDUSTRY KEYNOTE Ramit Sawhney, Lead AI Scientist at ShareChat PROGRAM CHAIRS Valerio Basile, University of Turin, Italy Raquel Martínez, UNED, Spain PROCEEDINGS The Proceedings of NLDB

Re: [ovs-dev] [PATCH v5] conntrack: support default timeout policy get/set cmd for netdev datapath

2022-01-07 Thread Paolo Valerio
we...@ucloud.cn writes: > From: wenxu > > Now, the default timeout policy for netdev datapath is hard codeing. In > some case show or modify is needed. > Add command for get/set default timeout policy. Using like this: > > ovs-appctl dpctl/ct-get-default-tp [dp] > ovs-appctl

Re: [poppler] editing PDF with forms on Linux

2022-01-03 Thread Valerio Messina
s? thank you, -- Valerio

[poppler] editing PDF with forms on Linux

2022-01-03 Thread Valerio Messina
hi, as Acrobat 9 seems last release on Linux, what is the suggested tool to edit PDF forms? thank you, -- Valerio

Re: [Python] Suggerimento per creazione classe

2022-01-01 Thread Valerio Pachera
Il giorno ven 31 dic 2021 alle ore 14:25 Massimo Masson ha scritto: > ... > Rapidamente, potresti "staticizzare" i due path nella classe, ad esempio: > > class Account(object): > src = 'sorgente_' > dst = 'destinazione_' > > ... > > poi magari cerca sui decoratori @staticmethod ed

[Python] Suggerimento per creazione classe

2021-12-31 Thread Valerio Pachera
Buongiorno a tutti, scusatemi in anticipo se non saro' chiaro. Devo capire se si puo' fare una cosa e come. Sto cercando di improntare struttura di questa classe: class Account(): def __init__(self, name): self.name = name def self.export(self): src_path =

Re: [ovs-dev] [PATCH v2 5/5] utilities: add netlink flow operation USDT probes and upcall_cost script

2021-12-29 Thread Paolo Valerio
.. Other than that, Acked-by: Paolo Valerio > Documentation/topics/usdt-probes.rst | 86 ++ > lib/dpif-netlink.c| 16 > utilities/automake.mk |4 > utilities/usdt_scripts/upcall_cost.py | 1787 > +

Re: [ovs-dev] [PATCH v2 4/5] utilities: add upcall USDT probe and associated script

2021-12-29 Thread Paolo Valerio
the map used for the dropcount as well. Acked-by: Paolo Valerio ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH v2 1/5] configure: add --enable-usdt option to enable USDT probes

2021-12-28 Thread Paolo Valerio
Hi Eelco, I didn't notice the subject says "--enable-usdt" instead of --enable-usdt-probes. TBF, I'm ok with it (it's pretty obvious what the option is :) Maybe you can keep that in mind if you end up respinning for other reasons. Acked-by: Paolo Valerio Eelco Chaudron writes

[ovs-dev] [PATCH] conntrack: Avoid sporadic failures during IPv6 HTTP/FTP tests

2021-12-27 Thread Paolo Valerio
uot; seems to be safe enough to fix the issue that now, after hundreds of attempts, is no longer present. Signed-off-by: Paolo Valerio --- tests/system-traffic.at | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index

[ovs-dev] [PATCH] conntrack: Check TCP state while testing established connections pick up.

2021-12-27 Thread Paolo Valerio
moving to the correct state leading to a false positive. Signed-off-by: Paolo Valerio --- tests/ofproto-dpif.at |6 ++ 1 file changed, 6 insertions(+) diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at index 1660b0856..07cb1e4eb 100644 --- a/tests/ofproto-dpif.at +++ b/tests/ofproto

Spaces not allowed in human readable string

2021-12-24 Thread Valerio Bozzolan via
the documentation to say that the human readable license should not have any space. BTW I think this is a bug since the example itself contains spaces: [human readable name of the license] -boz -- Valerio B. E-mail typed using Evolution in Debian GNU/Linux and delivered from my own Postfix mailserver

Re: [ovs-dev] [PATCH 5/5] utilities: add netlink flow operation USDT probes and upcall_cost script

2021-12-21 Thread Paolo Valerio
Hi Eelco, I did some tests, and the script seems to work as expected. My comments inline. Eelco Chaudron writes: > This patch adds a series of NetLink flow operation USDT probes. > These probes are in turn used in the upcall_cost Python script, > which in addition of some kernel tracepoints,

Re: [ovs-dev] [PATCH 4/5] utilities: add upcall USDT probe and associated script

2021-12-19 Thread Paolo Valerio
Hi Eelco, the patch LGTM, just a couple of questions/nits. Eelco Chaudron writes: > Added the dpif_recv:recv_upcall USDT probe, which is used by the > included upcall_monitor.py script. This script receives all upcall > packets sent by the kernel to ovs-vswitchd. By default, it will > show all

Re: [ovs-dev] [PATCH 3/5] Documentation: add USDT documentation and bpftrace example

2021-12-19 Thread Paolo Valerio
t; +'u::main:run_start' 'u::main:poll_block' > +TIME PID TID COMMFUNC > +15:49:06 85768576ovs-vswitchdmain:run_start > +15:49:06 85768576ovs-vswitchdmain:poll_block > +15:49:06 85768576ovs-vswitchdmain:run_

Re: [ovs-dev] [PATCH 2/5] openvswitch: define the OVS_STATIC_TRACE() macro

2021-12-19 Thread Paolo Valerio
Eelco Chaudron writes: > This patch defines the OVS_STATIC_TRACE() macro, and as an > example, adds two of them in the bridge run loop. > > Signed-off-by: Eelco Chaudron > --- LGTM, Acked-by: Paolo Valerio > include/openvswitch/automake.mk |1 + > include/open

Re: [ovs-dev] [PATCH 1/5] configure: add --enable-usdt option to enable USDT probes

2021-12-15 Thread Paolo Valerio
Eelco Chaudron writes: > On 15 Dec 2021, at 15:23, Paolo Valerio wrote: > >> Eelco Chaudron writes: >> >>> On 15 Dec 2021, at 14:35, Paolo Valerio wrote: >>> >>>> Hi Eelco, >>>> >>>> thanks for this series, looks very in

Re: [ovs-dev] [PATCH 1/5] configure: add --enable-usdt option to enable USDT probes

2021-12-15 Thread Paolo Valerio
Eelco Chaudron writes: > On 15 Dec 2021, at 14:35, Paolo Valerio wrote: > >> Hi Eelco, >> >> thanks for this series, looks very interesting. >> In the next days, I'm going to test it and have a deeper look at it. >> >> In the meantime, > > Thanks

Re: [ovs-dev] [PATCH 1/5] configure: add --enable-usdt option to enable USDT probes

2021-12-15 Thread Paolo Valerio
Hi Eelco, thanks for this series, looks very interesting. In the next days, I'm going to test it and have a deeper look at it. In the meantime, Eelco Chaudron writes: > Allow inclusion of User Statically Defined Trace (USDT) probes > in the OVS binaries using the --enable-usdt option to the

Re: [ovs-dev] [PATCH v2] checkpatch: Correct line count in error messages

2021-12-15 Thread Paolo Valerio
gainst multiple files, all reporting the correct line number. The patch LGTM, Acked-by: Paolo Valerio > diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py > index bf95358d5..caf10537b 100755 > --- a/utilities/checkpatch.py > +++ b/utilities/checkpatch.py > @@ -765,12 +765,16

[Kernel-packages] [Bug 1839752] Re: Ethernet did'nt wake up after suspend

2021-12-15 Thread Valerio Bozzolan
The previous service is awesome but it can be improved to cover hibernation and hybrid-hibernation as well: # /etc/systemd/system/fix-r8169.service ``` [Unit] Description=Fix RTL-8169 Driver on resume from suspend After=suspend.target [Service] User=root Type=oneshot ExecStartPre=/sbin/modprobe

[Bug 1839752] Re: Ethernet did'nt wake up after suspend

2021-12-15 Thread Valerio Bozzolan
The previous service is awesome but it can be improved to cover hibernation and hybrid-hibernation as well: # /etc/systemd/system/fix-r8169.service ``` [Unit] Description=Fix RTL-8169 Driver on resume from suspend After=suspend.target [Service] User=root Type=oneshot ExecStartPre=/sbin/modprobe

lost of admin right

2021-12-14 Thread Valerio Messina via Cygwin
of the about 800 installed packages with: $ cygcheck -c -d | cut -d' ' -f1 | tail -n+3 > installedPackages2021-12.txt I never tryed to restore the backup with: $ setup -M -P package1,package2, ... 2) Someone know if that work well ? thank you, -- Valerio -- Problem reports: https://cygwin.

Re: [ovs-dev] [PATCH RFC 3/5] conntrack: Replaces nat_conn introducing key directionality.

2021-12-13 Thread Paolo Valerio
containing NAT, cleaned flag, etc. > IMO, that is a good idea and it is worth posting it as separate patch. > Paolo Valerio 于2021年11月30日周二 02:06写道: > > From: Peng He > > Currently, when doing NAT, the userspace conntrack will use an extra > conn for the two

[ovirt-users] Re: broker.log file filling up

2021-12-06 Thread Valerio Luccio
Thanks for your input Didi. On 12/5/21 1:20 PM, Yedidyah Bar David wrote: On Sun, Dec 5, 2021 at 8:13 PM Valerio Luccio wrote: I stopped the VMs and then "hosted-engine --vm-shutdown" followed by "hosted-engine --vm-start", I thought that would restart everyt

[ovirt-users] Re: broker.log file filling up

2021-12-05 Thread Valerio Luccio
s and stopped the engine). The engine and VMs seem to be working fine. Thanks for all of your help. On 12/2/21 1:15 PM, Strahil Nikolov wrote: You need to restart ovirt-ha-broker.service and ovirt-ha-agent.service Best Regards, Strahil Nikolov On Mon, Nov 29, 2021 at 18:31, Valerio Luccio

Re: [ovs-dev] [PATCH v3 0/4] Native tunnel: Update neigh entries in tnl termination.

2021-12-03 Thread Paolo Valerio
Gaëtan Rivet writes: > On Sat, Nov 27, 2021, at 00:12, Paolo Valerio wrote: >> v3: >> - added _S suffix to NEIGH_ENTRY_MAX_AGING_TIME (patch #2) >> - Added Reported-at tag (patch #4) >> >> v2: >> - rebased against master >> - turned 'ageing' -> 'ag

Re: [ovs-dev] [PATCH] dpif-netlink: Improve feature negotiation for older kernels.

2021-12-03 Thread Paolo Valerio
Ilya Maximets writes: > On 11/11/21 19:06, Paolo Valerio wrote: >> Hi Chris, >> >> Chris Mi via dev writes: >> >>> OVS_DP_F_UNALIGNED is already set, no need to set again. If restarting ovs, >>> dp is already created. So dpif_netlink_dp_transa

Re: [ovs-dev] [PATCH v4] conntrack: support default timeout policy get/set cmd for netdev datapath

2021-12-03 Thread Paolo Valerio
we...@ucloud.cn writes: > From: wenxu > > Now, the default timeout policy for netdev datapath is hard codeing. In > some case show or modify is needed. > Add command for get/set default timeout policy. Using like this: > > ovs-appctl dpctl/ct-get-default-timeout-policy [dp] > ovs-appctl

[ovs-dev] [PATCH RFC 5/5] conntrack: Make ovs-appctl dpctl/ct-bkts work with multiple buckets

2021-11-29 Thread Paolo Valerio
79 97 86 106 93 80 90 Signed-off-by: Paolo Valerio --- lib/conntrack.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/conntrack.c b/lib/conntrack.c index 1c019af29..cbeafb22b 100644 --- a/lib/conntrack.c +++ b/lib/conntrack.c @@ -2675

[ovs-dev] [PATCH RFC 4/5] conntrack: Split single cmap to multiple buckets.

2021-11-29 Thread Paolo Valerio
ata structures like rcu lists. The sweeper task instead takes charge of the remaining stale entries removal. The heuristics used in the sweeper task are mostly an example, but could be modified to match any possible uncovered use case. Signed-off-by: Paolo Valerio --- The cover letter includes furt

[ovs-dev] [PATCH RFC 3/5] conntrack: Replaces nat_conn introducing key directionality.

2021-11-29 Thread Paolo Valerio
and a cmap_node for hash lookup. Both keys can now be accessed in the following way: conn->key_node[CT_DIR_{FWD,REV}].key similarly to what Aaron Conole suggested. This patch avoids the extra allocation for nat_conn, and makes userspace code cleaner. Signed-off-by: Peng He Co-authored-by: Paolo Vale

[ovs-dev] [PATCH 2/5] conntrack-tp: Use a cmap to store timeout policies

2021-11-29 Thread Paolo Valerio
in the connection insertion path. Signed-off-by: Gaetan Rivet Reviewed-by: Eli Britstein Acked-by: William Tu Signed-off-by: Paolo Valerio --- lib/conntrack-private.h |2 +- lib/conntrack-tp.c | 54 ++- lib/conntrack.c |9

[ovs-dev] [PATCH 1/5] conntrack: Use a cmap to store zone limits

2021-11-29 Thread Paolo Valerio
'ct_lock', thus reducing contention. Signed-off-by: Gaetan Rivet Reviewed-by: Eli Britstein Signed-off-by: Paolo Valerio --- lib/conntrack-private.h |2 + lib/conntrack.c | 70 --- lib/conntrack.h |2 + lib/dpif-netdev.c

[ovs-dev] [PATCH RFC 0/5] conntrack: Introduce buckets and reduce contention.

2021-11-29 Thread Paolo Valerio
or patches have been kept out of the series, for the time being, as they strongly depend on #4. Gaetan Rivet (2): conntrack: Use a cmap to store zone limits conntrack-tp: Use a cmap to store timeout policies Paolo Valerio (2): conntrack: Split single cmap to multiple buckets.

[ovirt-users] Re: broker.log file filling up

2021-11-29 Thread Valerio Luccio
--vm-status' should show that the situation is OK and you can remove the maintenance. Best Regards, Strahil Nikolov On Thu, Nov 25, 2021 at 18:05, Valerio Luccio wrote: ___ Users mailing list -- users@ovirt.org To unsubscribe send

[graph-tool] Re: Layered networks, compared to the a null model

2021-11-28 Thread RESTOCCHI Valerio
will find that these are two competing explanations of the data. This is my interpretation (might be incorrect though). Best, Valerio - Lecturer in Business Applications of Informatics Room 2.18a - Informatics Forum School

[time-nuts] Re: Project Great

2021-11-27 Thread Thomas Valerio
, borrow or steal access to a Microsemi chip scale atomic clock, I think a Mount Evans edition would be an awesome addition to Tom's original work. Thomas Valerio > For newcomers to time-nuts, Andy is asking about my DIY gravitational > time dilation experiment(s). > > > Wh

Re: [ovs-dev] [PATCH v2 4/4] Tunnel: Snoop ingress packets and update neigh cache if needed.

2021-11-26 Thread Paolo Valerio
Flavio Leitner writes: > On Wed, Nov 10, 2021 at 11:46:55AM +0100, Paolo Valerio wrote: >> In case of native tunnel with bfd enabled, if the MAC address of the >> remote end's interface changes (e.g. because it got rebooted, and the >> MAC address is allocated dynamica

[ovs-dev] [PATCH v3 4/4] Tunnel: Snoop ingress packets and update neigh cache if needed.

2021-11-26 Thread Paolo Valerio
slow path, and updating the neigh cache accordingly. Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=2002430 Signed-off-by: Paolo Valerio Fixes: b23ddcc57d41 ("tnl-neigh-cache: tighten arp and nd snooping.") Acked-by: Gaetan Rivet Acked-by: Flavio Leitner --- v3: - added Reported

[ovs-dev] [PATCH v3 3/4] Native tunnel: Do not refresh the entry while revalidating.

2021-11-26 Thread Paolo Valerio
This is a minor issue but visible e.g. when you try to flush the neigh cache while the ARP flow is still present in the datapath, triggering the revalidation of the datapath flows which subsequently refreshes/adds the entry in the cache. Signed-off-by: Paolo Valerio Acked-by: Flavio Leitner

[ovs-dev] [PATCH v3 2/4] Native tunnel: Add tnl/neigh/aging command.

2021-11-26 Thread Paolo Valerio
. Signed-off-by: Paolo Valerio --- v3: - turned NEIGH_ENTRY_MAX_AGEING_TIME -> NEIGH_ENTRY_MAX_AGEING_TIME_S v2: - fixed NEIGH_ENTRY_MAX_AGEING_TIME (turned to seconds) correcting a leftover. - turned relaxed atomics to acq/rel. - added range checks to tunnel-push-pop.at. It was usel

[ovs-dev] [PATCH v3 1/4] Native tunnel: Read/write expires atomically.

2021-11-26 Thread Paolo Valerio
Expires is modified in different threads (revalidator, pmd-rx, bfd-tx). It's better to use atomics for such potentially parallel write. Signed-off-by: Paolo Valerio Acked-by: Flavio Leitner --- v2: - modified commit description - added _MS suffix to NEIGH_ENTRY_DEFAULT_IDLE_TIME - renamed local

[ovs-dev] [PATCH v3 0/4] Native tunnel: Update neigh entries in tnl termination.

2021-11-26 Thread Paolo Valerio
Paolo Valerio (4): Native tunnel: Read/write expires atomically. Native tunnel: Add tnl/neigh/aging command. Native tunnel: Do not refresh the entry while revalidating. Tunnel: Snoop ingress packets and update neigh cache if needed. NEWS| 2 + l

Re: [ovs-dev] [PATCH v3] conntrack: support default timeout policy get/set cmd for netdev datapath

2021-11-25 Thread Paolo Valerio
wenxu writes: > Hi Paolo, > > Any suggestion for this version. I run all the test case success. > But the robot build show 1091: ofproto-dpif - controller action without > megaflows FAILED (ovs-macros.at:217) > > Maybe there are some problem? This patch is not matter with this tescase > It

Re: [ovs-dev] [PATCH v2 2/4] Native tunnel: Add tnl/neigh/aging command.

2021-11-25 Thread Paolo Valerio
Flavio Leitner writes: > On Wed, Nov 10, 2021 at 11:46:42AM +0100, Paolo Valerio wrote: >> with the command is now possible to change the aging time of the >> cache entries. >> >> For the existing entries the aging time is updated only if the >> current expir

[ovirt-users] Re: broker.log file filling up

2021-11-25 Thread Valerio Luccio
AM, Yedidyah Bar David wrote: On Thu, Nov 25, 2021 at 4:32 PM Valerio Luccio wrote: Hello all, my broker.log files are suddenly filling up with lines that start with: Listener::DEBUG::2021-11-24 09:13:20,795::listener::103

[ovirt-users] broker.log file filling up

2021-11-25 Thread Valerio Luccio
:13:20,796::listener::145::ovirt_hosted_engine_ha.broker.listener._encode::(_encode) Encoded successfully: b'maintenance= Followed by a long list of nulls (0\x00) OS: CentOS 8 Ovirt version: 4.4 Any ideas ? -- Valerio Luccio High Performance Computing 10 Astor Place

Re: [ovs-dev] [PATCH] tests/flowgen: Fix length field of 802.2 data link header.

2021-11-24 Thread Paolo Valerio
s as expected. Do you think it makes sense to include a 'Fixes' tag? In any case: Acked-by: Paolo Valerio ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH v6 3/3] conntrack: limit port clash resolution attempts

2021-11-17 Thread Paolo Valerio
Didn't go through the whole patch, as the discussion on #2 may require some changes to #3 as well. There's one nit I noticed, though we...@ucloud.cn writes: > From: wenxu > > In case almost or all available ports are taken, clash resolution can > take a very long time, resulting in pmd hang in

Re: [ovs-dev] [PATCH v6 2/3] conntrack: split the dst and src port range iterations

2021-11-17 Thread Paolo Valerio
Hi wenxu, we...@ucloud.cn writes: > From: wenxu > > Splitting the two port range iterations instead of keeping it nested. And > the dst port (in case of DNAT) range would have precedence over the src > manipulation in the resolution. > > Signed-off-by: wenxu > --- > lib/conntrack.c | 65 >

Re: CVE-2021-38503

2021-11-16 Thread valerio
Il 16/11/21 16:31, Piviul ha scritto: Il 16/11/21 12:01, valerio ha scritto: https://tracker.debian.org/pkg/thunderbird può dirti qualcosa, sembra che stiano testando la 91... per portarla in unstable... io sto parlando di stable; non è strano che nel mondo debian non se ne parli

Re: CVE-2021-38503

2021-11-16 Thread valerio
? Piviul [¹] https://www.omgubuntu.co.uk/2021/11/thunderbird-91-backport-ubuntu-18-04-20-04-lts ciao, forse questo: https://tracker.debian.org/pkg/thunderbird può dirti qualcosa, sembra che stiano testando la 91... valerio

Re: [ovs-dev] [PATCH] dpif-netlink: Improve feature negotiation for older kernels.

2021-11-11 Thread Paolo Valerio
Hi Chris, Chris Mi via dev writes: > OVS_DP_F_UNALIGNED is already set, no need to set again. If restarting ovs, > dp is already created. So dpif_netlink_dp_transact() will return EEXIST. > No need to probe again. > > Signed-off-by: Chris Mi > --- > lib/dpif-netlink.c | 3 +-- > 1 file

[ovs-dev] [PATCH v2 4/4] Tunnel: Snoop ingress packets and update neigh cache if needed.

2021-11-10 Thread Paolo Valerio
slow path, and updating the neigh cache accordingly. Signed-off-by: Paolo Valerio Fixes: b23ddcc57d41 ("tnl-neigh-cache: tighten arp and nd snooping.") Acked-by: Gaetan Rivet --- v2: - fixed typo in the commit description - added Acked-by tag (Gaetan) --- lib/tnl-neigh-cache.c |

[ovs-dev] [PATCH v2 3/4] Native tunnel: Do not refresh the entry while revalidating.

2021-11-10 Thread Paolo Valerio
This is a minor issue but visible e.g. when you try to flush the neigh cache while the ARP flow is still present in the datapath, triggering the revalidation of the datapath flows which subsequently refreshes/adds the entry in the cache. Signed-off-by: Paolo Valerio --- v2: - renamed update

[ovs-dev] [PATCH v2 2/4] Native tunnel: Add tnl/neigh/aging command.

2021-11-10 Thread Paolo Valerio
. Signed-off-by: Paolo Valerio --- v2: - fixed NEIGH_ENTRY_MAX_AGEING_TIME (turned to seconds) correcting a leftover. - turned relaxed atomics to acq/rel. - added range checks to tunnel-push-pop.at. It was useless to duplicate the test for both ipv6 and ipv4, so only the latter includes

[ovs-dev] [PATCH v2 1/4] Native tunnel: Read/write expires atomically.

2021-11-10 Thread Paolo Valerio
Expires is modified in different threads (revalidator, pmd-rx, bfd-tx). It's better to use atomics for such potentially parallel write. Signed-off-by: Paolo Valerio --- v2: - modified commit description - added _MS suffix to NEIGH_ENTRY_DEFAULT_IDLE_TIME - renamed local variable expired

[ovs-dev] [PATCH v2 0/4] Native tunnel: Update neigh entries in tnl termination.

2021-11-10 Thread Paolo Valerio
cludes a self-test. The use case fixed in #4 could be fixed relaxing the check in tnl_arp_snoop(), allowing to snoop ARP requests as well, but such approach could add unneeded entries in the cache. Paolo Valerio (4): Native tunnel: Read/write expires atomically. Native tunnel: Add tnl/neigh

Re: [ovs-dev] [PATCH 0/4] Native tunnel: Update neigh entries in tnl termination.

2021-11-10 Thread Paolo Valerio
Missed the v2 tag. Going to resend adding it. Sorry for the noise. Paolo Valerio writes: > v2: > - rebased against master > - turned 'ageing' -> 'aging' > - further details of v1 -> v2 respin has been added > to each patch > > The series is composed of the followi

[ovs-dev] [PATCH 4/4] Tunnel: Snoop ingress packets and update neigh cache if needed.

2021-11-09 Thread Paolo Valerio
slow path, and updating the neigh cache accordingly. Signed-off-by: Paolo Valerio Fixes: b23ddcc57d41 ("tnl-neigh-cache: tighten arp and nd snooping.") Acked-by: Gaetan Rivet --- v2: - fixed typo in the commit description - added Acked-by tag (Gaetan) --- lib/tnl-neigh-cache.c |

[ovs-dev] [PATCH 2/4] Native tunnel: Add tnl/neigh/aging command.

2021-11-09 Thread Paolo Valerio
. Signed-off-by: Paolo Valerio --- v2: - fixed NEIGH_ENTRY_MAX_AGEING_TIME (turned to seconds) correcting a leftover. - turned relaxed atomics to acq/rel. - added range checks to tunnel-push-pop.at. It was useless to duplicate the test for both ipv6 and ipv4, so only the latter includes

[ovs-dev] [PATCH 3/4] Native tunnel: Do not refresh the entry while revalidating.

2021-11-09 Thread Paolo Valerio
This is a minor issue but visible e.g. when you try to flush the neigh cache while the ARP flow is still present in the datapath, triggering the revalidation of the datapath flows which subsequently refreshes/adds the entry in the cache. Signed-off-by: Paolo Valerio --- v2: - renamed update

[ovs-dev] [PATCH 1/4] Native tunnel: Read/write expires atomically.

2021-11-09 Thread Paolo Valerio
Expires is modified in different threads (revalidator, pmd-rx, bfd-tx). It's better to use atomics for such potentially parallel write. Signed-off-by: Paolo Valerio --- v2: - modified commit description - added _MS suffix to NEIGH_ENTRY_DEFAULT_IDLE_TIME - renamed local variable expired

[ovs-dev] [PATCH 0/4] Native tunnel: Update neigh entries in tnl termination.

2021-11-09 Thread Paolo Valerio
cludes a self-test. The use case fixed in #4 could be fixed relaxing the check in tnl_arp_snoop(), allowing to snoop ARP requests as well, but such approach could add unneeded entries in the cache. Paolo Valerio (4): Native tunnel: Read/write expires atomically. Native tunnel: Add tnl/neigh

Re: [ovs-dev] [PATCH 1/4] Native tunnel: Read/write expires atomically.

2021-11-09 Thread Paolo Valerio
Gaëtan Rivet writes: > On Mon, Nov 8, 2021, at 20:30, Paolo Valerio wrote: > [...] >>>> + >>>> +atomic_read_relaxed(>expires, ); >>> >>> I'm having doubts about unfenced read / writes on expires. >>> Technically on looku

Re: [ovs-dev] [PATCH 4/4] Tunnel: Snoop ingress packets and update neigh cache if needed.

2021-11-08 Thread Paolo Valerio
Gaëtan Rivet writes: > On Tue, Nov 2, 2021, at 18:12, Paolo Valerio wrote: >> In case of native tunnel with bfd enabled, if the MAC address of the >> remote end's interface changes (e.g. because it got rebooted, and the >> MAC address is allocated dinamically), the B

Re: [ovs-dev] [PATCH 3/4] Native tunnel: Do not refresh the entry while revalidating.

2021-11-08 Thread Paolo Valerio
Gaëtan Rivet writes: > On Tue, Nov 2, 2021, at 18:12, Paolo Valerio wrote: >> This is a minor issue but visible e.g. when you try to flush the neigh >> cache while the ARP flow is still present in the datapath, triggering >> the revalidation of the datapath flows which subs

Re: [ovs-dev] [PATCH 2/4] Native tunnel: Add tnl/neigh/ageing command.

2021-11-08 Thread Paolo Valerio
Gaëtan Rivet writes: > On Tue, Nov 2, 2021, at 18:12, Paolo Valerio wrote: >> with the command is now possible to change the ageing time of the >> cache entries. >> >> For the existing entries the ageing time is updated only if the >> current expiration is grea

Re: [ovs-dev] [PATCH 1/4] Native tunnel: Read/write expires atomically.

2021-11-08 Thread Paolo Valerio
Gaëtan Rivet writes: > On Tue, Nov 2, 2021, at 18:12, Paolo Valerio wrote: > > Hi Paolo, > > I think this commit needs more details. > I'm guessing the threads involved are the PMDs and main, are there others? > > Coherency is implicit on x86 cores, but those parallel rea

Re: [ovs-dev] [PATCH 0/4] Native tunnel: Update neigh entries in tnl termination.

2021-11-08 Thread Paolo Valerio
Gaëtan Rivet writes: > On Tue, Nov 2, 2021, at 18:12, Paolo Valerio wrote: >> - Dropped the RFC tag >> - Included Flavio's suggestions >> - Squashed patch #5 into #2 and #3 >> >> The series is composed of the following patches: >> >> #1: Expires i

Re: [ovs-dev] [PATCH] conntrack: support default timeout policy get/set cmd for netdev datapath

2021-11-07 Thread Paolo Valerio
Hi Wenxu, we...@ucloud.cn writes: > From: wenxu > > Now, the default timeout policy for netdev datapath is hard codeing. In > some case show or modify is needed. > Add command for get/set default timeout policy. Using like this: > > ovs-appctl dpctl/ct-get-default-timeout-policy [dp] >

[dolphin] [Bug 443540] Dolphin glitch after packing directory to 7z

2021-11-05 Thread Valerio Pilo
https://bugs.kde.org/show_bug.cgi?id=443540 Valerio Pilo changed: What|Removed |Added CC||vp...@coldshock.net -- You are receiving

[Python] [PYTHON] Leggere certificato x509

2021-11-05 Thread Valerio Pachera
Ciao a tutti, il mio obiettivo è ottenere la lista dei Subject Alternative Name di un certificato. X509v3 Subject Alternative Name: DNS:nome1.domain.tld , DNS:nome2.domain.tld, DNS:nome3.domain.tld Ho ottenuto un risultato parziale tramite: --- #!/usr/bin/env python3 from pprint import pprint

[time-nuts] Re: Ryzen mobos with serial port for Garmin GPS?

2021-11-05 Thread Thomas Valerio
h Gigabyte motherboards, also there was a used GA-AB350-GAMING 3 listed on eBay for under $70 although the seller didn't have the greatest feedback score. Thomas Valerio https://www.gigabyte.com/us/Comparison/Result/2?pids=6166,6167,6225,6227 > Looking to design my next Linux (Ubuntu)

[ovs-dev] [PATCH 4/4] Tunnel: Snoop ingress packets and update neigh cache if needed.

2021-11-02 Thread Paolo Valerio
slow path, and updating the neigh cache accordingly. Signed-off-by: Paolo Valerio Fixes: b23ddcc57d41 ("tnl-neigh-cache: tighten arp and nd snooping.") --- lib/tnl-neigh-cache.c | 12 ++-- lib/tnl-neigh-cache.h |2 ++ ofproto/ofproto-dpif-xlate.c | 14 +

[ovs-dev] [PATCH 3/4] Native tunnel: Do not refresh the entry while revalidating.

2021-11-02 Thread Paolo Valerio
This is a minor issue but visible e.g. when you try to flush the neigh cache while the ARP flow is still present in the datapath, triggering the revalidation of the datapath flows which subsequently refreshes/adds the entry in the cache. Signed-off-by: Paolo Valerio --- lib/tnl-neigh-cache.c

[ovs-dev] [PATCH 2/4] Native tunnel: Add tnl/neigh/ageing command.

2021-11-02 Thread Paolo Valerio
purpose. Signed-off-by: Paolo Valerio --- NEWS|3 ++ lib/tnl-neigh-cache.c | 77 ++- ofproto/ofproto-tnl-unixctl.man |9 + tests/tunnel-push-pop-ipv6.at | 30 +++ tests/tunnel-push-pop.at

[ovs-dev] [PATCH 1/4] Native tunnel: Read/write expires atomically.

2021-11-02 Thread Paolo Valerio
Signed-off-by: Paolo Valerio --- lib/tnl-neigh-cache.c | 32 +++- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/lib/tnl-neigh-cache.c b/lib/tnl-neigh-cache.c index 5bda4af7e..2769e5c3d 100644 --- a/lib/tnl-neigh-cache.c +++ b/lib/tnl-neigh-cache.c

[ovs-dev] [PATCH 0/4] Native tunnel: Update neigh entries in tnl termination.

2021-11-02 Thread Paolo Valerio
be fixed relaxing the check in tnl_arp_snoop(), allowing to snoop ARP requests as well, but such approach could add unneeded entries in the cache. Paolo Valerio (4): Native tunnel: Read/write expires atomically. Native tunnel: Add tnl/neigh/ageing command. Native tunnel: Do

Re: [ovs-dev] [PATCH RFC 5/5] Tunnel: Add self tests for MAC learning and ageing.

2021-11-01 Thread Paolo Valerio
Flavio Leitner writes: > On Thu, Oct 07, 2021 at 02:35:40PM +0200, Paolo Valerio wrote: >> Tests for both ipv4 and ipv6 have been added. > > Thanks for writing the unit tests. > Could you please add them as part of the patch adding the commands? > Thank you for looking at

Re: [ovs-dev] [PATCH RFC 3/5] Tunnel: Snoop ingress packets and update neigh cache if needed.

2021-11-01 Thread Paolo Valerio
Flavio Leitner writes: > On Thu, Oct 07, 2021 at 02:35:28PM +0200, Paolo Valerio wrote: >> In case of native tunnel with bfd enabled, if the MAC address of the >> remote end's interface changes (e.g. because it got rebooted, and the >> MAC address is allocated dinamica

Re: [ovs-dev] [PATCH RFC 2/5] Native tunnel: Add tnl/neigh/ageing command.

2021-11-01 Thread Paolo Valerio
Flavio Leitner writes: > On Thu, Oct 07, 2021 at 02:35:21PM +0200, Paolo Valerio wrote: >> with the command is now possible to change the ageing time of the >> cache entries. > > Please start with a normal sentence using a capital letter. > ACK >> For the ex

Re: [ovs-dev] [PATCH RFC 1/5] Native tunnel: Read/write expires atomically.

2021-11-01 Thread Paolo Valerio
it explicitly it's better to me too. Will do. > fbl > > > On Thu, Oct 07, 2021 at 02:35:15PM +0200, Paolo Valerio wrote: >> Signed-off-by: Paolo Valerio >> --- >> lib/tnl-neigh-cache.c | 31 ++- >> 1 file changed, 22 insertions(+), 9

[Corpora-List] PhD position in Sentiment Analysis for the Environment at the University of Turin

2021-10-18 Thread Valerio Basile
ly" tab, to find the link to the online application interface. The Deadline for the application is 28th October 2021 at 23:59 CEST. ## Contacts for further information Valerio Basile Cristina Bosco ___ UNSUBSCRIBE from this page: http://mailman.

[Corpora-List] ACL 2022: Call For System Demonstrations

2021-10-14 Thread Valerio Basile
ressed. Please read the ethics FAQ (shared with the main conference) for more guidance on some problems to look out for and key concerns to consider relative to the code of ethics. *Demonstration Co-chairs* Valerio Basile (University of Turin, Italy) Zornitsa Kozareva (Facebook AI Research, USA) Sanja Š

Re: [ovs-dev] [PATCH v5 1/3] conntrack: restore the origin sport for each round with new address

2021-10-07 Thread Paolo Valerio
Hi Wenxu, sorry for the late review. This patch is mostly a preparation for the #3. Your last patch needs that both src and dst get restored. My previous suggestion was to squash patch #1 with #3 as it mostly made sense in that context, considering that without #3 restoring dst was redundant in

[ovs-dev] [PATCH RFC 5/5] Tunnel: Add self tests for MAC learning and ageing.

2021-10-07 Thread Paolo Valerio
Tests for both ipv4 and ipv6 have been added. Signed-off-by: Paolo Valerio --- tests/tunnel-push-pop-ipv6.at | 66 + tests/tunnel-push-pop.at | 65 2 files changed, 131 insertions(+) diff --git a/tests

[ovs-dev] [PATCH RFC 4/5] Native tunnel: Do not refresh the entry while revalidating.

2021-10-07 Thread Paolo Valerio
This is a minor issue but visible e.g. when you try to flush the neigh cache while the ARP flow is still present in the datapath, triggering the revalidation of the datapath flows which subsequntly refreshes/adds the entry in the cache. Signed-off-by: Paolo Valerio --- lib/tnl-neigh-cache.c

[ovs-dev] [PATCH RFC 1/5] Native tunnel: Read/write expires atomically.

2021-10-07 Thread Paolo Valerio
Signed-off-by: Paolo Valerio --- lib/tnl-neigh-cache.c | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/lib/tnl-neigh-cache.c b/lib/tnl-neigh-cache.c index 5bda4af7e..a37456e6d 100644 --- a/lib/tnl-neigh-cache.c +++ b/lib/tnl-neigh-cache.c

[ovs-dev] [PATCH RFC 3/5] Tunnel: Snoop ingress packets and update neigh cache if needed.

2021-10-07 Thread Paolo Valerio
d updating the neigh cache accordingly. Signed-off-by: Paolo Valerio Fixes: b23ddcc57d41 ("tnl-neigh-cache: tighten arp and nd snooping.") --- lib/tnl-neigh-cache.c| 12 ++-- lib/tnl-neigh-cache.h|3 +++ ofproto/ofproto-dpif-xlate.c | 14 ++ 3 files ch

[ovs-dev] [PATCH RFC 2/5] Native tunnel: Add tnl/neigh/ageing command.

2021-10-07 Thread Paolo Valerio
purpose. Signed-off-by: Paolo Valerio --- NEWS|3 ++ lib/tnl-neigh-cache.c | 77 ++- ofproto/ofproto-tnl-unixctl.man |5 +++ 3 files changed, 76 insertions(+), 9 deletions(-) diff --git a/NEWS b/NEWS index 90f4b1590

[ovs-dev] [PATCH RFC 0/5] Native tunnel: Update neigh entries in tnl termination.

2021-10-07 Thread Paolo Valerio
entries in the cache. Paolo Valerio (5): Native tunnel: Read/write expires atomically. Native tunnel: Add tnl/neigh/ageing command. Tunnel: Snoop ingress packets and update neigh cache if needed. Native tunnel: Do not refresh the entry while revalidating. Tunnel: Add

Re: [ovs-dev] [PATCH v5 3/3] conntrack: limit port clash resolution attempts

2021-10-04 Thread Paolo Valerio
not a full review, but see some questions/remarks below. we...@ucloud.cn writes: > From: wenxu > > In case almost or all available ports are taken, clash resolution can > take a very long time, resulting in pmd hang in conntrack. > > This can happen when many to-be-natted hosts connect to same

Re: [ovs-dev] [PATCH v5 2/3] conntrack: select correct sport range for well-known origin sport

2021-10-04 Thread Paolo Valerio
we...@ucloud.cn writes: > From: wenxu > > Like the kernel datapath. The sport nat range for well-konwn origin > sport should limit in the well-known ports. > > Signed-off-by: wenxu > --- LGTM, Acked-by: Paolo Valerio _

Re: smartphone da pc

2021-10-01 Thread valerio
uno smartphone con NFC per poterlo utilizzare. comunque il modello che ho trovato io è: https://shop.bit4id.com/prodotto/minilector-cie/ che costa 43,20 (non mi ricordo le spese di spedizione quante sono). ciao valerio Grazie! Piviul

Re: [ovs-dev] [PATCH v2] docs/userspace-tunneling: Fix IP addresses for host2.

2021-09-30 Thread Paolo Valerio
Cian Ferriter writes: > The IP addresses being recommended for the VM interface and the > "remote_ip" on the tunnel port are wrong. The host1 values were being > used before. Update to use the host2 values. > > Signed-off-by: Cian Ferriter &

Re: [ovs-dev] [PATCH] Documentation: Change the address in userspace-tunneling.rst

2021-09-30 Thread Paolo Valerio
"Ferriter, Cian" writes: >> -Original Message- >> From: dev On Behalf Of Paolo Valerio >> Sent: Wednesday 29 September 2021 21:43 >> To: d...@openvswitch.org >> Cc: f...@redhat.com; i.maxim...@ovn.org >> Subject: [ovs-dev] [PATCH] Docu

<    1   2   3   4   5   6   7   8   9   10   >