<meta http-equiv="Content-Type" content="text/html; charset=GB18030"><div><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;">Dear DPDK Community/Maintainers.</span></div><div><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"><br></span></div><div><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;">I am writing to consult about a technical issue with the Virtio network driver (located in <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">driver/net/virtio</code>). During our testing of the <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">packed queue</code> feature with <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">desc_event_flags</code> enabled, Testpmd consistently crashes after running for a short period. Below is a detailed description of the scenario, observation, root cause analysis, and a proposed fix!we hope to get clarification on whether this is a usage error or a potential driver issue.</div><h2 class="header-vfC6AV auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-top: 40px; margin-right: 0px; margin-left: 0px; padding: 0px; font-size: 20px; line-height: 32px; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; margin-bottom: 12px !important;">1. Scenario</h2><ul class="auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-right: 0px; margin-left: 0px; padding: 0px 0px 0px 20px; list-style: none; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin-top: 8px !important; margin-bottom: 8px !important;"><li style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px; padding: 0px 0px 0px 4px; line-height: 24px; list-style-type: disc; overflow-anchor: auto;">Test Environment: Running Testpmd with the Virtio PMD (<code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">librte_pmd_virtio.so</code>).</li><li style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px; padding: 0px 0px 0px 4px; line-height: 24px; list-style-type: disc; overflow-anchor: auto;">Test Focus: Validating the <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">desc_event_flags</code> functionality of Virtio <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">packed queue</code> mode.</li></ul><h2 class="header-vfC6AV auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-top: 40px; margin-right: 0px; margin-left: 0px; padding: 0px; font-size: 20px; line-height: 32px; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; margin-bottom: 12px !important;">2. Observation</h2><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;">After Testpmd runs for several minutes, it crashes unexpectedly. Debugging shows that the content of <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">vq_descx</code> (within <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">struct virtqueue</code>) is being modified unexpectedly!likely due to address mismatches in the queue memory layout.</div><h2 class="header-vfC6AV auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-top: 40px; margin-right: 0px; margin-left: 0px; padding: 0px; font-size: 20px; line-height: 32px; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; margin-bottom: 12px !important;">3. Command Used to Reproduce</h2><div><div>testpmd -c 0xff -n 4 --huge-dir=/mnt/huge_dpdk --socket-mem=1024 --socket-limit=1024 -w 0000:15:00.1 --file-prefix=test3 -d /usr/lib64/librte_pmd_virtio.so \</div><div>        -- --total-num-mbufs=115200 --rxq=4 --txq=4 --forward-mode=txonly --nb-cores=4 --stats-period 1 --burst=512 --rxd=512 --txd=512 --eth-peer=0,10:70:fd:2a:60:39</div></div><div class="code-block-element-YDlfvc light custom-code-block-container--bash hide-indicator disable-theme-style custom-code-block-container" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px 0px; padding: 0px; display: flex; flex-direction: column; position: relative; --chat-md-codeblock-bg-color: #f9fafb; --chat-md-codeblock-header-bg-color: #f3f4f6; --code-area-radius: 6px; --code-area-radius-inner: calc(6px - 1px); --code-area-bg-color: #f9fafb; --code-header-bg-color: #f3f4f6; --code-mask-bg-color: linear-gradient(180deg,rgba(249,250,251,0),#f9fafb); --code-header-icon-color: rgba(0,0,0,.5); --code-header-text-color: rgba(0,0,0,.85); --code-header-icon-bg-color: rgba(0,0,0,.06); --code-block-code-color: #000000d9; --code-block-std-bg-color: #f3f4f6; --code-block-std-err-color: #d60000; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"><div class="code-area-tZtDgG code-area" dir="ltr" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); border-radius: 6px; display: flex; flex-direction: column; height: fit-content; width: 793px; overflow-anchor: auto;"><div class="mask-wrapper-VgpgeU" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; overflow-anchor: auto; opacity: 0; transition: opacity 0.15s;"><div class="mask-ZLHDuN" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; overflow-anchor: auto; background: linear-gradient(rgba(249, 250, 251, 0), rgb(249, 250, 251)) 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); bottom: 0px; height: 56px; left: -1px; pointer-events: none; position: absolute; width: calc(100% + 2px);"></div></div></div></div><h2 class="header-vfC6AV auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-top: 40px; margin-right: 0px; margin-left: 0px; padding: 0px; font-size: 20px; line-height: 32px; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; margin-bottom: 12px !important;">4. Suspected Root Cause</h2><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;">The Virtio driver uses <span style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; font-weight: 700; line-height: 28px; overflow-anchor: auto;">inconsistent address calculation logic</span> for two critical steps:</div><ol class="auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-right: 0px; margin-left: 0px; padding: 0px 0px 0px 20px; list-style: none; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin-top: 8px !important; margin-bottom: 8px !important;"><li style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px; padding: 0px 0px 0px 4px; line-height: 24px; list-style-type: decimal; overflow-anchor: auto;">When informing the hardware (via the <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">modern_setup_queue</code> interface) of the physical addresses for the <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">driver</code> and <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">device</code> regions of the packed queue.</li><li style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px; padding: 0px 0px 0px 4px; line-height: 24px; list-style-type: decimal; overflow-anchor: auto;">When calculating the virtual addresses of the <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">driver</code> and <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">device</code> regions for the driver¨s own use (via <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">vring_init_packed</code>).</li></ol><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;">This mismatch leads to the hardware and the driver referencing different memory regions for the <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">device</code> queue, causing unintended overwrites of <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">vq_descx</code>.</div><h2 class="header-vfC6AV auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-top: 40px; margin-right: 0px; margin-left: 0px; padding: 0px; font-size: 20px; line-height: 32px; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; margin-bottom: 12px !important;">5. Detailed Analysis</h2><h3 class="header-vfC6AV auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-top: 28px; margin-right: 0px; margin-left: 0px; padding: 0px; font-size: 18px; line-height: 28px; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; margin-bottom: 12px !important;">5.1 Address Calculation in <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 0.2em; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: inherit; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">modern_setup_queue</code> (Hardware-facing)</h3><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;">The <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">modern_setup_queue</code> function configures the queue addresses and passes them to the hardware. For packed queues, it calculates <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">desc_addr</code>, <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">avail_addr</code> (driver region), and <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">used_addr</code> (device region) as follows:</div><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;"><img src="cid:E765370F@0248187E.07B7E868.png" style="" id="img_insert_1760081083977025087434543063036"></div><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;"><br></div><div class="code-block-element-YDlfvc light custom-code-block-container--c hide-indicator disable-theme-style custom-code-block-container" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px 0px; padding: 0px; display: flex; flex-direction: column; position: relative; --chat-md-codeblock-bg-color: #f9fafb; --chat-md-codeblock-header-bg-color: #f3f4f6; --code-area-radius: 6px; --code-area-radius-inner: calc(6px - 1px); --code-area-bg-color: #f9fafb; --code-header-bg-color: #f3f4f6; --code-mask-bg-color: linear-gradient(180deg,rgba(249,250,251,0),#f9fafb); --code-header-icon-color: rgba(0,0,0,.5); --code-header-text-color: rgba(0,0,0,.85); --code-header-icon-bg-color: rgba(0,0,0,.06); --code-block-code-color: #000000d9; --code-block-std-bg-color: #f3f4f6; --code-block-std-err-color: #d60000; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"><div class="code-area-tZtDgG code-area" dir="ltr" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); border-radius: 6px; display: flex; flex-direction: column; height: fit-content; width: 793px; overflow-anchor: auto;"><div class="mask-wrapper-VgpgeU" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; overflow-anchor: auto; opacity: 0; transition: opacity 0.15s;"><div class="mask-ZLHDuN" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; overflow-anchor: auto; background: linear-gradient(rgba(249, 250, 251, 0), rgb(249, 250, 251)) 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); bottom: 0px; height: 56px; left: -1px; pointer-events: none; position: absolute; width: calc(100% + 2px);"></div></div></div></div><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;">Key parameters for our test:</div><ul class="auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-right: 0px; margin-left: 0px; padding: 0px 0px 0px 20px; list-style: none; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin-top: 8px !important; margin-bottom: 8px !important;"><li style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px; padding: 0px 0px 0px 4px; line-height: 24px; list-style-type: disc; overflow-anchor: auto;"><code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">vq_nentries = 0x1000</code> (4096 entries)</li><li style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px; padding: 0px 0px 0px 4px; line-height: 24px; list-style-type: disc; overflow-anchor: auto;"><code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">sizeof(struct vring_desc) = 16</code> (0x10 in hex)</li><li style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px; padding: 0px 0px 0px 4px; line-height: 24px; list-style-type: disc; overflow-anchor: auto;"><code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">offsetof(struct vring_avail, ring[vq->vq_nentries]) = 4 + (0x1000 * 2)</code> (base offset 4 + 2 bytes per ring entry)</li><li style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px; padding: 0px 0px 0px 4px; line-height: 24px; list-style-type: disc; overflow-anchor: auto;">Alignment requirement: <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">VIRTIO_PCI_VRING_ALIGN = 4096</code> (0x1000 in hex)</li></ul><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;">Example calculation (assuming <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">desc_addr = 0x0</code>):</div><ol class="auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-right: 0px; margin-left: 0px; padding: 0px 0px 0px 20px; list-style: none; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin-top: 8px !important; margin-bottom: 8px !important;"><li style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px; padding: 0px 0px 0px 4px; line-height: 24px; list-style-type: decimal; overflow-anchor: auto;"><code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">avail_addr = 0x0 + (0x1000 * 0x10) = 0x10000</code> (driver region address passed to hardware)</li><li style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px; padding: 0px 0px 0px 4px; line-height: 24px; list-style-type: decimal; overflow-anchor: auto;"><code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">used_addr = RTE_ALIGN_CEIL(0x10000 + 4 + (0x1000 * 2), 0x1000) = RTE_ALIGN_CEIL(0x12004, 0x1000) = 0x13000</code> (device region address passed to hardware)</li></ol><h3 class="header-vfC6AV auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-top: 28px; margin-right: 0px; margin-left: 0px; padding: 0px; font-size: 18px; line-height: 28px; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; margin-bottom: 12px !important;">5.2 Address Calculation in <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 0.2em; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: inherit; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">vring_init_packed</code> (Driver-internal)</h3><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;">The <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">vring_init_packed</code> function calculates the driver-internal virtual addresses for the packed queue¨s <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">driver</code> and <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">device</code> regions:</div><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;"><img src="cid:D42E8FFF@5C9EFA57.07B7E868.png" style="" id="img_insert_176008115297409142968702507863"></div><div class="code-block-element-YDlfvc light custom-code-block-container--c hide-indicator disable-theme-style custom-code-block-container" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px 0px; padding: 0px; display: flex; flex-direction: column; position: relative; --chat-md-codeblock-bg-color: #f9fafb; --chat-md-codeblock-header-bg-color: #f3f4f6; --code-area-radius: 6px; --code-area-radius-inner: calc(6px - 1px); --code-area-bg-color: #f9fafb; --code-header-bg-color: #f3f4f6; --code-mask-bg-color: linear-gradient(180deg,rgba(249,250,251,0),#f9fafb); --code-header-icon-color: rgba(0,0,0,.5); --code-header-text-color: rgba(0,0,0,.85); --code-header-icon-bg-color: rgba(0,0,0,.06); --code-block-code-color: #000000d9; --code-block-std-bg-color: #f3f4f6; --code-block-std-err-color: #d60000; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"><div class="code-area-tZtDgG code-area" dir="ltr" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); border-radius: 6px; display: flex; flex-direction: column; height: fit-content; width: 793px; overflow-anchor: auto;"><div class="mask-wrapper-VgpgeU" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; overflow-anchor: auto; opacity: 0; transition: opacity 0.15s;"><div class="mask-ZLHDuN" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; overflow-anchor: auto; background: linear-gradient(rgba(249, 250, 251, 0), rgb(249, 250, 251)) 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); bottom: 0px; height: 56px; left: -1px; pointer-events: none; position: absolute; width: calc(100% + 2px);"></div></div></div></div><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;">Example calculation (same <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">desc_addr = 0x0</code>, <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">p = 0x0</code>):</div><ol class="auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-right: 0px; margin-left: 0px; padding: 0px 0px 0px 20px; list-style: none; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin-top: 8px !important; margin-bottom: 8px !important;"><li style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px; padding: 0px 0px 0px 4px; line-height: 24px; list-style-type: decimal; overflow-anchor: auto;"><code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">vr->driver = 0x0 + (0x1000 * 0x10) = 0x10000</code> (matches <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">avail_addr</code> from <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">modern_setup_queue</code>)</li><li style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px; padding: 0px 0px 0px 4px; line-height: 24px; list-style-type: decimal; overflow-anchor: auto;"><code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">vr->device = RTE_ALIGN_CEIL(0x10000 + sizeof(struct vring_packed_desc_event), 0x1000)</code><ul class="auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-top: 4px !important; margin-right: 0px; margin-bottom: 4px !important; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px !important; list-style: none; overflow-anchor: auto;"><li style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 4px 0px 8px; padding: 0px 0px 0px 4px; line-height: 24px; list-style-type: circle; overflow-anchor: auto;">Assuming <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">sizeof(struct vring_packed_desc_event) = 4</code> (standard definition), this becomes <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">RTE_ALIGN_CEIL(0x10004, 0x1000) = 0x11000</code> (driver-internal device region address)</li></ul></li></ol><h3 class="header-vfC6AV auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-top: 28px; margin-right: 0px; margin-left: 0px; padding: 0px; font-size: 18px; line-height: 28px; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; margin-bottom: 12px !important;">5.3 Critical Mismatch</h3><ul class="auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-right: 0px; margin-left: 0px; padding: 0px 0px 0px 20px; list-style: none; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin-top: 8px !important; margin-bottom: 8px !important;"><li style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px; padding: 0px 0px 0px 4px; line-height: 24px; list-style-type: disc; overflow-anchor: auto;">Hardware uses <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">0x13000</code> as the <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">device</code> region address.</li><li style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px; padding: 0px 0px 0px 4px; line-height: 24px; list-style-type: disc; overflow-anchor: auto;">Driver uses <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">0x11000</code> as the <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgb(0, 0, 0); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-size: 14.4px; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto;">device</code> region address.</li></ul><h2 class="header-vfC6AV auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-top: 40px; margin-right: 0px; margin-left: 0px; padding: 0px; font-size: 20px; line-height: 32px; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; margin-bottom: 12px !important;">6. Modification Applied to Fix the Issue</h2><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;">We modified <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">modern_setup_queue</code> to use the same address logic as <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">vring_init_packed</code> for packed queues. After this change, Testpmd runs stably without crashes:</div><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;"><img src="cid:6469B6FC@F640AC44.07B7E868.png" style="" id="img_insert_176008123309908385325726857993"></div><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;"><br></div><h2 class="header-vfC6AV auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-top: 40px; margin-right: 0px; margin-left: 0px; padding: 0px; font-size: 20px; line-height: 32px; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; margin-bottom: 12px !important;">7. Reference from Virtio-User/Vhost-User</h2><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;">We noticed that the <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">virtio-user</code> and <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">vhost-user</code> drivers already use the same logic as our modified <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">modern_setup_queue</code> for packed queues. For example, in <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">virtio_user_setup_queue_packed</code>:</div><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;"><img src="cid:8D32FC0D@F2147C73.07B7E868.png" style="" id="img_insert_1760081277034008955689590374982"></div><div class="code-block-element-YDlfvc light custom-code-block-container--c hide-indicator disable-theme-style custom-code-block-container" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 8px 0px 0px; padding: 0px; display: flex; flex-direction: column; position: relative; --chat-md-codeblock-bg-color: #f9fafb; --chat-md-codeblock-header-bg-color: #f3f4f6; --code-area-radius: 6px; --code-area-radius-inner: calc(6px - 1px); --code-area-bg-color: #f9fafb; --code-header-bg-color: #f3f4f6; --code-mask-bg-color: linear-gradient(180deg,rgba(249,250,251,0),#f9fafb); --code-header-icon-color: rgba(0,0,0,.5); --code-header-text-color: rgba(0,0,0,.85); --code-header-icon-bg-color: rgba(0,0,0,.06); --code-block-code-color: #000000d9; --code-block-std-bg-color: #f3f4f6; --code-block-std-err-color: #d60000; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"><div class="code-area-tZtDgG code-area" dir="ltr" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(249, 250, 251); border-radius: 6px; display: flex; flex-direction: column; height: fit-content; width: 793px; overflow-anchor: auto;"><div class="mask-wrapper-VgpgeU" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; overflow-anchor: auto; opacity: 0; transition: opacity 0.15s;"><div class="mask-ZLHDuN" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; overflow-anchor: auto; background: linear-gradient(rgba(249, 250, 251, 0), rgb(249, 250, 251)) 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); bottom: 0px; height: 56px; left: -1px; pointer-events: none; position: absolute; width: calc(100% + 2px);"></div></div></div></div><h2 class="header-vfC6AV auto-hide-last-sibling-br" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin-top: 40px; margin-right: 0px; margin-left: 0px; padding: 0px; font-size: 20px; line-height: 32px; overflow-anchor: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; margin-bottom: 12px !important;">8. Question for Clarification</h2><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;">Therefore, for <span style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 28px; overflow-anchor: auto;">packed queues</span>, why do <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">modern_setup_queue</code> and <code style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px none rgba(0, 0, 0, 0.85); margin: 0px; padding: 0px 4px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0.06); border-radius: 4px; overflow-anchor: auto; line-height: 28px; color: rgba(0, 0, 0, 0.85) !important;">vring_init_packed</code> use different logic to calculate the <span style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 28px; overflow-anchor: auto;">device region address</span>?</div><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;"><br></div><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;"><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto;">Is this inconsistency due to <span style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 28px; overflow-anchor: auto;">incorrect usage on my part</span>, or are there <span style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 28px; overflow-anchor: auto;">special considerations specific to packed queue mode</span> (e.g., hardware compatibility, protocol requirements)?</div><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto;">We would greatly appreciate your help in clarifying this confusion. Thank you!</div></div><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;"><br></div><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;">Best regards.</div><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;"><br></div><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;">[A DPDK user and developer].</div></div><div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; border: 0px solid; margin: 0px; padding: 0px; line-height: 24px; overflow-anchor: auto; font-size: 16px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;"><br></div><div><br><hr align="left" style="margin: 0 0 10px 0;border: 0;border-bottom:1px solid #E4E5E6;height:0;line-height:0;font-size:0;padding: 20px 0 0 0;width: 50px;"><div style="font-size:14px;font-family:Verdana;color:#000;"><a class="xm_write_card" style="white-space: normal; display: inline-block; text-decoration: none !important;font-family: -apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei;" href="https://wx.mail.qq.com/home/index?t=readmail_businesscard_midpage&nocheck=true&name=%C2%B7%C2%B7%C2%B7%C2%B7%C2%B7%C2%B7&icon=https%3A%2F%2Fp.qlogo.cn%2Fqqmail_head%2FHSacfR7gwEBTMLulRYGUVXvciaZ5FwrnZFFXVRhCpvYS0NwCppjNvvj6QNttAZ3Jr%2F160&mail=1104121601%40qq.com&code=Yz0g1i_XNcZ8ROvT4xxJbg0OxFU5In-qoo6MJFhZ9nLSgjpdGafWtM1WqGBjNmiohzaK3LbI2kzMn4yLepcFNA" target="_blank"><table style="white-space: normal;table-layout: fixed; padding-right: 20px;" contenteditable="false" cellpadding="0" cellspacing="0"><tbody><tr valign="top"><td style="width: 40px;min-width: 40px; padding-top:10px"><div style="width: 38px; height: 38px; border: 1px #FFF solid; border-radius:50%; margin: 0;vertical-align: top;box-shadow: 0 0 10px 0 rgba(127,152,178,0.14);"><img src="https://p.qlogo.cn/qqmail_head/HSacfR7gwEBTMLulRYGUVXvciaZ5FwrnZFFXVRhCpvYS0NwCppjNvvj6QNttAZ3Jr/160" style="width:100%;height:100%;border-radius:50%;pointer-events: none;"></div></td><td style="padding: 10px 0 8px 10px;"><div class="businessCard_name" style="font-size: 14px;color: #33312E;line-height: 20px; padding-bottom: 2px; margin:0;font-weight: 500;">,,,,,,</div><div class="businessCard_mail" style="font-size: 12px;color: #999896;line-height: 18px; margin:0;">1104121601@qq.com</div></td></tr></tbody></table></a></div></div><div> </div>