nss-drv: Display GRO Fraglist instead of GRO

Replace showing `gro` (Generic Recieve Offload) with
`rx-gro-list` (GRO Fraglist) as that is the more problematic
feature known to cause issues.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
Sean Khan 2024-10-05 00:16:26 -04:00
parent c746083504
commit 7dd1aff674
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=qca-nss-drv PKG_NAME:=qca-nss-drv
PKG_RELEASE:=13 PKG_RELEASE:=14
PKG_SOURCE_URL:=https://git.codelinaro.org/clo/qsdk/oss/lklm/nss-drv.git PKG_SOURCE_URL:=https://git.codelinaro.org/clo/qsdk/oss/lklm/nss-drv.git
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git

View File

@ -73,14 +73,14 @@ echo -e "${bold}${red} IPQ DATE${reset}: ${green}${ipq_date}${reset}"
echo -e "${bold}${red} NSS FW${reset}: ${cyan}${nss_version}${reset}" echo -e "${bold}${red} NSS FW${reset}: ${cyan}${nss_version}${reset}"
echo -e "${bold}${red} MAC80211${reset}: ${white}${mac80211_version}${reset}${reset}" echo -e "${bold}${red} MAC80211${reset}: ${white}${mac80211_version}${reset}${reset}"
echo -e "${bold}${red} ATH11K FW${reset}: ${cyan}${ath11k_fw}${reset}" echo -e "${bold}${red} ATH11K FW${reset}: ${cyan}${ath11k_fw}${reset}"
echo -ne "${bold}${red} GRO${reset}${white}: " echo -ne "${bold}${red} GRO FRAG${reset}: ${white}"
count=0 count=0
for i in wan br-lan /sys/class/net/br-lan/brif/*; do for i in wan br-lan /sys/class/net/br-lan/brif/*; do
i=${i##*\/} i=${i##*\/}
ethtool -k ${i} | awk -v count=$count -v i=$i -v white=$white -v green=$green -v r=$reset ' ethtool -k ${i} | awk -v count=$count -v i=$i -v white=$white -v green=$green -v r=$reset '
/generic-receive-offload/ { /rx-gro-list/ {
if(count>0) tab=" " if(count>0) tab=" "
if($2=="on") color=green if($2=="on") color=green
printf "%s%-11s : %s%s%s\n",tab,i,color,$2,r printf "%s%-11s : %s%s%s\n",tab,i,color,$2,r