Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dnetdev.c175 ndev->hw_features = NETIF_F_HW_CSUM | NETIF_F_RXCSUM | in wil_if_alloc()
180 ndev->features |= ndev->hw_features; in wil_if_alloc()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-main.c717 netdev->hw_features = NETIF_F_SG | in xgbe_probe()
729 netdev->hw_features |= NETIF_F_RXHASH; in xgbe_probe()
737 netdev->features |= netdev->hw_features; in xgbe_probe()
/linux-4.4.14/drivers/net/
Dloopback.c172 dev->hw_features = NETIF_F_ALL_TSO | NETIF_F_UFO; in loopback_setup()
Ddummy.c154 dev->hw_features |= dev->features; in dummy_setup()
Dvirtio_net.c1763 dev->hw_features |= NETIF_F_HW_CSUM | NETIF_F_SG; in virtnet_probe()
1768 dev->hw_features |= NETIF_F_TSO | NETIF_F_UFO in virtnet_probe()
1773 dev->hw_features |= NETIF_F_TSO; in virtnet_probe()
1775 dev->hw_features |= NETIF_F_TSO6; in virtnet_probe()
1777 dev->hw_features |= NETIF_F_TSO_ECN; in virtnet_probe()
1779 dev->hw_features |= NETIF_F_UFO; in virtnet_probe()
1784 dev->features |= dev->hw_features & (NETIF_F_ALL_TSO|NETIF_F_UFO); in virtnet_probe()
Dntb_netdev.c427 ndev->hw_features = ndev->features; in ntb_netdev_probe()
Dveth.c316 dev->hw_features = VETH_FEATURES; in veth_setup()
Dgeneve.c1091 dev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM; in geneve_setup()
1092 dev->hw_features |= NETIF_F_GSO_SOFTWARE; in geneve_setup()
Dxen-netfront.c1313 netdev->hw_features = NETIF_F_SG | in xennet_create_dev()
1323 netdev->features |= netdev->hw_features; in xennet_create_dev()
Dtun.c1707 dev->hw_features = NETIF_F_SG | NETIF_F_FRAGLIST | in tun_set_iff()
1710 dev->features = dev->hw_features; in tun_set_iff()
Dvxlan.c2533 dev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM; in vxlan_setup()
2534 dev->hw_features |= NETIF_F_GSO_SOFTWARE; in vxlan_setup()
2535 dev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX; in vxlan_setup()
Dmacvlan.c803 dev->hw_features |= NETIF_F_LRO; in macvlan_init()
/linux-4.4.14/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.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c2960 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in mlx4_en_init_netdev()
2962 dev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in mlx4_en_init_netdev()
2964 dev->vlan_features = dev->hw_features; in mlx4_en_init_netdev()
2966 dev->hw_features |= NETIF_F_RXCSUM | NETIF_F_RXHASH; in mlx4_en_init_netdev()
2967 dev->features = dev->hw_features | NETIF_F_HIGHDMA | in mlx4_en_init_netdev()
2970 dev->hw_features |= NETIF_F_LOOPBACK | in mlx4_en_init_netdev()
2976 dev->hw_features |= NETIF_F_HW_VLAN_STAG_RX; in mlx4_en_init_netdev()
2984 dev->hw_features |= NETIF_F_HW_VLAN_STAG_TX; in mlx4_en_init_netdev()
2991 dev->hw_features |= NETIF_F_HW_VLAN_STAG_TX; in mlx4_en_init_netdev()
2995 dev->hw_features |= NETIF_F_RXFCS; in mlx4_en_init_netdev()
[all …]
/linux-4.4.14/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.4.14/net/core/
Dethtool.c131 features[i].available = (u32)(dev->hw_features >> (32 * i)); in ethtool_get_features()
179 if (valid & ~dev->hw_features) { in ethtool_set_features()
180 valid &= dev->hw_features; in ethtool_set_features()
286 mask &= dev->hw_features; in ethtool_set_one_feature()
344 if (changed & ~dev->hw_features) in __ethtool_set_flags()
345 return (changed & dev->hw_features) ? -EINVAL : -EOPNOTSUPP; in __ethtool_set_flags()
Ddev.c6649 if (((dev->hw_features | dev->features) & in register_netdevice()
6667 dev->hw_features |= NETIF_F_SOFT_FEATURES; in register_netdevice()
6669 dev->wanted_features = dev->features & dev->hw_features; in register_netdevice()
6672 dev->hw_features |= NETIF_F_NOCACHE_COPY; in register_netdevice()
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c614 if (netdev->hw_features & NETIF_F_RXCSUM) { in nicvf_rcv_pkt_handler()
1541 netdev->hw_features = (NETIF_F_RXCSUM | NETIF_F_IP_CSUM | NETIF_F_SG | in nicvf_probe()
1545 netdev->hw_features |= NETIF_F_RXHASH; in nicvf_probe()
1547 netdev->features |= netdev->hw_features; in nicvf_probe()
1548 netdev->hw_features |= NETIF_F_LOOPBACK; in nicvf_probe()
/linux-4.4.14/drivers/net/ethernet/ibm/
Dibmveth.c1536 netdev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in ibmveth_probe()
1539 netdev->features |= netdev->hw_features; in ibmveth_probe()
1546 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in ibmveth_probe()
1547 netdev->features |= netdev->hw_features; in ibmveth_probe()
1549 netdev->hw_features |= NETIF_F_TSO; in ibmveth_probe()
/linux-4.4.14/drivers/net/xen-netback/
Dinterface.c440 dev->hw_features = NETIF_F_SG | in xenvif_alloc()
443 dev->features = dev->hw_features | NETIF_F_RXCSUM; in xenvif_alloc()
/linux-4.4.14/net/openvswitch/
Dvport-internal_dev.c174 netdev->hw_features = netdev->features & ~NETIF_F_LLTX; in do_setup()
/linux-4.4.14/drivers/net/ethernet/qlogic/qede/
Dqede_main.c1230 u32 hw_features; in qede_init_ndev() local
1246 hw_features = NETIF_F_GRO | NETIF_F_SG | in qede_init_ndev()
1250 ndev->vlan_features = hw_features | NETIF_F_RXHASH | NETIF_F_RXCSUM | in qede_init_ndev()
1252 ndev->features = hw_features | NETIF_F_RXHASH | NETIF_F_RXCSUM | in qede_init_ndev()
1256 ndev->hw_features = hw_features; in qede_init_ndev()
/linux-4.4.14/net/bridge/
Dbr_device.c380 dev->hw_features = COMMON_FEATURES | NETIF_F_HW_VLAN_CTAG_TX | in br_dev_setup()
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
Denic_main.c2735 netdev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM; in enic_probe()
2737 netdev->hw_features |= NETIF_F_TSO | in enic_probe()
2740 netdev->hw_features |= NETIF_F_RXHASH; in enic_probe()
2742 netdev->hw_features |= NETIF_F_RXCSUM; in enic_probe()
2744 netdev->features |= netdev->hw_features; in enic_probe()
2747 netdev->hw_features |= NETIF_F_NTUPLE; in enic_probe()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c2061 netdev->hw_features = netdev->vlan_features; in mlx5e_build_netdev()
2062 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX; in mlx5e_build_netdev()
2063 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in mlx5e_build_netdev()
2064 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_FILTER; in mlx5e_build_netdev()
2066 netdev->features = netdev->hw_features; in mlx5e_build_netdev()
/linux-4.4.14/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.4.14/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.4.14/drivers/infiniband/hw/nes/
Dnes_nic.c1707 netdev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_RXCSUM | NETIF_F_HW_VLAN_CTAG_RX; in nes_netdev_init()
1709 netdev->hw_features |= NETIF_F_TSO; in nes_netdev_init()
1711 netdev->features = netdev->hw_features | NETIF_F_HIGHDMA | NETIF_F_HW_VLAN_CTAG_TX; in nes_netdev_init()
1712 netdev->hw_features |= NETIF_F_LRO; in nes_netdev_init()
/linux-4.4.14/net/ipv4/
Dipip.c293 dev->hw_features |= IPIP_FEATURES; in ipip_tunnel_setup()
Dip_gre.c851 dev->hw_features |= GRE_FEATURES; in __gre_tunnel_init()
856 dev->hw_features |= NETIF_F_GSO_SOFTWARE; in __gre_tunnel_init()
/linux-4.4.14/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.4.14/drivers/net/ethernet/synopsys/
Ddwc_eth_qos.c2867 ndev->hw_features = NETIF_F_SG; in dwceqos_probe()
2870 ndev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in dwceqos_probe()
2873 ndev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in dwceqos_probe()
2876 ndev->hw_features |= NETIF_F_RXCSUM; in dwceqos_probe()
2878 ndev->features = ndev->hw_features; in dwceqos_probe()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c1420 dev->hw_features |= dev->features; in fm10k_alloc_netdev()
1423 dev->hw_features |= NETIF_F_HW_L2FW_DOFFLOAD; in fm10k_alloc_netdev()
Dfm10k_pci.c1729 netdev->hw_features &= ~NETIF_F_GSO_UDP_TUNNEL; in fm10k_sw_init()
/linux-4.4.14/Documentation/networking/
Dnetdev-features.txt21 1. netdev->hw_features set contains features whose state may possibly
/linux-4.4.14/drivers/infiniband/ulp/ipoib/
Dipoib_main.c1802 priv->dev->hw_features = NETIF_F_SG | in ipoib_set_dev_features()
1806 priv->dev->hw_features |= NETIF_F_TSO; in ipoib_set_dev_features()
1808 priv->dev->features |= priv->dev->hw_features; in ipoib_set_dev_features()
/linux-4.4.14/drivers/net/ethernet/cadence/
Dmacb.c2396 dev->hw_features = NETIF_F_SG; in macb_init()
2399 dev->hw_features |= NETIF_F_HW_CSUM | NETIF_F_RXCSUM; in macb_init()
2401 dev->hw_features &= ~NETIF_F_SG; in macb_init()
2402 dev->features = dev->hw_features; in macb_init()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/net/vmxnet3/
Dvmxnet3_drv.c2852 netdev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in vmxnet3_declare_features()
2857 netdev->hw_features |= NETIF_F_HIGHDMA; in vmxnet3_declare_features()
2858 netdev->vlan_features = netdev->hw_features & in vmxnet3_declare_features()
2861 netdev->features = netdev->hw_features | NETIF_F_HW_VLAN_CTAG_FILTER; in vmxnet3_declare_features()
3218 netdev->hw_features |= NETIF_F_RXHASH; in vmxnet3_probe_device()
/linux-4.4.14/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()
Dlan78xx.c2291 dev->net->hw_features = dev->net->features; in lan78xx_bind()
Dr8152.c4168 netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM | NETIF_F_SG | in rtl8152_probe()
/linux-4.4.14/drivers/net/ethernet/aeroflex/
Dgreth.c1526 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | in greth_of_probe()
1528 dev->features = dev->hw_features | NETIF_F_HIGHDMA; in greth_of_probe()
/linux-4.4.14/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.4.14/drivers/net/team/
Dteam.c2076 dev->hw_features = TEAM_VLAN_FEATURES | in team_setup()
2081 dev->hw_features &= ~(NETIF_F_ALL_CSUM & ~NETIF_F_HW_CSUM); in team_setup()
2082 dev->features |= dev->hw_features; in team_setup()
/linux-4.4.14/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.c1790 dev->hw_features = NETIF_F_TSO | NETIF_F_GSO | NETIF_F_GSO_SOFTWARE | in vnet_new()
1792 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.c9726 dev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXHASH; in niu_set_basic_features()
9727 dev->features |= dev->hw_features | NETIF_F_RXCSUM; in niu_set_basic_features()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c4562 bp->dev->hw_features &= ~NETIF_F_NTUPLE; in __bnxt_open_nic()
5673 dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | NETIF_F_SG | in bnxt_init_one()
5681 dev->hw_features |= NETIF_F_NTUPLE; in bnxt_init_one()
5688 dev->vlan_features = dev->hw_features | NETIF_F_HIGHDMA; in bnxt_init_one()
5689 dev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_TX | in bnxt_init_one()
5691 dev->features |= dev->hw_features | NETIF_F_HIGHDMA; in bnxt_init_one()
5741 if (dev->hw_features & NETIF_F_HW_VLAN_CTAG_RX) in bnxt_init_one()
/linux-4.4.14/net/8021q/
Dvlan_dev.c545 dev->hw_features = NETIF_F_ALL_CSUM | NETIF_F_SG | in vlan_dev_init()
/linux-4.4.14/drivers/net/bonding/
Dbond_main.c4158 bond_dev->hw_features = BOND_VLAN_FEATURES | in bond_setup()
4163 bond_dev->hw_features &= ~(NETIF_F_ALL_CSUM & ~NETIF_F_HW_CSUM); in bond_setup()
4164 bond_dev->hw_features |= NETIF_F_GSO_ENCAP_ALL; in bond_setup()
4165 bond_dev->features |= bond_dev->hw_features; in bond_setup()
/linux-4.4.14/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.4.14/drivers/net/ethernet/emulex/benet/
Dbe_main.c3784 netdev->hw_features &= ~(NETIF_F_GSO_UDP_TUNNEL); in be_disable_vxlan_offloads()
5221 netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL; in be_add_vxlan_port()
5356 netdev->hw_features |= NETIF_F_SG | NETIF_F_TSO | NETIF_F_TSO6 | in be_netdev_init()
5360 netdev->hw_features |= NETIF_F_RXHASH; in be_netdev_init()
5362 netdev->features |= netdev->hw_features | in be_netdev_init()
/linux-4.4.14/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.c3185 dev->hw_features = dev->features; in mv643xx_eth_probe()
Dmvneta.c3405 dev->hw_features |= dev->features; in mvneta_probe()
Dmvpp2.c6242 dev->hw_features |= features | NETIF_F_RXCSUM | NETIF_F_GRO; in mvpp2_port_probe()
/linux-4.4.14/drivers/net/ethernet/realtek/
D8139cp.c1977 dev->hw_features |= NETIF_F_RXCSUM; in cp_init_one()
2008 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.c8372 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO | in rtl_init_one()
8386 dev->hw_features &= ~NETIF_F_HW_VLAN_CTAG_RX; in rtl_init_one()
8392 dev->hw_features |= NETIF_F_IPV6_CSUM | NETIF_F_TSO6; in rtl_init_one()
8396 dev->hw_features |= NETIF_F_RXALL; in rtl_init_one()
8397 dev->hw_features |= NETIF_F_RXFCS; in rtl_init_one()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40evf_main.c2148 netdev->hw_features |= netdev->features; in i40evf_process_config()
2149 netdev->hw_features &= ~NETIF_F_RXCSUM; in i40evf_process_config()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbnx2.c7736 dev->vlan_features |= (dev->hw_features & NETIF_F_ALL_TSO); in bnx2_set_features()
8580 dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG | in bnx2_init_one()
8585 dev->hw_features |= NETIF_F_IPV6_CSUM | NETIF_F_TSO6; in bnx2_init_one()
8587 dev->vlan_features = dev->hw_features; in bnx2_init_one()
8588 dev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX; in bnx2_init_one()
8589 dev->features |= dev->hw_features; in bnx2_init_one()
8593 dev->hw_features &= ~NETIF_F_HW_VLAN_CTAG_RX; in bnx2_init_one()
Dbgmac.c1679 net_dev->hw_features = net_dev->features; in bgmac_probe()
Dbcmsysport.c1825 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.4.14/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.4.14/drivers/net/hyperv/
Dnetvsc_drv.c1111 net->hw_features = NETIF_F_RXCSUM | NETIF_F_SG | NETIF_F_IP_CSUM | in netvsc_probe()
/linux-4.4.14/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.4.14/drivers/net/ethernet/intel/igbvf/
Dnetdev.c2719 netdev->hw_features = NETIF_F_SG | in igbvf_probe()
2726 netdev->features = netdev->hw_features | in igbvf_probe()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c2775 netdev->hw_features = NETIF_F_SG | TSO_FLAGS | in cxgb4vf_pci_probe()
2781 netdev->features = netdev->hw_features | in cxgb4vf_pci_probe()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_fcoe.c1505 netdev->hw_features |= netdev->features; in i40e_fcoe_config_netdev()
Di40e_main.c8660 netdev->hw_features |= netdev->features; in i40e_config_netdev()
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c2532 netdev->hw_features = NETIF_F_SG | in atl1c_init_netdev()
2537 netdev->features = netdev->hw_features | in atl1c_init_netdev()
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c2914 ndev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in stmmac_dvr_probe()
2916 ndev->features |= ndev->hw_features | NETIF_F_HIGHDMA; in stmmac_dvr_probe()
/linux-4.4.14/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.4.14/include/linux/
Dnetdevice.h1579 netdev_features_t hw_features; member
3747 return (dev->features & ~dev->hw_features) | dev->wanted_features; in netdev_get_wanted_features()
/linux-4.4.14/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.4.14/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.4.14/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.c2296 netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM; in spider_net_setup_netdev()
/linux-4.4.14/drivers/net/ethernet/tile/
Dtilepro.c2271 dev->hw_features |= features; in tile_net_setup()
Dtilegx.c2184 dev->hw_features |= features; in tile_net_setup()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dmain.c1310 dev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_RXCSUM; in init_netdev()
/linux-4.4.14/drivers/net/ethernet/intel/
De100.c2855 netdev->hw_features |= NETIF_F_RXFCS; in e100_probe()
2857 netdev->hw_features |= NETIF_F_RXALL; in e100_probe()
/linux-4.4.14/drivers/net/ethernet/ibm/emac/
Dcore.c2853 ndev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG; in emac_probe()
2854 ndev->features |= ndev->hw_features | NETIF_F_RXCSUM; in emac_probe()
/linux-4.4.14/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c1481 ndev->hw_features = ndev->features; in xgene_enet_probe()
/linux-4.4.14/drivers/net/ethernet/atheros/alx/
Dmain.c1344 netdev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM; in alx_probe()
/linux-4.4.14/drivers/net/ethernet/sgi/
Dioc3-eth.c1329 dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM; in ioc3_probe()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c4812 netdev->hw_features = NETIF_F_SG | TSO_FLAGS | in init_one()
4817 netdev->hw_features |= NETIF_F_HIGHDMA; in init_one()
4818 netdev->features |= netdev->hw_features; in init_one()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/
Dqlge_main.c4764 ndev->hw_features = NETIF_F_SG | in qlge_probe()
4772 ndev->features = ndev->hw_features; in qlge_probe()
4773 ndev->vlan_features = ndev->hw_features; in qlge_probe()
/linux-4.4.14/drivers/net/ethernet/nvidia/
Dforcedeth.c5710 dev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_SG | in nv_probe()
5717 dev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX | in nv_probe()
5721 dev->features |= dev->hw_features; in nv_probe()
5724 dev->hw_features |= NETIF_F_LOOPBACK; in nv_probe()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c4013 netdev->hw_features = NETIF_F_SG | in ixgbevf_probe()
4020 netdev->features = netdev->hw_features | in ixgbevf_probe()
/linux-4.4.14/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.4.14/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.4.14/drivers/net/ethernet/freescale/
Dgianfar.c1362 dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG | in gfar_probe()
1369 dev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX | in gfar_probe()
Dfec_main.c3237 ndev->hw_features = ndev->features; in fec_enet_init()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c12343 bp->dev->hw_features &= ~NETIF_F_LRO; in bnx2x_init_bp()
13190 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in bnx2x_init_dev()
13195 dev->hw_features |= NETIF_F_GSO_GRE | NETIF_F_GSO_UDP_TUNNEL | in bnx2x_init_dev()
13213 dev->hw_features |= NETIF_F_HW_VLAN_CTAG_FILTER; in bnx2x_init_dev()
13216 dev->hw_features |= NETIF_F_HW_VLAN_CTAG_FILTER; in bnx2x_init_dev()
13220 dev->features |= dev->hw_features | NETIF_F_HW_VLAN_CTAG_RX; in bnx2x_init_dev()
13224 dev->hw_features |= NETIF_F_LOOPBACK; in bnx2x_init_dev()
/linux-4.4.14/net/ipv6/
Dsit.c1372 dev->hw_features |= SIT_FEATURES; in ipip6_tunnel_setup()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c8780 netdev->hw_features = netdev->features | NETIF_F_HW_L2FW_DOFFLOAD; in ixgbe_probe()
8788 netdev->hw_features |= NETIF_F_SCTP_CSUM | in ixgbe_probe()
8795 netdev->hw_features |= NETIF_F_RXALL; in ixgbe_probe()
8855 netdev->hw_features |= NETIF_F_LRO; in ixgbe_probe()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbnad.c3459 netdev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in bnad_netdev_init()
3468 netdev->features |= netdev->hw_features | NETIF_F_HW_VLAN_CTAG_FILTER; in bnad_netdev_init()
/linux-4.4.14/drivers/net/ethernet/ti/
Dnetcp_core.c1878 ndev->hw_features = ndev->features; in netcp_create_interface()
/linux-4.4.14/drivers/net/ethernet/tehuti/
Dtehuti.c2023 ndev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG | in bdx_probe()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_main.c2361 netdev->hw_features |= netdev->features; in igb_probe()
2362 netdev->hw_features |= NETIF_F_RXALL; in igb_probe()
2381 netdev->hw_features |= NETIF_F_SCTP_CSUM; in igb_probe()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dnetdev.c7126 netdev->hw_features = netdev->features; in e1000_probe()
7127 netdev->hw_features |= NETIF_F_RXFCS; in e1000_probe()
7129 netdev->hw_features |= NETIF_F_RXALL; in e1000_probe()
/linux-4.4.14/drivers/s390/net/
Dqeth_l2_main.c1121 card->dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM; in qeth_l2_setup_netdev()
Dqeth_l3_main.c3190 card->dev->hw_features = NETIF_F_SG | in qeth_l3_setup_netdev()
/linux-4.4.14/drivers/net/ethernet/atheros/atlx/
Datl2.c1415 netdev->hw_features = 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.4.14/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.4.14/drivers/net/ethernet/sfc/
Defx.c3133 net_dev->hw_features = net_dev->features & ~NETIF_F_HIGHDMA; in efx_pci_probe()
/linux-4.4.14/drivers/net/ethernet/via/
Dvia-velocity.c2864 netdev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG | in velocity_probe()
/linux-4.4.14/drivers/net/ethernet/
Djme.c3050 netdev->hw_features = NETIF_F_IP_CSUM | in jme_init_one()
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c3288 netdev->hw_features = lio->dev_capability; in setup_nic_devices()
/linux-4.4.14/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c3387 dev->hw_features |= NETIF_F_SG | NETIF_F_IP_CSUM | in bcmgenet_probe()
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/
Dehea_main.c3035 dev->hw_features = NETIF_F_SG | NETIF_F_TSO | in ehea_setup_single_port()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c2342 netdev->hw_features = netdev->features; in qlcnic_setup_netdev()