summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2020-03-27 22:55:47 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-28 02:07:25 +0300
commit0b912fc93a680ab6105a63c36222923fbe09065e (patch)
tree3ae828b214df599a0f3f2b463acbb23c9ebfea45 /drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
parentfb77ffc6ec866b41aba5a31b38eacd8829fd2eb0 (diff)
downloadlinux-0b912fc93a680ab6105a63c36222923fbe09065e.tar.xz
net: dsa: felix: support changing the MTU
Changing the MTU for this switch means altering the DEV_GMII:MAC_CFG_STATUS:MAC_MAXLEN_CFG field MAX_LEN, which in turn limits the size of frames that can be received. Special accounting needs to be done for the DSA CPU port (NPI port in hardware terms). The NPI port configuration needs to be held inside the private ocelot structure, since it is now accessed from multiple places. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c')
0 files changed, 0 insertions, 0 deletions