| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently when CONFIG_DEBUG_LOCKDEP is enabled, following errors are
thrown by the kernel.
"BUG: key ebc25d10 not in .data!"
This patch fixes this issue by using sysfs_attr_init() to initialize the
dynamically allocated attributes. Kernel otherwise expects this to be
declared statically and passed to device_create_file().
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
|
|
|
|
|
|
|
|
|
|
| |
This patch updates the Address Lookup Engine driver to support
new revision (v1.4) of ALE IP which has up to 8 slave ports
and 1 host port.
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Acked-by: Reece Pollack <x0183204@ti.com>
|
|
|
|
|
|
|
|
|
|
|
| |
During the start up of the ethernet switch driver, the switch is not reset and
unused ports are not reconfigured. Hence the forwarding state of these unused
ports are inherited from u-boot's configuration which is undesirable. This
patch adds code to disable the forwarding state of all ports during the start
up of the ALE driver. The forwarding state is enabled when a port is
configured.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
|
|
|
|
|
|
|
|
| |
Before this patch, the keystone ethernet driver supports
only 2 slave ports. This patch adds support of 5 cpsw
ports, ie. 1 host port plus 4 slave ports.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
control show/store
This patch adds ALE Control sysfs entry fields ALE_VERSION
and Port 0 Unicast Flood Enable. It also adds support of
ALE table store and a new sysfs attribute ALE Table Raw which
displays un-interpreted ALE Table entries.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Reece Pollack <x0183204@ti.com>
|
|
|
|
|
|
|
|
|
| |
Add support for two new sysfs attributes "ale_control" and "ale_table"
to allow visibility into the contents of the Address Lookup Engine.
This is a forward port of code originally written by Sandeep Paulraj
and committed under ID 26368250396825790ee31745f7d277d3890f4dcd.
Signed-off-by: Reece R. Pollack <x0183204@ti.com>
|
|
|
|
|
|
|
|
| |
Add helper functions for VLAN ALE implementations for Add, Delete
Dump VLAN related ALE entries
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
|
| |
Adding multicast address to ALE table via netdev ops to subscribe, transmit
or receive multicast frames to and from the network
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
TI CPSW ethernet switch has a built-in address lookup engine. This patch adds
the code necessary for programming this module.
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
|