diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-15 12:40:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-15 12:40:05 -0400 |
commit | 2ed0e21b30b53d3a94e204196e523e6c8f732b56 (patch) | |
tree | de2635426477d86338a9469ce09ba0626052288f /drivers/net/chelsio/sge.c | |
parent | 0fa213310cd8fa7a51071cdcf130e26fa56e9549 (diff) | |
parent | 9cbc1cb8cd46ce1f7645b9de249b2ce8460129bb (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1244 commits)
pkt_sched: Rename PSCHED_US2NS and PSCHED_NS2US
ipv4: Fix fib_trie rebalancing
Bluetooth: Fix issue with uninitialized nsh.type in DTL-1 driver
Bluetooth: Fix Kconfig issue with RFKILL integration
PIM-SM: namespace changes
ipv4: update ARPD help text
net: use a deferred timer in rt_check_expire
ieee802154: fix kconfig bool/tristate muckup
bonding: initialization rework
bonding: use is_zero_ether_addr
bonding: network device names are case sensative
bonding: elminate bad refcount code
bonding: fix style issues
bonding: fix destructor
bonding: remove bonding read/write semaphore
bonding: initialize before registration
bonding: bond_create always called with default parameters
x_tables: Convert printk to pr_err
netfilter: conntrack: optional reliable conntrack event delivery
list_nulls: add hlist_nulls_add_head and hlist_nulls_del
...
Diffstat (limited to 'drivers/net/chelsio/sge.c')
-rw-r--r-- | drivers/net/chelsio/sge.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/chelsio/sge.c b/drivers/net/chelsio/sge.c index 58f6fc055f6a..3711d64e45ef 100644 --- a/drivers/net/chelsio/sge.c +++ b/drivers/net/chelsio/sge.c | |||
@@ -1149,8 +1149,8 @@ static inline void write_tx_desc(struct cmdQ_e *e, dma_addr_t mapping, | |||
1149 | unsigned int len, unsigned int gen, | 1149 | unsigned int len, unsigned int gen, |
1150 | unsigned int eop) | 1150 | unsigned int eop) |
1151 | { | 1151 | { |
1152 | if (unlikely(len > SGE_TX_DESC_MAX_PLEN)) | 1152 | BUG_ON(len > SGE_TX_DESC_MAX_PLEN); |
1153 | BUG(); | 1153 | |
1154 | e->addr_lo = (u32)mapping; | 1154 | e->addr_lo = (u32)mapping; |
1155 | e->addr_hi = (u64)mapping >> 32; | 1155 | e->addr_hi = (u64)mapping >> 32; |
1156 | e->len_gen = V_CMD_LEN(len) | V_CMD_GEN1(gen); | 1156 | e->len_gen = V_CMD_LEN(len) | V_CMD_GEN1(gen); |
@@ -1879,7 +1879,6 @@ int t1_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1879 | cpl->vlan_valid = 0; | 1879 | cpl->vlan_valid = 0; |
1880 | 1880 | ||
1881 | send: | 1881 | send: |
1882 | dev->trans_start = jiffies; | ||
1883 | ret = t1_sge_tx(skb, adapter, 0, dev); | 1882 | ret = t1_sge_tx(skb, adapter, 0, dev); |
1884 | 1883 | ||
1885 | /* If transmit busy, and we reallocated skb's due to headroom limit, | 1884 | /* If transmit busy, and we reallocated skb's due to headroom limit, |