Page MenuHomeFreeBSD
Feed Advanced Search

Aug 3 2020

np updated the diff for D25873: vxlan(4): Support for stateless NIC hardware offloads with VXLAN encapsulated traffic..

Disable TSO when tx checksumming is disabled.
Add counters for checksums and TSO.

Aug 3 2020, 9:55 PM

Jul 31 2020

np added a comment to D25873: vxlan(4): Support for stateless NIC hardware offloads with VXLAN encapsulated traffic..
In D25873#573657, @kib wrote:
In D25873#573638, @np wrote:

The goal is to improve vxlan's performance. mbuf tags would add at least an alloc/free and extra access(es) to the tags (which are on a linked list) on the hot path. Why even consider any other location for the flags if there _are_ bits available in the proper place right now. We'll be out of them after this change, we aren't out already.

Where VNI is currently stored when packet is pushed up or down to driver, for stateless offload ?

Jul 31 2020, 2:28 AM

Jul 30 2020

np added a comment to D25873: vxlan(4): Support for stateless NIC hardware offloads with VXLAN encapsulated traffic..
In D25873#573628, @lutz_donnerhacke.de wrote:
In D25873#573627, @np wrote:
In D25873#573456, @lutz_donnerhacke.de wrote:

Aren't we soon running out of flag bits in certain integer values?

Given that the inner flags mirror the outer ones, why not use a different variable inner_flags with the same set of flags?

That would work, but it would increase the size of struct mbuf.

So let's move the vxnet specific flags into a mbuf_tag.

Jul 30 2020, 8:31 PM
np added a comment to D25873: vxlan(4): Support for stateless NIC hardware offloads with VXLAN encapsulated traffic..
In D25873#573456, @lutz_donnerhacke.de wrote:

Aren't we soon running out of flag bits in certain integer values?

Given that the inner flags mirror the outer ones, why not use a different variable inner_flags with the same set of flags?

Jul 30 2020, 7:58 PM
np added a comment to D25873: vxlan(4): Support for stateless NIC hardware offloads with VXLAN encapsulated traffic..

Aren't we soon running out of flag bits in certain integer values?

Jul 30 2020, 7:32 PM

Jul 29 2020

np updated the diff for D25873: vxlan(4): Support for stateless NIC hardware offloads with VXLAN encapsulated traffic..

Remove comment.

Jul 29 2020, 6:32 PM
np added a comment to D25873: vxlan(4): Support for stateless NIC hardware offloads with VXLAN encapsulated traffic..
In D25873#573049, @lutz_donnerhacke.de wrote:

May you please consider splitting the patch into functional groups?

  • VXLAN HW capabilities
  • Spelling errors
  • Logic cleanup "xxx == 0" vs "!xxx"
  • style cleanup
Jul 29 2020, 3:09 PM
np accepted D25838: Properly handle a closed TLS socket with pending receive data..
Jul 29 2020, 2:40 PM
np requested review of D25873: vxlan(4): Support for stateless NIC hardware offloads with VXLAN encapsulated traffic..
Jul 29 2020, 12:56 AM

Jul 27 2020

np accepted D25767: cxgbe(4): Stop checking for failures from malloc(M_WAITOK)..
Jul 27 2020, 4:20 PM

Jul 24 2020

np committed rS363498: cxgbe(4): Some updates to the common code..
cxgbe(4): Some updates to the common code.
Jul 24 2020, 11:15 PM

Jul 13 2020

np committed rS363167: cxgbev(4): Compare at most 16 bytes of the Ethernet header when trying.
cxgbev(4): Compare at most 16 bytes of the Ethernet header when trying
Jul 13 2020, 7:15 PM

Jul 5 2020

np committed rS362938: cxgbe(4): Fix a bug (introduced in r362905) where some tx traffic wasn't.
cxgbe(4): Fix a bug (introduced in r362905) where some tx traffic wasn't
Jul 5 2020, 5:15 AM

Jul 3 2020

np closed D25454: cxgbe(4): changes in the Tx path to help increase tx coalescing..
Jul 3 2020, 4:44 AM
np committed rS362905: cxgbe(4): changes in the Tx path to help increase tx coalescing..
cxgbe(4): changes in the Tx path to help increase tx coalescing.
Jul 3 2020, 4:44 AM
np updated the diff for D25454: cxgbe(4): changes in the Tx path to help increase tx coalescing..

Incorporate feedback. atomic_load_64 is now used everywhere to read state.

Jul 3 2020, 12:17 AM

Jun 25 2020

