File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
board/common/rootfs/usr/libexec/infix
src/board/freescale-imx8mp-evk/rootfs/usr/share/product/fsl,imx8mp-evk/etc/product Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ if [ $# -lt 2 ]; then
3+ echo " usage: $0 <quirk-name> <ifname>"
4+ exit 1
5+ fi
6+ quirk=$1
7+ ifname=$2
8+ if [ -f " /etc/product/interface-quirks.json" ]; then
9+ echo " $( jq -r --arg iface " $ifname " --arg quirk " $quirk " ' .[$iface][$quirk] // "false"' /etc/product/interface-quirks.json) "
10+ else
11+ echo " false"
12+ fi
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ while [ "$1" ]; do
4343 txqs=" $2 "
4444 shift 2
4545
46+ [ $( /usr/libexec/infix/has-quirk " broken-mqprio" " $iface " ) = " true" ] && echo " Skipping $iface , does not support mqprio" && continue
4647 [ $txqs -lt 2 ] && continue
4748 [ $txqs -gt 8 ] && txqs=8
4849
Original file line number Diff line number Diff line change 11{
22 "eth0" : {
33 "phy-detached-when-down" : true
4+ },
5+ "eth1" : {
6+ "broken-mqprio" : true
47 }
58}
You can’t perform that action at this time.
0 commit comments