[PATCH v3 0/2] Add CPSW VLAN Support

Mugunthan V N mugunthanvnm at ti.com
Thu Jan 31 14:03:18 EST 2013


CPSW is capable of filtering VLAN packets in hardware. This patch series
implements VLAN support to CPSW driver.
This patch series is tested on net-next with AM335x EVM with ping test.

Changes from initial version
* added vlan support to existing add/delete unicast/multicast apis
* Made driver as default VLAN enabled so that drivers need to be recompiled
  when stack is compiled with VLAN

Changes from V2
* Moved repeated code to static inline function
* Made vlan add/delete function return type to void as it is not used in
  the current driver implementation
* Modified cpsw_add_default_vlan for better readability
* changed BIT(1) port representation to defines

Mugunthan V N (2):
  drivers: net: cpsw: Add helper functions for VLAN ALE implementation
  drivers: net:ethernet: cpsw: add support for VLAN

 Documentation/devicetree/bindings/net/cpsw.txt |    2 +
 drivers/net/ethernet/ti/cpsw.c                 |   93 +++++++++++++++++++--
 drivers/net/ethernet/ti/cpsw_ale.c             |  105 +++++++++++++++++++++---
 drivers/net/ethernet/ti/cpsw_ale.h             |   24 ++++--
 include/linux/platform_data/cpsw.h             |    1 +
 5 files changed, 201 insertions(+), 24 deletions(-)

-- 
1.7.9.5




More information about the linux-arm-kernel mailing list