Page MenuHomeFreeBSD
Feed Advanced Search

Jul 17 2024

np committed rGfd90e164109f: cxgbe(4): Retire t4_intr_clear. (authored by np).
cxgbe(4): Retire t4_intr_clear.
Jul 17 2024, 2:25 PM
np committed rG803c082fd263: cxgbe(4): Add a helper function to locate MPS/MAC registers. (authored by np).
cxgbe(4): Add a helper function to locate MPS/MAC registers.
Jul 17 2024, 2:25 PM
np committed rG66527188a4ed: cxgbe(4): Remove tx_modq lookup table. (authored by np).
cxgbe(4): Remove tx_modq lookup table.
Jul 17 2024, 2:25 PM
np committed rG60bf442ee273: cxgbe(4): Do not report link state change during interface detach. (authored by np).
cxgbe(4): Do not report link state change during interface detach.
Jul 17 2024, 2:23 PM
np committed rG0d7e2e14ba79: cxgbetool(8): Be flexible about the nexus name. (authored by np).
cxgbetool(8): Be flexible about the nexus name.
Jul 17 2024, 2:23 PM
np committed rG8d214aa2c189: cxgbe(4): Consolidate all mk_set_tcb_field_ulp in one place. (authored by np).
cxgbe(4): Consolidate all mk_set_tcb_field_ulp in one place.
Jul 17 2024, 2:23 PM
np committed rG307639c1e93f: cxgbe(4): sc->port is indexed by port_id and not tx_chan. (authored by np).
cxgbe(4): sc->port is indexed by port_id and not tx_chan.
Jul 17 2024, 2:23 PM
np committed rGc0b69999b1b3: cxgbe(4): Query TPCHMAP once and not once per port. (authored by np).
cxgbe(4): Query TPCHMAP once and not once per port.
Jul 17 2024, 2:23 PM
np committed rG29791662e974: cxgbe/tom: Fix the rx channel selection in options2. (authored by np).
cxgbe/tom: Fix the rx channel selection in options2.
Jul 17 2024, 2:23 PM
np committed rG0ca32f02defd: cxgbe(4): Rename rx_c_chan to rx_chan. (authored by np).
cxgbe(4): Rename rx_c_chan to rx_chan.
Jul 17 2024, 2:23 PM
np committed rG67faf45be5d6: cxgbe(4): Initialize mps_bg_map to an invalid value if it's not known. (authored by np).
cxgbe(4): Initialize mps_bg_map to an invalid value if it's not known.
Jul 17 2024, 2:23 PM
np committed rG5af25b6e4d55: cxgbe(4): Minor tweaks to comments. (authored by np).
cxgbe(4): Minor tweaks to comments.
Jul 17 2024, 2:23 PM
np committed rG92383a2c844b: cxgbe(4): Do not read hardware registers to determine the number of ports. (authored by np).
cxgbe(4): Do not read hardware registers to determine the number of ports.
Jul 17 2024, 2:23 PM
np committed rGe5efc8cf5d7d: cxgbe(4): Allocate a taskqueue per port instead of per channel. (authored by np).
cxgbe(4): Allocate a taskqueue per port instead of per channel.
Jul 17 2024, 2:23 PM
np committed rGa238d1b04522: cxgbe(4): Shared code update to deal with partial failure in query_params. (authored by np).
cxgbe(4): Shared code update to deal with partial failure in query_params.
Jul 17 2024, 2:22 PM
np committed rGb67afd194ce9: cxgbe(4): Reword the comment explaining the atid/cookie split. (authored by np).
cxgbe(4): Reword the comment explaining the atid/cookie split.
Jul 17 2024, 2:22 PM
np committed rGd80e7fca010d: cxgbe(4): Add missing description for a port type. (authored by np).
cxgbe(4): Add missing description for a port type.
Jul 17 2024, 2:22 PM
np committed rG6bc34cdd9671: cxgbe(4): Retire t4_intr_clear. (authored by np).
cxgbe(4): Retire t4_intr_clear.
Jul 17 2024, 2:22 PM
np committed rG41309c878de3: cxgbe(4): Add a helper function to locate MPS/MAC registers. (authored by np).
cxgbe(4): Add a helper function to locate MPS/MAC registers.
Jul 17 2024, 2:22 PM
np committed rG1089f5755e11: cxgbe(4): Remove tx_modq lookup table. (authored by np).
cxgbe(4): Remove tx_modq lookup table.
Jul 17 2024, 2:22 PM
np requested review of D45991: cxgbe/t4_tom: Free up hardware resources when the final CPL is received..
Jul 17 2024, 6:05 AM
np added a reviewer for D45990: cxgbe/t4_tom: Detach the toep from the tcpcb when entering TIME_WAIT.: jhb.
Jul 17 2024, 5:55 AM
np requested review of D45990: cxgbe/t4_tom: Detach the toep from the tcpcb when entering TIME_WAIT..
Jul 17 2024, 5:50 AM

