2008-11-26 20:38:33

by Divy Le ray

[permalink] [raw]
Subject: [PATCH 1/4 2.6.29] cxgb3 - set hard_xmit in the netdev_ops

From: Divy Le Ray <[email protected]>

Fix t3_eth_xmit() missing into the netdev_ops structure.

Signed-off-by: Divy Le Ray <[email protected]>
---

drivers/net/cxgb3/cxgb3_main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c
index cd9fcac..96c94a4 100644
--- a/drivers/net/cxgb3/cxgb3_main.c
+++ b/drivers/net/cxgb3/cxgb3_main.c
@@ -2831,6 +2831,7 @@ static void __devinit print_port_info(struct adapter *adap,
static const struct net_device_ops cxgb_netdev_ops = {
.ndo_open = cxgb_open,
.ndo_stop = cxgb_close,
+ .ndo_start_xmit = t3_eth_xmit,
.ndo_get_stats = cxgb_get_stats,
.ndo_validate_addr = eth_validate_addr,
.ndo_set_multicast_list = cxgb_set_rxmode,


2008-11-26 23:35:49

by David Miller

[permalink] [raw]
Subject: Re: [PATCH 1/4 2.6.29] cxgb3 - set hard_xmit in the netdev_ops

From: Divy Le Ray <[email protected]>
Date: Wed, 26 Nov 2008 12:38:14 -0800

> From: Divy Le Ray <[email protected]>
>
> Fix t3_eth_xmit() missing into the netdev_ops structure.
>
> Signed-off-by: Divy Le Ray <[email protected]>

Applied.