Lines Matching refs:netdev
68 int cxgb_fcoe_enable(struct net_device *netdev) in cxgb_fcoe_enable() argument
70 struct port_info *pi = netdev_priv(netdev); in cxgb_fcoe_enable()
82 netdev->features |= NETIF_F_FCOE_CRC; in cxgb_fcoe_enable()
83 netdev->vlan_features |= NETIF_F_FCOE_CRC; in cxgb_fcoe_enable()
84 netdev->features |= NETIF_F_FCOE_MTU; in cxgb_fcoe_enable()
85 netdev->vlan_features |= NETIF_F_FCOE_MTU; in cxgb_fcoe_enable()
87 netdev_features_change(netdev); in cxgb_fcoe_enable()
100 int cxgb_fcoe_disable(struct net_device *netdev) in cxgb_fcoe_disable() argument
102 struct port_info *pi = netdev_priv(netdev); in cxgb_fcoe_disable()
113 netdev->features &= ~NETIF_F_FCOE_CRC; in cxgb_fcoe_disable()
114 netdev->vlan_features &= ~NETIF_F_FCOE_CRC; in cxgb_fcoe_disable()
115 netdev->features &= ~NETIF_F_FCOE_MTU; in cxgb_fcoe_disable()
116 netdev->vlan_features &= ~NETIF_F_FCOE_MTU; in cxgb_fcoe_disable()
118 netdev_features_change(netdev); in cxgb_fcoe_disable()