Home
last modified time | relevance | path

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

1234

/Linux-v5.4/include/net/
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 | \
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc_vf.c135 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in enetc_vf_netdev_setup()
139 NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in enetc_vf_netdev_setup()
147 ndev->hw_features &= ~NETIF_F_HW_CSUM; in enetc_vf_netdev_setup()
148 ndev->features &= ~NETIF_F_HW_CSUM; in enetc_vf_netdev_setup()
Denetc_pf.c726 ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in enetc_pf_netdev_setup()
730 NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in enetc_pf_netdev_setup()
739 ndev->hw_features &= ~NETIF_F_HW_CSUM; in enetc_pf_netdev_setup()
740 ndev->features &= ~NETIF_F_HW_CSUM; in enetc_pf_netdev_setup()
/Linux-v5.4/include/linux/
Dnetdev_features.h107 #define NETIF_F_HW_CSUM __NETIF_F(HW_CSUM) macro
194 NETIF_F_HW_CSUM)
Dif_vlan.h724 features &= NETIF_F_SG | NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | in vlan_features_check()
/Linux-v5.4/net/ipv4/
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()
338 features |= NETIF_F_HW_CSUM; in udp4_ufo_fragment()
/Linux-v5.4/arch/um/drivers/
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()
/Linux-v5.4/net/sctp/
Doffload.c67 segs = skb_segment(skb, features | NETIF_F_HW_CSUM | NETIF_F_SG); in sctp_gso_segment()
/Linux-v5.4/net/ipv6/
Dudp_offload.c72 features |= NETIF_F_HW_CSUM; in udp6_ufo_fragment()
/Linux-v5.4/drivers/net/
Ddummy.c156 dev->features |= NETIF_F_HW_CSUM | NETIF_F_HIGHDMA | NETIF_F_LLTX; in dummy_setup()
Dloopback.c178 | NETIF_F_HW_CSUM in gen_lo_setup()
Dmacvtap.c52 #define TUN_OFFLOADS (NETIF_F_HW_CSUM | NETIF_F_TSO_ECN | NETIF_F_TSO | \
Difb.c189 #define IFB_FEATURES (NETIF_F_HW_CSUM | NETIF_F_SG | NETIF_F_FRAGLIST | \
/Linux-v5.4/net/8021q/
Dvlan.h103 return (ret & ~NETIF_F_CSUM_MASK) | NETIF_F_HW_CSUM; in vlan_tnl_features()
Dvlan_dev.c539 dev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG | in vlan_dev_init()
618 lower_features |= NETIF_F_HW_CSUM; in vlan_dev_fix_features()
/Linux-v5.4/drivers/net/ipvlan/
Dipvtap.c27 #define TUN_OFFLOADS (NETIF_F_HW_CSUM | NETIF_F_TSO_ECN | NETIF_F_TSO | \
/Linux-v5.4/drivers/net/ethernet/qualcomm/emac/
Demac.c670 netdev->features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM | in emac_probe()
675 netdev->vlan_features |= NETIF_F_SG | NETIF_F_HW_CSUM | in emac_probe()
/Linux-v5.4/net/openvswitch/
Dvport-internal_dev.c145 NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | in do_setup()
/Linux-v5.4/drivers/net/netdevsim/
Dnetdev.c276 NETIF_F_HW_CSUM | in nsim_setup()
/Linux-v5.4/drivers/misc/sgi-xp/
Dxpnet.c568 xpnet_device->features = NETIF_F_HW_CSUM; in xpnet_init()
/Linux-v5.4/drivers/net/ethernet/sun/
Dldmvsw.c252 dev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG; in vsw_alloc_netdev()
/Linux-v5.4/net/hsr/
Dhsr_device.c397 NETIF_F_GSO_MASK | NETIF_F_HW_CSUM | in hsr_dev_setup()
/Linux-v5.4/net/bridge/
Dbr_device.c22 NETIF_F_GSO_MASK | NETIF_F_HW_CSUM)
/Linux-v5.4/drivers/net/ethernet/faraday/
Dftgmac100.c1863 netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_HW_CSUM | in ftgmac100_probe()
1872 netdev->hw_features &= ~NETIF_F_HW_CSUM; in ftgmac100_probe()
1874 netdev->hw_features &= ~(NETIF_F_HW_CSUM | NETIF_F_RXCSUM); in ftgmac100_probe()
/Linux-v5.4/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_main.c1785 if ((request & NETIF_F_HW_CSUM) && in liquidio_fix_features()
1786 !(lio->dev_capability & NETIF_F_HW_CSUM)) in liquidio_fix_features()
1787 request &= ~NETIF_F_HW_CSUM; in liquidio_fix_features()
2092 | NETIF_F_HW_CSUM | NETIF_F_SG in setup_nic_devices()

1234