Re: [PATCH net] bnxt_en: enable PTM function
Vadim Fedorenko <[email protected]>
| Newsgroups | gmane.linux.network |
|---|---|
| Message-ID | <[email protected]> |
On 06.08.2026 21:35, Michael Chan wrote: > On Thu, Aug 6, 2026 at 1:22 PM Vadim Fedorenko > <[email protected]> wrote: >> >> The patch mentioned in Fixes missed one main point of implementing >> proper PTM support. To make it fully operational it has to be explicitly >> enabled. Add missing call in probe callback and disable it in teardown >> callback. > > We were actually discussing this internally just a few weeks ago. I > think the FW always enables it and that's why pci_enable_ptm() is not > strictly required. I'll let Pavan comment on this further. Thanks. In my test even though firmware was acting as requestor, pcie_ptm_enabled() returns false and disables setup of getcrosststamp callback. This happens because kernel doesn't know that PTM is enabled.