np accepted D25457: Reduce contention on per-adapter lock..
Jun 25 2020, 11:28 PM
np requested review of D25454: cxgbe(4): changes in the Tx path to help increase tx coalescing..
Jun 25 2020, 5:08 PM
np committed rS362616: cxgbe(4): Add a pointer to the adapter softc in vi_info..
cxgbe(4): Add a pointer to the adapter softc in vi_info.
Jun 25 2020, 5:04 PM
np closed D25432: cxgbe(4): Store a pointer to the adapter softc in vi_info..
Jun 25 2020, 5:04 PM

Jun 24 2020

np updated the diff for D25432: cxgbe(4): Store a pointer to the adapter softc in vi_info..

Remove unrelated hunk from sge.c

Jun 24 2020, 8:01 PM
np requested review of D25432: cxgbe(4): Store a pointer to the adapter softc in vi_info..
Jun 24 2020, 7:48 PM

Jun 23 2020

np committed rS362532: cxgbe(4): Add a tx_len16_to_desc helper..
cxgbe(4): Add a tx_len16_to_desc helper.
Jun 23 2020, 7:33 AM

Jun 15 2020

np accepted D24975: Switch cxgbe interface lookup to use fibX_lookup() from older fibX_lookup_nh_ext()..

This change works once the compilation issues are fixed.

Jun 15 2020, 8:57 PM
np added inline comments to D24975: Switch cxgbe interface lookup to use fibX_lookup() from older fibX_lookup_nh_ext()..
Jun 15 2020, 7:41 PM
np added inline comments to D24975: Switch cxgbe interface lookup to use fibX_lookup() from older fibX_lookup_nh_ext()..
Jun 15 2020, 7:39 PM
np requested changes to D24975: Switch cxgbe interface lookup to use fibX_lookup() from older fibX_lookup_nh_ext()..

Seems like t4_listen is missing an include.

Jun 15 2020, 7:32 PM
np accepted D25120: Avoid trying to toggle TSO twice.
Jun 15 2020, 4:02 PM

Jun 9 2020

np added a comment to D24975: Switch cxgbe interface lookup to use fibX_lookup() from older fibX_lookup_nh_ext()..

I will try this and let you know how it went by June 10.

Jun 9 2020, 1:25 AM

May 30 2020

np accepted D25043: Document SO_NO_OFFLOADS and SO_NO_DDP..
May 30 2020, 6:23 AM

May 19 2020

np committed rS361261: cxgbe/iw_cxgbe: Add an async callback to notify iw_cxgbe in case of a.
cxgbe/iw_cxgbe: Add an async callback to notify iw_cxgbe in case of a
May 19 2020, 4:28 PM

May 12 2020

np accepted D24821: IPv6: Fix a panic in the nd6 code with unmapped mbufs..

Looks good (other than the yoda style in one conditional).

May 12 2020, 1:54 PM

May 11 2020

np created P386 (An Untitled Masterwork).
May 11 2020, 11:47 PM

May 1 2020

np committed rS360548: MFC r360211:.
MFC r360211:
May 1 2020, 9:22 PM

Apr 27 2020

np accepted D24453: Add support for KTLS RX over TOE to T6..
Apr 27 2020, 9:40 PM

Apr 23 2020

np closed D24551: Fix the key size passed to t4_init_gmac_hash..

This was committed in r360232

Apr 23 2020, 11:57 PM
np committed rS360232: cxgbe/crypto: Fix the key size in a couple of places to catch up with.
cxgbe/crypto: Fix the key size in a couple of places to catch up with
Apr 23 2020, 11:54 PM
np updated the diff for D24551: Fix the key size passed to t4_init_gmac_hash..

Incorporate feedback.

Apr 23 2020, 11:40 PM
np created D24551: Fix the key size passed to t4_init_gmac_hash..
Apr 23 2020, 11:20 PM

Apr 22 2020

np committed rS360211: cxgbe/iw_cxgbe: Create a LinuxKPI pci device for an adapter and use it.
cxgbe/iw_cxgbe: Create a LinuxKPI pci device for an adapter and use it
Apr 22 2020, 9:54 PM
np committed rS360189: MFC r359897:.
MFC r359897:
Apr 22 2020, 7:24 AM
np accepted D24514: Factor code in LinuxKPI to allow attach and detach to and from any BSD device.

This isn't the exact change I'd suggested or tested but it looks ok to me.

Apr 22 2020, 7:22 AM
np committed rS360188: MFC r359952:.
MFC r359952:
Apr 22 2020, 7:12 AM

Apr 21 2020

np requested changes to D24514: Factor code in LinuxKPI to allow attach and detach to and from any BSD device.

This doesn't quite work because I can't have a struct pci_dev in the softc of the device, which has a native BSD driver (cxgbe) and doesn't use linuxkpi. A different module (iw_cxgbe) on top of cxgbe deals with OFED and that uses linuxkpi. With all this in mind I made the following changes on top of this revision:
https://people.freebsd.org/~np/lkpi_pci.diff

