Symbol: NETIF_F_HW_CSUM
arch/um/drivers/vector_transports.c
410
(NETIF_F_RXCSUM | NETIF_F_HW_CSUM |
arch/um/drivers/vector_transports.c
430
(NETIF_F_RXCSUM | NETIF_F_HW_CSUM |
arch/um/drivers/vector_transports.c
455
(NETIF_F_RXCSUM | NETIF_F_HW_CSUM |
drivers/misc/sgi-xp/xpnet.c
571
xpnet_device->features = NETIF_F_HW_CSUM;
drivers/net/amt.c
3154
dev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM;
drivers/net/bareudp.c
578
dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_FRAGLIST;
drivers/net/bareudp.c
581
dev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_FRAGLIST;
drivers/net/can/dev/dev.c
294
dev->features = NETIF_F_HW_CSUM;
drivers/net/dummy.c
120
dev->features |= NETIF_F_HW_CSUM | NETIF_F_HIGHDMA;
drivers/net/ethernet/alibaba/eea/eea_net.c
627
netdev->hw_features |= NETIF_F_HW_CSUM;
drivers/net/ethernet/alibaba/eea/eea_net.c
636
netdev->features |= NETIF_F_HW_CSUM;
drivers/net/ethernet/aquantia/atlantic/aq_nic.c
392
self->ndev->vlan_features |= NETIF_F_HW_CSUM | NETIF_F_RXCSUM |
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
37
.hw_features = NETIF_F_HW_CSUM | \
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
39
.hw_features = NETIF_F_HW_CSUM | \
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c
51
.hw_features = NETIF_F_HW_CSUM | \
drivers/net/ethernet/asix/ax88796c_main.c
1026
ndev->hw_features |= NETIF_F_HW_CSUM | NETIF_F_RXCSUM;
drivers/net/ethernet/asix/ax88796c_main.c
1027
ndev->features |= NETIF_F_HW_CSUM | NETIF_F_RXCSUM;
drivers/net/ethernet/asix/ax88796c_main.c
785
if (ndev->features & NETIF_F_HW_CSUM) {
drivers/net/ethernet/asix/ax88796c_main.c
923
if (!(changed & (NETIF_F_RXCSUM | NETIF_F_HW_CSUM)))
drivers/net/ethernet/asix/ax88796c_main.c
928
if (changed & (NETIF_F_RXCSUM | NETIF_F_HW_CSUM))
drivers/net/ethernet/atheros/alx/main.c
1823
NETIF_F_HW_CSUM |
drivers/net/ethernet/atheros/atl1c/atl1c_main.c
2592
NETIF_F_HW_CSUM |
drivers/net/ethernet/atheros/atl1e/atl1e_main.c
2278
netdev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_TSO |
drivers/net/ethernet/atheros/atlx/atl1.c
3026
netdev->features = NETIF_F_HW_CSUM;
drivers/net/ethernet/atheros/atlx/atl1.c
3030
netdev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG | NETIF_F_TSO |
drivers/net/ethernet/broadcom/genet/bcmgenet.c
4024
dev->features |= NETIF_F_SG | NETIF_F_HIGHDMA | NETIF_F_HW_CSUM |
drivers/net/ethernet/cadence/macb_main.c
2331
if ((bp->dev->features & NETIF_F_HW_CSUM) &&
drivers/net/ethernet/cadence/macb_main.c
2428
if (!(ndev->features & NETIF_F_HW_CSUM) ||
drivers/net/ethernet/cadence/macb_main.c
2986
if (bp->dev->features & NETIF_F_HW_CSUM)
drivers/net/ethernet/cadence/macb_main.c
4245
if (features & NETIF_F_HW_CSUM)
drivers/net/ethernet/cadence/macb_main.c
4287
if (changed & NETIF_F_HW_CSUM)
drivers/net/ethernet/cadence/macb_main.c
4846
dev->hw_features |= NETIF_F_HW_CSUM | NETIF_F_RXCSUM;
drivers/net/ethernet/cavium/liquidio/lio_main.c
2719
if ((request & NETIF_F_HW_CSUM) &&
drivers/net/ethernet/cavium/liquidio/lio_main.c
2720
!(lio->dev_capability & NETIF_F_HW_CSUM))
drivers/net/ethernet/cavium/liquidio/lio_main.c
2721
request &= ~NETIF_F_HW_CSUM;
drivers/net/ethernet/cavium/liquidio/lio_main.c
3575
| NETIF_F_HW_CSUM | NETIF_F_SG
drivers/net/ethernet/cavium/liquidio/lio_vf_main.c
1805
if ((request & NETIF_F_HW_CSUM) &&
drivers/net/ethernet/cavium/liquidio/lio_vf_main.c
1806
!(lio->dev_capability & NETIF_F_HW_CSUM))
drivers/net/ethernet/cavium/liquidio/lio_vf_main.c
1807
request &= ~NETIF_F_HW_CSUM;
drivers/net/ethernet/cavium/liquidio/lio_vf_main.c
2087
| NETIF_F_HW_CSUM | NETIF_F_SG
drivers/net/ethernet/cirrus/ep93xx_eth.c
810
dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM;
drivers/net/ethernet/cisco/enic/enic_main.c
2903
netdev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM;
drivers/net/ethernet/cisco/enic/enic_main.c
2920
NETIF_F_HW_CSUM |
drivers/net/ethernet/faraday/ftgmac100.c
2065
netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_HW_CSUM |
drivers/net/ethernet/faraday/ftgmac100.c
2074
netdev->hw_features &= ~NETIF_F_HW_CSUM;
drivers/net/ethernet/faraday/ftgmac100.c
2078
netdev->hw_features &= ~NETIF_F_HW_CSUM;
drivers/net/ethernet/faraday/ftgmac100.c
2081
netdev->hw_features &= ~(NETIF_F_HW_CSUM | NETIF_F_RXCSUM);
drivers/net/ethernet/freescale/enetc/enetc_pf_common.c
113
NETIF_F_HW_CSUM | NETIF_F_TSO | NETIF_F_TSO6 |
drivers/net/ethernet/freescale/enetc/enetc_pf_common.c
118
NETIF_F_HW_CSUM | NETIF_F_TSO | NETIF_F_TSO6 |
drivers/net/ethernet/freescale/enetc/enetc_pf_common.c
120
ndev->vlan_features = NETIF_F_SG | NETIF_F_HW_CSUM |
drivers/net/ethernet/freescale/enetc/enetc_vf.c
269
NETIF_F_HW_CSUM | NETIF_F_TSO | NETIF_F_TSO6 |
drivers/net/ethernet/freescale/enetc/enetc_vf.c
274
NETIF_F_HW_CSUM | NETIF_F_TSO | NETIF_F_TSO6 |
drivers/net/ethernet/freescale/enetc/enetc_vf.c
276
ndev->vlan_features = NETIF_F_SG | NETIF_F_HW_CSUM |
drivers/net/ethernet/fungible/funeth/funeth_main.c
1346
#define VLAN_FEAT (NETIF_F_SG | NETIF_F_HW_CSUM | TSO_FLAGS | \
drivers/net/ethernet/fungible/funeth/funeth_main.c
1753
netdev->hw_features |= NETIF_F_HW_CSUM | TSO_FLAGS;
drivers/net/ethernet/google/gve/gve_main.c
2857
dev->hw_features |= NETIF_F_HW_CSUM;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
3394
netdev->features |= NETIF_F_HW_CSUM;
drivers/net/ethernet/intel/e1000/e1000_main.c
1033
NETIF_F_HW_CSUM |
drivers/net/ethernet/intel/e1000/e1000_main.c
1056
NETIF_F_HW_CSUM |
drivers/net/ethernet/intel/e1000e/netdev.c
7526
NETIF_F_HW_CSUM);
drivers/net/ethernet/intel/e1000e/netdev.c
7566
NETIF_F_HW_CSUM);
drivers/net/ethernet/intel/i40e/i40e_main.c
13659
NETIF_F_HW_CSUM |
drivers/net/ethernet/intel/i40e/i40e_main.c
13702
netdev->mpls_features |= NETIF_F_HW_CSUM;
drivers/net/ethernet/intel/ice/ice_main.c
3525
netdev->mpls_features = NETIF_F_HW_CSUM |
drivers/net/ethernet/intel/ice/ice_main.c
3562
netdev->hw_features |= NETIF_F_HW_CSUM;
drivers/net/ethernet/intel/ice/ice_main.c
6517
((features & NETIF_F_HW_CSUM) && (features & NETIF_F_ALL_TSO))) {
drivers/net/ethernet/intel/ice/ice_main.c
6518
if (netdev->features & NETIF_F_HW_CSUM)
drivers/net/ethernet/intel/ice/ice_txrx.c
1742
if ((tx_ring->netdev->features & NETIF_F_HW_CSUM) &&
drivers/net/ethernet/intel/igb/igb_main.c
2549
return features & ~(NETIF_F_HW_CSUM |
drivers/net/ethernet/intel/igb/igb_main.c
2558
return features & ~(NETIF_F_HW_CSUM |
drivers/net/ethernet/intel/igb/igb_main.c
3320
NETIF_F_HW_CSUM;
drivers/net/ethernet/intel/igb/igb_main.c
3350
netdev->mpls_features |= NETIF_F_HW_CSUM;
drivers/net/ethernet/intel/igbvf/netdev.c
2647
return features & ~(NETIF_F_HW_CSUM |
drivers/net/ethernet/intel/igbvf/netdev.c
2655
return features & ~(NETIF_F_HW_CSUM |
drivers/net/ethernet/intel/igbvf/netdev.c
2779
NETIF_F_HW_CSUM |
drivers/net/ethernet/intel/igbvf/netdev.c
2796
netdev->mpls_features |= NETIF_F_HW_CSUM;
drivers/net/ethernet/intel/igc/igc_main.c
5545
return features & ~(NETIF_F_HW_CSUM |
drivers/net/ethernet/intel/igc/igc_main.c
5553
return features & ~(NETIF_F_HW_CSUM |
drivers/net/ethernet/intel/igc/igc_main.c
7216
netdev->features |= NETIF_F_HW_CSUM;
drivers/net/ethernet/intel/igc/igc_main.c
7244
netdev->mpls_features |= NETIF_F_HW_CSUM;
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
10884
return features & ~(NETIF_F_HW_CSUM |
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
10893
return features & ~(NETIF_F_HW_CSUM |
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
11769
NETIF_F_HW_CSUM;
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
11812
NETIF_F_HW_CSUM;
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
4472
return features & ~(NETIF_F_HW_CSUM |
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
4480
return features & ~(NETIF_F_HW_CSUM |
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
4661
NETIF_F_HW_CSUM |
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
4681
NETIF_F_HW_CSUM;
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
5851
netdev->vlan_features |= NETIF_F_HW_CSUM;
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
5861
netdev->mpls_features |= NETIF_F_HW_CSUM;
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
5892
netdev->hw_enc_features |= NETIF_F_HW_CSUM;
drivers/net/ethernet/meta/fbnic/fbnic_netdev.c
808
NETIF_F_HW_CSUM |
drivers/net/ethernet/microchip/lan743x_main.c
3721
NETIF_F_HW_CSUM | NETIF_F_RXCSUM;
drivers/net/ethernet/myricom/myri10ge/myri10ge.c
690
mgp->features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_TSO;
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c
247
lower_features |= NETIF_F_HW_CSUM;
drivers/net/ethernet/pensando/ionic/ionic_lif.c
1458
if (features & NETIF_F_HW_CSUM)
drivers/net/ethernet/pensando/ionic/ionic_lif.c
1569
NETIF_F_HW_CSUM |
drivers/net/ethernet/pensando/ionic/ionic_lif.c
1603
netdev->hw_enc_features |= NETIF_F_HW_CSUM;
drivers/net/ethernet/qualcomm/emac/emac.c
667
netdev->features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM |
drivers/net/ethernet/qualcomm/emac/emac.c
672
netdev->vlan_features |= NETIF_F_SG | NETIF_F_HW_CSUM |
drivers/net/ethernet/realtek/8139too.c
995
dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_HIGHDMA;
drivers/net/ethernet/renesas/ravb_main.c
2552
if (changed & NETIF_F_HW_CSUM) {
drivers/net/ethernet/renesas/ravb_main.c
2553
if (features & NETIF_F_HW_CSUM)
drivers/net/ethernet/renesas/ravb_main.c
2796
.net_hw_features = NETIF_F_RXCSUM | NETIF_F_HW_CSUM,
drivers/net/ethernet/renesas/ravb_main.c
2797
.net_features = NETIF_F_RXCSUM | NETIF_F_HW_CSUM,
drivers/net/ethernet/renesas/ravb_main.c
2798
.vlan_features = NETIF_F_RXCSUM | NETIF_F_HW_CSUM,
drivers/net/ethernet/renesas/ravb_main.c
489
bool tx_enable = ndev->features & NETIF_F_HW_CSUM;
drivers/net/ethernet/renesas/ravb_main.c
500
ndev->features &= ~NETIF_F_HW_CSUM;
drivers/net/ethernet/sfc/ef100_netdev.c
451
net_dev->vlan_features |= NETIF_F_HW_CSUM | NETIF_F_SG |
drivers/net/ethernet/sfc/ef100_nic.c
1219
#define EF100_OFFLOAD_FEATURES (NETIF_F_HW_CSUM | NETIF_F_RXCSUM | \
drivers/net/ethernet/sfc/ef100_tx.c
178
if (likely(efx->net_dev->features & NETIF_F_HW_CSUM))
drivers/net/ethernet/sfc/efx.c
1105
net_dev->vlan_features |= (NETIF_F_HW_CSUM | NETIF_F_SG |
drivers/net/ethernet/sfc/falcon/efx.c
2892
net_dev->vlan_features |= (NETIF_F_HW_CSUM | NETIF_F_SG |
drivers/net/ethernet/sfc/siena/efx.c
1005
net_dev->vlan_features |= (NETIF_F_HW_CSUM | NETIF_F_SG |
drivers/net/ethernet/sfc/siena/efx.c
999
if (efx->type->offload_features & (NETIF_F_IPV6_CSUM | NETIF_F_HW_CSUM))
drivers/net/ethernet/sun/cassini.c
5037
dev->features |= NETIF_F_HW_CSUM | NETIF_F_SG;
drivers/net/ethernet/sun/ldmvsw.c
248
dev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG;
drivers/net/ethernet/sun/niu.c
9772
dev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXHASH;
drivers/net/ethernet/sun/sungem.c
2971
dev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM;
drivers/net/ethernet/sun/sunhme.c
2470
dev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM;
drivers/net/ethernet/sun/sunvnet.c
304
NETIF_F_HW_CSUM | NETIF_F_SG;
drivers/net/ethernet/ti/am65-cpsw-nuss.c
2794
NETIF_F_HW_CSUM |
drivers/net/ethernet/ti/am65-cpsw-nuss.c
2853
port->ndev->features &= ~NETIF_F_HW_CSUM;
drivers/net/ethernet/via/via-rhine.c
971
dev->features |= NETIF_F_SG|NETIF_F_HW_CSUM;
drivers/net/ethernet/wangxun/txgbe/txgbe_main.c
780
NETIF_F_HW_CSUM;
drivers/net/ethernet/xilinx/ll_temac_main.c
1406
ndev->features |= NETIF_F_HW_CSUM; /* Can checksum all the packets. */
drivers/net/ethernet/xilinx/xilinx_axienet_main.c
2873
ndev->features |= NETIF_F_HW_CSUM;
drivers/net/geneve.c
1741
dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_FRAGLIST;
drivers/net/geneve.c
1746
dev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_FRAGLIST;
drivers/net/ifb.c
290
#define IFB_FEATURES (NETIF_F_HW_CSUM | NETIF_F_SG | NETIF_F_FRAGLIST | \
drivers/net/ipvlan/ipvlan_main.c
115
(NETIF_F_SG | NETIF_F_HW_CSUM | \
drivers/net/ipvlan/ipvlan_main.c
122
(NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_HIGHDMA | NETIF_F_FRAGLIST | \
drivers/net/ipvlan/ipvtap.c
27
#define TUN_OFFLOADS (NETIF_F_HW_CSUM | NETIF_F_TSO_ECN | NETIF_F_TSO | \
drivers/net/loopback.c
181
| NETIF_F_HW_CSUM
drivers/net/macvlan.c
915
(NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_GSO_SOFTWARE | \
drivers/net/macvlan.c
921
(NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_HIGHDMA | NETIF_F_FRAGLIST | \
drivers/net/macvtap.c
52
#define TUN_OFFLOADS (NETIF_F_HW_CSUM | NETIF_F_TSO_ECN | NETIF_F_TSO | \
drivers/net/netdevsim/netdev.c
983
NETIF_F_HW_CSUM |
drivers/net/netdevsim/netdev.c
991
NETIF_F_HW_CSUM |
drivers/net/netkit.c
452
NETIF_F_HW_CSUM |
drivers/net/netkit.c
479
dev->mpls_features = NETIF_F_HW_CSUM | NETIF_F_GSO_SOFTWARE;
drivers/net/tap.c
873
feature_mask = NETIF_F_HW_CSUM;
drivers/net/tun.c
188
#define TUN_USER_FEATURES (NETIF_F_HW_CSUM|NETIF_F_TSO_ECN|NETIF_F_TSO| \
drivers/net/tun.c
2856
features |= NETIF_F_HW_CSUM;
drivers/net/usb/lan78xx.c
3791
dev->net->features |= NETIF_F_HW_CSUM;
drivers/net/veth.c
1730
#define VETH_FEATURES (NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_HW_CSUM | \
drivers/net/veth.c
1763
dev->mpls_features = NETIF_F_HW_CSUM | NETIF_F_GSO_SOFTWARE;
drivers/net/virtio_net.c
6780
dev->hw_features |= NETIF_F_HW_CSUM | NETIF_F_SG;
drivers/net/virtio_net.c
6782
dev->features |= NETIF_F_HW_CSUM | NETIF_F_SG;
drivers/net/vmxnet3/vmxnet3_drv.c
3708
NETIF_F_HW_CSUM | NETIF_F_HW_VLAN_CTAG_TX |
drivers/net/vmxnet3/vmxnet3_drv.c
3717
NETIF_F_HW_CSUM | NETIF_F_HW_VLAN_CTAG_TX |
drivers/net/vmxnet3/vmxnet3_ethtool.c
330
NETIF_F_HW_CSUM | NETIF_F_HW_VLAN_CTAG_TX |
drivers/net/vmxnet3/vmxnet3_ethtool.c
391
NETIF_F_HW_CSUM | NETIF_F_HW_VLAN_CTAG_TX |
drivers/net/vrf.c
1585
dev->features |= NETIF_F_RXCSUM | NETIF_F_HW_CSUM | NETIF_F_SCTP_CRC;
drivers/net/vxlan/vxlan_core.c
3363
dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_FRAGLIST;
drivers/net/vxlan/vxlan_core.c
3369
dev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_FRAGLIST;
drivers/net/wireguard/device.c
277
enum { WG_NETDEV_FEATURES = NETIF_F_HW_CSUM | NETIF_F_RXCSUM |
drivers/net/wireless/ath/ath10k/mac.c
10281
ar->hw->netdev_features = NETIF_F_HW_CSUM;
drivers/net/wireless/ath/ath11k/mac.c
10630
ar->hw->netdev_features = NETIF_F_HW_CSUM;
drivers/net/wireless/ath/ath12k/mac.c
14985
hw->netdev_features = NETIF_F_HW_CSUM;
drivers/net/wireless/ath/wil6210/netdev.c
339
ndev->hw_features = NETIF_F_HW_CSUM | NETIF_F_RXCSUM |
drivers/net/wwan/t7xx/t7xx_netdev.c
240
dev->features |= NETIF_F_HW_CSUM;
drivers/net/wwan/t7xx/t7xx_netdev.c
241
dev->hw_features |= NETIF_F_HW_CSUM;
include/linux/if_vlan.h
809
features &= NETIF_F_SG | NETIF_F_HIGHDMA | NETIF_F_HW_CSUM |
include/linux/netdev_features.h
207
NETIF_F_HW_CSUM)
include/linux/netdev_features.h
258
#define MASTER_UPPER_DEV_VLAN_FEATURES (NETIF_F_HW_CSUM | NETIF_F_SG | \
include/linux/netdev_features.h
263
#define MASTER_UPPER_DEV_ENC_FEATURES (NETIF_F_HW_CSUM | NETIF_F_SG | \
include/linux/netdev_features.h
267
#define MASTER_UPPER_DEV_MPLS_FEATURES (NETIF_F_HW_CSUM | NETIF_F_SG | \
include/linux/netdevice.h
5334
if (features & NETIF_F_HW_CSUM) {
include/linux/netdevice.h
5428
if ((f1 ^ f2) & NETIF_F_HW_CSUM) {
include/linux/netdevice.h
5429
if (f1 & NETIF_F_HW_CSUM)
include/net/net_failover.h
33
#define FAILOVER_VLAN_FEATURES (NETIF_F_HW_CSUM | NETIF_F_SG | \
include/net/net_failover.h
37
#define FAILOVER_ENC_FEATURES (NETIF_F_HW_CSUM | NETIF_F_SG | \
net/8021q/vlan.h
116
return (ret & ~NETIF_F_CSUM_MASK) | NETIF_F_HW_CSUM;
net/8021q/vlan_dev.c
548
dev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG |
net/8021q/vlan_dev.c
649
lower_features |= NETIF_F_HW_CSUM;
net/bridge/br_device.c
24
NETIF_F_GSO_MASK | NETIF_F_HW_CSUM)
net/core/dev.c
10898
bool hw_csum = features & NETIF_F_HW_CSUM;
net/core/dev.c
10907
if ((features & NETIF_F_HW_CSUM) &&
net/core/dev.c
10919
if ((features & NETIF_F_TSO) && !(features & NETIF_F_HW_CSUM) &&
net/core/dev.c
10926
if ((features & NETIF_F_TSO6) && !(features & NETIF_F_HW_CSUM) &&
net/core/dev.c
12794
if (mask & NETIF_F_HW_CSUM)
net/core/dev.c
12802
if (all & NETIF_F_HW_CSUM)
net/core/dev.c
12803
all &= ~(NETIF_F_CSUM_MASK & ~NETIF_F_HW_CSUM);
net/core/dev.c
3939
if (features & NETIF_F_HW_CSUM)
net/core/net_test.c
219
features = NETIF_F_SG | NETIF_F_HW_CSUM;
net/core/pktgen.c
3032
} else if (odev->features & (NETIF_F_HW_CSUM | NETIF_F_IP_CSUM)) {
net/core/pktgen.c
3167
} else if (odev->features & (NETIF_F_HW_CSUM | NETIF_F_IPV6_CSUM)) {
net/core/sock.c
2659
sk->sk_route_caps |= NETIF_F_SG | NETIF_F_HW_CSUM;
net/hsr/hsr_device.c
662
NETIF_F_GSO_MASK | NETIF_F_HW_CSUM |
net/ipv4/gre_offload.c
55
(skb->dev->features & NETIF_F_HW_CSUM));
net/ipv4/ip_gre.c
998
NETIF_F_HW_CSUM)
net/ipv4/ip_output.c
1001
rt->dst.dev->features & (NETIF_F_HW_CSUM | NETIF_F_IP_CSUM) &&
net/ipv4/ipip.c
396
NETIF_F_HW_CSUM)
net/ipv4/udp_offload.c
225
(is_ipv6 ? (NETIF_F_HW_CSUM | NETIF_F_IPV6_CSUM) :
net/ipv4/udp_offload.c
226
(NETIF_F_HW_CSUM | NETIF_F_IP_CSUM))));
net/ipv4/udp_offload.c
239
features |= NETIF_F_HW_CSUM;
net/ipv4/udp_offload.c
682
features |= NETIF_F_HW_CSUM;
net/ipv6/ip6_gre.c
1449
NETIF_F_HW_CSUM)
net/ipv6/ip6_output.c
1539
rt->dst.dev->features & (NETIF_F_IPV6_CSUM | NETIF_F_HW_CSUM))
net/ipv6/ip6_tunnel.c
1892
NETIF_F_HW_CSUM)
net/ipv6/sit.c
1417
NETIF_F_HW_CSUM)
net/ipv6/udp_offload.c
74
features |= NETIF_F_HW_CSUM;
net/mac80211/ieee80211_i.h
2176
NETIF_F_HW_CSUM | NETIF_F_SG | \
net/openvswitch/vport-internal_dev.c
112
NETIF_F_HW_CSUM | NETIF_F_GSO_SOFTWARE |
net/sctp/offload.c
72
segs = skb_segment(skb, (features | NETIF_F_HW_CSUM) & ~NETIF_F_SG);
net/xfrm/xfrm_interface_core.c
759
NETIF_F_HW_CSUM)