Loading
net: enetc: correct the xdp_tx statistics
stable inclusion from stable-v6.6.81 commit 093d1753b8570d60916c10a14c65bf791fd05135 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBYZED Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=093d1753b8570d60916c10a14c65bf791fd05135 -------------------------------- commit 432a2cb3ee97a7c6ea578888fe81baad035b9307 upstream. The 'xdp_tx' is used to count the number of XDP_TX frames sent, not the number of Tx BDs. Fixes: 7ed2bc80 ("net: enetc: add support for XDP_TX") Cc: stable@vger.kernel.org Signed-off-by:Wei Fang <wei.fang@nxp.com> Reviewed-by:
Ioana Ciornei <ioana.ciornei@nxp.com> Reviewed-by:
Vladimir Oltean <vladimir.oltean@nxp.com> Link: https://patch.msgid.link/20250224111251.1061098-4-wei.fang@nxp.com Signed-off-by:
Jakub Kicinski <kuba@kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 093d1753b8570d60916c10a14c65bf791fd05135) Signed-off-by:
Wentao Guan <guanwentao@uniontech.com>