Jul 10 2024

np committed rGdc20d49aa939: cxgbe(4): Do not report link state change during interface detach. (authored by np).
cxgbe(4): Do not report link state change during interface detach.
Jul 10 2024, 7:41 PM
np closed D45864: cxgbe(4): Do not report link state change during interface detach..
Jul 10 2024, 7:41 PM

Jul 9 2024

np updated the diff for D45864: cxgbe(4): Do not report link state change during interface detach..

Incorporate feedback from jhb.

Jul 9 2024, 4:51 PM

Jul 3 2024

np accepted D44314: sys/net: Add IPSEC_ACCEL interface cap and methods structure.
Jul 3 2024, 8:57 PM
np requested review of D45864: cxgbe(4): Do not report link state change during interface detach..
Jul 3 2024, 7:33 PM

Jul 2 2024

np accepted D45187: cxgbe: Add a 'show t4 memdump' DDB command.
Jul 2 2024, 7:37 PM
np accepted D45186: cxgbe: Remove most uses of sysctl_wire_old_buffer.
Jul 2 2024, 7:36 PM

Jul 1 2024

np added inline comments to D44219: ipsec_accel: kernel infrastructure.
Jul 1 2024, 5:42 PM

Jun 28 2024

np added a comment to D44219: ipsec_accel: kernel infrastructure.

I went over all of this and related revisions recently. The high level comments are here and the rest will go next to the code they apply to.

Jun 28 2024, 8:42 PM

Jun 25 2024

np accepted D45716: cxgbe: replace a loop with rounddown_pow_of_two.
Jun 25 2024, 9:40 PM

Jun 20 2024

np committed rGaee4c9c5b88a: Makefile.inc1: Fix typo affecting incremental pkgbase builds. (authored by np).
Makefile.inc1: Fix typo affecting incremental pkgbase builds.
Jun 20 2024, 7:18 PM

Jun 17 2024

np committed rG2d0a01271223: cxgbev(4): Pay attention to the VLAN configuration for the VF. (authored by np).
cxgbev(4): Pay attention to the VLAN configuration for the VF.
Jun 17 2024, 5:42 PM
np committed rG4471ff11969e: cxgbev(4): Shared code for the VF driver to query a VF's VLAN config. (authored by np).
cxgbev(4): Shared code for the VF driver to query a VF's VLAN config.
Jun 17 2024, 5:41 PM
np added inline comments to D45428: cxgbe: handle vlan PF restrictions.
Jun 17 2024, 4:48 PM
np added a comment to D45428: cxgbe: handle vlan PF restrictions.

{F86253090} I uploaded an attachment with all the changes I had to make to get this working. Please incorporate it into this revision.

Jun 17 2024, 4:47 PM
np accepted D45402: iovctl: allow vlan restrictions to be passed to the driver.
Jun 17 2024, 5:15 AM
np added inline comments to D45428: cxgbe: handle vlan PF restrictions.
Jun 17 2024, 5:15 AM
np committed rGba95b4aea789: cxgbe(4): New knob to limit driver to the specified types of doorbells. (authored by np).
cxgbe(4): New knob to limit driver to the specified types of doorbells.
Jun 17 2024, 2:12 AM
np committed rGd72db09005e5: cxgbe(4): Do not issue an L1CFG command from a VF. (authored by np).
cxgbe(4): Do not issue an L1CFG command from a VF.
Jun 17 2024, 2:12 AM
np committed rGd0fdafdb0ef4: cxgbev(4): Use the correct source pf for T6 in the VF driver. (authored by np).
cxgbev(4): Use the correct source pf for T6 in the VF driver.
Jun 17 2024, 2:12 AM
np committed rGe827b61cacdd: cxgbetool(8): Be flexible about the nexus name. (authored by np).
cxgbetool(8): Be flexible about the nexus name.
Jun 17 2024, 2:12 AM

Jun 12 2024

np accepted D45428: cxgbe: handle vlan PF restrictions.

This PF change looks correct but there needs to be matching change in the VF driver that reads the VLAN settings and acts on it.

Jun 12 2024, 8:07 PM

Jun 7 2024

np accepted D45494: powerof2: replace loops with fls or ilog2.
Jun 7 2024, 2:55 PM

May 17 2024

np committed rG64a00f877fc2: cxgbe(4): Consolidate all mk_set_tcb_field_ulp in one place. (authored by np).
cxgbe(4): Consolidate all mk_set_tcb_field_ulp in one place.
May 17 2024, 10:58 PM
np committed rGcca3506dc154: cxgbe(4): sc->port is indexed by port_id and not tx_chan. (authored by np).
cxgbe(4): sc->port is indexed by port_id and not tx_chan.
May 17 2024, 10:46 PM

May 1 2024

np committed rGc6c6d4aff90d: cxgbe/tom: Fix the rx channel selection in options2. (authored by np).
cxgbe/tom: Fix the rx channel selection in options2.
May 1 2024, 12:15 AM
np committed rG7f10048f983a: cxgbe(4): Query TPCHMAP once and not once per port. (authored by np).
cxgbe(4): Query TPCHMAP once and not once per port.
May 1 2024, 12:00 AM
np committed rG480ff89c67b2: cxgbe(4): Rename rx_c_chan to rx_chan. (authored by np).
cxgbe(4): Rename rx_c_chan to rx_chan.
May 1 2024, 12:00 AM

Apr 30 2024

np committed rG21aba396551e: cxgbe(4): Minor tweaks to comments. (authored by np).
cxgbe(4): Minor tweaks to comments.
Apr 30 2024, 8:05 PM
np committed rG9de0036b55dc: cxgbe(4): Initialize mps_bg_map to an invalid value if it's not known. (authored by np).
cxgbe(4): Initialize mps_bg_map to an invalid value if it's not known.
Apr 30 2024, 8:05 PM
np committed rG4d1362cdc737: cxgbe(4): Do not read hardware registers to determine the number of ports. (authored by np).
cxgbe(4): Do not read hardware registers to determine the number of ports.
Apr 30 2024, 8:05 PM
np committed rG857d74b6340e: cxgbe(4): Allocate a taskqueue per port instead of per channel. (authored by np).
cxgbe(4): Allocate a taskqueue per port instead of per channel.
Apr 30 2024, 6:21 PM

Apr 29 2024

np committed rG2965ae591441: cxgbe(4): Shared code update to deal with partial failure in query_params. (authored by np).
cxgbe(4): Shared code update to deal with partial failure in query_params.
Apr 29 2024, 9:03 PM
np committed rG43f6f0848804: cxgbe(4): Reword the comment explaining the atid/cookie split. (authored by np).
cxgbe(4): Reword the comment explaining the atid/cookie split.
Apr 29 2024, 8:49 PM
np committed rGf0ee6112eb61: cxgbe(4): Add missing description for a port type. (authored by np).
cxgbe(4): Add missing description for a port type.
Apr 29 2024, 8:33 PM
np committed rG1c7f9c8b4673: cxgbe(4): Retire t4_intr_clear. (authored by np).
cxgbe(4): Retire t4_intr_clear.
Apr 29 2024, 7:46 PM
np committed rGb59c5d97edf1: cxgbe(4): Add a helper function to locate MPS/MAC registers. (authored by np).
cxgbe(4): Add a helper function to locate MPS/MAC registers.
Apr 29 2024, 7:33 PM
np committed rGf76effed14b2: cxgbe(4): Remove tx_modq lookup table. (authored by np).
cxgbe(4): Remove tx_modq lookup table.
Apr 29 2024, 6:36 PM

Mar 19 2024

np accepted D44435: cxgbe tom: Handle a race condition when enabling TLS offload.
Mar 19 2024, 11:28 PM

Feb 21 2024

