diff options
author | Alexander Lobakin <aleksander.lobakin@intel.com> | 2025-08-26 17:55:04 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2025-09-08 11:05:17 -0700 |
commit | a4d755d1040a49014b52de286c5f535e20788aa3 (patch) | |
tree | ba4f98dc9253e15b5d490b9fd11f7837b70d394b /scripts/generate_rust_target.rs | |
parent | 705457e7211f22c49b410eb25e83cef8a61bd560 (diff) |
idpf: use generic functions to build xdp_buff and skb
In preparation of XDP support, move from having skb as the main frame
container during the Rx polling to &xdp_buff.
This allows to use generic and libeth helpers for building an XDP
buffer and changes the logics: now we try to allocate an skb only
when we processed all the descriptors related to the frame.
Store &libeth_xdp_stash instead of the skb pointer on the Rx queue.
It's only 8 bytes wider, but contains everything we may need.
Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Tested-by: Ramu R <ramu.r@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions