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
adding support for VLAN interface for cpsw.
CPSW VLAN Capability
* Can filter VLAN packets in Hardware
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
Documentation/devicetree/bindings/net/cpsw.txt |2 +
drivers/net/ethernet/ti/cpsw.c | 85
Add helper functions for VLAN ALE implementations for Add, Delete
Dump VLAN related ALE entries
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
drivers/net/ethernet/ti/cpsw.c |8 +--
drivers/net/ethernet/ti/cpsw_ale.c | 105 +++-
drivers/net/ethernet
On 1/30/2013 2:06 PM, Pantelis Antoniou wrote:
Hi Mugunthan,
On Jan 29, 2013, at 1:45 PM, Mugunthan V N wrote:
On 1/28/2013 6:41 PM, Pantelis Antoniou wrote:
Fix interrupt storm on bone A4 cause by non-by-the-book interrupt handling.
While at it, added a non-NAPI mode (which is easier
On 1/30/2013 3:06 PM, Pantelis Antoniou wrote:
Hi,
On Jan 30, 2013, at 11:03 AM, Mugunthan V N wrote:
On 1/30/2013 2:06 PM, Pantelis Antoniou wrote:
Hi Mugunthan,
On Jan 29, 2013, at 1:45 PM, Mugunthan V N wrote:
On 1/28/2013 6:41 PM, Pantelis Antoniou wrote:
Fix interrupt storm on bone
-- Pantelis
This is the device ID which i have
[root@arago /]# devmem 0x44e10600
0x1B94402E
Regards
Mugunthan V N
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo
On 1/30/2013 7:25 PM, Pantelis Antoniou wrote:
Hi Mugunthan,
On Jan 30, 2013, at 3:53 PM, Mugunthan V N wrote:
On 1/30/2013 7:21 PM, Pantelis Antoniou wrote:
Hi Vaibhav,
On Jan 30, 2013, at 3:47 PM, Bedia, Vaibhav wrote:
Hi Antoniou,
On Wed, Jan 30, 2013 at 19:07:19, Pantelis Antoniou
as default VLAN enabled so that drivers need to be recompiled
when stack is compiled with VLAN
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
Add helper functions for VLAN ALE implementations for Add, Delete
Dump VLAN related ALE entries
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
drivers/net/ethernet/ti/cpsw.c |8 +--
drivers/net/ethernet/ti/cpsw_ale.c | 106
drivers/net/ethernet
adding support for VLAN interface for cpsw.
CPSW VLAN Capability
* Can filter VLAN packets in Hardware
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
Documentation/devicetree/bindings/net/cpsw.txt |2 +
drivers/net/ethernet/ti/cpsw.c | 92
Hi Antoniou
On 1/30/2013 7:25 PM, Pantelis Antoniou wrote:
Hi Mugunthan,
On Jan 30, 2013, at 3:53 PM, Mugunthan V N wrote:
On 1/30/2013 7:21 PM, Pantelis Antoniou wrote:
Hi Vaibhav,
On Jan 30, 2013, at 3:47 PM, Bedia, Vaibhav wrote:
Hi Antoniou,
On Wed, Jan 30, 2013 at 19:07:19
-consulting.com
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
drivers/net/ethernet/ti/davinci_cpdma.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/ti/davinci_cpdma.c
b/drivers/net/ethernet/ti/davinci_cpdma.c
index f862918..afe14a6 100644
--- a/drivers/net
files changed, 194 insertions(+), 36 deletions(-)
I have tested CPSW on AM335x EVM 1.5A with flood ping and i am not
seeing any interrupt storm.
Can you provide more details on how to reproduce the issue.
Regards
Mugunthan V N
--
To unsubscribe from this list: send the line unsubscribe linux-omap
On 1/29/2013 3:18 PM, Jan Lübbe wrote:
On Tue, 2013-01-29 at 01:42 +0530, Mugunthan V N wrote:
--- a/Documentation/devicetree/bindings/net/cpsw.txt
+++ b/Documentation/devicetree/bindings/net/cpsw.txt
@@ -24,6 +24,8 @@ Required properties:
Optional properties:
- ti,hwmods: Must
On 1/29/2013 1:06 PM, Richard Cochran wrote:
On Tue, Jan 29, 2013 at 01:42:25AM +0530, Mugunthan V N wrote:
@@ -947,6 +1042,10 @@ static const struct net_device_ops cpsw_netdev_ops = {
#ifdef CONFIG_NET_POLL_CONTROLLER
.ndo_poll_controller= cpsw_ndo_poll_controller,
#endif
On 1/30/2013 5:08 AM, Cyril Chemparathy wrote:
On 01/28/2013 03:12 PM, Mugunthan V N wrote:
Add helper functions for VLAN ALE implementations for Add, Delete
Dump VLAN related ALE entries
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
drivers/net/ethernet/ti/cpsw_ale.c | 172
adding support for VLAN interface for cpsw.
CPSW VLAN Capability
* Can filter VLAN packets in Hardware
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
Documentation/devicetree/bindings/net/cpsw.txt |2 +
drivers/net/ethernet/ti/cpsw.c | 108
Add helper functions for VLAN ALE implementations for Add, Delete
Dump VLAN related ALE entries
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
drivers/net/ethernet/ti/cpsw_ale.c | 172 ++--
drivers/net/ethernet/ti/cpsw_ale.h | 11 +++
2 files changed, 178
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.
Mugunthan V N (2):
drivers: net: cpsw: Add helper functions for VLAN ALE implementation
drivers
On 1/29/2013 2:14 AM, Felipe Balbi wrote:
On Tue, Jan 29, 2013 at 01:42:25AM +0530, Mugunthan V N wrote:
adding support for VLAN interface for cpsw.
CPSW VLAN Capability
* Can filter VLAN packets in Hardware
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
Documentation/devicetree
ones.
Signed-off-by: Peter Korsgaard jac...@sunsite.dk
This implementation looks fine.
Acked-by: Mugunthan V N mugunthan...@ti.com
Regards
Mugunthan V N
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo
' was not declared. Should it be static?
arch/arm/mach-omap2/omap_hwmod_33xx_data.c:2526:26: warning: symbol
'am33xx_cpgmac0__mdio' was not declared. Should it be static?
Fix by marking the two new records as static.
Signed-off-by: Paul Walmsley p...@pwsan.com
Cc: Mugunthan V N mugunthan...@ti.com
Cc: Vaibhav
code.
cpts: fix a run time warn_on.
drivers/net/ethernet/ti/cpts.c |3 +--
drivers/net/ethernet/ti/cpts.h |1 -
2 files changed, 1 insertions(+), 3 deletions(-)
Looks good to me.
Acked-by : Mugunthan V N mugunthan...@ti.com
--
To unsubscribe from this list: send the line unsubscribe
to me.
I will submit next version with the suggestion
Regards
Mugunthan V N
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On 12/10/2012 1:41 PM, Christian Riesch wrote:
Hi,
On Mon, Dec 10, 2012 at 8:37 AM, Mugunthan V N mugunthan...@ti.com wrote:
When there is heavy transmission traffic in the CPDMA, then Rx descriptors
memory is also utilized as tx desc memory this leads to reduced rx desc memory
which leads
On 12/10/2012 1:54 PM, Christian Riesch wrote:
Hi again,
On Mon, Dec 10, 2012 at 8:37 AM, Mugunthan V N mugunthan...@ti.com wrote:
When there is heavy transmission traffic in the CPDMA, then Rx descriptors
memory is also utilized as tx desc memory this leads to reduced rx desc memory
which
descriptors.
The driver stops working then.
To fix this limit the number of tx descriptors used to half of
the descriptors available, the rx path uses the other half.
Tested on a custom board using nmap / ping -f to the board from
two different hosts.
Signed-off-by: Mugunthan V N
V N mugunthan...@ti.com
---
drivers/net/ethernet/ti/davinci_cpdma.c | 20 ++--
drivers/net/ethernet/ti/davinci_emac.c |8
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/drivers/net/ethernet/ti/davinci_cpdma.c
b/drivers/net/ethernet/ti
On 12/3/2012 7:19 PM, Jan Luebbe wrote:
Signed-off-by: Jan Luebbe j...@pengutronix.de
---
drivers/net/ethernet/ti/cpsw.c | 47
1 file changed, 23 insertions(+), 24 deletions(-)
diff --git a/drivers/net/ethernet/ti/cpsw.c
);
+ ret = -EINVAL;
+ goto error_ret;
+ }
+
/*
* Populate all the child nodes here...
*/
The patches look good to me.
Acked-by: Mugunthan V Nmugunthan...@ti.com
Regards
Mugunthan V N
--
To unsubscribe from this list: send the line unsubscribe
= cpsw_ndo_get_stats,
Already ndo_do_ioctl is already implemented. Can you rebase the patch
with latest git repo
and resubmit the patch
Regards
Mugunthan V N
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More
*
Rename the prom_*_property routines of the generic OF code to of_*_property.
This brings them in line with the naming used by the rest of the OF code.
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
arch/arm/mach-omap2/timer.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff
Remove arch/arm/plat-omap/include/plat/clock.h by merging it into
arch/arm/mach-omap1/clock.h and arch/arm/mach-omap2/clock.h.
The goal here is to facilitate ARM single image kernels by removing
includes via the plat/ symlink.
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
drivers
On 11/27/2012 3:57 PM, Mugunthan V N wrote:
CC drivers/net/ethernet/ti/cpts.o
drivers/net/ethernet/ti/cpts.c:30:24: fatal error: plat/clock.h: No such file
or directory
compilation terminated.
make[4]: *** [drivers/net/ethernet/ti/cpts.o] Error 1
make[3]: *** [drivers/net/ethernet/ti
IOCTL instead of passing priv
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
drivers/net/ethernet/ti/cpsw.c |7 +++
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index 02c2477..c9714e1 100644
Add phy id for CPSW
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
The patch is verified with CPSW patches present in the following git repo
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
arch/arm/boot/dts/am335x-evmsk.dts |8
1 files changed, 8 insertions
for NFS boot and basic ping test cases.
Changes from V3:
* Removed unnecessary flags in Davinci MDIO Hwmod entry.
Changes from V4:
* Changed CPSW phy ID in DT to make it generic.
* Applied cosmetic changed in AM33XX dts file from Benoit Cousson
Mugunthan V N (4):
net: cpsw: halt network stack
Enable CPSW support in defconfig which is present in AM33xx SoC
Signed-off-by: Mugunthan V N mugunthan...@ti.com
Acked-by: Richard Cochran richardcoch...@gmail.com
---
arch/arm/configs/omap2plus_defconfig |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/configs
Move network stack halt APIs before halting the hardware to ensure no
packets are queued to hardware during closing the device during
suspend sequence.
Signed-off-by: Mugunthan V N mugunthan...@ti.com
Acked-by: Richard Cochran richardcoch...@gmail.com
---
drivers/net/ethernet/ti/cpsw.c |6
...@gmail.com
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
Documentation/devicetree/bindings/net/cpsw.txt | 42 +
drivers/net/ethernet/ti/cpsw.c | 242 ++--
include/linux/platform_data/cpsw.h | 21 +--
3 files changed, 108 insertions
and populated in DT execution flow. The only required change
is inside DTS file, making MDIO as a child to CPSW node.
Signed-off-by: Vaibhav Hiremath hvaib...@ti.com
Signed-off-by: Mugunthan V N mugunthan...@ti.com
Acked-by: Peter Korsgaard jac...@sunsite.dk
Acked-by: Richard Cochran richardcoch
-by: Mugunthan V N mugunthan...@ti.com
Acked-by: Peter Korsgaard jac...@sunsite.dk
Acked-by: Richard Cochran richardcoch...@gmail.com
---
drivers/net/ethernet/ti/davinci_mdio.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ethernet/ti/davinci_mdio.c
b/drivers/net
to
4a101000.mdio:00. Since davinci_mdio is a child node to cpsw, the
platform device for mdio is
not created to get the mdio device name 4a101000.mdio.
Can you point me a reference to get the right implementation.
Regards
Mugunthan V N
--
To unsubscribe from this list: send the line unsubscribe
On 11/6/2012 11:02 PM, Mugunthan V N wrote:
This patch-series adds support for,
[1/7]: Typo mistake in CPSW driver while invoking runtime_pm api's
[2/7]: Adds parent-child relation between CPSW MDIO module inside cpsw
driver, as in case of AM33XX, the resources are shared and common
and populated in DT execution flow. The only required change
is inside DTS file, making MDIO as a child to CPSW node.
Signed-off-by: Vaibhav Hiremath hvaib...@ti.com
Cc: Mugunthan V N mugunthan...@ti.com
Cc: Richard Cochran richardcoch...@gmail.com
---
drivers/net/ethernet/ti/cpsw.c | 16
Add CPSW and MDIO related device tree data for AM33XX.
Also enable them into board/evm dts files by providing
respective phy-id.
Signed-off-by: Mugunthan V N mugunthan...@ti.com
Signed-off-by: Vaibhav Hiremath hvaib...@ti.com
Cc: Richard Cochran richardcoch...@gmail.com
Cc: Benoit Cousson b-cous
to control module/clock enable/disable,
makes it difficult to handle common resources from both drivers.
So the solution is, create parent-child relationship between
CPGMAC MDIO modules.
Signed-off-by: Mugunthan V N mugunthan...@ti.com
Signed-off-by: Vaibhav Hiremath hvaib...@ti.com
Cc: Richard Cochran
...@gmail.com
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
Documentation/devicetree/bindings/net/cpsw.txt | 34
drivers/net/ethernet/ti/cpsw.c | 209 +--
include/linux/platform_data/cpsw.h | 19 --
3 files changed, 82 insertions
Enable CPSW support in defconfig which is present in AM33xx SoC
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
arch/arm/configs/omap2plus_defconfig |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/configs/omap2plus_defconfig
b/arch/arm/configs
Move network stack halt APIs before halting the hardware to ensure no
packets are queued to hardware during closing the device during
suspend sequence.
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
drivers/net/ethernet/ti/cpsw.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions
it didn't impact functionality is, the patch has
been tested on AM335x-EVM and BeagleBone platform while submitting;
and in case of AM335x the MDIO driver doesn't control the module
enable/disable part, which is handled by CPSW driver.
Signed-off-by: Vaibhav Hiremath hvaib...@ti.com
Cc: Mugunthan V N
for NFS boot and basic ping test cases.
Mugunthan V N (4):
ARM: OMAP3+: hwmod: Add AM33XX HWMOD data for davinci_mdio module
arm/dts: am33xx: Add CPSW and MDIO module nodes for AM33XX
ARM: OMAP2+: omap2plus_defconfig: Enable CPSW support
net: cpsw: halt network stack before halting
code
to do here?
Will remove the unnecessary flags and submit the patch.
Regards
Mugunthan V N
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
,
+ .slave = am33xx_mdio_hwmod,
+ .addr = am33xx_mdio_addr_space,
+ .user = OCP_USER_MPU,
+};
+
static struct omap_hwmod_addr_space am33xx_elm_addr_space[] = {
{
.pa_start = 0x4808,
Regards
Mugunthan V N
--
To unsubscribe
for NFS boot and basic ping test cases.
Changes from V3:
* Removed unnecessary flags in Davinci MDIO Hwmod entry.
Mugunthan V N (4):
ARM: OMAP3+: hwmod: Add AM33XX HWMOD data for davinci_mdio module
arm/dts: am33xx: Add CPSW and MDIO module nodes for AM33XX
ARM: OMAP2+: omap2plus_defconfig
to control module/clock enable/disable,
makes it difficult to handle common resources from both drivers.
So the solution is, create parent-child relationship between
CPGMAC MDIO modules.
Signed-off-by: Mugunthan V N mugunthan...@ti.com
Signed-off-by: Vaibhav Hiremath hvaib...@ti.com
Cc: Paul Walmsley p
Move network stack halt APIs before halting the hardware to ensure no
packets are queued to hardware during closing the device during
suspend sequence.
Signed-off-by: Mugunthan V N mugunthan...@ti.com
Acked-by: Richard Cochran richardcoch...@gmail.com
---
drivers/net/ethernet/ti/cpsw.c |6
...@gmail.com
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
Documentation/devicetree/bindings/net/cpsw.txt | 34
drivers/net/ethernet/ti/cpsw.c | 209 +--
include/linux/platform_data/cpsw.h | 19 --
3 files changed, 82 insertions
Add CPSW and MDIO related device tree data for AM33XX.
Also enable them into board/evm dts files by providing
respective phy-id.
Signed-off-by: Mugunthan V N mugunthan...@ti.com
Signed-off-by: Vaibhav Hiremath hvaib...@ti.com
Cc: Benoit Cousson b-cous...@ti.com
Acked-by: Peter Korsgaard jac
-by: Mugunthan V N mugunthan...@ti.com
Acked-by: Peter Korsgaard jac...@sunsite.dk
Acked-by: Richard Cochran richardcoch...@gmail.com
---
drivers/net/ethernet/ti/davinci_mdio.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ethernet/ti/davinci_mdio.c
b/drivers/net
Enable CPSW support in defconfig which is present in AM33xx SoC
Signed-off-by: Mugunthan V N mugunthan...@ti.com
Acked-by: Richard Cochran richardcoch...@gmail.com
---
arch/arm/configs/omap2plus_defconfig |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/configs
and populated in DT execution flow. The only required change
is inside DTS file, making MDIO as a child to CPSW node.
Signed-off-by: Vaibhav Hiremath hvaib...@ti.com
Signed-off-by: Mugunthan V N mugunthan...@ti.com
Acked-by: Peter Korsgaard jac...@sunsite.dk
Acked-by: Richard Cochran richardcoch
device tree implementation for davinci mdio driver
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
.../devicetree/bindings/net/davinci-mdio.txt | 33
drivers/net/ethernet/ti/davinci_mdio.c | 41 ++--
2 files changed, 70 insertions(+), 4
Fixing the cpsw device tree example to make it simpler to copy pastable to dts
file and use it directly.
Signed-off-by: Mugunthan V N mugunthan...@ti.com
---
Documentation/devicetree/bindings/net/cpsw.txt | 101 ---
1 files changed, 53 insertions(+), 48 deletions(-)
diff
Mugunthan V N (2):
drivers: net: ethernet: davince_mdio: device tree implementation
documentation: dt: bindings: cpsw: fixing the examples for directly
using it in dts file
Documentation/devicetree/bindings/net/cpsw.txt | 101 ++-
.../devicetree/bindings/net/davinci
301 - 365 of 365 matches
Mail list logo