Page MenuHomeFreeBSD

dsl (Dmitry Salychev)
User

Projects

User does not belong to any projects.

User Details

User Since
Nov 1 2020, 1:24 PM (285 w, 1 d)

Recent Activity

Today

dsl added inline comments to D55321: dpaa2: ni: add more stats and link information.
Tue, Apr 21, 9:33 AM
dsl added a comment to D55321: dpaa2: ni: add more stats and link information.

@bz I'd rebase this review and commit if you don't have time now.

Tue, Apr 21, 8:06 AM

Sun, Apr 19

dsl committed rG4a6d7fc1a00b: dpaa2: Extract checksum statuses on ingress (authored by dsl).
dpaa2: Extract checksum statuses on ingress
Sun, Apr 19, 6:12 PM
dsl closed D56383: dpaa2: Extract checksum statuses on ingress.
Sun, Apr 19, 6:12 PM

Sat, Apr 18

dsl added a comment to D56383: dpaa2: Extract checksum statuses on ingress.
In D56383#1293150, @bz wrote:

You could write this "This is effectively a refined version of the code written by bz@ in D55320." as part of the final commit message as:

Obtained from: bz (initial version, D55320)
or
Based on: initial version from bz (D55320)

I'll try to give it a pass again tonight once I am done with merges from vendor trees but I think we are good to go if @tuexen has not further comments.

Sat, Apr 18, 4:59 PM
dsl added inline comments to D56383: dpaa2: Extract checksum statuses on ingress.
Sat, Apr 18, 4:58 PM
dsl added inline comments to D56383: dpaa2: Extract checksum statuses on ingress.
Sat, Apr 18, 11:49 AM
dsl added inline comments to D56383: dpaa2: Extract checksum statuses on ingress.
Sat, Apr 18, 11:48 AM
dsl added a comment to D56383: dpaa2: Extract checksum statuses on ingress.

As soon as we were interested in the FD[ERR} field, I added another counter to track other ingress frames with errors. It can be detailed in future.

Sat, Apr 18, 11:46 AM
dsl updated the diff for D56383: dpaa2: Extract checksum statuses on ingress.
Sat, Apr 18, 11:43 AM

Fri, Apr 17

dsl added a comment to D56383: dpaa2: Extract checksum statuses on ingress.
In D56383#1292511, @bz wrote:
In D56383#1292509, @dsl wrote:

Uhh, I've double-checked and dpaa2_ni_setup_if_caps is actually called on my side and reports correct changes in the csum validation/generation, but it doesn't affect the ingress frames at all:

dpaa2_ni_update_csum_flags: frc=0x10a000, fas=0x400000a00021100, csum_flags=0xf000000, csum_data=0xffff
dpaa2_ni_update_csum_flags: frc=0x10a000, fas=0x400000a00021100, csum_flags=0xf000000, csum_data=0xffff
dpaa2_ni_update_csum_flags: frc=0x30a000, fas=0x400000200021100, csum_flags=0xc000000, csum_data=0xffff

These FAS values make no sense if you look at the bits. Is this on the 2160 or on 1088?

Fri, Apr 17, 1:14 PM
dsl added a comment to D56383: dpaa2: Extract checksum statuses on ingress.
In D56383#1292507, @bz wrote:

Unrelated but is that

1637         (void)DPAA2_CMD_NI_CLOSE(dev, child, &cmd);

at the end of dpaa2_ni_setup_if_caps correct passing &cmd instead of DPAA2_CMD_TK(&cmd, ni_token) ? I think that should be fixed.
Reported by: bz

Fri, Apr 17, 10:48 AM
dsl added a comment to D56383: dpaa2: Extract checksum statuses on ingress.

Uhh, I've double-checked and dpaa2_ni_setup_if_caps is actually called on my side and reports correct changes in the csum validation/generation, but it doesn't affect the ingress frames at all:

Fri, Apr 17, 10:41 AM
dsl added a comment to D56383: dpaa2: Extract checksum statuses on ingress.

When enabling rx csum offload, I do the the expected flags in incoming TCP segments. So this works now. But when disabling rx csum offload, I still see the flags:

tuexen@ten64:~ % ifconfig dpni1
dpni1: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
	options=48002a<TXCSUM,VLAN_MTU,JUMBO_MTU,LINKSTATE,TXCSUM_IPV6>
	ether 00:0a:fa:24:2f:c6
	inet 212.201.121.124 netmask 0xffffffe0 broadcast 212.201.121.127
	inet6 fe80::20a:faff:fe24:2fc6%dpni1 prefixlen 64 scopeid 0x2
	inet6 2a02:c6a0:4015:10::124 prefixlen 64
	media: Ethernet autoselect (1000baseT <full-duplex,master>)
	status: active
	nd6 options=821<PERFORMNUD,AUTO_LINKLOCAL,STABLEADDR>

Output of:

#!/usr/sbin/dtrace -s

#pragma D option quiet

/* 
 * Trace tcp_input to capture incoming segments. 
 * arg0 is typically a pointer to the mbuf (struct mbuf *).
 */
fbt::tcp_input:entry
{
    /* Cast arg0 to access the mbuf structure and its packet header */
    this->m = *(struct mbuf **)arg0;
    this->flags = this->m->m_pkthdr.csum_flags;

    printf("%-20Y  Flags: 0x%08x\n", walltimestamp, this->flags);
}
fbt::tcp6_input:entry
{
    /* Cast arg0 to access the mbuf structure and its packet header */
    this->m = *(struct mbuf **)arg0;
    this->flags = this->m->m_pkthdr.csum_flags;

    printf("%-20Y  Flags: 0x%08x\n", walltimestamp, this->flags);
}

is:

2026 Apr 16 22:04:38  Flags: 0x0c000000
2026 Apr 16 22:04:38  Flags: 0x0c000000
2026 Apr 16 22:04:38  Flags: 0x0c000000
2026 Apr 16 22:04:38  Flags: 0x0c000000
2026 Apr 16 22:04:38  Flags: 0x0c000000
2026 Apr 16 22:04:38  Flags: 0x0c000000
2026 Apr 16 22:04:38  Flags: 0x0c000000
2026 Apr 16 22:04:38  Flags: 0x0c000000
2026 Apr 16 22:04:38  Flags: 0x0c000000
2026 Apr 16 22:04:38  Flags: 0x0c000000
2026 Apr 16 22:04:38  Flags: 0x0c000000

This is for TCP/IPv6. I would have expected 0. Is my expectation wrong?

Fri, Apr 17, 9:26 AM

Wed, Apr 15

dsl closed D56367: Status/2026Q1/drm-drivers-aarch64.adoc: Add report.
Wed, Apr 15, 3:58 PM
dsl committed R9:53d1939d7375: Status/2026Q1/drm-drivers-aarch64.adoc: Add report (authored by dsl).
Status/2026Q1/drm-drivers-aarch64.adoc: Add report
Wed, Apr 15, 3:58 PM
dsl closed D56366: Status/2026Q1/dpaa2.adoc: Add report.
Wed, Apr 15, 3:56 PM
dsl committed R9:4cd69387e6ec: Status/2026Q1/dpaa2.adoc: Add report (authored by dsl).
Status/2026Q1/dpaa2.adoc: Add report
Wed, Apr 15, 3:56 PM
dsl added a comment to D56383: dpaa2: Extract checksum statuses on ingress.

Looks good to me, will test it tomorrow. Right now my test system is not reachable and I am only back to my lab tomorrow.

Wed, Apr 15, 12:27 PM
dsl added inline comments to D56383: dpaa2: Extract checksum statuses on ingress.
Wed, Apr 15, 12:26 PM
dsl added inline comments to D56383: dpaa2: Extract checksum statuses on ingress.
Wed, Apr 15, 12:03 PM
dsl added inline comments to D56383: dpaa2: Extract checksum statuses on ingress.
Wed, Apr 15, 12:02 PM
dsl added inline comments to D56383: dpaa2: Extract checksum statuses on ingress.
Wed, Apr 15, 12:00 PM
dsl updated the diff for D56383: dpaa2: Extract checksum statuses on ingress.
Wed, Apr 15, 11:55 AM
dsl added a comment to D56367: Status/2026Q1/drm-drivers-aarch64.adoc: Add report.

Fixed

Wed, Apr 15, 10:35 AM
dsl updated the diff for D56367: Status/2026Q1/drm-drivers-aarch64.adoc: Add report.
Wed, Apr 15, 10:34 AM
dsl added a comment to D56366: Status/2026Q1/dpaa2.adoc: Add report.

I've fixed the comments and added another review (D56383) which is currently in progress.

Wed, Apr 15, 10:31 AM
dsl updated the diff for D56366: Status/2026Q1/dpaa2.adoc: Add report.
Wed, Apr 15, 10:30 AM

Mon, Apr 13

dsl requested review of D56383: dpaa2: Extract checksum statuses on ingress.
Mon, Apr 13, 8:33 PM

