mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-16 06:27:01 +08:00
@@ -1487,6 +1487,7 @@ static int if_atsam_driver_attach(device_t dev)
|
|||||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX;
|
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX;
|
||||||
ifp->if_capabilities |= IFCAP_HWCSUM | IFCAP_HWCSUM_IPV6 |
|
ifp->if_capabilities |= IFCAP_HWCSUM | IFCAP_HWCSUM_IPV6 |
|
||||||
IFCAP_VLAN_HWCSUM;
|
IFCAP_VLAN_HWCSUM;
|
||||||
|
ifp->if_capenable = ifp->if_capabilities;
|
||||||
ifp->if_hwassist = CSUM_IP | CSUM_IP_UDP | CSUM_IP_TCP |
|
ifp->if_hwassist = CSUM_IP | CSUM_IP_UDP | CSUM_IP_TCP |
|
||||||
CSUM_IP6_UDP | CSUM_IP6_TCP;
|
CSUM_IP6_UDP | CSUM_IP6_TCP;
|
||||||
IFQ_SET_MAXLEN(&ifp->if_snd, TXBUF_COUNT - 1);
|
IFQ_SET_MAXLEN(&ifp->if_snd, TXBUF_COUNT - 1);
|
||||||
|
Reference in New Issue
Block a user