On Thu, Jul 25, 2019 at 09:33:58PM +0800, wenxu@xxxxxxxxx wrote: > From: wenxu <wenxu@xxxxxxxxx> > > Currently the nft_offload_reg is only can be used for match condition. > Can not be used for action. Add nft_offload_reg_type to make nft_offload_reg > can be used for action also. I think this patch provides what you need: https://patchwork.ozlabs.org/patch/1140431/ that is access to the data that the immediate stores in the registers.