summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorWei Fang <wei.fang@nxp.com>2026-02-05 16:57:34 +0800
committerPaolo Abeni <pabeni@redhat.com>2026-02-10 10:58:20 +0100
commit8a3344bb734f4eaef889cdb027cf6303e2bd681b (patch)
tree7814f58f43907bd71ae660f7b78faf907f1c1b93 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent5ff3d3ddcdbed8eeacf8a2eb66a51465a8651f4d (diff)
net: fec: add tx_qid parameter to fec_enet_xdp_tx_xmit()
Remove fec_enet_xdp_get_tx_queue() from fec_enet_xdp_tx_xmit() and add the tx_qid parameter to it. Then, calculate the TX queue ID for XDP_TX frames in fec_enet_rx_queue_xdp(). This way, the TX queue ID only needs to be calculated once for XDP_TX frames during each NAPI polling. And since the number of RX queues and TX queues in FEC is generally equal, the RX queue ID can be directly used as the TX queue ID. In exceptional cases, fec_enet_xdp_get_tx_queue() is used to calculate the TX queue ID. Signed-off-by: Wei Fang <wei.fang@nxp.com> Link: https://patch.msgid.link/20260205085742.2685134-8-wei.fang@nxp.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions