Home
last modified time | relevance | path

Searched refs:hw_features (Results 1 – 113 of 113) sorted by relevance

/linux-4.1.27/drivers/net/wireless/ath/wil6210/
Dnetdev.c171 ndev->hw_features = NETIF_F_HW_CSUM | NETIF_F_RXCSUM | in wil_if_alloc()
173 ndev->features |= ndev->hw_features; in wil_if_alloc()
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
Dxgbe-main.c469 netdev->hw_features = NETIF_F_SG | in xgbe_probe()
481 netdev->hw_features |= NETIF_F_RXHASH; in xgbe_probe()
489 netdev->features |= netdev->hw_features; in xgbe_probe()
/linux-4.1.27/drivers/net/
Dloopback.c173 dev->hw_features = NETIF_F_ALL_TSO | NETIF_F_UFO; in loopback_setup()
Dvirtio_net.c1759 dev->hw_features |= NETIF_F_HW_CSUM | NETIF_F_SG; in virtnet_probe()
1764 dev->hw_features |= NETIF_F_TSO | NETIF_F_UFO in virtnet_probe()
1769 dev->hw_features |= NETIF_F_TSO; in virtnet_probe()
1771 dev->hw_features |= NETIF_F_TSO6; in virtnet_probe()
1773 dev->hw_features |= NETIF_F_TSO_ECN; in virtnet_probe()
1775 dev->hw_features |= NETIF_F_UFO; in virtnet_probe()
1780 dev->features |= dev->hw_features & (NETIF_F_ALL_TSO|NETIF_F_UFO); in virtnet_probe()
Dntb_netdev.c343 ndev->hw_features = ndev->features; in ntb_netdev_probe()
Dveth.c314 dev->hw_features = VETH_FEATURES; in veth_setup()
Dxen-netfront.c1266 netdev->hw_features = NETIF_F_SG | in xennet_create_dev()
1276 netdev->features |= netdev->hw_features; in xennet_create_dev()
Dtun.c1662 dev->hw_features = NETIF_F_SG | NETIF_F_FRAGLIST | in tun_set_iff()
1665 dev->features = dev->hw_features; in tun_set_iff()
Dvxlan.c2368 dev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM; in vxlan_setup()
2369 dev->hw_features |= NETIF_F_GSO_SOFTWARE; in vxlan_setup()
2370 dev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX; in vxlan_setup()
Dmacvlan.c801 dev->hw_features |= NETIF_F_LRO; in macvlan_init()
/linux-4.1.27/net/hsr/
Dhsr_device.c399 dev->hw_features = NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_HIGHDMA | in hsr_dev_setup()
403 dev->features = dev->hw_features; in hsr_dev_setup()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c193 if (adapter->port[0].dev->hw_features & NETIF_F_TSO) in enable_hw_csum()
1077 netdev->hw_features |= NETIF_F_SG | NETIF_F_IP_CSUM | in init_one()
1088 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in init_one()
1092 netdev->hw_features |= NETIF_F_TSO; in init_one()
1098 netdev->hard_header_len += (netdev->hw_features & NETIF_F_TSO) ? in init_one()
Dsge.c920 if (sge->adapter->port[0].dev->hw_features & NETIF_F_TSO) in t1_sge_intr_enable()
943 if (adapter->port[0].dev->hw_features & NETIF_F_TSO) in t1_sge_intr_error_handler()
/linux-4.1.27/net/core/
Dethtool.c125 features[i].available = (u32)(dev->hw_features >> (32 * i)); in ethtool_get_features()
173 if (valid & ~dev->hw_features) { in ethtool_set_features()
174 valid &= dev->hw_features; in ethtool_set_features()
275 mask &= dev->hw_features; in ethtool_set_one_feature()
333 if (changed & ~dev->hw_features) in __ethtool_set_flags()
334 return (changed & dev->hw_features) ? -EINVAL : -EOPNOTSUPP; in __ethtool_set_flags()
Ddev.c6370 if (((dev->hw_features | dev->features) & in register_netdevice()
6388 dev->hw_features |= NETIF_F_SOFT_FEATURES; in register_netdevice()
6390 dev->wanted_features = dev->features & dev->hw_features; in register_netdevice()
6393 dev->hw_features |= NETIF_F_NOCACHE_COPY; in register_netdevice()
/linux-4.1.27/net/openvswitch/
Dvport-internal_dev.c151 netdev->hw_features = netdev->features & ~NETIF_F_LLTX; in do_setup()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c2901 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in mlx4_en_init_netdev()
2903 dev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in mlx4_en_init_netdev()
2905 dev->vlan_features = dev->hw_features; in mlx4_en_init_netdev()
2907 dev->hw_features |= NETIF_F_RXCSUM | NETIF_F_RXHASH; in mlx4_en_init_netdev()
2908 dev->features = dev->hw_features | NETIF_F_HIGHDMA | in mlx4_en_init_netdev()
2911 dev->hw_features |= NETIF_F_LOOPBACK | in mlx4_en_init_netdev()
2915 dev->hw_features |= NETIF_F_RXFCS; in mlx4_en_init_netdev()
2918 dev->hw_features |= NETIF_F_RXALL; in mlx4_en_init_netdev()
2923 dev->hw_features |= NETIF_F_NTUPLE; in mlx4_en_init_netdev()
2940 dev->hw_features |= NETIF_F_GSO_UDP_TUNNEL; in mlx4_en_init_netdev()
/linux-4.1.27/drivers/net/xen-netback/
Dinterface.c426 dev->hw_features = NETIF_F_SG | in xenvif_alloc()
429 dev->features = dev->hw_features | NETIF_F_RXCSUM; in xenvif_alloc()
/linux-4.1.27/drivers/net/ethernet/cisco/enic/
Denic_main.c2621 netdev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM; in enic_probe()
2623 netdev->hw_features |= NETIF_F_TSO | in enic_probe()
2626 netdev->hw_features |= NETIF_F_RXHASH; in enic_probe()
2628 netdev->hw_features |= NETIF_F_RXCSUM; in enic_probe()
2630 netdev->features |= netdev->hw_features; in enic_probe()
2633 netdev->hw_features |= NETIF_F_NTUPLE; in enic_probe()
/linux-4.1.27/net/ipv4/
Dip_gre.c491 dev->hw_features |= GRE_FEATURES; in __gre_tunnel_init()
496 dev->hw_features |= NETIF_F_GSO_SOFTWARE; in __gre_tunnel_init()
Dipip.c295 dev->hw_features |= IPIP_FEATURES; in ipip_tunnel_setup()
/linux-4.1.27/net/bridge/
Dbr_device.c380 dev->hw_features = COMMON_FEATURES | NETIF_F_HW_VLAN_CTAG_TX | in br_dev_setup()
/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()
1378 netdev->hw_features |= NETIF_F_IPV6_CSUM | NETIF_F_TSO6; in netxen_setup_netdev()
1380 netdev->vlan_features |= netdev->hw_features; in netxen_setup_netdev()
1388 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX; in netxen_setup_netdev()
1391 netdev->hw_features |= NETIF_F_LRO; in netxen_setup_netdev()
1393 netdev->features |= netdev->hw_features; in netxen_setup_netdev()
/linux-4.1.27/drivers/net/ethernet/davicom/
Ddm9000.c924 if (dev->hw_features & NETIF_F_RXCSUM) in dm9000_init_dm9000()
1650 ndev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM; in dm9000_probe()
1651 ndev->features |= ndev->hw_features; in dm9000_probe()
/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()
1712 netdev->hw_features |= NETIF_F_TSO; in nes_netdev_init()
1714 netdev->features = netdev->hw_features | NETIF_F_HIGHDMA | NETIF_F_HW_VLAN_CTAG_TX; in nes_netdev_init()
1715 netdev->hw_features |= NETIF_F_LRO; in nes_netdev_init()
/linux-4.1.27/drivers/net/ethernet/calxeda/
Dxgmac.c1800 ndev->hw_features = NETIF_F_SG | NETIF_F_HIGHDMA; in xgmac_probe()
1802 ndev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in xgmac_probe()
1804 ndev->features |= ndev->hw_features; in xgmac_probe()
/linux-4.1.27/drivers/infiniband/ulp/ipoib/
Dipoib_main.c1554 priv->dev->hw_features = NETIF_F_SG | in ipoib_set_dev_features()
1558 priv->dev->hw_features |= NETIF_F_TSO; in ipoib_set_dev_features()
1560 priv->dev->features |= priv->dev->hw_features; in ipoib_set_dev_features()
/linux-4.1.27/Documentation/networking/
Dnetdev-features.txt21 1. netdev->hw_features set contains features whose state may possibly
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c1422 dev->hw_features |= dev->features; in fm10k_alloc_netdev()
1425 dev->hw_features |= NETIF_F_HW_L2FW_DOFFLOAD; in fm10k_alloc_netdev()
Dfm10k_pci.c1667 netdev->hw_features &= ~NETIF_F_GSO_UDP_TUNNEL; in fm10k_sw_init()
/linux-4.1.27/drivers/net/vmxnet3/
Dvmxnet3_drv.c2718 netdev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in vmxnet3_declare_features()
2723 netdev->hw_features |= NETIF_F_HIGHDMA; in vmxnet3_declare_features()
2724 netdev->vlan_features = netdev->hw_features & in vmxnet3_declare_features()
2727 netdev->features = netdev->hw_features | NETIF_F_HW_VLAN_CTAG_FILTER; in vmxnet3_declare_features()
3074 netdev->hw_features |= NETIF_F_RXHASH; in vmxnet3_probe_device()
/linux-4.1.27/drivers/net/ethernet/cadence/
Dmacb.c2331 dev->hw_features = NETIF_F_SG; in macb_init()
2334 dev->hw_features |= NETIF_F_HW_CSUM | NETIF_F_RXCSUM; in macb_init()
2336 dev->hw_features &= ~NETIF_F_SG; in macb_init()
2337 dev->features = dev->hw_features; in macb_init()
/linux-4.1.27/drivers/net/wireless/ipw2x00/
Dipw2100.h512 unsigned long hw_features; member
Dipw2100.c1175 if (!(priv->hw_features & HW_FEATURE_RFKILL)) { in rf_kill_active()
1232 priv->hw_features |= HW_FEATURE_RFKILL; in ipw2100_get_hw_features()
1235 (priv->hw_features & HW_FEATURE_RFKILL) ? "" : "not "); in ipw2100_get_hw_features()
/linux-4.1.27/drivers/net/ethernet/altera/
Daltera_tse_main.c1504 ndev->hw_features &= ~NETIF_F_SG; in altera_tse_probe()
1505 ndev->features |= ndev->hw_features | NETIF_F_HIGHDMA; in altera_tse_probe()
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c476 netdev->hw_features = NETIF_F_SG | in ixgb_probe()
481 netdev->features = netdev->hw_features | in ixgb_probe()
483 netdev->hw_features |= NETIF_F_RXCSUM; in ixgb_probe()
/linux-4.1.27/drivers/net/ethernet/aeroflex/
Dgreth.c1528 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | in greth_of_probe()
1530 dev->features = dev->hw_features | NETIF_F_HIGHDMA; in greth_of_probe()
/linux-4.1.27/drivers/net/usb/
Dax88179_178a.c1282 dev->net->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in ax88179_bind()
1573 dev->net->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in ax88179_reset()
Dsmsc95xx.c1130 dev->net->hw_features = NETIF_F_HW_CSUM | NETIF_F_RXCSUM; in smsc95xx_bind()
Dsmsc75xx.c1416 dev->net->hw_features = NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in smsc75xx_bind()
Dr8152.c4002 netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM | NETIF_F_SG | in rtl8152_probe()
/linux-4.1.27/drivers/net/ethernet/ibm/
Dibmveth.c1421 netdev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in ibmveth_probe()
1423 netdev->features |= netdev->hw_features; in ibmveth_probe()
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c2286 netdev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_TSO | in atl1e_init_netdev()
2288 netdev->features = netdev->hw_features | NETIF_F_LLTX | in atl1e_init_netdev()
2291 netdev->hw_features |= NETIF_F_RXALL | NETIF_F_RXFCS; in atl1e_init_netdev()
/linux-4.1.27/drivers/net/team/
Dteam.c2067 dev->hw_features = TEAM_VLAN_FEATURES | in team_setup()
2072 dev->hw_features &= ~(NETIF_F_ALL_CSUM & ~NETIF_F_HW_CSUM); in team_setup()
2073 dev->features |= dev->hw_features; in team_setup()
/linux-4.1.27/drivers/net/ethernet/sun/
Dsunhme.c2825 dev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM; in happy_meal_sbus_probe_one()
2826 dev->features |= dev->hw_features | NETIF_F_RXCSUM; in happy_meal_sbus_probe_one()
3140 dev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM; in happy_meal_pci_probe()
3141 dev->features |= dev->hw_features | NETIF_F_RXCSUM; in happy_meal_pci_probe()
Dsunvnet.c1789 dev->hw_features = NETIF_F_TSO | NETIF_F_GSO | NETIF_F_GSO_SOFTWARE | in vnet_new()
1791 dev->features = dev->hw_features; in vnet_new()
Dsungem.c2976 dev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM; in gem_init_one()
2977 dev->features |= dev->hw_features | NETIF_F_RXCSUM; in gem_init_one()
Dniu.c9728 dev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXHASH; in niu_set_basic_features()
9729 dev->features |= dev->hw_features | NETIF_F_RXCSUM; in niu_set_basic_features()
/linux-4.1.27/net/8021q/
Dvlan_dev.c545 dev->hw_features = NETIF_F_ALL_CSUM | NETIF_F_SG | in vlan_dev_init()
/linux-4.1.27/drivers/net/bonding/
Dbond_main.c4138 bond_dev->hw_features = BOND_VLAN_FEATURES | in bond_setup()
4143 bond_dev->hw_features &= ~(NETIF_F_ALL_CSUM & ~NETIF_F_HW_CSUM); in bond_setup()
4144 bond_dev->hw_features |= NETIF_F_GSO_ENCAP_ALL; in bond_setup()
4145 bond_dev->features |= bond_dev->hw_features; in bond_setup()
/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()
/linux-4.1.27/drivers/net/ethernet/realtek/
D8139cp.c1962 dev->hw_features |= NETIF_F_RXCSUM; in cp_init_one()
1993 dev->hw_features |= NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO | in cp_init_one()
D8139too.c1022 dev->hw_features |= NETIF_F_RXALL; in rtl8139_init_one()
1023 dev->hw_features |= NETIF_F_RXFCS; in rtl8139_init_one()
Dr8169.c8275 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO | in rtl_init_one()
8289 dev->hw_features &= ~NETIF_F_HW_VLAN_CTAG_RX; in rtl_init_one()
8295 dev->hw_features |= NETIF_F_IPV6_CSUM | NETIF_F_TSO6; in rtl_init_one()
8299 dev->hw_features |= NETIF_F_RXALL; in rtl_init_one()
8300 dev->hw_features |= NETIF_F_RXFCS; in rtl_init_one()
/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()
2143 ndev->features |= ndev->hw_features | NETIF_F_HIGHDMA; in sxgbe_drv_probe()
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40evf_main.c2138 netdev->hw_features |= netdev->features; in i40evf_init_task()
2139 netdev->hw_features &= ~NETIF_F_RXCSUM; in i40evf_init_task()
/linux-4.1.27/drivers/net/ethernet/marvell/
Dsky2.c4775 dev->hw_features |= NETIF_F_RXCSUM; in sky2_init_netdev()
4794 dev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_SG | NETIF_F_TSO; in sky2_init_netdev()
4801 dev->hw_features |= NETIF_F_RXHASH; in sky2_init_netdev()
4804 dev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX | in sky2_init_netdev()
4809 dev->features |= dev->hw_features; in sky2_init_netdev()
Dskge.c3892 dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG | in skge_devinit()
3894 dev->features |= dev->hw_features; in skge_devinit()
Dmv643xx_eth.c3157 dev->hw_features = dev->features; in mv643xx_eth_probe()
Dmvneta.c3158 dev->hw_features |= dev->features; in mvneta_probe()
Dmvpp2.c6141 dev->hw_features |= features | NETIF_F_RXCSUM | NETIF_F_GRO; in mvpp2_port_probe()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_main.c3473 netdev->hw_features &= ~(NETIF_F_GSO_UDP_TUNNEL); in be_disable_vxlan_offloads()
4929 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL; in be_add_vxlan_port()
5036 netdev->hw_features |= NETIF_F_SG | NETIF_F_TSO | NETIF_F_TSO6 | in be_netdev_init()
5040 netdev->hw_features |= NETIF_F_RXHASH; in be_netdev_init()
5042 netdev->features |= netdev->hw_features | in be_netdev_init()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dbnx2.c7718 dev->vlan_features |= (dev->hw_features & NETIF_F_ALL_TSO); in bnx2_set_features()
8555 dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG | in bnx2_init_one()
8560 dev->hw_features |= NETIF_F_IPV6_CSUM | NETIF_F_TSO6; in bnx2_init_one()
8562 dev->vlan_features = dev->hw_features; in bnx2_init_one()
8563 dev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX; in bnx2_init_one()
8564 dev->features |= dev->hw_features; in bnx2_init_one()
8568 dev->hw_features &= ~NETIF_F_HW_VLAN_CTAG_RX; in bnx2_init_one()
Dbgmac.c1661 net_dev->hw_features = net_dev->features; in bgmac_probe()
Dbcmsysport.c1736 dev->hw_features |= NETIF_F_RXCSUM | NETIF_F_HIGHDMA | in bcm_sysport_probe()
Dtg3.c17801 dev->hw_features |= features; in tg3_init_one()
/linux-4.1.27/drivers/net/ethernet/intel/e1000/
De1000_main.c1056 netdev->hw_features = NETIF_F_SG | in e1000_probe()
1065 netdev->hw_features |= NETIF_F_TSO; in e1000_probe()
1069 netdev->features |= netdev->hw_features; in e1000_probe()
1070 netdev->hw_features |= (NETIF_F_RXCSUM | in e1000_probe()
/linux-4.1.27/drivers/net/ethernet/3com/
Dtyphoon.c2447 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO | in typhoon_init_one()
2449 dev->features = dev->hw_features | in typhoon_init_one()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c2774 netdev->hw_features = NETIF_F_SG | TSO_FLAGS | in cxgb4vf_pci_probe()
2780 netdev->features = netdev->hw_features | in cxgb4vf_pci_probe()
/linux-4.1.27/include/linux/
Dnetdevice.h1546 netdev_features_t hw_features; member
3664 return (dev->features & ~dev->hw_features) | dev->wanted_features; in netdev_get_wanted_features()
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/
Dnetdev.c2717 netdev->hw_features = NETIF_F_SG | in igbvf_probe()
2724 netdev->features = netdev->hw_features | in igbvf_probe()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_fcoe.c1505 netdev->hw_features |= netdev->features; in i40e_fcoe_config_netdev()
Di40e_main.c8184 netdev->hw_features |= netdev->features; in i40e_config_netdev()
/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()
2894 ndev->features |= ndev->hw_features | NETIF_F_HIGHDMA; in stmmac_dvr_probe()
/linux-4.1.27/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c2639 netdev->hw_features = NETIF_F_RXCSUM | in pch_gbe_probe()
2641 netdev->features = netdev->hw_features; in pch_gbe_probe()
/linux-4.1.27/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c2522 netdev->hw_features = NETIF_F_SG | in atl1c_init_netdev()
2527 netdev->features = netdev->hw_features | in atl1c_init_netdev()
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c3434 ndev->hw_features = NETIF_F_RXCSUM | NETIF_F_SG | in vxge_device_register()
3439 ndev->hw_features |= NETIF_F_RXHASH; in vxge_device_register()
3441 ndev->features |= ndev->hw_features | in vxge_device_register()
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c4097 netdev->hw_features = mgp->features | NETIF_F_RXCSUM; in myri10ge_probe()
4100 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in myri10ge_probe()
4102 netdev->features = netdev->hw_features; in myri10ge_probe()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dmain.c1310 dev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_RXCSUM; in init_netdev()
/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()
Dspider_net.c2297 netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM; in spider_net_setup_netdev()
/linux-4.1.27/drivers/net/ethernet/tile/
Dtilepro.c2274 dev->hw_features |= features; in tile_net_setup()
Dtilegx.c2183 dev->hw_features |= features; in tile_net_setup()
/linux-4.1.27/drivers/net/ethernet/intel/
De100.c2852 netdev->hw_features |= NETIF_F_RXFCS; in e100_probe()
2854 netdev->hw_features |= NETIF_F_RXALL; in e100_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()
2855 ndev->features |= ndev->hw_features | NETIF_F_RXCSUM; in emac_probe()
/linux-4.1.27/drivers/net/ethernet/sgi/
Dioc3-eth.c1329 dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM; in ioc3_probe()
/linux-4.1.27/drivers/net/ethernet/atheros/alx/
Dmain.c1344 netdev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM; in alx_probe()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/
Dqlge_main.c4754 ndev->hw_features = NETIF_F_SG | in qlge_probe()
4762 ndev->features = ndev->hw_features; in qlge_probe()
4763 ndev->vlan_features = ndev->hw_features; in qlge_probe()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c4585 netdev->hw_features = NETIF_F_SG | TSO_FLAGS | in init_one()
4590 netdev->hw_features |= NETIF_F_HIGHDMA; in init_one()
4591 netdev->features |= netdev->hw_features; in init_one()
/linux-4.1.27/drivers/net/ethernet/nvidia/
Dforcedeth.c5712 dev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_SG | in nv_probe()
5719 dev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX | in nv_probe()
5723 dev->features |= dev->hw_features; in nv_probe()
5726 dev->hw_features |= NETIF_F_LOOPBACK; in nv_probe()
/linux-4.1.27/drivers/net/ethernet/freescale/
Dgianfar.c1402 dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG | in gfar_probe()
1409 dev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX | in gfar_probe()
Dfec_main.c3106 ndev->hw_features = ndev->features; in fec_enet_init()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c3285 netdev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | in init_one()
3287 netdev->features |= netdev->hw_features | in init_one()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c4000 netdev->hw_features = NETIF_F_SG | in ixgbevf_probe()
4007 netdev->features = netdev->hw_features | in ixgbevf_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()
6795 dev->hw_features |= NETIF_F_IPV6_CSUM; in netdev_init()
6797 dev->features |= dev->hw_features; in netdev_init()
/linux-4.1.27/net/ipv6/
Dsit.c1372 dev->hw_features |= SIT_FEATURES; in ipip6_tunnel_setup()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c8527 netdev->hw_features = netdev->features | NETIF_F_HW_L2FW_DOFFLOAD; in ixgbe_probe()
8535 netdev->hw_features |= NETIF_F_SCTP_CSUM | in ixgbe_probe()
8542 netdev->hw_features |= NETIF_F_RXALL; in ixgbe_probe()
8595 netdev->hw_features |= NETIF_F_LRO; in ixgbe_probe()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dbnad.c3445 netdev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in bnad_netdev_init()
3454 netdev->features |= netdev->hw_features | NETIF_F_HW_VLAN_CTAG_FILTER; in bnad_netdev_init()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
Dnetdev.c6905 netdev->hw_features = netdev->features; in e1000_probe()
6906 netdev->hw_features |= NETIF_F_RXFCS; in e1000_probe()
6908 netdev->hw_features |= NETIF_F_RXALL; in e1000_probe()
/linux-4.1.27/drivers/net/ethernet/ti/
Dnetcp_core.c1864 ndev->hw_features = ndev->features; in netcp_create_interface()
/linux-4.1.27/drivers/net/ethernet/tehuti/
Dtehuti.c2023 ndev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG | in bdx_probe()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
Digb_main.c2372 netdev->hw_features |= netdev->features; in igb_probe()
2373 netdev->hw_features |= NETIF_F_RXALL; in igb_probe()
2392 netdev->hw_features |= NETIF_F_SCTP_CSUM; in igb_probe()
/linux-4.1.27/drivers/net/ethernet/atheros/atlx/
Datl2.c1415 netdev->hw_features = NETIF_F_SG | NETIF_F_HW_VLAN_CTAG_RX; in atl2_probe()
Datl1.c3028 netdev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG | NETIF_F_TSO | in atl1_probe()
/linux-4.1.27/drivers/net/ethernet/neterion/
Ds2io.c7918 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | in s2io_init_nic()
7921 dev->features |= dev->hw_features | in s2io_init_nic()
7924 dev->hw_features |= NETIF_F_UFO; in s2io_init_nic()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c12111 bp->dev->hw_features &= ~NETIF_F_LRO; in bnx2x_init_bp()
12783 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in bnx2x_init_dev()
12788 dev->hw_features |= NETIF_F_GSO_GRE | NETIF_F_GSO_UDP_TUNNEL | in bnx2x_init_dev()
12801 dev->features |= dev->hw_features | NETIF_F_HW_VLAN_CTAG_RX; in bnx2x_init_dev()
12805 dev->hw_features |= NETIF_F_LOOPBACK; in bnx2x_init_dev()
/linux-4.1.27/drivers/net/ethernet/sfc/
Defx.c3001 net_dev->hw_features = net_dev->features & ~NETIF_F_HIGHDMA; in efx_pci_probe()
/linux-4.1.27/drivers/net/ethernet/
Djme.c3051 netdev->hw_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()
/linux-4.1.27/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c3129 dev->hw_features |= NETIF_F_SG | NETIF_F_IP_CSUM | in bcmgenet_probe()
/linux-4.1.27/drivers/net/ethernet/ibm/ehea/
Dehea_main.c3035 dev->hw_features = NETIF_F_SG | NETIF_F_TSO | in ehea_setup_single_port()
/linux-4.1.27/drivers/s390/net/
Dqeth_l3_main.c3306 card->dev->hw_features = NETIF_F_SG | in qeth_l3_setup_netdev()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c2332 netdev->hw_features = netdev->features; in qlcnic_setup_netdev()