Adding new fields to xsk_tx_metadata
Hi all:
We want to add some fields to xsk_tx_metadata such as gso_type & gso_size, in order to transfer control fields when handling jumbo frames passing between VMs. My questions are:
1. Has the community discussed about adding new fields to xsk_tx_metadata?
2. Is it appropriate to add such fields(like gso_type) to xsk_tx_metadata?Since current fields seem to be generally hardware-related.
Thanks!
Quoted 3 lines · tianmuyang
Hi all:
We want to add some fields toxsk_tx_metadatasuch asgso_type&gso_size, in order to transfer control fields when handling jumbo frames passing between VMs. My questions are:
1. Has the community discussed about adding new fields to xsk_tx_metadata?
There has been some discussion of exploring AF_XDP segmentation offloads in
https://lore.kernel.org/bpf/[email protected]/
Quoted 1 line
2. Is it appropriate to add such
fields(like gso_type)to xsk_tx_metadata?Since current fields seem to be generally hardware-related.
GSO is also HW-related. GSO does all the plumbing to allow the stack use HW segmentation. So, in the end, if we end up exposing it to AF_XDP, there has to be some HW (or driver) that implements the support.