Home
last modified time | relevance | path

Searched refs:netdev (Results 1 – 25 of 1085) sorted by relevance

12345678910>>...44

/linux-6.12.1/tools/testing/selftests/net/
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 …]
/linux-6.12.1/net/core/
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 …]
Dnetdev-genl.c33 netdev_nl_dev_fill(struct net_device *netdev, struct sk_buff *rsp, in netdev_nl_dev_fill() argument
45 if (netdev->xdp_metadata_ops && netdev->xdp_metadata_ops->xmo) \ in netdev_nl_dev_fill()
50 if (netdev->xsk_tx_metadata_ops) { in netdev_nl_dev_fill()
51 if (netdev->xsk_tx_metadata_ops->tmo_fill_timestamp) in netdev_nl_dev_fill()
53 if (netdev->xsk_tx_metadata_ops->tmo_request_checksum) in netdev_nl_dev_fill()
57 if (nla_put_u32(rsp, NETDEV_A_DEV_IFINDEX, netdev->ifindex) || in netdev_nl_dev_fill()
59 netdev->xdp_features, NETDEV_A_DEV_PAD) || in netdev_nl_dev_fill()
66 if (netdev->xdp_features & NETDEV_XDP_ACT_XSK_ZEROCOPY) { in netdev_nl_dev_fill()
68 netdev->xdp_zc_max_segs)) in netdev_nl_dev_fill()
82 netdev_genl_dev_notify(struct net_device *netdev, int cmd) in netdev_genl_dev_notify() argument
[all …]
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
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 …]
/linux-6.12.1/drivers/net/ethernet/litex/
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 …]
/linux-6.12.1/drivers/net/ethernet/qlogic/qede/
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 …]
/linux-6.12.1/drivers/net/ipa/
Dipa_modem.c52 static int ipa_open(struct net_device *netdev) in ipa_open() argument
54 struct ipa_priv *priv = netdev_priv(netdev); in ipa_open()
72 netif_start_queue(netdev); in ipa_open()
88 static int ipa_stop(struct net_device *netdev) in ipa_stop() argument
90 struct ipa_priv *priv = netdev_priv(netdev); in ipa_stop()
100 netif_stop_queue(netdev); in ipa_stop()
123 ipa_start_xmit(struct sk_buff *skb, struct net_device *netdev) in ipa_start_xmit() argument
125 struct net_device_stats *stats = &netdev->stats; in ipa_start_xmit()
126 struct ipa_priv *priv = netdev_priv(netdev); in ipa_start_xmit()
157 netif_stop_queue(netdev); in ipa_start_xmit()
[all …]
/linux-6.12.1/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_netdev.c64 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()
127 netif_dormant_off(adapter->netdev); in opa_vnic_update_state()
[all …]
/linux-6.12.1/net/openvswitch/
Dvport-internal_dev.c27 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
61 netif_stop_queue(netdev); in internal_dev_stop()
[all …]
/linux-6.12.1/drivers/net/can/usb/etas_es58x/
Des58x_core.c175 static void es58x_set_skb_timestamp(struct net_device *netdev, in es58x_set_skb_timestamp() argument
178 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_set_skb_timestamp()
259 static bool es58x_is_can_state_active(struct net_device *netdev) in es58x_is_can_state_active() argument
261 return es58x_priv(netdev)->can.state < CAN_STATE_BUS_OFF; in es58x_is_can_state_active()
294 static void es58x_can_free_echo_skb_tail(struct net_device *netdev) in es58x_can_free_echo_skb_tail() argument
296 struct es58x_priv *priv = es58x_priv(netdev); in es58x_can_free_echo_skb_tail()
300 can_free_echo_skb(netdev, priv->tx_tail & fifo_mask, &frame_len); in es58x_can_free_echo_skb_tail()
301 netdev_completed_queue(netdev, 1, frame_len); in es58x_can_free_echo_skb_tail()
305 netdev->stats.tx_dropped++; in es58x_can_free_echo_skb_tail()
320 static int es58x_can_get_echo_skb_recovery(struct net_device *netdev, in es58x_can_get_echo_skb_recovery() argument
[all …]
/linux-6.12.1/drivers/net/ethernet/faraday/
Dftmac100.c66 struct net_device *netdev; member
116 struct net_device *netdev = priv->netdev; in ftmac100_reset() local
139 netdev_err(netdev, "software reset failed\n"); in ftmac100_reset()
157 netdev_for_each_mc_addr(ha, priv->netdev) { in ftmac100_setup_mc_ht()
169 struct net_device *netdev = priv->netdev; in ftmac100_set_rx_bits() local
176 if (netdev->flags & IFF_PROMISC) in ftmac100_set_rx_bits()
178 if (netdev->flags & IFF_ALLMULTI) in ftmac100_set_rx_bits()
180 else if (netdev_mc_count(netdev)) { in ftmac100_set_rx_bits()
197 struct net_device *netdev = priv->netdev; in ftmac100_start_hw() local
213 ftmac100_set_mac(priv, netdev->dev_addr); in ftmac100_start_hw()
[all …]
Dftgmac100.c94 struct net_device *netdev; member
126 struct net_device *netdev = priv->netdev; in ftgmac100_reset_mac() local
143 netdev_err(netdev, "Hardware reset failed\n"); in ftgmac100_reset_mac()
164 netdev_err(priv->netdev, "Unknown speed %d !\n", in ftgmac100_reset_and_config_mac()
197 err = of_get_ethdev_address(priv->dev->of_node, priv->netdev); in ftgmac100_initial_mac()
202 priv->netdev->dev_addr); in ftgmac100_initial_mac()
217 eth_hw_addr_set(priv->netdev, mac); in ftgmac100_initial_mac()
220 eth_hw_addr_random(priv->netdev); in ftgmac100_initial_mac()
222 priv->netdev->dev_addr); in ftgmac100_initial_mac()
282 ftgmac100_write_mac_addr(priv, priv->netdev->dev_addr); in ftgmac100_init_hw()
[all …]
/linux-6.12.1/drivers/net/ethernet/micrel/
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 …]
/linux-6.12.1/drivers/net/ethernet/microchip/lan865x/
Dlan865x.c37 struct net_device *netdev; member
73 priv->netdev->dev_addr); in lan865x_set_hw_macaddr()
85 static int lan865x_set_mac_address(struct net_device *netdev, void *addr) in lan865x_set_mac_address() argument
87 struct lan865x_priv *priv = netdev_priv(netdev); in lan865x_set_mac_address()
91 ret = eth_prepare_mac_addr_change(netdev, addr); in lan865x_set_mac_address()
95 if (ether_addr_equal(address->sa_data, netdev->dev_addr)) in lan865x_set_mac_address()
102 eth_commit_mac_addr_change(netdev, addr); in lan865x_set_mac_address()
135 netdev_for_each_mc_addr(ha, priv->netdev) { in lan865x_set_specific_multicast_addr()
147 netdev_err(priv->netdev, "Failed to write reg_hashh: %d\n", in lan865x_set_specific_multicast_addr()
154 netdev_err(priv->netdev, "Failed to write reg_hashl: %d\n", in lan865x_set_specific_multicast_addr()
[all …]
/linux-6.12.1/drivers/net/ethernet/actions/
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 …]
/linux-6.12.1/drivers/net/usb/
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 …]
/linux-6.12.1/drivers/net/ethernet/meta/fbnic/
Dfbnic_netdev.c26 err = netif_set_real_num_tx_queues(fbn->netdev, in __fbnic_open()
31 err = netif_set_real_num_rx_queues(fbn->netdev, in __fbnic_open()
66 static int fbnic_open(struct net_device *netdev) in fbnic_open() argument
68 struct fbnic_net *fbn = netdev_priv(netdev); in fbnic_open()
78 static int fbnic_stop(struct net_device *netdev) in fbnic_stop() argument
80 struct fbnic_net *fbn = netdev_priv(netdev); in fbnic_stop()
93 static int fbnic_uc_sync(struct net_device *netdev, const unsigned char *addr) in fbnic_uc_sync() argument
95 struct fbnic_net *fbn = netdev_priv(netdev); in fbnic_uc_sync()
111 static int fbnic_uc_unsync(struct net_device *netdev, const unsigned char *addr) in fbnic_uc_unsync() argument
113 struct fbnic_net *fbn = netdev_priv(netdev); in fbnic_uc_unsync()
[all …]
/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
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()
203 struct net_device *netdev = nic_dev->netdev; in free_txqs() local
215 devm_kfree(&netdev->dev, nic_dev->txqs); in free_txqs()
228 struct net_device *netdev = nic_dev->netdev; in create_rxqs() local
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_repr.c41 void ice_repr_inc_rx_stats(struct net_device *netdev, unsigned int len) in ice_repr_inc_rx_stats() argument
43 struct ice_repr *repr = ice_netdev_to_repr(netdev); in ice_repr_inc_rx_stats()
59 ice_repr_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) in ice_repr_get_stats64() argument
61 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_repr_get_stats64()
89 struct ice_repr *ice_netdev_to_repr(const struct net_device *netdev) in ice_netdev_to_repr() argument
91 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_netdev_to_repr()
106 static int ice_repr_vf_open(struct net_device *netdev) in ice_repr_vf_open() argument
108 struct ice_repr *repr = ice_netdev_to_repr(netdev); in ice_repr_vf_open()
116 netif_carrier_on(netdev); in ice_repr_vf_open()
117 netif_tx_start_all_queues(netdev); in ice_repr_vf_open()
[all …]
/linux-6.12.1/drivers/net/ethernet/qualcomm/emac/
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 …]
/linux-6.12.1/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c99 static int pch_gbe_mdio_read(struct net_device *netdev, int addr, int reg);
100 static void pch_gbe_mdio_write(struct net_device *netdev, int addr, int reg,
102 static void pch_gbe_set_multi(struct net_device *netdev);
201 static int hwtstamp_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) in hwtstamp_ioctl() argument
204 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in hwtstamp_ioctl()
279 netdev_dbg(adapter->netdev, "hw->mac.addr : %pM\n", hw->mac.addr); in pch_gbe_mac_read_mac_addr()
308 netdev_dbg(adapter->netdev, "index : 0x%x\n", index); in pch_gbe_mac_mar_set()
398 netdev_dbg(adapter->netdev, "mac->fc = %u\n", mac->fc); in pch_gbe_mac_force_mac_fc()
420 netdev_err(adapter->netdev, in pch_gbe_mac_force_mac_fc()
427 netdev_dbg(adapter->netdev, in pch_gbe_mac_force_mac_fc()
[all …]
/linux-6.12.1/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.c60 struct net_device *netdev = to_net_dev(dev); in can_channel_id_show() local
61 struct peak_usb_device *peak_dev = netdev_priv(netdev); in can_channel_id_show()
236 struct net_device *netdev; in peak_usb_read_bulk_callback() local
239 netdev = dev->netdev; in peak_usb_read_bulk_callback()
241 if (!netif_device_present(netdev)) in peak_usb_read_bulk_callback()
258 netdev_err(netdev, in peak_usb_read_bulk_callback()
289 netif_device_detach(netdev); in peak_usb_read_bulk_callback()
291 netdev_err(netdev, "failed resubmitting read bulk urb: %d\n", in peak_usb_read_bulk_callback()
302 struct net_device *netdev; in peak_usb_write_bulk_callback() local
308 netdev = dev->netdev; in peak_usb_write_bulk_callback()
[all …]
/linux-6.12.1/drivers/net/ethernet/toshiba/
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 …]
/linux-6.12.1/drivers/net/can/usb/
Df81604.c134 struct net_device *netdev[F81604_MAX_DEV]; member
139 struct net_device *netdev; member
254 int port = priv->netdev->dev_port; in f81604_sja1000_write()
264 int port = priv->netdev->dev_port; in f81604_sja1000_read()
370 static void f81604_process_rx_packet(struct net_device *netdev, in f81604_process_rx_packet() argument
373 struct net_device_stats *stats = &netdev->stats; in f81604_process_rx_packet()
380 skb = alloc_can_skb(netdev, &cf); in f81604_process_rx_packet()
415 struct net_device *netdev = urb->context; in f81604_read_bulk_callback() local
418 if (!netif_device_present(netdev)) in f81604_read_bulk_callback()
422 netdev_info(netdev, "%s: URB aborted %pe\n", __func__, in f81604_read_bulk_callback()
[all …]
/linux-6.12.1/drivers/scsi/fcoe/
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()
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()
291 int fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type) in fcoe_get_wwn() argument
293 const struct net_device_ops *ops = netdev->netdev_ops; in fcoe_get_wwn()
[all …]

12345678910>>...44