Thread (10 messages) flat view 10 messages, 3 authors, 2012-03-16

RE: [PATCH v4 1/2] netdev: driver: ethernet: add cpsw address lookup engine support

From: N, Mugunthan V <hidden>
Date: 2012-02-29 15:27:40

Joe
-----Original Message-----
From: Joe Perches [mailto:joe@perches.com]
Sent: Wednesday, February 29, 2012 10:19 AM
To: N, Mugunthan V
Cc: netdev@vger.kernel.org; davem@davemloft.net
Subject: Re: [PATCH v4 1/2] netdev: driver: ethernet: add cpsw address
lookup engine support

On Wed, 2012-02-29 at 10:15 +0530, Mugunthan V N wrote:
quoted
TI CPSW ethernet switch has a built-in address lookup engine.  This
patch adds
quoted
the code necessary for programming this module.
[]
quoted
 drivers/net/ethernet/ti/cpsw_ale.c |  638
++++++++++++++++++++++++++++++++++++
[]
quoted
+struct cpsw_ale *cpsw_ale_create(struct cpsw_ale_params *params)
+{
+	struct cpsw_ale *ale;
+
+	ale = kzalloc(sizeof(*ale), GFP_KERNEL);
+	ale->params = *params;
kzalloc failure...
Will take care of the kzalloc failures in next set of patches.

With regards
Mugunthan V N
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help