Apr 21 2020, 10:56 PM

Apr 20 2020

np accepted D24388: Convert TOE routing lookups to the new routing KPI..
Apr 20 2020, 7:31 PM

Apr 15 2020

np committed rS359952: cxgbe/iw_cxgbe: Do not start the EP timer if soaccept fails..
cxgbe/iw_cxgbe: Do not start the EP timer if soaccept fails.
Apr 15 2020, 3:40 AM
np accepted D24348: Set inp_flowid's for TOE connections..

The RSS hash will always be present in the passive open CPL so it's safe to remove the conditional.

Apr 15 2020, 12:26 AM
np accepted D24358: Clear CPL_GET_TCB_RPL handler on module unload..
Apr 15 2020, 12:19 AM

Apr 13 2020

np committed rS359897: cxgbe(4): Make sure 'flags' is at the same offset in structs toepcb and.
cxgbe(4): Make sure 'flags' is at the same offset in structs toepcb and
Apr 13 2020, 8:13 PM

Apr 9 2020

np added a comment to D24348: Set inp_flowid's for TOE connections..

If the RSS hash is available in the CPL headers then maybe we could use that directly instead of the tid?

Apr 9 2020, 1:45 AM

Apr 8 2020

np accepted D24347: Use both crypto engines on a T6..
Apr 8 2020, 11:29 PM

Mar 27 2020

np committed rS359351: MFC r359159:.
MFC r359159:
Mar 27 2020, 3:58 AM

Mar 26 2020

np committed rS359313: MFC r359057:.
MFC r359057:
Mar 26 2020, 12:39 AM
np committed rS359312: MFC r358860:.
MFC r358860:
Mar 26 2020, 12:31 AM

Mar 20 2020

np added a comment to D17869: cxgbe: Fix false sharing between t4_nm_intr and cxgbe_netmap_rxsync.

Can you please try r359159?

Mar 20 2020, 5:14 AM
np committed rS359159: cxgbe(4): Split sge_nm_rxq into three cachelines..
cxgbe(4): Split sge_nm_rxq into three cachelines.
Mar 20 2020, 5:12 AM

Mar 18 2020

np closed D23679: Remove spurious warning about invalid VPD data..
Mar 18 2020, 1:09 AM
np committed rS359057: Remove spurious warning about invalid VPD data..
Remove spurious warning about invalid VPD data.
Mar 18 2020, 1:09 AM

Mar 17 2020

np updated the diff for D23679: Remove spurious warning about invalid VPD data..

Address feedback.

Mar 17 2020, 5:54 AM

Mar 14 2020

np committed rS358986: MFC r358717:.
MFC r358717:
Mar 14 2020, 2:24 AM
np committed rS358985: MFC r358086:.
MFC r358086:
Mar 14 2020, 2:21 AM
np committed rS358984: MFC r358082:.
MFC r358082:
Mar 14 2020, 2:15 AM
np committed rS358983: MFC r357606:.
MFC r357606:
Mar 14 2020, 2:11 AM
np committed rS358982: MFC r357552:.
MFC r357552:
Mar 14 2020, 2:05 AM
np committed rS358981: MFC r357551:.
MFC r357551:
Mar 14 2020, 2:00 AM
np committed rS358980: MFC r357476:.
MFC r357476:
Mar 14 2020, 1:54 AM
np committed rS358978: MFC r357474:.
MFC r357474:
Mar 14 2020, 1:42 AM
np committed rS358977: MFC r356713:.
MFC r356713:
Mar 14 2020, 1:38 AM
np committed rS358976: MFC r355886:.
MFC r355886:
Mar 14 2020, 1:33 AM
np committed rS358975: MFC r355730:.
MFC r355730:
Mar 14 2020, 1:29 AM
np committed rS358974: MFC r355580, r355673, and r357553..
MFC r355580, r355673, and r357553.
Mar 14 2020, 1:04 AM
np committed rS358973: MFC r355107 and r355597..
MFC r355107 and r355597.
Mar 14 2020, 12:57 AM
np committed rS358972: MFC r355059:.
MFC r355059:
Mar 14 2020, 12:50 AM

Mar 13 2020

np committed rS358970: MFC r355046, r355579, r355595, and r357793..
MFC r355046, r355579, r355595, and r357793.
Mar 13 2020, 10:19 PM
np committed rS358969: MFC r354210:.
MFC r354210:
Mar 13 2020, 9:45 PM
np committed rS358924: cxgbe(4): Do not display error messages related to the CLIP table if.
cxgbe(4): Do not display error messages related to the CLIP table if
Mar 13 2020, 12:12 AM
np closed D24046: cxgbe(4): Do not display error messages related to the CLIP table if it's not in use by TOE or KTLS..
Mar 13 2020, 12:12 AM

