netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH NEXT 1/2] netxen: fix check for ip addr hashing support
@ 2009-09-09 20:09 Dhananjay Phadke
  2009-09-09 20:09 ` [PATCH NEXT 2/2] netxen: fix tx descriptor structure Dhananjay Phadke
  0 siblings, 1 reply; 3+ messages in thread
From: Dhananjay Phadke @ 2009-09-09 20:09 UTC (permalink / raw)
  To: davem; +Cc: netdev, Amit Kumar Salecha

Fix typo in checking dest ip has support before
programming destip addresses.

Signed-off-by: Amit Kumar Salecha <amit@netxen.com>
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
---
 drivers/net/netxen/netxen_nic_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c
index 304618a..81c24a7 100644
--- a/drivers/net/netxen/netxen_nic_main.c
+++ b/drivers/net/netxen/netxen_nic_main.c
@@ -2340,7 +2340,7 @@ netxen_config_indev_addr(struct net_device *dev, unsigned long event)
 	struct in_device *indev;
 	struct netxen_adapter *adapter = netdev_priv(dev);
 
-	if (netxen_destip_supported(adapter))
+	if (!netxen_destip_supported(adapter))
 		return;
 
 	indev = in_dev_get(dev);
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH NEXT 2/2] netxen: fix tx descriptor structure
  2009-09-09 20:09 [PATCH NEXT 1/2] netxen: fix check for ip addr hashing support Dhananjay Phadke
@ 2009-09-09 20:09 ` Dhananjay Phadke
  2009-09-10  1:13   ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Dhananjay Phadke @ 2009-09-09 20:09 UTC (permalink / raw)
  To: davem; +Cc: netdev, Amit Kumar Salecha

From: Amit Kumar Salecha <amit@qlogic.com>

Fix the offset of vlan_TCI field in cmd_desc_type0.

Signed-off-by: Amit Kumar Salecha <amit@qlogic.com>
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
---
 drivers/net/netxen/netxen_nic.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h
index 2a52479..2371888 100644
--- a/drivers/net/netxen/netxen_nic.h
+++ b/drivers/net/netxen/netxen_nic.h
@@ -348,9 +348,9 @@ struct cmd_desc_type0 {
 
 	__le64 addr_buffer4;
 
-	__le16 vlan_TCI;
-	__le16 reserved;
 	__le32 reserved2;
+	__le16 reserved;
+	__le16 vlan_TCI;
 
 } __attribute__ ((aligned(64)));
 
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH NEXT 2/2] netxen: fix tx descriptor structure
  2009-09-09 20:09 ` [PATCH NEXT 2/2] netxen: fix tx descriptor structure Dhananjay Phadke
@ 2009-09-10  1:13   ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2009-09-10  1:13 UTC (permalink / raw)
  To: dhananjay; +Cc: netdev, amit

From: Dhananjay Phadke <dhananjay@netxen.com>
Date: Wed,  9 Sep 2009 13:09:23 -0700

> From: Amit Kumar Salecha <amit@qlogic.com>
> 
> Fix the offset of vlan_TCI field in cmd_desc_type0.
> 
> Signed-off-by: Amit Kumar Salecha <amit@qlogic.com>
> Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>

Also applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-09-10  1:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-09 20:09 [PATCH NEXT 1/2] netxen: fix check for ip addr hashing support Dhananjay Phadke
2009-09-09 20:09 ` [PATCH NEXT 2/2] netxen: fix tx descriptor structure Dhananjay Phadke
2009-09-10  1:13   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).