Skip to content
Snippets Groups Projects
Commit cf7fa5b9 authored by Markus Gothe's avatar Markus Gothe :ok_hand:
Browse files

airoha proto: Setup VXLAN offloading.

parent 12852dc4
No related branches found
No related tags found
1 merge request!1401Draft: airoha proto: Setup VXLAN offloading.
#!/bin/sh
[ "$PROTOCOL" = "vxlan" -o "$PROTOCOL" = "vxlan6" ] || exit 0
[ "$ACTION" = "pre-setup" ] || exit 0
if [ -e /proc/tc3162/hwnat_npu_vxlan_offload_shortcut ]; then
echo 1 > /proc/tc3162/hwnat_npu_vxlan_offload_shortcut
fi
if [ -e /proc/tc3162/hwnat_npu_offload_proto ]; then
echo 1 > /proc/tc3162/hwnat_npu_offload_proto
fi
/userfs/bin/ppemgr vxlan_hash enable
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment