net: enetc: add support max frame size for tc flower offload
authorPo Liu <Po.Liu@nxp.com>
Wed, 24 Jun 2020 09:36:29 +0000 (17:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2020 05:04:26 +0000 (22:04 -0700)
commit89d1f0966997d5bbe510dbdb10a5c26c0e567b03
tree30b0870ac94a9ef12f15a3dadd7dc84562f09b13
parent19e528dc9af29169fa7cdfa61071805fdef504c6
net: enetc: add support max frame size for tc flower offload

Base on the tc flower offload police action add max frame size by the
parameter 'mtu'. Tc flower device driver working by the IEEE 802.1Qci
stream filter can implement the max frame size filtering. Add it to the
current hardware tc flower stearm filter driver.

Signed-off-by: Po Liu <Po.Liu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc_qos.c