Home
last modified time | relevance | path

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

1234

/linux-3.4.99/drivers/net/
Dvirtio_net.c1039 dev->hw_features |= NETIF_F_HW_CSUM|NETIF_F_SG|NETIF_F_FRAGLIST; in virtnet_probe()
1044 dev->hw_features |= NETIF_F_TSO | NETIF_F_UFO in virtnet_probe()
1049 dev->hw_features |= NETIF_F_TSO; in virtnet_probe()
1051 dev->hw_features |= NETIF_F_TSO6; in virtnet_probe()
1053 dev->hw_features |= NETIF_F_TSO_ECN; in virtnet_probe()
1055 dev->hw_features |= NETIF_F_UFO; in virtnet_probe()
1058 dev->features |= dev->hw_features & (NETIF_F_ALL_TSO|NETIF_F_UFO); in virtnet_probe()
Dloopback.c172 dev->hw_features = NETIF_F_ALL_TSO | NETIF_F_UFO; in loopback_setup()
Dveth.c273 dev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG | NETIF_F_RXCSUM; in veth_setup()
Dtun.c1146 dev->hw_features = NETIF_F_SG | NETIF_F_FRAGLIST | in tun_set_iff()
1148 dev->features = dev->hw_features; in tun_set_iff()
/linux-3.4.99/drivers/net/xen-netback/
Dinterface.c279 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO; in xenvif_alloc()
280 dev->features = dev->hw_features; in xenvif_alloc()
/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c1124 dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; in mlx4_en_init_netdev()
1126 dev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in mlx4_en_init_netdev()
1128 dev->vlan_features = dev->hw_features; in mlx4_en_init_netdev()
1130 dev->hw_features |= NETIF_F_RXCSUM | NETIF_F_RXHASH; in mlx4_en_init_netdev()
1131 dev->features = dev->hw_features | NETIF_F_HIGHDMA | in mlx4_en_init_netdev()
1134 dev->hw_features |= NETIF_F_LOOPBACK; in mlx4_en_init_netdev()
/linux-3.4.99/net/core/
Dethtool.c95 features[i].available = (u32)(dev->hw_features >> (32 * i)); in ethtool_get_features()
143 if (valid & ~dev->hw_features) { in ethtool_set_features()
144 valid &= dev->hw_features; in ethtool_set_features()
239 mask &= dev->hw_features; in ethtool_set_one_feature()
286 if (changed & ~dev->hw_features) in __ethtool_set_flags()
287 return (changed & dev->hw_features) ? -EINVAL : -EOPNOTSUPP; in __ethtool_set_flags()
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c195 if (adapter->port[0].dev->hw_features & NETIF_F_TSO) in enable_hw_csum()
1086 netdev->hw_features |= NETIF_F_SG | NETIF_F_IP_CSUM | in init_one()
1096 netdev->hw_features |= NETIF_F_HW_VLAN_RX; in init_one()
1100 netdev->hw_features |= NETIF_F_TSO; in init_one()
1106 netdev->hard_header_len += (netdev->hw_features & NETIF_F_TSO) ? in init_one()
/linux-3.4.99/net/openvswitch/
Dvport-internal_dev.c151 netdev->hw_features = netdev->features & ~NETIF_F_LLTX; in do_setup()
/linux-3.4.99/net/bridge/
Dbr_device.c351 dev->hw_features = NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_HIGHDMA | in br_dev_setup()
/linux-3.4.99/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c1327 netdev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO | in netxen_setup_netdev()
1331 netdev->hw_features |= NETIF_F_IPV6_CSUM | NETIF_F_TSO6; in netxen_setup_netdev()
1333 netdev->vlan_features |= netdev->hw_features; in netxen_setup_netdev()
1341 netdev->hw_features |= NETIF_F_HW_VLAN_TX; in netxen_setup_netdev()
1344 netdev->hw_features |= NETIF_F_LRO; in netxen_setup_netdev()
1346 netdev->features |= netdev->hw_features; in netxen_setup_netdev()
/linux-3.4.99/drivers/net/ethernet/davicom/
Ddm9000.c892 if (dev->hw_features & NETIF_F_RXCSUM) in dm9000_init_dm9000()
1549 ndev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM; in dm9000_probe()
1550 ndev->features |= ndev->hw_features; in dm9000_probe()
/linux-3.4.99/drivers/infiniband/ulp/ipoib/
Dipoib_main.c1170 priv->dev->hw_features = NETIF_F_SG | in ipoib_set_dev_features()
1174 priv->dev->hw_features |= NETIF_F_TSO; in ipoib_set_dev_features()
1176 priv->dev->features |= priv->dev->hw_features; in ipoib_set_dev_features()
/linux-3.4.99/drivers/net/hyperv/
Dnetvsc_drv.c398 net->hw_features = NETIF_F_SG; in netvsc_probe()
/linux-3.4.99/drivers/infiniband/hw/nes/
Dnes_nic.c1714 netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_SG | NETIF_F_IP_CSUM | in nes_netdev_init()
1717 netdev->hw_features |= NETIF_F_TSO; in nes_netdev_init()
1718 netdev->features |= netdev->hw_features; in nes_netdev_init()
1719 netdev->hw_features |= NETIF_F_LRO; in nes_netdev_init()
/linux-3.4.99/drivers/net/ethernet/calxeda/
Dxgmac.c1779 ndev->hw_features = NETIF_F_SG | NETIF_F_HIGHDMA; in xgmac_probe()
1781 ndev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in xgmac_probe()
1783 ndev->features |= ndev->hw_features; in xgmac_probe()
/linux-3.4.99/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c1491 netdev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | in qlcnic_setup_netdev()
1495 netdev->hw_features |= NETIF_F_TSO | NETIF_F_TSO6; in qlcnic_setup_netdev()
1497 netdev->hw_features |= NETIF_F_HIGHDMA; in qlcnic_setup_netdev()
1499 netdev->vlan_features = netdev->hw_features; in qlcnic_setup_netdev()
1502 netdev->hw_features |= NETIF_F_HW_VLAN_TX; in qlcnic_setup_netdev()
1504 netdev->hw_features |= NETIF_F_LRO; in qlcnic_setup_netdev()
1506 netdev->features |= netdev->hw_features | in qlcnic_setup_netdev()
/linux-3.4.99/drivers/net/ethernet/cisco/enic/
Denic_main.c2513 netdev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM; in enic_probe()
2515 netdev->hw_features |= NETIF_F_TSO | in enic_probe()
2518 netdev->hw_features |= NETIF_F_RXCSUM; in enic_probe()
2520 netdev->features |= netdev->hw_features; in enic_probe()
/linux-3.4.99/Documentation/networking/
Dnetdev-features.txt21 1. netdev->hw_features set contains features whose state may possibly
/linux-3.4.99/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c479 netdev->hw_features = NETIF_F_SG | in ixgb_probe()
484 netdev->features = netdev->hw_features | in ixgb_probe()
486 netdev->hw_features |= NETIF_F_RXCSUM; in ixgb_probe()
/linux-3.4.99/drivers/net/ethernet/sun/
Dsunhme.c2777 dev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM; in happy_meal_sbus_probe_one()
2778 dev->features |= dev->hw_features | NETIF_F_RXCSUM; in happy_meal_sbus_probe_one()
3098 dev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM; in happy_meal_pci_probe()
3099 dev->features |= dev->hw_features | NETIF_F_RXCSUM; in happy_meal_pci_probe()
/linux-3.4.99/drivers/net/wireless/ipw2x00/
Dipw2100.h520 unsigned long hw_features; member
/linux-3.4.99/drivers/net/team/
Dteam.c1081 dev->hw_features = NETIF_F_HW_VLAN_TX | in team_setup()
1085 dev->features |= dev->hw_features; in team_setup()
/linux-3.4.99/drivers/net/ethernet/ibm/
Dibmveth.c1384 netdev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in ibmveth_probe()
1386 netdev->features |= netdev->hw_features; in ibmveth_probe()
/linux-3.4.99/drivers/net/vmxnet3/
Dvmxnet3_drv.c2656 netdev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | in vmxnet3_declare_features()
2661 netdev->hw_features |= NETIF_F_HIGHDMA; in vmxnet3_declare_features()
2662 netdev->vlan_features = netdev->hw_features & in vmxnet3_declare_features()
2664 netdev->features = netdev->hw_features | NETIF_F_HW_VLAN_FILTER; in vmxnet3_declare_features()

1234