Commit dd395e3
authored
[Mellanox] Enabled SDK API recording by default (sonic-net#19925)
- Why I did it
SDK sniffer will record the RPC calls from the SDK user API library to the sx_sdk task into a .pcap file. This .pcap file can be replayed afterward to get the exact same state on SDK and FW to reproduce and investigate issues.
SDK added cyclic mode of API sniffer, and previously, users could use config platform mlnx sniffer enable/disable to control the feature, now they must manually change the content of saiprofile. The old CLI entry point will be removed.
- How I did it
Added relevant SAI keys in sai-common.profile
removed deprecated CLI in sonic-utilities sonic-net/sonic-utilities#3491
- How to verify it
Check the pcap file under /var/log/sdk_dbg
Signed-off-by: Yuanzhe, Liu <yualiu@nvidia.com>1 parent e5449f2 commit dd395e3
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments