Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224541
b: refs/heads/master
c: e9248fb
h: refs/heads/master
i:
  224539: 5262e01
v: v3
  • Loading branch information
Scott J. Goldman authored and David S. Miller committed Nov 29, 2010
1 parent 8d57a5a commit 6343a9a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bf26414510103448ad3dc069c7422462f03ea3d7
refs/heads/master: e9248fbd6b6f7ef1917bfffe998654e40dfb4cfd
5 changes: 4 additions & 1 deletion trunk/drivers/net/vmxnet3/vmxnet3_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ vmxnet3_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info,
return -EOPNOTSUPP;
}


#ifdef VMXNET3_RSS
static int
vmxnet3_get_rss_indir(struct net_device *netdev,
struct ethtool_rxfh_indir *p)
Expand Down Expand Up @@ -598,6 +598,7 @@ vmxnet3_set_rss_indir(struct net_device *netdev,
return 0;

}
#endif

static struct ethtool_ops vmxnet3_ethtool_ops = {
.get_settings = vmxnet3_get_settings,
Expand All @@ -623,8 +624,10 @@ static struct ethtool_ops vmxnet3_ethtool_ops = {
.get_ringparam = vmxnet3_get_ringparam,
.set_ringparam = vmxnet3_set_ringparam,
.get_rxnfc = vmxnet3_get_rxnfc,
#ifdef VMXNET3_RSS
.get_rxfh_indir = vmxnet3_get_rss_indir,
.set_rxfh_indir = vmxnet3_set_rss_indir,
#endif
};

void vmxnet3_set_ethtool_ops(struct net_device *netdev)
Expand Down

0 comments on commit 6343a9a

Please sign in to comment.