Bug 1428 - af_xdp driver does not set rx port in mbuf
Summary: af_xdp driver does not set rx port in mbuf
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: ethdev (show other bugs)
Version: 24.03
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2024-05-01 01:47 CEST by Stephen Hemminger
Modified: 2024-05-01 01:47 CEST (History)
0 users



Attachments

Description Stephen Hemminger 2024-05-01 01:47:19 CEST
By inspection the mbuf->port is never set for received packets in af_xdp device driver.  Looks like driver needs to record port (in rxq structure) during initialization than do:
      mbuf->port = rxq->port;

Note You need to log in before you can comment on or make changes to this bug.