Home
last modified time | relevance | path

Searched refs:NETIF_F_IP_CSUM (Results 1 – 88 of 88) sorted by relevance

/linux-4.1.27/include/linux/
Dnetdev_features.h97 #define NETIF_F_IP_CSUM __NETIF_F(IP_CSUM) macro
149 #define NETIF_F_V4_CSUM (NETIF_F_GEN_CSUM | NETIF_F_IP_CSUM)
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
Dxgbe-main.c470 NETIF_F_IP_CSUM | in xgbe_probe()
484 NETIF_F_IP_CSUM | in xgbe_probe()
/linux-4.1.27/drivers/net/usb/
Dax88179_178a.c883 if (changed & NETIF_F_IP_CSUM) { in ax88179_set_features()
1279 dev->net->features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in ax88179_bind()
1282 dev->net->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in ax88179_bind()
1570 dev->net->features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in ax88179_reset()
1573 dev->net->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in ax88179_reset()
Dsmsc75xx.c1411 dev->net->features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in smsc75xx_bind()
1416 dev->net->hw_features = NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in smsc75xx_bind()
Dr8152.c3998 netdev->features |= NETIF_F_RXCSUM | NETIF_F_IP_CSUM | NETIF_F_SG | in rtl8152_probe()
4002 netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM | NETIF_F_SG | in rtl8152_probe()
4006 netdev->vlan_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO | in rtl8152_probe()
/linux-4.1.27/drivers/net/xen-netback/
Dinterface.c287 features &= ~NETIF_F_IP_CSUM; in xenvif_fix_features()
427 NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in xenvif_alloc()
/linux-4.1.27/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c198 if (unlikely(!(skb->dev->features & NETIF_F_IP_CSUM))) in xgene_enet_work_msg()
340 if (likely((ndev->features & NETIF_F_IP_CSUM) && in xgene_enet_rx_frame()
1103 ndev->features |= NETIF_F_IP_CSUM | in xgene_enet_probe()
/linux-4.1.27/drivers/net/hyperv/
Dnetvsc_drv.c892 net->hw_features = NETIF_F_RXCSUM | NETIF_F_SG | NETIF_F_IP_CSUM | in netvsc_probe()
895 NETIF_F_IP_CSUM | NETIF_F_TSO; in netvsc_probe()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c1047 features |= NETIF_F_RXCSUM | NETIF_F_IP_CSUM | in qlcnic_process_flags()
1063 NETIF_F_IP_CSUM | in qlcnic_process_flags()
1087 NETIF_F_IP_CSUM | in qlcnic_fix_features()
Dqlcnic_main.c2294 netdev->features |= (NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_RXCSUM | in qlcnic_setup_netdev()
2297 netdev->vlan_features |= (NETIF_F_SG | NETIF_F_IP_CSUM | in qlcnic_setup_netdev()
2323 netdev->hw_enc_features = NETIF_F_IP_CSUM | in qlcnic_setup_netdev()
/linux-4.1.27/drivers/net/ethernet/xilinx/
Dll_temac_main.c1021 ndev->features |= NETIF_F_IP_CSUM; /* Can checksum TCP/UDP over IPv4. */ in temac_of_probe()
1056 ndev->features |= NETIF_F_IP_CSUM; in temac_of_probe()
Dxilinx_axienet_main.c1518 ndev->features |= NETIF_F_IP_CSUM; in axienet_of_probe()
1525 ndev->features |= NETIF_F_IP_CSUM; in axienet_of_probe()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dcore.c653 ndev->features |= NETIF_F_IP_CSUM; in brcmf_netdev_open()
655 ndev->features &= ~NETIF_F_IP_CSUM; in brcmf_netdev_open()
/linux-4.1.27/Documentation/networking/
Dnetdev-features.txt107 Note: NETIF_F_HW_CSUM is a superset of NETIF_F_IP_CSUM + NETIF_F_IPV6_CSUM.
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c1411 dev->features |= NETIF_F_IP_CSUM | in fm10k_alloc_netdev()
1431 dev->hw_enc_features |= NETIF_F_IP_CSUM | in fm10k_alloc_netdev()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dbcmsysport.c165 priv->tsb_en = !!(wanted & (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM)); in bcm_sysport_set_tx_csum()
185 if (changed & (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM)) in bcm_sysport_set_features()
1737 NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in bcm_sysport_probe()
Dbgmac.c1660 net_dev->features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in bgmac_probe()
Dbnx2.c8555 dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG | in bnx2_init_one()
Dtg3.c17760 features |= NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_RXCSUM; in tg3_init_one()
17773 (features & NETIF_F_IP_CSUM)) in tg3_init_one()
/linux-4.1.27/drivers/staging/octeon/
Dethernet.c474 dev->features |= NETIF_F_IP_CSUM; in cvm_oct_common_init()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c1077 netdev->hw_features |= NETIF_F_SG | NETIF_F_IP_CSUM | in init_one()
1079 netdev->features |= NETIF_F_SG | NETIF_F_IP_CSUM | in init_one()
/linux-4.1.27/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c1489 netdev->hw_features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM; in gelic_net_setup_netdev()
1491 netdev->features = NETIF_F_IP_CSUM; in gelic_net_setup_netdev()
Dspider_net.c2297 netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM; in spider_net_setup_netdev()
2300 netdev->features |= NETIF_F_IP_CSUM | NETIF_F_LLTX; in spider_net_setup_netdev()
/linux-4.1.27/drivers/net/ethernet/sgi/
Dioc3-eth.c1329 dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM; in ioc3_probe()
1330 dev->features = NETIF_F_IP_CSUM; in ioc3_probe()
/linux-4.1.27/drivers/net/ethernet/ibm/
Dibmveth.c809 dev->features &= ~NETIF_F_IP_CSUM; in ibmveth_set_csum_offload()
1422 NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in ibmveth_probe()
/linux-4.1.27/drivers/net/ethernet/freescale/
Dgianfar.c433 if (priv->ndev->features & NETIF_F_IP_CSUM) in gfar_mac_tx_config()
1402 dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG | in gfar_probe()
1404 dev->features |= NETIF_F_IP_CSUM | NETIF_F_SG | in gfar_probe()
1420 if (dev->features & NETIF_F_IP_CSUM || in gfar_probe()
Dfec_main.c3096 ndev->features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM in fec_enet_init()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dtxrx.c394 if ((dev->features & NETIF_F_IP_CSUM) && in ath6kl_data_tx()
418 if ((dev->features & NETIF_F_IP_CSUM) && in ath6kl_data_tx()
Dmain.c1310 dev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_RXCSUM; in init_netdev()
/linux-4.1.27/drivers/infiniband/ulp/ipoib/
Dipoib_main.c193 features &= ~(NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO); in ipoib_fix_features()
1555 NETIF_F_IP_CSUM | NETIF_F_RXCSUM; in ipoib_set_dev_features()
/linux-4.1.27/drivers/net/ethernet/sfc/
Dsiena.c1018 .offload_features = (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM |
Dfalcon.c2786 .offload_features = NETIF_F_IP_CSUM,
2889 .offload_features = NETIF_F_IP_CSUM | NETIF_F_RXHASH | NETIF_F_NTUPLE,
Def10.c3709 .offload_features = (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM |
/linux-4.1.27/drivers/net/ethernet/realtek/
D8139cp.c1993 dev->hw_features |= NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO | in cp_init_one()
1995 dev->vlan_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO | in cp_init_one()
Dr8169.c2022 features &= ~NETIF_F_IP_CSUM; in rtl8169_fix_features()
8275 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO | in rtl_init_one()
8278 dev->vlan_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO | in rtl_init_one()
/linux-4.1.27/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c454 desc_64b_en = !!(wanted & (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM)); in bcmgenet_set_tx_csum()
479 if (changed & (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM)) in bcmgenet_set_features()
3129 dev->hw_features |= NETIF_F_SG | NETIF_F_IP_CSUM | in bcmgenet_probe()
/linux-4.1.27/net/core/
Ddev.c6099 (features & (NETIF_F_IP_CSUM|NETIF_F_IPV6_CSUM))) { in netdev_fix_features()
6101 features &= ~(NETIF_F_IP_CSUM|NETIF_F_IPV6_CSUM); in netdev_fix_features()
6111 !(features & NETIF_F_IP_CSUM)) { in netdev_fix_features()
6137 (features & (NETIF_F_IP_CSUM|NETIF_F_IPV6_CSUM)) in netdev_fix_features()
6138 == (NETIF_F_IP_CSUM|NETIF_F_IPV6_CSUM))) { in netdev_fix_features()
/linux-4.1.27/drivers/net/ethernet/tehuti/
Dtehuti.c2019 ndev->features = NETIF_F_IP_CSUM | NETIF_F_SG | NETIF_F_TSO in bdx_probe()
2023 ndev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG | in bdx_probe()
/linux-4.1.27/drivers/net/ethernet/ibm/ehea/
Dehea_main.c3036 NETIF_F_IP_CSUM | NETIF_F_HW_VLAN_CTAG_TX; in ehea_setup_single_port()
3038 NETIF_F_HIGHDMA | NETIF_F_IP_CSUM | in ehea_setup_single_port()
3042 NETIF_F_IP_CSUM; in ehea_setup_single_port()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c2331 priv->dev->hw_enc_features |= NETIF_F_IP_CSUM | NETIF_F_RXCSUM | in mlx4_en_add_vxlan_offloads()
2341 priv->dev->hw_enc_features &= ~(NETIF_F_IP_CSUM | NETIF_F_RXCSUM | in mlx4_en_del_vxlan_offloads()
2901 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in mlx4_en_init_netdev()
/linux-4.1.27/net/dccp/
Dipv6.c501 newsk->sk_route_caps = dst->dev->features & ~(NETIF_F_IP_CSUM | in dccp_v6_request_recv_sock()
/linux-4.1.27/drivers/net/ethernet/faraday/
Dftgmac100.c1215 netdev->features = NETIF_F_IP_CSUM | NETIF_F_GRO; in ftgmac100_probe()
/linux-4.1.27/net/mac80211/
Dmain.c845 feature_whitelist = NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in ieee80211_register_hw()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c2775 NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in cxgb4vf_pci_probe()
2778 NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in cxgb4vf_pci_probe()
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/
Dnetdev.c2718 NETIF_F_IP_CSUM | in igbvf_probe()
2734 netdev->vlan_features |= NETIF_F_IP_CSUM; in igbvf_probe()
/linux-4.1.27/drivers/net/ethernet/marvell/
Dmvneta.c2555 features &= ~(NETIF_F_IP_CSUM | NETIF_F_TSO); in mvneta_fix_features()
3157 dev->features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO; in mvneta_probe()
Dsky2.c1415 #define SKY2_VLAN_OFFLOADS (NETIF_F_IP_CSUM | NETIF_F_SG | NETIF_F_TSO)
4794 dev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_SG | NETIF_F_TSO; in sky2_init_netdev()
Dmv643xx_eth.c3153 dev->features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO; in mv643xx_eth_probe()
Dskge.c3892 dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG | in skge_devinit()
Dmvpp2.c6139 features = NETIF_F_SG | NETIF_F_IP_CSUM; in mvpp2_port_probe()
/linux-4.1.27/drivers/net/ethernet/silan/
Dsc92031.c1441 NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in sc92031_probe()
/linux-4.1.27/drivers/net/ethernet/
Djme.c3051 netdev->hw_features = NETIF_F_IP_CSUM | in jme_init_one()
3057 netdev->features = NETIF_F_IP_CSUM | in jme_init_one()
/linux-4.1.27/drivers/net/ethernet/via/
Dvia-velocity.c2882 netdev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG | in velocity_probe()
2886 NETIF_F_IP_CSUM; in velocity_probe()
/linux-4.1.27/drivers/net/ethernet/3com/
D3c59x.c1458 dev->features |= NETIF_F_IP_CSUM | NETIF_F_SG; in vortex_probe1()
1467 (dev->features & NETIF_F_IP_CSUM) ? "en":"dis"); in vortex_probe1()
Dtyphoon.c2447 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO | in typhoon_init_one()
/linux-4.1.27/drivers/net/ethernet/aeroflex/
Dgreth.c1528 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | in greth_of_probe()
/linux-4.1.27/drivers/net/ethernet/davicom/
Ddm9000.c1650 ndev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM; in dm9000_probe()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c3173 #define VLAN_FEAT (NETIF_F_SG | NETIF_F_IP_CSUM | TSO_FLAGS | \
3285 netdev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | in init_one()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c4001 NETIF_F_IP_CSUM | in ixgbevf_probe()
4014 NETIF_F_IP_CSUM | in ixgbevf_probe()
/linux-4.1.27/drivers/net/ethernet/calxeda/
Dxgmac.c1802 ndev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in xgmac_probe()
/linux-4.1.27/drivers/net/ethernet/dlink/
Ddl2k.c232 dev->features = NETIF_F_IP_CSUM; in rio_probe1()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_main.c4926 netdev->hw_enc_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in be_add_vxlan_port()
5037 NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | NETIF_F_RXCSUM | in be_netdev_init()
5046 NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in be_netdev_init()
/linux-4.1.27/drivers/net/ethernet/pasemi/
Dpasemi_mac.c1754 dev->features = NETIF_F_IP_CSUM | NETIF_F_LLTX | NETIF_F_SG | in pasemi_mac_probe()
/linux-4.1.27/drivers/s390/net/
Dqeth_l3_main.c3188 features &= ~NETIF_F_IP_CSUM; in qeth_l3_fix_features()
3307 NETIF_F_RXCSUM | NETIF_F_IP_CSUM | in qeth_l3_setup_netdev()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dbnad.c3446 NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in bnad_netdev_init()
3451 NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in bnad_netdev_init()
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c2140 ndev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in sxgbe_drv_probe()
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40evf_main.c2121 NETIF_F_IP_CSUM | in i40evf_init_task()
/linux-4.1.27/drivers/net/ethernet/adaptec/
Dstarfire.c703 dev->features |= NETIF_F_IP_CSUM | NETIF_F_SG; in starfire_init_one()
/linux-4.1.27/drivers/net/
Dxen-netfront.c1264 netdev->features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM | in xennet_create_dev()
/linux-4.1.27/drivers/net/ethernet/natsemi/
Dns83820.c2191 ndev->features |= NETIF_F_IP_CSUM;
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes_nic.c1710 netdev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_RXCSUM | NETIF_F_HW_VLAN_CTAG_RX; in nes_netdev_init()
Dnes_cm.c465 if (!(cm_node->netdev->features & NETIF_F_IP_CSUM)) in form_cm_frame()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c4428 #define VLAN_FEAT (NETIF_F_SG | NETIF_F_IP_CSUM | TSO_FLAGS | \
4586 NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in init_one()
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c2892 ndev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in stmmac_dvr_probe()
/linux-4.1.27/drivers/net/ethernet/alteon/
Dacenic.c473 dev->features |= NETIF_F_SG | NETIF_F_IP_CSUM; in acenic_probe_one()
/linux-4.1.27/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c2640 NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in pch_gbe_probe()
/linux-4.1.27/drivers/net/ethernet/ibm/emac/
Dcore.c2854 ndev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG; in emac_probe()
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c1374 netdev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO | in netxen_setup_netdev()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
Digb_main.c2362 NETIF_F_IP_CSUM | in igb_probe()
2380 NETIF_F_IP_CSUM | in igb_probe()
/linux-4.1.27/drivers/net/ethernet/nvidia/
Dforcedeth.c5712 dev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_SG | in nv_probe()
6009 dev->features & (NETIF_F_IP_CSUM | NETIF_F_SG) ? in nv_probe()
/linux-4.1.27/drivers/net/ethernet/qlogic/
Dqla3xxx.c3825 ndev->features |= NETIF_F_IP_CSUM | NETIF_F_SG; in ql3xxx_probe()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c8518 NETIF_F_IP_CSUM | in ixgbe_probe()
8547 netdev->vlan_features |= NETIF_F_IP_CSUM; in ixgbe_probe()
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c3435 NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in vxge_device_register()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c12783 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in bnx2x_init_dev()
12791 NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | NETIF_F_SG | in bnx2x_init_dev()
12798 dev->vlan_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in bnx2x_init_dev()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_main.c8160 netdev->hw_enc_features |= NETIF_F_IP_CSUM | in i40e_config_netdev()
8165 NETIF_F_IP_CSUM | in i40e_config_netdev()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/
Dqlge_main.c4755 NETIF_F_IP_CSUM | in qlge_probe()
/linux-4.1.27/drivers/net/ethernet/micrel/
Dksz884x.c6789 dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG | NETIF_F_RXCSUM; in netdev_init()
/linux-4.1.27/drivers/net/ethernet/neterion/
Ds2io.c7918 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | in s2io_init_nic()