/openbmc/linux/drivers/net/usb/ |
H A D | aqc111.h | 28 #define AQ_SUPPORT_FEATURE (NETIF_F_SG | NETIF_F_IP_CSUM |\ 33 #define AQ_SUPPORT_HW_FEATURE (NETIF_F_SG | NETIF_F_IP_CSUM |\ 37 #define AQ_SUPPORT_VLAN_FEATURE (NETIF_F_SG | NETIF_F_IP_CSUM |\
|
H A D | smsc95xx.c | 643 if (features & NETIF_F_IP_CSUM) in smsc95xx_set_features() 1126 dev->net->features |= NETIF_F_IP_CSUM; in smsc95xx_bind() 1130 dev->net->hw_features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM; in smsc95xx_bind()
|
H A D | aqc111.c | 574 if (changed & NETIF_F_IP_CSUM) { in aqc111_set_features() 891 if (dev->net->features & NETIF_F_IP_CSUM) in aqc111_configure_csum_offload()
|
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-main.c | 346 NETIF_F_IP_CSUM | in xgbe_config_netdev() 361 NETIF_F_IP_CSUM | in xgbe_config_netdev() 377 NETIF_F_IP_CSUM | in xgbe_config_netdev()
|
/openbmc/linux/include/linux/ |
H A D | netdev_features.h | 121 #define NETIF_F_IP_CSUM __NETIF_F(IP_CSUM) macro 211 #define NETIF_F_CSUM_MASK (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | \
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_repr.c | 246 if (lower_features & (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM)) in nfp_repr_fix_features() 346 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in nfp_repr_init()
|
H A D | nfp_net_common.c | 1826 if (changed & (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM)) { in nfp_net_set_features() 1827 if (features & (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM)) in nfp_net_set_features() 2506 netdev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in nfp_net_netdev_init()
|
/openbmc/linux/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-common.c | 185 netdev->hw_features |= NETIF_F_IP_CSUM; in xlgmac_init() 188 netdev->hw_features = NETIF_F_IP_CSUM; in xlgmac_init()
|
/openbmc/linux/drivers/net/xen-netback/ |
H A D | interface.c | 374 features &= ~NETIF_F_IP_CSUM; in xenvif_fix_features() 526 NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in xenvif_alloc()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-config.h | 87 #define IWL_TX_CSUM_NETIF_FLAGS (NETIF_F_IPV6_CSUM | NETIF_F_IP_CSUM |\
|
/openbmc/linux/drivers/net/ethernet/qualcomm/rmnet/ |
H A D | rmnet_vnd.c | 315 rmnet_dev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in rmnet_vnd_newlink()
|
H A D | rmnet_map_data.c | 442 (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM)))) in rmnet_map_v4_checksum_uplink_packet()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_hw.c | 1029 features |= NETIF_F_RXCSUM | NETIF_F_IP_CSUM | in qlcnic_process_flags() 1045 NETIF_F_IP_CSUM | in qlcnic_process_flags() 1069 NETIF_F_IP_CSUM | in qlcnic_fix_features()
|
/openbmc/linux/include/net/ |
H A D | udp.h | 474 features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in udp_rcv_segment()
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_netdev.c | 1560 dev->features |= NETIF_F_IP_CSUM | in fm10k_alloc_netdev() 1571 dev->hw_enc_features = NETIF_F_IP_CSUM | in fm10k_alloc_netdev()
|
/openbmc/linux/drivers/net/ethernet/sgi/ |
H A D | ioc3-eth.c | 929 dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM; in ioc3eth_probe() 930 dev->features = NETIF_F_IP_CSUM | NETIF_F_HIGHDMA; in ioc3eth_probe()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cxgb2.c | 1034 netdev->hw_features |= NETIF_F_SG | NETIF_F_IP_CSUM | in init_one() 1036 netdev->features |= NETIF_F_SG | NETIF_F_IP_CSUM | in init_one()
|
/openbmc/linux/drivers/net/ethernet/realtek/ |
H A D | 8139cp.c | 1993 dev->features |= NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO | in cp_init_one() 1999 dev->hw_features |= NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO | in cp_init_one() 2001 dev->vlan_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO | in cp_init_one()
|
/openbmc/linux/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_net.c | 1467 netdev->hw_features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM; in gelic_net_setup_netdev() 1469 netdev->features = NETIF_F_IP_CSUM; in gelic_net_setup_netdev()
|
/openbmc/linux/drivers/net/ethernet/xilinx/ |
H A D | ll_temac_main.c | 1405 ndev->features |= NETIF_F_IP_CSUM; /* Can checksum TCP/UDP over IPv4. */ in temac_probe() 1486 ndev->features |= NETIF_F_IP_CSUM; in temac_probe()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | core.c | 616 ndev->features |= NETIF_F_IP_CSUM; in brcmf_netdev_open() 618 ndev->features &= ~NETIF_F_IP_CSUM; in brcmf_netdev_open()
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_main.c | 923 netdev->hw_features = NETIF_F_SG | NETIF_F_HIGHDMA | NETIF_F_IP_CSUM | in netdev_features_init() 933 netdev->hw_enc_features = NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | NETIF_F_SCTP_CRC | in netdev_features_init()
|
/openbmc/linux/Documentation/networking/ |
H A D | netdev-features.rst | 110 Note: NETIF_F_HW_CSUM is a superset of NETIF_F_IP_CSUM + NETIF_F_IPV6_CSUM.
|
/openbmc/linux/drivers/net/ethernet/wangxun/ngbe/ |
H A D | ngbe_main.c | 568 netdev->features = NETIF_F_SG | NETIF_F_IP_CSUM | in ngbe_probe()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_enet.c | 2333 ndev->features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in hns_nic_dev_probe() 2337 NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | NETIF_F_RXCSUM; in hns_nic_dev_probe() 2345 ndev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in hns_nic_dev_probe()
|