]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
dpaa2-eth: export the rx copybreak value as an ethtool tunable
authorIoana Ciornei <ioana.ciornei@nxp.com>
Fri, 2 Apr 2021 09:55:32 +0000 (12:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Apr 2021 21:25:47 +0000 (14:25 -0700)
commit8ed3cefc260e2ef2107cbd9484e4025f60c37bb5
treef3190341aa7a8a7ad13abf4d133d44c9cc9c23c7
parent50f826999a80a100218b0cbf4f14057bc0edb3a3
dpaa2-eth: export the rx copybreak value as an ethtool tunable

It's useful, especially for debugging purposes, to have the Rx copybreak
value changeable at runtime. Export it as an ethtool tunable.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c