]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
staging: fsl-dpaa2/eth: Remove Rx frame size check
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Mon, 9 Jul 2018 15:01:11 +0000 (10:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Jul 2018 10:32:35 +0000 (12:32 +0200)
commit00fee00245e2f2d0ce9376ced63c0f20c406aa62
treeb0bf0cbc7ce9ea69d8475788dbb1e04c6f0b096d
parent3ccc8d475f9e29b87a8f0d114994a7a01c415ce4
staging: fsl-dpaa2/eth: Remove Rx frame size check

Most Ethernet drivers don't enforce the MTU value as upper limit
for ingress frames. We too support receiving frames larger than
MTU, so allow that.

Remove our ndo_change_mtu implementation, letting the default
stack implementation handle things. Also, set the max frame length
allowed by hardware only once at probe time, with the largest
possible value.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c