Changeset 0d003d7 in rtems-libbsd


Ignore:
Timestamp:
Jun 22, 2015, 12:40:36 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
b9fb1ef
Parents:
82830ce
Message:

Revert "if_cgem: Enable hardware checksum assist"

This reverts commit dec6b678bba05624335c87b73dc160b54d845cbd.

This default for TXCSUM and RXCSUM should be used and a user should
turn on TXCSUM and RXCSUM.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/dev/cadence/if_cgem.c

    r82830ce r0d003d7  
    17791779        ifp->if_capabilities |= IFCAP_HWCSUM | IFCAP_HWCSUM_IPV6 |
    17801780                IFCAP_VLAN_MTU | IFCAP_VLAN_HWCSUM;
    1781 #ifndef __rtems__
    17821781        /* Disable hardware checksumming by default. */
    17831782        ifp->if_hwassist = 0;
    17841783        ifp->if_capenable = ifp->if_capabilities &
    17851784                ~(IFCAP_HWCSUM | IFCAP_HWCSUM_IPV6 | IFCAP_VLAN_HWCSUM);
    1786 #else /* __rtems__ */
    1787         ifp->if_hwassist = CGEM_CKSUM_ASSIST;
    1788         ifp->if_capenable = ifp->if_capabilities;
    1789 #endif /* __rtems__ */
    17901785        ifp->if_snd.ifq_drv_maxlen = CGEM_NUM_TX_DESCS;
    17911786        IFQ_SET_MAXLEN(&ifp->if_snd, ifp->if_snd.ifq_drv_maxlen);
Note: See TracChangeset for help on using the changeset viewer.