On Thu, 6 Mar 2025 07:24:17 +0000 Taehee Yoo wrote:
- struct skb_shared_info sinfo = {0};
memcpy(&sinfo, xdp_get_shared_info_from_buff(&xdp),
sizeof(struct skb_shared_info));
This may be a little expensive, struct skb_shared_info is 320B and we only really need it in a rare occasion of having multi-buf XDP.
Can we update agg_bufs = sinfo->nr_frags after calling bnxt_rx_xdp(), and otherwise go back to something like you v1? Sorry if I mislead you.