np accepted D43999: ddp: Clear active DDP buffer members to NULL to pacify assertion.
Feb 21 2024, 1:26 AM

Feb 12 2024

np created P631 panic on ampere emag.
Feb 12 2024, 6:45 PM

Jan 30 2024

np accepted D43670: cxgbe tom: Enable ULP_MODE_TCPDDP on demand.
Jan 30 2024, 5:08 PM
np accepted D43669: cxgbe tom: Limit TOE connections to 2 reassembly islands always.
Jan 30 2024, 5:07 PM
np accepted D43668: cxgbe: Add counters for POSIX async I/O requests handled by the driver.
Jan 30 2024, 5:01 PM

Jan 11 2024

np committed rG1c336d39156c: cxgbe(4): Update firmwares to 1.27.5.0 (authored by np).
cxgbe(4): Update firmwares to 1.27.5.0
Jan 11 2024, 5:36 AM
np committed rG2cca64fbe579: cxgbe(4): Use the correct size for the CIM LA on the T6. (authored by np).
cxgbe(4): Use the correct size for the CIM LA on the T6.
Jan 11 2024, 5:36 AM
np committed rG3a507508e365: cxgbe(4): Fix virtual interface reattach. (authored by np).
cxgbe(4): Fix virtual interface reattach.
Jan 11 2024, 5:36 AM
np committed rG86ad0ace9c05: cxgbe(4): Destroy the tick mutex during VI detach. (authored by np).
cxgbe(4): Destroy the tick mutex during VI detach.
Jan 11 2024, 5:36 AM
np committed rGfe77cfce0180: cxgbe(4): Update firmwares to 1.27.4.0 (authored by np).
cxgbe(4): Update firmwares to 1.27.4.0
Jan 11 2024, 5:36 AM
np committed rG5f884ac086ed: cxgbe(4): Update firmwares to version 1.27.3.0 (authored by np).
cxgbe(4): Update firmwares to version 1.27.3.0
Jan 11 2024, 5:35 AM
np committed rGb9ead2c2e71c: cxgbe(4): Dump the firmware log before falling back to a minimal config. (authored by np).
cxgbe(4): Dump the firmware log before falling back to a minimal config.
Jan 11 2024, 5:35 AM
np committed rG8b7e008183c9: cxgbe/iw_cxgbe: debug routines to dump STAG (steering tag) entries. (authored by np).
cxgbe/iw_cxgbe: debug routines to dump STAG (steering tag) entries.
Jan 11 2024, 5:35 AM
np committed rGf0eedbcd8039: cxgbetool(8): Add support for tracing loopback traffic for a port. (authored by np).
cxgbetool(8): Add support for tracing loopback traffic for a port.
Jan 11 2024, 5:35 AM
np committed rG0e3fce67f1e5: cxgbe(4): Allow tracing filters on loopback ports. (authored by np).
cxgbe(4): Allow tracing filters on loopback ports.
Jan 11 2024, 5:35 AM
np committed rGd7623fdcf0f0: cxgbe(4): Use the correct size for the CIM LA on the T6. (authored by np).
cxgbe(4): Use the correct size for the CIM LA on the T6.
Jan 11 2024, 5:35 AM
np committed rG3368fcf147a7: cxgbe(4): Remove dead code. (authored by np).
cxgbe(4): Remove dead code.
Jan 11 2024, 5:35 AM
np committed rGc4bac077581e: cxgbe(4): Add support for netmap offsets. (authored by np).
cxgbe(4): Add support for netmap offsets.
Jan 11 2024, 5:35 AM
np committed rGc2628605787d: cxgbe(4): Update firmwares to 1.27.5.0 (authored by np).
cxgbe(4): Update firmwares to 1.27.5.0
Jan 11 2024, 5:35 AM
np committed rG7d98a455a3ea: cxgbe(4): Fix virtual interface reattach. (authored by np).
cxgbe(4): Fix virtual interface reattach.
Jan 11 2024, 5:35 AM
np committed rG2a2aec721fff: cxgbe(4): Destroy the tick mutex during VI detach. (authored by np).
cxgbe(4): Destroy the tick mutex during VI detach.
Jan 11 2024, 5:34 AM

Jan 9 2024