Mar 12 2020

np created D24046: cxgbe(4): Do not display error messages related to the CLIP table if it's not in use by TOE or KTLS..
Mar 12 2020, 8:28 PM

Mar 10 2020

np committed rS358860: cxgbe/t4_tom: The MSS in a FLOWC work request must not be 0..
cxgbe/t4_tom: The MSS in a FLOWC work request must not be 0.
Mar 10 2020, 9:50 PM
np committed rS358859: cxgbe(4): Do not try to use 0 as an rx buffer address when the driver is.
cxgbe(4): Do not try to use 0 as an rx buffer address when the driver is
Mar 10 2020, 9:44 PM

Mar 6 2020

np closed D23989: cxgbe/t4_tom: Do not uninitialize a toepcb that has not been initialized..
Mar 6 2020, 7:56 PM
np committed rS358717: cxgbe/t4_tom: Do not uninitialize a toepcb that has not been initialized..
cxgbe/t4_tom: Do not uninitialize a toepcb that has not been initialized.
Mar 6 2020, 7:56 PM
np created D23989: cxgbe/t4_tom: Do not uninitialize a toepcb that has not been initialized..
Mar 6 2020, 6:02 PM

Feb 19 2020

np added a comment to D23752: Teach lagg to use rate-limited send tags for lacp.

@np: Can the Chelsio NIC allocate one queue for each ratelimited connection?

Feb 19 2020, 11:20 PM
np added a comment to D23752: Teach lagg to use rate-limited send tags for lacp.

Nick, just set hw.cxgbe.rsrv_noflow and all tx traffic that doesn't have a flowid (LACP, ARP, etc.)
will be treated as special by cxgbe and will be transmitted over a reserved tx queue.

Feb 19 2020, 8:43 PM
np requested changes to D23752: Teach lagg to use rate-limited send tags for lacp.

This doesn't look right to me.

Feb 19 2020, 8:41 PM
np committed rS358086: cxgbe(4): Congestion drops are maintained per E-channel and not per.
cxgbe(4): Congestion drops are maintained per E-channel and not per
Feb 19 2020, 12:49 AM

Feb 18 2020

np committed rS358082: cxgbe/iw_cxgbe: correctly enforce the max reg_mr depth..
cxgbe/iw_cxgbe: correctly enforce the max reg_mr depth.
Feb 18 2020, 8:43 PM

Feb 14 2020

np added a reviewer for D23679: Remove spurious warning about invalid VPD data.: jmg.

Adding original author of the code as a reviewer.

Feb 14 2020, 1:31 AM
np added a comment to D23679: Remove spurious warning about invalid VPD data..

I see this with slightly modifed prints in and around the code being removed. This is with a card with a 512B VPD.

Feb 14 2020, 1:20 AM
np created D23679: Remove spurious warning about invalid VPD data..
Feb 14 2020, 1:08 AM

Feb 13 2020

np accepted D23670: Remove the per-TXQ tls_wrs stat..
Feb 13 2020, 9:57 PM

Feb 12 2020

np committed rS357793: cxgbe(4): Update T4/5/6 firmwares to 1.24.12.0..
cxgbe(4): Update T4/5/6 firmwares to 1.24.12.0.
Feb 12 2020, 2:55 AM

Feb 5 2020

np added a comment to D17886: RFC: Chelsio/netmap: Allow netmap to be used on main interface.

A different version of this was committed as r357606.

Feb 5 2020, 10:31 PM
np committed rS357606: cxgbe(4): Add native netmap support to the main interface..
cxgbe(4): Add native netmap support to the main interface.
Feb 5 2020, 10:29 PM
np committed rS357553: cxgbe(4): Add a knob to allow netmap tx traffic to be checksummed by.
cxgbe(4): Add a knob to allow netmap tx traffic to be checksummed by
Feb 5 2020, 12:13 AM
np committed rS357552: cxgbe(4): Allow nm_black_hole and nm_cong_drop to be set at any time..
cxgbe(4): Allow nm_black_hole and nm_cong_drop to be set at any time.
Feb 5 2020, 12:09 AM

Feb 4 2020

np committed rS357551: cxgbe(4): Report accurate rx_buf_maxsize to netmap..
cxgbe(4): Report accurate rx_buf_maxsize to netmap.
Feb 4 2020, 11:55 PM
np committed rS357483: cxgbe(4): Add pfil(9) hooks to the driver's rx..
cxgbe(4): Add pfil(9) hooks to the driver's rx.
Feb 4 2020, 1:09 AM
np committed rS357482: cxgbe(4): Treat NIC rx as special and run its handler directly and not.
cxgbe(4): Treat NIC rx as special and run its handler directly and not
Feb 4 2020, 1:01 AM