Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193799
b: refs/heads/master
c: ff90cd4
h: refs/heads/master
i:
  193797: 12b87e2
  193795: 328316e
  193791: ee457ee
v: v3
  • Loading branch information
Sucheta Chakraborty authored and David S. Miller committed Mar 29, 2010
1 parent a480979 commit a1be12f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 30bde1f5076a9b6bd4b6a168523930ce242c7449
refs/heads/master: ff90cd4a1dcfc03bf228d94f553619198e65bc42
6 changes: 6 additions & 0 deletions trunk/drivers/net/netxen/netxen_nic_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,11 @@ netxen_nic_get_ethtool_stats(struct net_device *dev,
}
}

static u32 netxen_nic_get_tx_csum(struct net_device *dev)
{
return dev->features & NETIF_F_IP_CSUM;
}

static u32 netxen_nic_get_rx_csum(struct net_device *dev)
{
struct netxen_adapter *adapter = netdev_priv(dev);
Expand Down Expand Up @@ -909,6 +914,7 @@ const struct ethtool_ops netxen_nic_ethtool_ops = {
.set_ringparam = netxen_nic_set_ringparam,
.get_pauseparam = netxen_nic_get_pauseparam,
.set_pauseparam = netxen_nic_set_pauseparam,
.get_tx_csum = netxen_nic_get_tx_csum,
.set_tx_csum = ethtool_op_set_tx_csum,
.set_sg = ethtool_op_set_sg,
.get_tso = netxen_nic_get_tso,
Expand Down

0 comments on commit a1be12f

Please sign in to comment.