summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2024-11-29 12:52:04 +0000
committerDavid S. Miller <davem@davemloft.net>2024-11-29 12:52:04 +0000
commitf1cd565ce57760923d5e0fbd9e9914b415c0620a (patch)
treee5cd439ab13722cfc844a1b6271d42a6873ca6a6 /include
parent65ae975e97d5aab3ee9dc5ec701b12090572ed43 (diff)
parentb2420b8c81ec674552d00c55d46245e5c184b260 (diff)
downloadlinux-f1cd565ce57760923d5e0fbd9e9914b415c0620a.tar.gz
linux-f1cd565ce57760923d5e0fbd9e9914b415c0620a.tar.bz2
linux-f1cd565ce57760923d5e0fbd9e9914b415c0620a.zip
Merge branch 'enetc-mqprio-fixes'
Wei Fang sayus: ==================== fix crash issue when setting MQPRIO for VFs There is a crash issue when setting MQPRIO for ENETC VFs, the root casue is that ENETC VFs don't like ENETC PFs, they don't have port registers, so hw->port of VFs is NULL. However, this NULL pointer will be accessed without any checks in enetc_mm_commit_preemptible_tcs() when configuring MQPRIO for VFs. Therefore, two patches are added to fix this issue. The first patch sets ENETC_SI_F_QBU flag only for SIs that support 802.1Qbu. The second patch adds a check in enetc_change_preemptible_tcs() to ensure that SIs that do not support 802.1Qbu do not configure preemptible TCs. --- v1 Link: https://lore.kernel.org/imx/20241030082117.1172634-1-wei.fang@nxp.com/ v2 Link: https://lore.kernel.org/imx/20241104054309.1388433-1-wei.fang@nxp.com/ --- ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions