[][openwrt][mt7988][crypto][Change ipsec hw offload path in xfrm framework]

[Description]
Change hw offload path.
Before this commit, mtk_xfrm_offload_ok only set parameters for ppe bind
entry and use sw path to encrypt/encap packets. When the entry is bind,
ppe will forward packet to EIP197 for HW acceleration.
However, sw and hw cannot sync their sequence number for esp protocol.
Receiver may drop packets due to sequence number out of range. So, for
all offload packets we set entry bind in mtk_xfrm_offload_ok and TX
directly to EIP197. We don't use sw to perform encrypt/encap anymore.

[Release-log]
N/A


Change-Id: I07303f2ed5dea63088b3feae0e8f036265cf1ed1
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8133756
1 file changed