[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171110193327.25070-1-f.fainelli@gmail.com>
Date: Fri, 10 Nov 2017 11:33:24 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, andrew@...n.ch,
vivien.didelot@...oirfairelinux.com,
Florian Fainelli <f.fainelli@...il.com>
Subject: [PATCH net-next v3 0/3] net: dsa: b53: Turn on Broadcom tags
Hi all,
This was long overdue, with this patch series, the b53 driver now
turns on Broadcom tags except for 5325 and 5365 which use an older
format that we do not support yet (TBD).
First patch is necessary in order for bgmac, used on BCM5301X and Northstar
Plus to work correctly and successfully send ARP packets back to the requsester.
Second patch is actually a bug fix, but because net/master and net-next/master
diverge in that area, I am targeting net-next/master here.
Finally, the last patch enables Broadcom tags after checking that the CPU port
selected is either, 5, 7 or 8, since those are the only valid combinations
given currently supported HW.
Changes in v3:
- guarded padding with netdev_uses_dsa() to let the non-DSA use cases
not have a performance hit for smaller packets
- added missing select NET_DSA_TAG_BRCM to drivers/net/dsa/b53/Kconfig
Changes in v2:
- moved a hunk between patch 2 and patch 3 to avoid a bisectability issue
Florian Fainelli (3):
net: bgmac: Pad packets to a minimum size
net: dsa: b53: Stop using dev->cpu_port incorrectly
net: dsa: b53: Turn on Broadcom tags
drivers/net/dsa/b53/Kconfig | 1 +
drivers/net/dsa/b53/b53_common.c | 58 ++++++++++++++++++++++++++---------
drivers/net/ethernet/broadcom/bgmac.c | 16 ++++++++++
3 files changed, 60 insertions(+), 15 deletions(-)
--
2.9.3
Powered by blists - more mailing lists