#!/bin/sh

. /lib/functions/system.sh

# Disable the packet steering feature of OpenWrt
# on the Ten64 (NXP LS1088A) platform
# The network hardware on this platform implements
# it's own form of packet steering, using the
# OpenWrt feature causes a severe drop in performance.
case "$(board_name)" in
    traverse,ten64)
    if !(uci -q get "network.globals.packet_steering"); then
    uci set network.globals.packet_steering=0
    uci commit network
    fi
    ;;
esac
