Home
last modified time | relevance | path

Searched full:netdev (Results 1 – 25 of 1877) sorted by relevance

12345678910>>...76

/openbmc/linux/net/core/
H A Ddev_addr_lists_test.c15 static int dev_addr_test_sync(struct net_device *netdev, const unsigned char *a) in dev_addr_test_sync() argument
17 struct dev_addr_test_priv *datp = netdev_priv(netdev); in dev_addr_test_sync()
24 static int dev_addr_test_unsync(struct net_device *netdev, in dev_addr_test_unsync() argument
27 struct dev_addr_test_priv *datp = netdev_priv(netdev); in dev_addr_test_unsync()
37 struct net_device *netdev; in dev_addr_test_init() local
40 netdev = alloc_etherdev(sizeof(*datp)); in dev_addr_test_init()
41 KUNIT_ASSERT_TRUE(test, !!netdev); in dev_addr_test_init()
43 test->priv = netdev; in dev_addr_test_init()
44 netdev->netdev_ops = &dummy_netdev_ops; in dev_addr_test_init()
46 err = register_netdev(netdev); in dev_addr_test_init()
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_repr.c27 nfp_repr_inc_tx_stats(struct net_device *netdev, unsigned int len, in nfp_repr_inc_tx_stats() argument
30 struct nfp_repr *repr = netdev_priv(netdev); in nfp_repr_inc_tx_stats()
46 void nfp_repr_inc_rx_stats(struct net_device *netdev, unsigned int len) in nfp_repr_inc_rx_stats() argument
48 struct nfp_repr *repr = netdev_priv(netdev); in nfp_repr_inc_rx_stats()
90 nfp_repr_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) in nfp_repr_get_stats64() argument
92 struct nfp_repr *repr = netdev_priv(netdev); in nfp_repr_get_stats64()
124 nfp_repr_get_host_stats64(const struct net_device *netdev, in nfp_repr_get_host_stats64() argument
127 struct nfp_repr *repr = netdev_priv(netdev); in nfp_repr_get_host_stats64()
167 static int nfp_repr_change_mtu(struct net_device *netdev, int new_mtu) in nfp_repr_change_mtu() argument
169 struct nfp_repr *repr = netdev_priv(netdev); in nfp_repr_change_mtu()
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_dcbnl.c13 static u8 qede_dcbnl_getstate(struct net_device *netdev) in qede_dcbnl_getstate() argument
15 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getstate()
20 static u8 qede_dcbnl_setstate(struct net_device *netdev, u8 state) in qede_dcbnl_setstate() argument
22 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_setstate()
27 static void qede_dcbnl_getpermhwaddr(struct net_device *netdev, in qede_dcbnl_getpermhwaddr() argument
30 memcpy(perm_addr, netdev->dev_addr, netdev->addr_len); in qede_dcbnl_getpermhwaddr()
33 static void qede_dcbnl_getpgtccfgtx(struct net_device *netdev, int prio, in qede_dcbnl_getpgtccfgtx() argument
37 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getpgtccfgtx()
43 static void qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgtx() argument
46 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getpgbwgcfgtx()
[all …]
/openbmc/qemu/hw/net/
H A Dxen_nic.c72 static void net_tx_response(struct XenNetDev *netdev, netif_tx_request_t *txp, int8_t st) in OBJECT_DECLARE_SIMPLE_TYPE()
74 RING_IDX i = netdev->tx_ring.rsp_prod_pvt; in OBJECT_DECLARE_SIMPLE_TYPE()
78 resp = RING_GET_RESPONSE(&netdev->tx_ring, i); in OBJECT_DECLARE_SIMPLE_TYPE()
84 RING_GET_RESPONSE(&netdev->tx_ring, ++i)->status = NETIF_RSP_NULL; in OBJECT_DECLARE_SIMPLE_TYPE()
88 netdev->tx_ring.rsp_prod_pvt = ++i; in OBJECT_DECLARE_SIMPLE_TYPE()
89 RING_PUSH_RESPONSES_AND_CHECK_NOTIFY(&netdev->tx_ring, notify); in OBJECT_DECLARE_SIMPLE_TYPE()
91 xen_device_notify_event_channel(XEN_DEVICE(netdev), in OBJECT_DECLARE_SIMPLE_TYPE()
92 netdev->event_channel, NULL); in OBJECT_DECLARE_SIMPLE_TYPE()
95 if (i == netdev->tx_ring.req_cons) { in OBJECT_DECLARE_SIMPLE_TYPE()
97 RING_FINAL_CHECK_FOR_REQUESTS(&netdev->tx_ring, more_to_do); in OBJECT_DECLARE_SIMPLE_TYPE()
[all …]
/openbmc/linux/drivers/net/ethernet/litex/
H A Dlitex_liteeth.c42 struct net_device *netdev; member
57 static int liteeth_rx(struct net_device *netdev) in liteeth_rx() argument
59 struct liteeth *priv = netdev_priv(netdev); in liteeth_rx()
71 skb = netdev_alloc_skb_ip_align(netdev, len); in liteeth_rx()
73 netdev_err(netdev, "couldn't get memory\n"); in liteeth_rx()
79 skb->protocol = eth_type_trans(skb, netdev); in liteeth_rx()
81 dev_sw_netstats_rx_add(netdev, len); in liteeth_rx()
86 netdev->stats.rx_dropped++; in liteeth_rx()
87 netdev->stats.rx_errors++; in liteeth_rx()
94 struct net_device *netdev = dev_id; in liteeth_interrupt() local
[all …]
/openbmc/qemu/net/
H A Dclients.h29 int net_init_dump(const Netdev *netdev, const char *name,
33 int net_init_slirp(const Netdev *netdev, const char *name,
37 int net_init_hubport(const Netdev *netdev, const char *name,
40 int net_init_socket(const Netdev *netdev, const char *name,
43 int net_init_stream(const Netdev *netdev, const char *name,
46 int net_init_dgram(const Netdev *netdev, const char *name,
49 int net_init_tap(const Netdev *netdev, const char *name,
52 int net_init_bridge(const Netdev *netdev, const char *name,
55 int net_init_l2tpv3(const Netdev *netdev, const char *name,
58 int net_init_vde(const Netdev *netdev, const char *name,
[all …]
/openbmc/linux/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_netdev.c50 * netdev functionality.
64 static void opa_vnic_get_stats64(struct net_device *netdev, in opa_vnic_get_stats64() argument
67 struct opa_vnic_adapter *adapter = opa_vnic_priv(netdev); in opa_vnic_get_stats64()
72 adapter->rn_ops->ndo_get_stats64(netdev, &vstats.netstats); in opa_vnic_get_stats64()
79 struct net_device *netdev) in opa_netdev_start_xmit() argument
81 struct opa_vnic_adapter *adapter = opa_vnic_priv(netdev); in opa_netdev_start_xmit()
93 return adapter->rn_ops->ndo_start_xmit(skb, netdev); in opa_netdev_start_xmit()
96 static u16 opa_vnic_select_queue(struct net_device *netdev, struct sk_buff *skb, in opa_vnic_select_queue() argument
99 struct opa_vnic_adapter *adapter = opa_vnic_priv(netdev); in opa_vnic_select_queue()
107 rc = adapter->rn_ops->ndo_select_queue(netdev, skb, sb_dev); in opa_vnic_select_queue()
[all …]
/openbmc/linux/net/openvswitch/
H A Dvport-internal_dev.c19 #include "vport-netdev.h"
27 static struct internal_dev *internal_dev_priv(struct net_device *netdev) in internal_dev_priv() argument
29 return netdev_priv(netdev); in internal_dev_priv()
34 internal_dev_xmit(struct sk_buff *skb, struct net_device *netdev) in internal_dev_xmit() argument
42 err = ovs_vport_receive(internal_dev_priv(netdev)->vport, skb, NULL); in internal_dev_xmit()
46 dev_sw_netstats_tx_add(netdev, 1, len); in internal_dev_xmit()
48 netdev->stats.tx_errors++; in internal_dev_xmit()
53 static int internal_dev_open(struct net_device *netdev) in internal_dev_open() argument
55 netif_start_queue(netdev); in internal_dev_open()
59 static int internal_dev_stop(struct net_device *netdev) in internal_dev_stop() argument
[all …]
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0019-Adjust-for-musl-headers.patch14 src/network/netdev/bareudp.c | 2 +-
15 src/network/netdev/batadv.c | 2 +-
16 src/network/netdev/bond.c | 2 +-
17 src/network/netdev/bridge.c | 3 ++-
18 src/network/netdev/dummy.c | 2 +-
19 src/network/netdev/geneve.c | 2 +-
20 src/network/netdev/ifb.c | 2 +-
21 src/network/netdev/ipoib.c | 2 +-
22 src/network/netdev/ipvlan.c | 2 +-
23 src/network/netdev/macsec.c | 2 +-
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_dcb_nl.c12 * @netdev: device associated with interface that needs reset
14 static void ice_dcbnl_devreset(struct net_device *netdev) in ice_dcbnl_devreset() argument
16 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_devreset()
21 dev_close(netdev); in ice_dcbnl_devreset()
22 netdev_state_change(netdev); in ice_dcbnl_devreset()
23 dev_open(netdev, NULL); in ice_dcbnl_devreset()
24 netdev_state_change(netdev); in ice_dcbnl_devreset()
29 * @netdev: the relevant netdev
32 static int ice_dcbnl_getets(struct net_device *netdev, struct ieee_ets *ets) in ice_dcbnl_getets() argument
37 pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getets()
[all …]
H A Dice_repr.c22 * @netdev: pointer to port representor netdev
27 ice_repr_get_phys_port_name(struct net_device *netdev, char *buf, size_t len) in ice_repr_get_phys_port_name() argument
29 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_repr_get_phys_port_name()
46 * @netdev: pointer to port representor netdev
50 ice_repr_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) in ice_repr_get_stats64() argument
52 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_repr_get_stats64()
77 * @netdev: pointer to port representor netdev
79 struct ice_repr *ice_netdev_to_repr(struct net_device *netdev) in ice_netdev_to_repr() argument
81 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_netdev_to_repr()
88 * @netdev: network interface device structure
[all …]
/openbmc/linux/drivers/net/ipa/
H A Dipa_modem.c42 * @work: Work structure used to wake the modem netdev TX queue
50 static int ipa_open(struct net_device *netdev) in ipa_open() argument
52 struct ipa_priv *priv = netdev_priv(netdev); in ipa_open()
70 netif_start_queue(netdev); in ipa_open()
86 static int ipa_stop(struct net_device *netdev) in ipa_stop() argument
88 struct ipa_priv *priv = netdev_priv(netdev); in ipa_stop()
98 netif_stop_queue(netdev); in ipa_stop()
118 ipa_start_xmit(struct sk_buff *skb, struct net_device *netdev) in ipa_start_xmit() argument
120 struct net_device_stats *stats = &netdev->stats; in ipa_start_xmit()
121 struct ipa_priv *priv = netdev_priv(netdev); in ipa_start_xmit()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0017-Adjust-for-musl-headers.patch14 src/network/netdev/bareudp.c | 2 +-
15 src/network/netdev/batadv.c | 2 +-
16 src/network/netdev/bond.c | 2 +-
17 src/network/netdev/bridge.c | 2 +-
18 src/network/netdev/dummy.c | 2 +-
19 src/network/netdev/geneve.c | 2 +-
20 src/network/netdev/ifb.c | 2 +-
21 src/network/netdev/ipoib.c | 2 +-
22 src/network/netdev/ipvlan.c | 2 +-
23 src/network/netdev/macsec.c | 2 +-
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dnetdevice.sh19 netdev=$1
21 ip link show "$netdev" |grep -q UP
23 echo "SKIP: $netdev: interface already up"
27 ip link set "$netdev" up
29 echo "FAIL: $netdev: Fail to up interface"
32 echo "PASS: $netdev: set interface up"
43 netdev=$1
51 ip link set dev $netdev address "$MACADDR"
53 echo "FAIL: $netdev: Cannot set MAC address"
55 ip link show $netdev |grep -q "$MACADDR"
[all …]
/openbmc/linux/drivers/net/ethernet/actions/
H A Dowl-emac.c63 return priv->netdev->dev.parent; in owl_emac_get_dev()
161 static struct sk_buff *owl_emac_alloc_skb(struct net_device *netdev) in owl_emac_alloc_skb() argument
166 skb = netdev_alloc_skb(netdev, OWL_EMAC_RX_FRAME_MAX_LEN + in owl_emac_alloc_skb()
183 struct net_device *netdev = priv->netdev; in owl_emac_ring_prepare_rx() local
190 skb = owl_emac_alloc_skb(netdev); in owl_emac_ring_prepare_rx()
342 static void owl_emac_set_hw_mac_addr(struct net_device *netdev) in owl_emac_set_hw_mac_addr() argument
344 struct owl_emac_priv *priv = netdev_priv(netdev); in owl_emac_set_hw_mac_addr()
345 const u8 *mac_addr = netdev->dev_addr; in owl_emac_set_hw_mac_addr()
394 static void owl_emac_adjust_link(struct net_device *netdev) in owl_emac_adjust_link() argument
396 struct owl_emac_priv *priv = netdev_priv(netdev); in owl_emac_adjust_link()
[all …]
/openbmc/linux/drivers/net/ethernet/micrel/
H A Dks8842.c157 struct net_device *netdev; member
257 static void ks8842_update_link_status(struct net_device *netdev, in ks8842_update_link_status() argument
262 netif_carrier_on(netdev); in ks8842_update_link_status()
263 netif_wake_queue(netdev); in ks8842_update_link_status()
265 netif_stop_queue(netdev); in ks8842_update_link_status()
266 netif_carrier_off(netdev); in ks8842_update_link_status()
359 eth_hw_addr_set(adapter->netdev, addr); in ks8842_init_mac_addr()
421 static int ks8842_tx_frame_dma(struct sk_buff *skb, struct net_device *netdev) in ks8842_tx_frame_dma() argument
423 struct ks8842_adapter *adapter = netdev_priv(netdev); in ks8842_tx_frame_dma()
428 netdev_dbg(netdev, "%s: TX ongoing\n", __func__); in ks8842_tx_frame_dma()
[all …]
/openbmc/linux/drivers/net/usb/
H A Drtl8150.c128 struct net_device *netdev; member
204 netif_device_detach(dev->netdev); in async_set_registers()
265 eth_hw_addr_set(dev->netdev, node_id); in set_ethernet_addr()
267 eth_hw_addr_random(dev->netdev); in set_ethernet_addr()
268 netdev_notice(dev->netdev, "Assigned a random MAC address: %pM\n", in set_ethernet_addr()
269 dev->netdev->dev_addr); in set_ethernet_addr()
273 static int rtl8150_set_mac_address(struct net_device *netdev, void *p) in rtl8150_set_mac_address() argument
276 rtl8150_t *dev = netdev_priv(netdev); in rtl8150_set_mac_address()
278 if (netif_running(netdev)) in rtl8150_set_mac_address()
281 eth_hw_addr_set(netdev, addr->sa_data); in rtl8150_set_mac_address()
[all …]
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_main.c77 static int change_mac_addr(struct net_device *netdev, const u8 *addr);
132 struct net_device *netdev = nic_dev->netdev; in create_txqs() local
137 nic_dev->txqs = devm_kcalloc(&netdev->dev, num_txqs, in create_txqs()
147 err = hinic_init_txq(&nic_dev->txqs[i], sq, netdev); in create_txqs()
149 netif_err(nic_dev, drv, netdev, in create_txqs()
156 netif_err(nic_dev, drv, netdev, in create_txqs()
174 devm_kfree(&netdev->dev, nic_dev->txqs); in create_txqs()
204 struct net_device *netdev = nic_dev->netdev; in free_txqs()
203 struct net_device *netdev = nic_dev->netdev; free_txqs() local
228 struct net_device *netdev = nic_dev->netdev; create_rxqs() local
281 struct net_device *netdev = nic_dev->netdev; free_rxqs() local
363 struct net_device *netdev = nic_dev->netdev; hinic_enable_rss() local
415 hinic_open(struct net_device * netdev) hinic_open() argument
533 hinic_close(struct net_device * netdev) hinic_close() argument
573 hinic_change_mtu(struct net_device * netdev,int new_mtu) hinic_change_mtu() argument
596 change_mac_addr(struct net_device * netdev,const u8 * addr) change_mac_addr() argument
631 hinic_set_mac_addr(struct net_device * netdev,void * addr) hinic_set_mac_addr() argument
653 add_mac_addr(struct net_device * netdev,const u8 * addr) add_mac_addr() argument
685 remove_mac_addr(struct net_device * netdev,const u8 * addr) remove_mac_addr() argument
714 hinic_vlan_rx_add_vid(struct net_device * netdev,__always_unused __be16 proto,u16 vid) hinic_vlan_rx_add_vid() argument
752 hinic_vlan_rx_kill_vid(struct net_device * netdev,__always_unused __be16 proto,u16 vid) hinic_vlan_rx_kill_vid() argument
789 hinic_set_rx_mode(struct net_device * netdev) hinic_set_rx_mode() argument
813 hinic_tx_timeout(struct net_device * netdev,unsigned int txqueue) hinic_tx_timeout() argument
838 hinic_get_stats64(struct net_device * netdev,struct rtnl_link_stats64 * stats) hinic_get_stats64() argument
857 hinic_set_features(struct net_device * netdev,netdev_features_t features) hinic_set_features() argument
866 hinic_fix_features(struct net_device * netdev,netdev_features_t features) hinic_fix_features() argument
919 netdev_features_init(struct net_device * netdev) netdev_features_init() argument
1162 struct net_device *netdev; nic_dev_init() local
1414 struct net_device *netdev = pci_get_drvdata(pdev); hinic_remove() local
[all...]
/openbmc/linux/drivers/net/ethernet/faraday/
H A Dftgmac100.c84 struct net_device *netdev; member
116 struct net_device *netdev = priv->netdev; in ftgmac100_reset_mac() local
133 netdev_err(netdev, "Hardware reset failed\n"); in ftgmac100_reset_mac()
154 netdev_err(priv->netdev, "Unknown speed %d !\n", in ftgmac100_reset_and_config_mac()
187 err = of_get_ethdev_address(priv->dev->of_node, priv->netdev); in ftgmac100_initial_mac()
192 priv->netdev->dev_addr); in ftgmac100_initial_mac()
207 eth_hw_addr_set(priv->netdev, mac); in ftgmac100_initial_mac()
210 eth_hw_addr_random(priv->netdev); in ftgmac100_initial_mac()
212 priv->netdev->dev_addr); in ftgmac100_initial_mac()
272 ftgmac100_write_mac_addr(priv, priv->netdev->dev_addr); in ftgmac100_init_hw()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb_nl.c30 * @dev: the corresponding netdev
68 * @dev: the corresponding netdev
101 * @netdev: the corresponding netdev
106 static int i40e_dcbnl_ieee_setets(struct net_device *netdev, in i40e_dcbnl_ieee_setets() argument
109 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setets()
149 * @netdev: the corresponding netdev
154 static int i40e_dcbnl_ieee_setpfc(struct net_device *netdev, in i40e_dcbnl_ieee_setpfc() argument
157 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setpfc()
188 * @netdev: the corresponding netdev
193 static int i40e_dcbnl_ieee_setapp(struct net_device *netdev, in i40e_dcbnl_ieee_setapp() argument
[all …]
/openbmc/linux/kernel/bpf/
H A Doffload.c44 struct net_device *netdev; member
54 .key_offset = offsetof(struct bpf_offload_netdev, netdev),
61 static int bpf_dev_offload_check(struct net_device *netdev) in bpf_dev_offload_check() argument
63 if (!netdev) in bpf_dev_offload_check()
65 if (!netdev->netdev_ops->ndo_bpf) in bpf_dev_offload_check()
71 bpf_offload_find_netdev(struct net_device *netdev) in bpf_offload_find_netdev() argument
75 return rhashtable_lookup_fast(&offdevs, &netdev, offdevs_params); in bpf_offload_find_netdev()
79 struct net_device *netdev) in __bpf_offload_dev_netdev_register() argument
88 ondev->netdev = netdev; in __bpf_offload_dev_netdev_register()
95 netdev_warn(netdev, "failed to register for BPF offload\n"); in __bpf_offload_dev_netdev_register()
[all …]
/openbmc/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac-ethtool.c66 static u32 emac_get_msglevel(struct net_device *netdev) in emac_get_msglevel() argument
68 struct emac_adapter *adpt = netdev_priv(netdev); in emac_get_msglevel()
73 static void emac_set_msglevel(struct net_device *netdev, u32 data) in emac_set_msglevel() argument
75 struct emac_adapter *adpt = netdev_priv(netdev); in emac_set_msglevel()
80 static int emac_get_sset_count(struct net_device *netdev, int sset) in emac_get_sset_count() argument
92 static void emac_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in emac_get_strings() argument
111 static void emac_get_ethtool_stats(struct net_device *netdev, in emac_get_ethtool_stats() argument
115 struct emac_adapter *adpt = netdev_priv(netdev); in emac_get_ethtool_stats()
125 static int emac_nway_reset(struct net_device *netdev) in emac_nway_reset() argument
127 struct phy_device *phydev = netdev->phydev; in emac_nway_reset()
[all …]
/openbmc/linux/drivers/scsi/fcoe/
H A Dfcoe_transport.c119 struct net_device *netdev = fcoe_get_netdev(lport); in fcoe_link_speed_update() local
122 if (!__ethtool_get_link_ksettings(netdev, &ecmd)) { in fcoe_link_speed_update()
164 * @netdev: Pointer to the netdev that is associated with the lport
171 struct net_device *netdev) in __fcoe_get_lesb() argument
194 htonl(dev_get_stats(netdev, &temp)->rx_crc_errors); in __fcoe_get_lesb()
206 struct net_device *netdev = fcoe_get_netdev(lport); in fcoe_get_lesb() local
208 __fcoe_get_lesb(lport, fc_lesb, netdev); in fcoe_get_lesb()
221 struct net_device *netdev = fcoe_get_netdev(fip->lp); in fcoe_ctlr_get_lesb() local
225 __fcoe_get_lesb(fip->lp, fc_lesb, netdev); in fcoe_ctlr_get_lesb()
285 * @netdev: the associated net device
[all …]
/openbmc/linux/drivers/net/ethernet/toshiba/
H A Dspider_net_ethtool.c37 spider_net_ethtool_get_link_ksettings(struct net_device *netdev, in spider_net_ethtool_get_link_ksettings() argument
41 card = netdev_priv(netdev); in spider_net_ethtool_get_link_ksettings()
59 spider_net_ethtool_get_drvinfo(struct net_device *netdev, in spider_net_ethtool_get_drvinfo() argument
63 card = netdev_priv(netdev); in spider_net_ethtool_get_drvinfo()
76 spider_net_ethtool_get_wol(struct net_device *netdev, in spider_net_ethtool_get_wol() argument
85 spider_net_ethtool_get_msglevel(struct net_device *netdev) in spider_net_ethtool_get_msglevel() argument
88 card = netdev_priv(netdev); in spider_net_ethtool_get_msglevel()
93 spider_net_ethtool_set_msglevel(struct net_device *netdev, in spider_net_ethtool_set_msglevel() argument
97 card = netdev_priv(netdev); in spider_net_ethtool_set_msglevel()
102 spider_net_ethtool_nway_reset(struct net_device *netdev) in spider_net_ethtool_nway_reset() argument
[all …]
/openbmc/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_main.c114 if (netif_running(wx->netdev)) in txgbe_intr()
129 if (netif_running(wx->netdev)) in txgbe_intr()
143 struct net_device *netdev = wx->netdev; in txgbe_request_msix_irqs() local
152 "%s-TxRx-%d", netdev->name, entry->entry); in txgbe_request_msix_irqs()
187 struct net_device *netdev = wx->netdev; in txgbe_request_irq() local
195 netdev->name, wx); in txgbe_request_irq()
198 netdev->name, wx); in txgbe_request_irq()
208 struct net_device *netdev = wx->netdev; in txgbe_up_complete() local
218 txgbe = netdev_to_txgbe(netdev); in txgbe_up_complete()
228 netif_tx_start_all_queues(netdev); in txgbe_up_complete()
[all …]

12345678910>>...76