Home
last modified time | relevance | path

Searched refs:NETIF_F_RXCSUM (Results 1 – 25 of 80) sorted by relevance

1234

/linux-3.4.99/include/linux/
Dnetdev_features.h94 #define NETIF_F_RXCSUM __NETIF_F(RXCSUM) macro
/linux-3.4.99/drivers/net/
Dveth.c131 rcv->features & NETIF_F_RXCSUM) in veth_xmit()
273 dev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG | NETIF_F_RXCSUM; in veth_setup()
Dloopback.c177 | NETIF_F_RXCSUM in loopback_setup()
/linux-3.4.99/drivers/net/ethernet/davicom/
Ddm9000.c585 if (!(changed & NETIF_F_RXCSUM)) in dm9000_set_features()
589 iow(dm, DM9000_RCSR, (features & NETIF_F_RXCSUM) ? RCSR_CSUM : 0); in dm9000_set_features()
892 if (dev->hw_features & NETIF_F_RXCSUM) in dm9000_init_dm9000()
894 (dev->features & NETIF_F_RXCSUM) ? RCSR_CSUM : 0); in dm9000_init_dm9000()
1146 if (dev->features & NETIF_F_RXCSUM) { in dm9000_rx()
1549 ndev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM; in dm9000_probe()
/linux-3.4.99/drivers/net/usb/
Dsmsc95xx.c537 if (features & NETIF_F_RXCSUM) in smsc95xx_set_features()
1007 dev->net->features |= NETIF_F_RXCSUM; in smsc95xx_bind()
1009 dev->net->hw_features = NETIF_F_HW_CSUM | NETIF_F_RXCSUM; in smsc95xx_bind()
1089 if (dev->net->features & NETIF_F_RXCSUM) in smsc95xx_rx_fixup()
1107 if (dev->net->features & NETIF_F_RXCSUM) in smsc95xx_rx_fixup()
Dsmsc75xx.c749 if (features & NETIF_F_RXCSUM) in smsc75xx_set_features()
1055 dev->net->features |= NETIF_F_RXCSUM; in smsc75xx_bind()
1058 NETIF_F_RXCSUM; in smsc75xx_bind()
1085 if (!(dev->net->features & NETIF_F_RXCSUM) || in smsc75xx_rx_csum_offload()
/linux-3.4.99/drivers/net/wireless/ath/ath6kl/
Dmain.c1058 if ((features & NETIF_F_RXCSUM) && in ath6kl_set_features()
1065 dev->features = features & ~NETIF_F_RXCSUM; in ath6kl_set_features()
1068 } else if (!(features & NETIF_F_RXCSUM) && in ath6kl_set_features()
1075 dev->features = features | NETIF_F_RXCSUM; in ath6kl_set_features()
1213 dev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_RXCSUM; in init_netdev()
/linux-3.4.99/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c266 if (changed & (NETIF_F_RXCSUM | NETIF_F_LRO | NETIF_F_HW_VLAN_RX)) { in vmxnet3_set_features()
267 if (features & NETIF_F_RXCSUM) in vmxnet3_set_features()
/linux-3.4.99/drivers/net/ethernet/ibm/
Dibmveth.c742 if (!(features & NETIF_F_RXCSUM)) in ibmveth_fix_features()
838 int rx_csum = !!(features & NETIF_F_RXCSUM); in ibmveth_set_features()
846 dev->features = features & ~(NETIF_F_ALL_CSUM | NETIF_F_RXCSUM); in ibmveth_set_features()
1384 netdev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in ibmveth_probe()
/linux-3.4.99/drivers/net/ethernet/calxeda/
Dxgmac.c983 if (dev->features & NETIF_F_RXCSUM) in xgmac_hw_init()
1504 if (!(changed & NETIF_F_RXCSUM)) in xgmac_set_features()
1508 if (features & NETIF_F_RXCSUM) in xgmac_set_features()
1782 NETIF_F_RXCSUM; in xgmac_probe()
/linux-3.4.99/drivers/s390/net/
Dqeth_l3_main.c1444 if (card->dev->features & NETIF_F_RXCSUM) { in qeth_l3_start_ipa_checksum()
1447 card->dev->features &= ~NETIF_F_RXCSUM; in qeth_l3_start_ipa_checksum()
1980 if (card->dev->features & NETIF_F_RXCSUM) { in qeth_l3_rebuild_skb()
3227 features &= ~NETIF_F_RXCSUM; in qeth_l3_fix_features()
3239 if (!(changed & NETIF_F_RXCSUM)) in qeth_l3_set_features()
3246 err = qeth_l3_set_rx_csum(card, features & NETIF_F_RXCSUM); in qeth_l3_set_features()
3248 dev->features = features ^ NETIF_F_RXCSUM; in qeth_l3_set_features()
3344 NETIF_F_RXCSUM | NETIF_F_IP_CSUM | in qeth_l3_setup_netdev()
3346 card->dev->features = NETIF_F_RXCSUM; in qeth_l3_setup_netdev()
/linux-3.4.99/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_param.c475 dev->features &= ~NETIF_F_RXCSUM; in pch_gbe_check_options()
/linux-3.4.99/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c961 if (netdev->features & NETIF_F_RXCSUM) { in gelic_net_pass_skb_up()
1498 netdev->hw_features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM; in gelic_net_setup_netdev()
1502 netdev->features |= NETIF_F_RXCSUM; in gelic_net_setup_netdev()
Dspider_net.c999 if (netdev->features & NETIF_F_RXCSUM) { in spider_net_pass_skb_up()
2327 netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM; in spider_net_setup_netdev()
2329 netdev->features |= NETIF_F_RXCSUM; in spider_net_setup_netdev()
/linux-3.4.99/drivers/net/ethernet/realtek/
D8139cp.c1448 if (!((dev->features ^ features) & NETIF_F_RXCSUM)) in cp_set_features()
1453 if (features & NETIF_F_RXCSUM) in cp_set_features()
1951 dev->features |= NETIF_F_RXCSUM; in cp_init_one()
1952 dev->hw_features |= NETIF_F_RXCSUM; in cp_init_one()
/linux-3.4.99/drivers/net/ethernet/marvell/
Dsky2.c1286 (sky2->netdev->features & NETIF_F_RXCSUM) in rx_set_checksum()
2704 sky2->netdev->features &= ~NETIF_F_RXCSUM; in sky2_rx_checksum()
2767 if ((dev->features & NETIF_F_RXCSUM) && in sky2_status_intr()
2791 if (likely(dev->features & NETIF_F_RXCSUM)) in sky2_status_intr()
4372 !(features & NETIF_F_RXCSUM) && in sky2_fix_features()
4375 features |= NETIF_F_RXCSUM; in sky2_fix_features()
4386 if ((changed & NETIF_F_RXCSUM) && in sky2_set_features()
4390 (features & NETIF_F_RXCSUM) in sky2_set_features()
4756 dev->hw_features |= NETIF_F_RXCSUM; in sky2_init_netdev()
Dmv643xx_eth.c1597 bool rx_csum = features & NETIF_F_RXCSUM; in mv643xx_eth_set_features()
2935 NETIF_F_RXCSUM | NETIF_F_LRO; in mv643xx_eth_probe()
2936 dev->features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_RXCSUM; in mv643xx_eth_probe()
/linux-3.4.99/drivers/net/ethernet/freescale/
Dgianfar.c362 if (ndev->features & NETIF_F_RXCSUM) in gfar_init_mac()
517 (priv->ndev->features & NETIF_F_RXCSUM) || in gfar_uses_fcb()
1039 NETIF_F_RXCSUM; in gfar_probe()
1041 NETIF_F_RXCSUM | NETIF_F_HIGHDMA; in gfar_probe()
2714 if (dev->features & NETIF_F_RXCSUM) in gfar_process_frame()
/linux-3.4.99/drivers/net/ethernet/sfc/
Drx.c625 if (unlikely(!(efx->net_dev->features & NETIF_F_RXCSUM))) in __efx_rx_packet()
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c1087 NETIF_F_RXCSUM; in init_one()
1089 NETIF_F_RXCSUM | NETIF_F_LLTX; in init_one()
/linux-3.4.99/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c347 if (!(changed & (NETIF_F_RXCSUM|NETIF_F_HW_VLAN_RX))) in ixgb_set_features()
350 adapter->rx_csum = !!(features & NETIF_F_RXCSUM); in ixgb_set_features()
486 netdev->hw_features |= NETIF_F_RXCSUM; in ixgb_probe()
/linux-3.4.99/drivers/net/ethernet/sgi/
Dioc3-eth.c610 if (likely(dev->features & NETIF_F_RXCSUM)) in ioc3_rx()
1329 dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM; in ioc3_probe()
/linux-3.4.99/net/8021q/
Dvlan_dev.c631 features |= NETIF_F_RXCSUM; in vlan_dev_fix_features()
/linux-3.4.99/drivers/net/ethernet/aeroflex/
Dgreth.c908 if (dev->features & NETIF_F_RXCSUM && hw_checksummed(status)) in greth_rx_gbit()
1539 NETIF_F_RXCSUM; in greth_of_probe()
/linux-3.4.99/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c827 features ^= changed & (NETIF_F_ALL_CSUM | NETIF_F_RXCSUM); in qlcnic_fix_features()
830 if (!(features & NETIF_F_RXCSUM)) in qlcnic_fix_features()

1234