np committed rG9ea86c8f67a6: cxgbe(4): Use the correct size for the CIM LA on the T6. (authored by np).
cxgbe(4): Use the correct size for the CIM LA on the T6.
Jan 9 2024, 9:52 PM

Jan 8 2024

np committed rGdf8a58b17a19: cxgbe(4): Add support for netmap offsets. (authored by np).
cxgbe(4): Add support for netmap offsets.
Jan 8 2024, 8:10 PM

Jan 4 2024

np committed rGb1e82d33193b: cxgbe(4): Update firmwares to 1.27.5.0 (authored by np).
cxgbe(4): Update firmwares to 1.27.5.0
Jan 4 2024, 8:42 PM

Jan 3 2024

np closed D43287: cxgbe(4): Fix virtual interface reattach..
Jan 3 2024, 7:27 PM
np committed rG0201eb29dde9: cxgbe(4): Fix virtual interface reattach. (authored by np).
cxgbe(4): Fix virtual interface reattach.
Jan 3 2024, 7:27 PM
np added a comment to D43166: tcp: bypass TSO when CWR bit is to be sent.
In D43166#986875, @np wrote:

b) If FIN/PSH are set in tcp flags then they will be set in the flags for the last segment only.
c) If CWR is set in the TCP hdr it is set in the hdr of the first segment only. The ECE bit is copied to all segments.
d) If there are IP options they are copied into each segment unaltered. This means if TCP timestamp option is in use the chip will use the same timestamp in all the segments for the TSO.

Thanks Navdeep!

Is there a r/w mask register similar to what Intel NICs offer available in the cxgbe hardware, to modify specifically the CWR behavior?

Jan 3 2024, 7:04 PM
np added a comment to D43166: tcp: bypass TSO when CWR bit is to be sent.

OK, I'm sorry, I was not aware of AccECN and its desired behavior of setting CWR on all segments.

In any case, a system wide tunable is probably not the correct approach. We would want to have the driver set a bit to advertise which ECN modes it supports. If there is hardware that supports both, and the driver cannot determine easily from the packet itself if normal ECN or AccECN should be used, we probably also need to hint to the driver which ECN mode should be used.

I'd like to see some input from NIC vendors here, so I'm glad @np is on the review.

Jan 3 2024, 6:47 PM
np requested review of D43287: cxgbe(4): Fix virtual interface reattach..
Jan 3 2024, 12:12 AM
np committed rG8b144c015c9c: cxgbe(4): Destroy the tick mutex during VI detach. (authored by np).
cxgbe(4): Destroy the tick mutex during VI detach.
Jan 3 2024, 12:07 AM

Oct 31 2023

np committed rG7523a37f68ec: Fix build with gcc12. (authored by np).
Fix build with gcc12.
Oct 31 2023, 5:45 PM

Oct 27 2023

np committed rGc656f5c1a6f8: Fix build with gcc12. (authored by np).
Fix build with gcc12.
Oct 27 2023, 11:41 PM

Sep 19 2023

np committed rGdda585f2c84b: cxgbe(4): Avoid hang on kldunload on netlink enabled kernels. (authored by np).
cxgbe(4): Avoid hang on kldunload on netlink enabled kernels.
Sep 19 2023, 2:30 PM
np committed rGf976dbaeb482: cxgbe(4): Fix tracing with netlink enabled kernels. (authored by np).
cxgbe(4): Fix tracing with netlink enabled kernels.
Sep 19 2023, 2:30 PM

Sep 18 2023

np committed rG38da3db5f9e3: cxgbe(4): Fix tracing with netlink enabled kernels. (authored by np).
cxgbe(4): Fix tracing with netlink enabled kernels.
Sep 18 2023, 7:12 PM
np committed rG3287f64a7314: cxgbe(4): Avoid hang on kldunload on netlink enabled kernels. (authored by np).
cxgbe(4): Avoid hang on kldunload on netlink enabled kernels.
Sep 18 2023, 7:12 PM

Sep 10 2023

np committed rGe203cb393fe0: cxgbe(4): Fix tracing with netlink enabled kernels. (authored by np).
cxgbe(4): Fix tracing with netlink enabled kernels.
Sep 10 2023, 2:30 PM

Sep 6 2023

np accepted D41688: cxgbe tom: Call t4_rcvd_locked from do_rx_data to return RX credits.
Sep 6 2023, 6:24 PM