~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/net/cxgb4vf/sge.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
#include <net/ipv6.h>
42
42
#include <net/tcp.h>
43
43
#include <linux/dma-mapping.h>
 
44
#include <linux/prefetch.h>
44
45
 
45
46
#include "t4vf_common.h"
46
47
#include "t4vf_defs.h"
1555
1556
        pi = netdev_priv(skb->dev);
1556
1557
        rxq->stats.pkts++;
1557
1558
 
1558
 
        if (csum_ok && (pi->rx_offload & RX_CSO) && !pkt->err_vec &&
1559
 
            (be32_to_cpu(pkt->l2info) & (RXF_UDP|RXF_TCP))) {
 
1559
        if (csum_ok && (rspq->netdev->features & NETIF_F_RXCSUM) &&
 
1560
            !pkt->err_vec && (be32_to_cpu(pkt->l2info) & (RXF_UDP|RXF_TCP))) {
1560
1561
                if (!pkt->ip_frag)
1561
1562
                        skb->ip_summed = CHECKSUM_UNNECESSARY;
1562
1563
                else {