Răsfoiți Sursa

cxgb3: set hard_xmit in the netdev_ops

Fix t3_eth_xmit() missing into the netdev_ops structure.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Divy Le Ray 16 ani în urmă
părinte
comite
43a944f373
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      drivers/net/cxgb3/cxgb3_main.c

+ 1 - 0
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 = {
 static const struct net_device_ops cxgb_netdev_ops = {
 	.ndo_open		= cxgb_open,
 	.ndo_open		= cxgb_open,
 	.ndo_stop		= cxgb_close,
 	.ndo_stop		= cxgb_close,
+	.ndo_start_xmit		= t3_eth_xmit,
 	.ndo_get_stats		= cxgb_get_stats,
 	.ndo_get_stats		= cxgb_get_stats,
 	.ndo_validate_addr	= eth_validate_addr,
 	.ndo_validate_addr	= eth_validate_addr,
 	.ndo_set_multicast_list	= cxgb_set_rxmode,
 	.ndo_set_multicast_list	= cxgb_set_rxmode,