Sun, Apr 12

dsl added a comment to D56367: Status/2026Q1/drm-drivers-aarch64.adoc: Add report.

Usually, there's drm-drivers.adoc report which summarizes activities regarding the drm-kmod drivers. It might be a good idea to include mine if the drm-drivers.adoc will appear.

Sun, Apr 12, 8:09 PM
dsl requested review of D56367: Status/2026Q1/drm-drivers-aarch64.adoc: Add report.
Sun, Apr 12, 8:07 PM
dsl requested review of D56366: Status/2026Q1/dpaa2.adoc: Add report.
Sun, Apr 12, 8:06 PM

Wed, Apr 8

dsl committed rG8e994533806d: dpaa2: Extract frame-specific routines to dpaa2_frame.[h,c] (authored by dsl).
dpaa2: Extract frame-specific routines to dpaa2_frame.[h,c]
Wed, Apr 8, 7:49 PM
dsl closed D56315: dpaa2: Extract frame-specific routines to dpaa2_frame.[h,c].
Wed, Apr 8, 7:49 PM
dsl requested review of D56315: dpaa2: Extract frame-specific routines to dpaa2_frame.[h,c].
Wed, Apr 8, 4:47 PM
dsl added inline comments to D55320: dpaa2: dpaa2_ni_rx() RX checksum EN/ERR information for L3/4.
Wed, Apr 8, 2:25 PM

Sat, Apr 4

dsl committed rGc417ed80fd2f: dpaa2: Perform bus_dma pre-write sync before enqueue operation (authored by dsl).
dpaa2: Perform bus_dma pre-write sync before enqueue operation
Sat, Apr 4, 9:45 AM
dsl committed rG26b27a828803: dpaa2: Perform bus_dma pre-write sync before enqueue operation (authored by dsl).
dpaa2: Perform bus_dma pre-write sync before enqueue operation
Sat, Apr 4, 9:36 AM

Sun, Mar 29

dsl committed rG5812415bee55: dpaa2: Perform bus_dma pre-write sync before enqueue operation (authored by dsl).
dpaa2: Perform bus_dma pre-write sync before enqueue operation
Sun, Mar 29, 6:36 PM
dsl added a reverting change for rG968164eb650f: dpaa2: Perform bus_dma pre-write sync before enqueue operation: rGc78e653b49f7: Revert "dpaa2: Perform bus_dma pre-write sync before enqueue operation".
Sun, Mar 29, 6:36 PM
dsl committed rGc78e653b49f7: Revert "dpaa2: Perform bus_dma pre-write sync before enqueue operation" (authored by dsl).
Revert "dpaa2: Perform bus_dma pre-write sync before enqueue operation"
Sun, Mar 29, 6:36 PM
dsl closed D56144: dpaa2: Perform bus_dma pre-write sync before enqueue operation.
Sun, Mar 29, 6:36 PM
dsl committed rG968164eb650f: dpaa2: Perform bus_dma pre-write sync before enqueue operation (authored by dsl).
dpaa2: Perform bus_dma pre-write sync before enqueue operation
Sun, Mar 29, 6:25 PM
dsl added a comment to D56144: dpaa2: Perform bus_dma pre-write sync before enqueue operation.

@tuexen Thanks for a quick response!

Sun, Mar 29, 5:57 PM
dsl updated the test plan for D56144: dpaa2: Perform bus_dma pre-write sync before enqueue operation.
Sun, Mar 29, 11:42 AM
dsl attached a referenced file: F150111545: test01d.c.
Sun, Mar 29, 11:38 AM
dsl attached a referenced file: F150111558: test01.c.
Sun, Mar 29, 11:38 AM
dsl updated the test plan for D56144: dpaa2: Perform bus_dma pre-write sync before enqueue operation.
Sun, Mar 29, 11:37 AM
dsl requested review of D56144: dpaa2: Perform bus_dma pre-write sync before enqueue operation.
Sun, Mar 29, 11:36 AM

Mar 16 2026

dsl committed R11:2f52a07fda6d: sysutils/coreutils: Fix build after 28599a1e5f1b (authored by dsl).
sysutils/coreutils: Fix build after 28599a1e5f1b
Mar 16 2026, 3:05 PM

Feb 21 2026

dsl accepted D55321: dpaa2: ni: add more stats and link information.
Feb 21 2026, 3:05 PM

Feb 18 2026

dsl added inline comments to D55320: dpaa2: dpaa2_ni_rx() RX checksum EN/ERR information for L3/4.
Feb 18 2026, 9:34 AM

