OSDN Git Service

bgmac: configure MTU and add support for frames beyond 8192 byte size
authorMurali Krishna Policharla <murali.policharla@broadcom.com>
Fri, 27 Mar 2020 19:55:41 +0000 (21:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Mar 2020 23:07:24 +0000 (16:07 -0700)
commit8c7da63978f1672eb4037bbca6e7eac73f908f03
treec03f522c1f7ea8b604a69007ec870a86fbbb2969
parentab41ca3455a208392ce95f4086d5708dc37bff86
bgmac: configure MTU and add support for frames beyond 8192 byte size

Change DMA descriptor length to handle jumbo frames beyond 8192 bytes.
Also update jumbo frame max size to include FCS, the DMA packet length
received includes FCS.

Signed-off-by: Murali Krishna Policharla <murali.policharla@broadcom.com>
Reviewed-by: Arun Parameswaran <arun.parameswaran@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c
drivers/net/ethernet/broadcom/bgmac.h