[PATCH v2 0/6] net/macb: add HW features to macb driver

From: Cyrille Pitchen
Date: Thu Jul 24 2014 - 07:51:14 EST


this series of patches adds new hardware features to macb driver. These
features can be enabled/disabled at runtime using ethtool. Depending on
hardware and design configuration, some are enabled by default whereas other
are disabled.

For instance, checksum offload features are enabled by default for gem designed
for packet buffer mode but disabled for fifo mode design or for old macb.

Besides, the scatter-gather feature is enabled and tested on macb but disabled
on sama5d3x gem. When testing this feature on sama5d3x gem, TX lockups occured

Also, the RX checksum offload feature is enabled at GEM level only when both
IFF_PROMISC bit is clear in dev->flags and NETIF_F_RXCSUM bit is set in

These patches were made for net-next.git repository.

Cyrille Pitchen (5):
net/macb: add scatter-gather hw feature
net/macb: add TX checksum offload feature
net/macb: add RX checksum offload feature
ARM: at91: change compatibility string for sama5d3x gem
net/macb: enable scatter-gather feature and set DMA burst length for
sama5d4 gem

Nicolas Ferre (1):
net/macb: configure for FIFO mode and non-gigabit

arch/arm/boot/dts/sama5d3_gmac.dtsi | 2 +-
drivers/net/ethernet/cadence/macb.c | 419 ++++++++++++++++++++++++++++++------
drivers/net/ethernet/cadence/macb.h | 53 ++++-
3 files changed, 399 insertions(+), 75 deletions(-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/