Jan 29 2026

dsl accepted D54893: dpaa2: add support for some interface counter.

Okay, I see. if_inc_counter() is implemented with counter_u64_add which is atomic on arm64, i.e. no synchronization is required. I don't think there's noticeable overhead either, i.e. lgtm.

Jan 29 2026, 9:55 PM
dsl added a comment to D54893: dpaa2: add support for some interface counter.

Can we hide those counters behind a macro (e.g. DPAA2_DEBUG)?

Jan 29 2026, 10:00 AM

Jan 26 2026

dsl added a comment to D54893: dpaa2: add support for some interface counter.

e.g. sysctl dev.dpaa2_ni.0 is not enough?

Jan 26 2026, 8:11 PM

Jan 22 2026

dsl accepted D54809: dpnaa2: announce transmit checksum support.

lgtm

Jan 22 2026, 11:00 PM

Jan 20 2026

dsl accepted D54805: dpaa2: cleanup.

lgtm

Jan 20 2026, 9:10 PM

Dec 29 2025

dsl committed rG23b83bfeb767: dpaa2: Setup interface caps on attach (authored by dsl).
dpaa2: Setup interface caps on attach
Dec 29 2025, 6:16 PM
dsl committed rG22f8973d1e5a: dpaa2: Setup interface caps on attach (authored by dsl).
dpaa2: Setup interface caps on attach
Dec 29 2025, 6:13 PM

Nov 19 2025

dsl committed rGa731cb93a662: dpaa2: Setup interface caps on attach (authored by dsl).
dpaa2: Setup interface caps on attach
Nov 19 2025, 10:25 PM
dsl closed D53436: dpaa2: Setup interface caps on attach.
Nov 19 2025, 10:24 PM

Nov 7 2025

dsl added a comment to D53436: dpaa2: Setup interface caps on attach.

@bz you meant IFCAP_HWCSUM_IPV6, didn't you? Hmm, I haven't tested it yet. Probably a good idea before committing changes.

Nov 7 2025, 9:30 AM
dsl added a comment to D53436: dpaa2: Setup interface caps on attach.
In D53436#1224250, @bz wrote:

Beware that this (L4), if I read it correctly, will also enable RX/TX checksum validation/generation for upper layer protocols for IPv6 packets even if that is not not advertised or enabled.

Nov 7 2025, 9:22 AM

Nov 6 2025

dsl added a comment to D53436: dpaa2: Setup interface caps on attach.

This change seems trivial to me. I'd simply commit it if there are no objections.

Nov 6 2025, 7:55 PM
dsl added a comment to D51632: devel/love: Build with LUAJIT on aarch64.

I'd like to know objections, if any.

Nov 6 2025, 7:54 PM

Nov 1 2025

dsl closed D51631: games/loderunner-ng: New port: Classic Apple II Lode Runner game remake.
Nov 1 2025, 11:13 PM
dsl committed R11:f5081c995225: games/loderunner-ng: New port (authored by dsl).
games/loderunner-ng: New port
Nov 1 2025, 11:13 PM

Oct 29 2025

dsl requested review of D53436: dpaa2: Setup interface caps on attach.
Oct 29 2025, 2:06 PM

Sep 3 2025

dsl updated the diff for D51631: games/loderunner-ng: New port: Classic Apple II Lode Runner game remake.

Updated to 0.1.4

Sep 3 2025, 7:30 PM

Aug 4 2025

dsl added a comment to D51632: devel/love: Build with LUAJIT on aarch64.

Ping

Aug 4 2025, 8:21 PM
dsl added a comment to D51631: games/loderunner-ng: New port: Classic Apple II Lode Runner game remake.

Ping

Aug 4 2025, 8:21 PM

Aug 1 2025

dsl added inline comments to D51631: games/loderunner-ng: New port: Classic Apple II Lode Runner game remake.
Aug 1 2025, 1:25 PM
dsl updated the diff for D51631: games/loderunner-ng: New port: Classic Apple II Lode Runner game remake.
Aug 1 2025, 1:25 PM
dsl added a comment to D51631: games/loderunner-ng: New port: Classic Apple II Lode Runner game remake.

Successfully compiled on:

Aug 1 2025, 1:20 PM
dsl updated the diff for D51631: games/loderunner-ng: New port: Classic Apple II Lode Runner game remake.
Aug 1 2025, 1:18 PM

Jul 31 2025

