diff options
| author | songyanchao <[email protected]> | 2024-03-12 15:21:59 +0800 |
|---|---|---|
| committer | songyanchao <[email protected]> | 2024-03-12 15:21:59 +0800 |
| commit | dde974556876ed3e6e10b8051dff9dbead329f69 (patch) | |
| tree | 725b8c1307e27ca176af7c9c40f044885e1c67d4 | |
| parent | 616588a2e35e4fac7fc0fd26fb92af386ba9c5fa (diff) | |
🎈 perf: Refactor 'marsio_send_buffer_flush' to replace 'sid' with 'qid' in trace information for clarity.v4.6.78-20240312
Refactor 'marsio_send_buffer_flush' to replace 'sid' with 'qid' in trace information for clarity.
| -rw-r--r-- | app/src/rawio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/rawio.c b/app/src/rawio.c index 4b86615..d2e0dfa 100644 --- a/app/src/rawio.c +++ b/app/src/rawio.c @@ -136,7 +136,7 @@ int marsio_send_buffer_flush(struct mr_vdev * vdev, queue_id_t sid) // hash[i] = hash_txq & 0x8000 ? hash_txq & 0x7FFF : hash_usr; hash[i] = tx_buffer->mbufs[i]->hash.usr; marsio_dp_trace_record_emit_fmt(vdev->instance, tx_buffer->mbufs[i], NULL, - "packet tx, dev=%s , sid=%u, hash=%u", vdev->devsym, sid, hash[i]); + "packet tx, dev=%s , qid=%u, hash=%u", vdev->devsym, sid, hash[i]); #else /* round-robin */ hash[i] = round_robin_counter++; |
