Home
last modified time | relevance | path

Searched refs:NETIF_F_HW_CSUM (Results 1 – 25 of 100) sorted by relevance

1234

/OK3568_Linux_fs/kernel/include/net/
H A Dnet_failover.h33 #define FAILOVER_VLAN_FEATURES (NETIF_F_HW_CSUM | NETIF_F_SG | \
37 #define FAILOVER_ENC_FEATURES (NETIF_F_HW_CSUM | NETIF_F_SG | \
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/enetc/
H A Denetc_vf.c125 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in enetc_vf_netdev_setup()
129 NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in enetc_vf_netdev_setup()
137 ndev->hw_features &= ~NETIF_F_HW_CSUM; in enetc_vf_netdev_setup()
138 ndev->features &= ~NETIF_F_HW_CSUM; in enetc_vf_netdev_setup()
H A Denetc_pf.c733 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in enetc_pf_netdev_setup()
737 NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in enetc_pf_netdev_setup()
745 ndev->hw_features &= ~NETIF_F_HW_CSUM; in enetc_pf_netdev_setup()
746 ndev->features &= ~NETIF_F_HW_CSUM; in enetc_pf_netdev_setup()
/OK3568_Linux_fs/kernel/include/linux/
H A Dnetdev_features.h111 #define NETIF_F_HW_CSUM __NETIF_F(HW_CSUM) macro
201 NETIF_F_HW_CSUM)
H A Dif_vlan.h739 features &= NETIF_F_SG | NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | in vlan_features_check()
/OK3568_Linux_fs/kernel/arch/um/drivers/
H A Dvector_transports.c411 (NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in build_raw_transport_data()
431 (NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in build_hybrid_transport_data()
456 (NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in build_tap_transport_data()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dudp_offload.c66 (is_ipv6 ? (NETIF_F_HW_CSUM | NETIF_F_IPV6_CSUM) : in __skb_udp_tunnel_segment()
67 (NETIF_F_HW_CSUM | NETIF_F_IP_CSUM)))); in __skb_udp_tunnel_segment()
78 features |= NETIF_F_HW_CSUM; in __skb_udp_tunnel_segment()
414 features |= NETIF_F_HW_CSUM; in udp4_ufo_fragment()
/OK3568_Linux_fs/kernel/net/sctp/
H A Doffload.c67 segs = skb_segment(skb, features | NETIF_F_HW_CSUM | NETIF_F_SG); in sctp_gso_segment()
/OK3568_Linux_fs/kernel/drivers/net/
H A Ddummy.c128 dev->features |= NETIF_F_HW_CSUM | NETIF_F_HIGHDMA | NETIF_F_LLTX; in dummy_setup()
H A Dloopback.c180 | NETIF_F_HW_CSUM in gen_lo_setup()
H A Dmacvtap.c52 #define TUN_OFFLOADS (NETIF_F_HW_CSUM | NETIF_F_TSO_ECN | NETIF_F_TSO | \
H A Difb.c191 #define IFB_FEATURES (NETIF_F_HW_CSUM | NETIF_F_SG | NETIF_F_FRAGLIST | \
H A Dbareudp.c536 dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM; in bareudp_setup()
540 dev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM; in bareudp_setup()
/OK3568_Linux_fs/kernel/net/8021q/
H A Dvlan.h110 return (ret & ~NETIF_F_CSUM_MASK) | NETIF_F_HW_CSUM; in vlan_tnl_features()
H A Dvlan_dev.c560 dev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG | in vlan_dev_init()
645 lower_features |= NETIF_F_HW_CSUM; in vlan_dev_fix_features()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dudp_offload.c72 features |= NETIF_F_HW_CSUM; in udp6_ufo_fragment()
/OK3568_Linux_fs/kernel/drivers/net/ipvlan/
H A Dipvtap.c27 #define TUN_OFFLOADS (NETIF_F_HW_CSUM | NETIF_F_TSO_ECN | NETIF_F_TSO | \
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qualcomm/emac/
H A Demac.c671 netdev->features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM | in emac_probe()
676 netdev->vlan_features |= NETIF_F_SG | NETIF_F_HW_CSUM | in emac_probe()
/OK3568_Linux_fs/kernel/net/openvswitch/
H A Dvport-internal_dev.c127 NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | in do_setup()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.c429 if (features & NETIF_F_HW_CSUM) in am65_cpsw_nuss_common_open()
1381 if (changes & NETIF_F_HW_CSUM) { in am65_cpsw_nuss_ndo_slave_set_features()
1382 bool enable = !!(features & NETIF_F_HW_CSUM); in am65_cpsw_nuss_ndo_slave_set_features()
1878 NETIF_F_HW_CSUM | in am65_cpsw_nuss_init_ndev_2g()
1888 port->ndev->features &= ~NETIF_F_HW_CSUM; in am65_cpsw_nuss_init_ndev_2g()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/faraday/
H A Dftgmac100.c1899 netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in ftgmac100_probe()
1908 netdev->hw_features &= ~NETIF_F_HW_CSUM; in ftgmac100_probe()
1912 netdev->hw_features &= ~NETIF_F_HW_CSUM; in ftgmac100_probe()
1915 netdev->hw_features &= ~(NETIF_F_HW_CSUM | NETIF_F_RXCSUM); in ftgmac100_probe()
/OK3568_Linux_fs/kernel/drivers/net/netdevsim/
H A Dnetdev.c279 NETIF_F_HW_CSUM | in nsim_setup()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Def100_tx.c194 if (likely(efx->net_dev->features & NETIF_F_HW_CSUM)) in ef100_make_send_desc()
/OK3568_Linux_fs/kernel/drivers/misc/sgi-xp/
H A Dxpnet.c569 xpnet_device->features = NETIF_F_HW_CSUM; in xpnet_init()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sun/
H A Dldmvsw.c252 dev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG; in vsw_alloc_netdev()

1234