aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/enic.h
diff options
context:
space:
mode:
authorScott Feldman <scofeldm@cisco.com>2008-09-24 14:23:32 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-09-24 20:48:30 -0400
commit25f0a061d9e491c4b17976065443271e2ddd383f (patch)
treec7c70e7aa6590e2fb8a3174642b0b8cc06b9448a /drivers/net/enic/enic.h
parentd9c3c57ffc23b562a6ef8da794fc9702e1c3b328 (diff)
enic: fixes for review items from Ben Hutchings
Fixes for review items from Ben Hutchings: - use netdev->net_stats rather than private net_stats - use ethtool op .get_sset_count rather than .get_stats_count - err out if setting Tx/Rx csum or TSO using ethtool and setting is not enabled for device. - pass in jiffies + constant to round_jiffies - return err if new MTU is out-of-bounds Signed-off-by: Scott Feldman <scofeldm@cisco.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/enic/enic.h')
-rw-r--r--drivers/net/enic/enic.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/enic/enic.h b/drivers/net/enic/enic.h
index fb83c926da58..9e0d484deb20 100644
--- a/drivers/net/enic/enic.h
+++ b/drivers/net/enic/enic.h
@@ -75,7 +75,6 @@ struct enic {
75 struct vnic_enet_config config; 75 struct vnic_enet_config config;
76 struct vnic_dev_bar bar0; 76 struct vnic_dev_bar bar0;
77 struct vnic_dev *vdev; 77 struct vnic_dev *vdev;
78 struct net_device_stats net_stats;
79 struct timer_list notify_timer; 78 struct timer_list notify_timer;
80 struct work_struct reset; 79 struct work_struct reset;
81 struct msix_entry msix_entry[ENIC_MSIX_MAX]; 80 struct msix_entry msix_entry[ENIC_MSIX_MAX];