dsl added inline comments to D51631: games/loderunner-ng: New port: Classic Apple II Lode Runner game remake.
Jul 31 2025, 11:00 AM
dsl added a comment to D51631: games/loderunner-ng: New port: Classic Apple II Lode Runner game remake.
Jul 31 2025, 10:00 AM
dsl added a reviewer for D51632: devel/love: Build with LUAJIT on aarch64: AMDmi3.
Jul 31 2025, 6:27 AM

Jul 30 2025

dsl added a reviewer for D51631: games/loderunner-ng: New port: Classic Apple II Lode Runner game remake: Ports Committers.
Jul 30 2025, 7:38 PM
dsl added a reviewer for D51632: devel/love: Build with LUAJIT on aarch64: Ports Committers.
Jul 30 2025, 7:37 PM
dsl updated the summary of D51632: devel/love: Build with LUAJIT on aarch64.
Jul 30 2025, 8:14 AM
dsl requested review of D51632: devel/love: Build with LUAJIT on aarch64.
Jul 30 2025, 8:11 AM
dsl requested review of D51631: games/loderunner-ng: New port: Classic Apple II Lode Runner game remake.
Jul 30 2025, 7:36 AM

Jul 6 2025

dsl abandoned D51047: arm64: Tweaks to compile with FORTIFY_SOURCE.

World for arm64 can be built with 905541dd6ba4 without my changes. I'll abandon this review then.

Jul 6 2025, 8:23 PM

Jun 25 2025

dsl requested review of D51047: arm64: Tweaks to compile with FORTIFY_SOURCE.
Jun 25 2025, 8:13 PM

Feb 7 2025

dsl added a comment to D48874: swapon: parse md.eli device for encrypted swapfile from fstab.

Could you add a short test plan to follow?

Feb 7 2025, 12:26 PM

Dec 13 2024

dsl committed rG795e9c9b5503: dpaa2: Fix kernel built with ACPI_DEBUG (authored by dsl).
dpaa2: Fix kernel built with ACPI_DEBUG
Dec 13 2024, 8:07 PM
dsl committed rG05150edd1e30: dpaa2: Fix kernel built with ACPI_DEBUG (authored by dsl).
dpaa2: Fix kernel built with ACPI_DEBUG
Dec 13 2024, 8:04 PM

Nov 19 2024

dsl closed D47666: dpaa2: Fix kernel built with ACPI_DEBUG.
Nov 19 2024, 3:50 PM
dsl committed rGc2dd2be344fb: dpaa2: Fix kernel built with ACPI_DEBUG (authored by dsl).
dpaa2: Fix kernel built with ACPI_DEBUG
Nov 19 2024, 3:50 PM

Nov 18 2024

dsl added a comment to D47666: dpaa2: Fix kernel built with ACPI_DEBUG.

I can build a kernel with ACPI_DEBUG without any troubles, but my Honeycomb has to be revived. Could you give it a try @phk @bz ?

Nov 18 2024, 10:03 PM
dsl requested review of D47666: dpaa2: Fix kernel built with ACPI_DEBUG.
Nov 18 2024, 10:01 PM

Nov 2 2024

dsl accepted D47388: dpaa2_mc: Check for error the first time bus_generic_detach is called.
Nov 2 2024, 7:32 PM

Nov 1 2024

dsl added inline comments to D47388: dpaa2_mc: Check for error the first time bus_generic_detach is called.
Nov 1 2024, 10:50 PM

Oct 14 2024

dsl accepted D47103: dpaa2: allow tapping of tx packet in dpni.

LGTM, but why "half-working"? Is there BFP_MTAP on Rx somewhere?

Oct 14 2024, 10:57 AM

Oct 12 2024

dsl accepted D47066: dpaa2: fix MRU for dpni (and software vlans along).

LGTM, thanks @bz

Oct 12 2024, 10:10 PM

Jun 3 2024

dsl committed rG645a228481c7: ds1307: Return error code instead of boolean (authored by dsl).
ds1307: Return error code instead of boolean
Jun 3 2024, 2:19 PM

May 22 2024

dsl committed rG971b77da4649: arm64: Return newline at the end of NOTES back (authored by dsl).
arm64: Return newline at the end of NOTES back
May 22 2024, 1:25 PM
dsl committed rGac4ddc467bfe: arm64: Fixed IOMMU compilation errors (authored by dsl).
arm64: Fixed IOMMU compilation errors
May 22 2024, 9:09 AM
dsl closed D45289: arm64: Fixed IOMMU compilation errors.
May 22 2024, 9:09 AM · arm64