diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/nes/nes_nic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/nes/nes_nic.c b/drivers/infiniband/hw/nes/nes_nic.c index 77e258a57d4c..96db599d9a4e 100644 --- a/drivers/infiniband/hw/nes/nes_nic.c +++ b/drivers/infiniband/hw/nes/nes_nic.c | |||
@@ -437,7 +437,7 @@ static int nes_netdev_start_xmit(struct sk_buff *skb, struct net_device *netdev) | |||
437 | struct nes_hw_nic_sq_wqe *nic_sqe; | 437 | struct nes_hw_nic_sq_wqe *nic_sqe; |
438 | struct tcphdr *tcph; | 438 | struct tcphdr *tcph; |
439 | /* struct udphdr *udph; */ | 439 | /* struct udphdr *udph; */ |
440 | #define NES_MAX_TSO_FRAGS 18 | 440 | #define NES_MAX_TSO_FRAGS MAX_SKB_FRAGS |
441 | /* 64K segment plus overflow on each side */ | 441 | /* 64K segment plus overflow on each side */ |
442 | dma_addr_t tso_bus_address[NES_MAX_TSO_FRAGS]; | 442 | dma_addr_t tso_bus_address[NES_MAX_TSO_FRAGS]; |
443 | dma_addr_t bus_address; | 443 | dma_addr_t bus_address; |