Searched refs:netdev (Results 1 - 25 of 972) sorted by last modified time

1234567891011>>

/linux-master/drivers/net/vxlan/
H A Dvxlan_core.c3463 static void vxlan_get_drvinfo(struct net_device *netdev, argument
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c2651 int cxgb4_selftest_lb_pkt(struct net_device *netdev) argument
2653 struct port_info *pi = netdev_priv(netdev);
2704 ether_addr_copy(&sgl[i], netdev->dev_addr);
3457 if (rxq->rspq.netdev->features & NETIF_F_RXHASH)
3581 struct port_info *pi = netdev_priv(rspq->netdev);
3633 struct net_device *netdev; local
3637 netdev = adap->port[pi->port_id];
3642 if (!ether_addr_equal(data + i, netdev->dev_addr))
3676 pi = netdev_priv(q->netdev);
3699 (q->netdev
[all...]
/linux-master/drivers/net/ethernet/brocade/bna/
H A Dbnad_debugfs.c71 netdev_warn(bnad->netdev, "failed to collect fwtrc\n");
111 netdev_warn(bnad->netdev, "failed to collect fwsave\n");
210 netdev_warn(bnad->netdev, "failed to collect drvinfo\n");
321 netdev_warn(bnad->netdev, "failed to read user buffer\n");
341 netdev_warn(bnad->netdev, "failed reg offset check\n");
381 netdev_warn(bnad->netdev, "failed to read user buffer\n");
392 netdev_warn(bnad->netdev, "failed reg offset check\n");
504 netdev_warn(bnad->netdev,
527 netdev_warn(bnad->netdev,
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dchip.c7121 if (!pdata->netdev)
7129 pdata->cd.netdev[port] = &pdata->netdev->dev;
7247 dev_put(pdata->netdev);
/linux-master/net/wireless/
H A Dtrace.h44 memcpy(__entry->name, netdev->name, IFNAMSIZ); \
45 (__entry->ifindex) = (netdev->ifindex); \
47 #define NETDEV_PR_FMT "netdev:%s(%d)"
425 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev,
427 TP_ARGS(wiphy, netdev, type),
443 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, int link_id,
445 TP_ARGS(wiphy, netdev, link_id, key_index, pairwise, mac_addr),
470 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, int link_id,
472 TP_ARGS(wiphy, netdev, link_id, key_index, pairwise, mac_addr)
476 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, in
[all...]
H A Dnl80211.c93 if (have_ifidx && wdev->netdev &&
94 wdev->netdev->ifindex == ifidx) {
119 if (have_ifidx && wdev->netdev &&
120 wdev->netdev->ifindex == ifidx) {
143 struct net_device *netdev; local
183 netdev = __dev_get_by_index(netns, ifindex);
184 if (netdev) {
185 if (netdev->ieee80211_ptr)
187 netdev->ieee80211_ptr->wiphy);
3043 struct net_device *netdev; local
3442 struct net_device *netdev = info->user_ptr[1]; local
3450 struct net_device *netdev = NULL; local
4155 nl80211_valid_4addr(struct cfg80211_registered_device *rdev, struct net_device *netdev, u8 use_4addr, enum nl80211_iftype iftype) argument
17832 nl80211_send_mlme_event(struct cfg80211_registered_device *rdev, struct net_device *netdev, const struct nl80211_mlme_event *event, gfp_t gfp) argument
17885 nl80211_send_rx_auth(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *buf, size_t len, gfp_t gfp) argument
17899 nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev, struct net_device *netdev, const struct cfg80211_rx_assoc_resp_data *data) argument
17915 nl80211_send_deauth(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *buf, size_t len, bool reconnect, gfp_t gfp) argument
17930 nl80211_send_disassoc(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *buf, size_t len, bool reconnect, gfp_t gfp) argument
17980 nl80211_send_mlme_timeout(struct cfg80211_registered_device *rdev, struct net_device *netdev, int cmd, const u8 *addr, gfp_t gfp) argument
18013 nl80211_send_auth_timeout(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *addr, gfp_t gfp) argument
18021 nl80211_send_assoc_timeout(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *addr, gfp_t gfp) argument
18029 nl80211_send_connect_result(struct cfg80211_registered_device *rdev, struct net_device *netdev, struct cfg80211_connect_resp_params *cr, gfp_t gfp) argument
18142 nl80211_send_roamed(struct cfg80211_registered_device *rdev, struct net_device *netdev, struct cfg80211_roam_info *info, gfp_t gfp) argument
18246 nl80211_send_port_authorized(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *peer_addr, const u8 *td_bitmap, u8 td_bitmap_len) argument
18283 nl80211_send_disconnected(struct cfg80211_registered_device *rdev, struct net_device *netdev, u16 reason, const u8 *ie, size_t ie_len, bool from_ap) argument
18389 nl80211_send_ibss_bssid(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *bssid, gfp_t gfp) argument
18465 nl80211_michael_mic_failure(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *addr, enum nl80211_key_type key_type, int key_id, const u8 *tsc, gfp_t gfp) argument
18603 cfg80211_assoc_comeback(struct net_device *netdev, const u8 *ap_addr, u32 timeout) argument
18852 struct net_device *netdev = wdev->netdev; local
18905 struct net_device *netdev = wdev->netdev; local
19229 nl80211_gtk_rekey_notify(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *bssid, const u8 *replay_ctr, gfp_t gfp) argument
19285 nl80211_pmksa_candidate_notify(struct cfg80211_registered_device *rdev, struct net_device *netdev, int index, const u8 *bssid, bool preauth, gfp_t gfp) argument
19341 nl80211_ch_switch_notify(struct cfg80211_registered_device *rdev, struct net_device *netdev, unsigned int link_id, struct cfg80211_chan_def *chandef, gfp_t gfp, enum nl80211_commands notif, u8 count, bool quiet) argument
19502 nl80211_radar_notify(struct cfg80211_registered_device *rdev, const struct cfg80211_chan_def *chandef, enum nl80211_radar_event event, struct net_device *netdev, gfp_t gfp) argument
19980 cfg80211_ft_event(struct net_device *netdev, struct cfg80211_ft_event_params *ft_event) argument
20154 cfg80211_update_owe_info_event(struct net_device *netdev, struct cfg80211_update_owe_info *owe_info, gfp_t gfp) argument
[all...]
/linux-master/net/ethernet/
H A Deth.c509 * platform_get_ethdev_address - Set netdev's MAC address from a given device
511 * @netdev: Pointer to netdev to write the address to
514 * directly to netdev->dev_addr.
516 int platform_get_ethdev_address(struct device *dev, struct net_device *netdev) argument
523 eth_hw_addr_set(netdev, addr);
623 * device_get_ethdev_address - Set netdev's MAC address from a given device
625 * @netdev: Pointer to netdev to write the address to
628 * directly to netdev
630 device_get_ethdev_address(struct device *dev, struct net_device *netdev) argument
[all...]
/linux-master/include/net/
H A Dtls.h171 /* tls_device_down was called after the netdev went down, device state
182 * but tls_ctx->netdev might still be kept, because TX-side driver
233 struct net_device __rcu *netdev; member in struct:tls_context
270 int (*tls_dev_add)(struct net_device *netdev, struct sock *sk,
274 void (*tls_dev_del)(struct net_device *netdev,
277 int (*tls_dev_resync)(struct net_device *netdev,
H A Dmacsec.h3 * MACsec netdev header, used for h/w accelerated implementations.
218 * @netdev: netdevice for this SecY
233 struct net_device *netdev; member in struct:macsec_secy
250 * @netdev: a valid pointer to a struct net_device if @offload ==
270 struct net_device *netdev; member in union:macsec_context::__anon120
/linux-master/include/linux/
H A Detherdevice.h32 int platform_get_ethdev_address(struct device *dev, struct net_device *netdev);
36 int device_get_ethdev_address(struct device *dev, struct net_device *netdev);
/linux-master/drivers/net/usb/
H A Dax88179_178a.c333 static int ax88179_mdio_read(struct net_device *netdev, int phy_id, int loc) argument
335 struct usbnet *dev = netdev_priv(netdev);
342 static void ax88179_mdio_write(struct net_device *netdev, int phy_id, int loc, argument
345 struct usbnet *dev = netdev_priv(netdev);
/linux-master/drivers/net/
H A Dmacsec.c366 ctx->netdev = macsec->real_dev;
743 DEV_STATS_INC(secy->netdev, rx_dropped);
767 DEV_STATS_INC(secy->netdev, rx_errors);
856 macsec_reset_skb(skb, macsec->secy.netdev);
1012 struct net_device *ndev = macsec->secy.netdev;
1048 * netdev. Since the core stack has no mechanism to
1090 DEV_STATS_INC(macsec->secy.netdev, rx_dropped);
1191 dev = secy->netdev;
1200 DEV_STATS_INC(secy->netdev, rx_errors);
1217 DEV_STATS_INC(secy->netdev, rx_error
[all...]
/linux-master/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_phy.c260 config->dev = &wx->netdev->dev;
/linux-master/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.c478 struct net_device *netdev = rx_ring->netdev; local
481 if (!netdev ||
483 !(netdev->features & NETIF_F_RXALL))) {
505 if (!(ring->netdev->features & NETIF_F_RXHASH))
533 if (!(ring->netdev->features & NETIF_F_RXCSUM))
577 if ((ring->netdev->features &
606 skb->protocol = eth_type_trans(skb, rx_ring->netdev);
696 return netdev_get_tx_queue(ring->netdev, ring->queue_index);
714 if (!netif_carrier_ok(tx_ring->netdev))
1213 struct net_device *netdev = tx_ring->netdev; local
1334 struct net_device *netdev = tx_ring->netdev; local
1511 wx_xmit_frame(struct sk_buff *skb, struct net_device *netdev) argument
2626 wx_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument
2679 wx_set_features(struct net_device *netdev, netdev_features_t features) argument
[all...]
/linux-master/drivers/net/ethernet/renesas/
H A Dravb_main.c1566 static int ravb_get_sset_count(struct net_device *netdev, int sset) argument
1568 struct ravb_private *priv = netdev_priv(netdev);
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_env.c289 int mlxsw_env_get_module_info(struct net_device *netdev, argument
301 netdev_err(netdev, "Cannot read EEPROM of module on an inactive line card\n");
307 netdev_err(netdev,
384 int mlxsw_env_get_module_eeprom(struct net_device *netdev, argument
400 netdev_err(netdev, "Cannot read EEPROM of module on an inactive line card\n");
417 netdev_err(netdev, "Eeprom query failed\n");
527 int mlxsw_env_reset_module(struct net_device *netdev, argument
541 netdev_err(netdev, "Cannot reset module on an inactive line card\n");
549 netdev_err(netdev, "Reset module is not supported on port module type\n");
555 netdev_err(netdev, "Canno
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dmacsec.c107 const struct net_device *netdev; member in struct:mlx5e_macsec_device
315 struct net_device *netdev, u32 fs_id)
323 mlx5_macsec_fs_del_rule(macsec->mdev->macsec_fs, sa->macsec_rule, action, netdev,
330 struct net_device *netdev, u32 fs_id)
332 mlx5e_macsec_cleanup_sa_fs(macsec, sa, is_tx, netdev, fs_id);
340 struct mlx5e_priv *priv = macsec_netdev_priv(ctx->netdev);
364 struct mlx5e_priv *priv = macsec_netdev_priv(ctx->netdev);
420 struct mlx5e_priv *priv = macsec_netdev_priv(ctx->netdev);
429 mlx5e_macsec_cleanup_sa(macsec, rx_sa, false, ctx->secy->netdev, *fs_id);
442 const struct net_device *netdev local
313 mlx5e_macsec_cleanup_sa_fs(struct mlx5e_macsec *macsec, struct mlx5e_macsec_sa *sa, bool is_tx, struct net_device *netdev, u32 fs_id) argument
328 mlx5e_macsec_cleanup_sa(struct mlx5e_macsec *macsec, struct mlx5e_macsec_sa *sa, bool is_tx, struct net_device *netdev, u32 fs_id) argument
581 struct net_device *netdev; local
801 macsec_del_rxsc_ctx(struct mlx5e_macsec *macsec, struct mlx5e_macsec_rx_sc *rx_sc, struct net_device *netdev) argument
1069 const struct net_device *netdev = ctx->netdev; local
1678 mlx5e_macsec_offload_handle_rx_skb(struct net_device *netdev, struct sk_buff *skb, struct mlx5_cqe64 *cqe) argument
1708 struct net_device *netdev = priv->netdev; local
[all...]
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_main.c81 struct net_device *dev = adapter->netdev;
113 if (!netif_running(adapter->netdev))
216 netdev_warn_once(tx_ring->netdev, "Unknown Tx buffer type\n");
354 struct net_device *ndev = tx_ring->netdev;
392 struct net_device *dev = adapter->netdev;
536 struct net_device *ndev = rx_ring->netdev;
592 struct net_device *dev = adapter->netdev;
615 return xsk_get_pool_from_qid(ring->netdev, ring->queue_index);
863 if (adapter->netdev->features & NETIF_F_RXALL) {
916 struct net_device *dev = adapter->netdev;
982 igc_set_mac(struct net_device *netdev, void *p) argument
1009 igc_write_mc_addr_list(struct net_device *netdev) argument
1224 struct net_device *netdev = tx_ring->netdev; local
1698 igc_xmit_frame(struct sk_buff *skb, struct net_device *netdev) argument
1831 igc_vlan_mode(struct net_device *netdev, netdev_features_t features) argument
2131 struct net_device *netdev = rx_ring->netdev; local
3847 igc_uc_sync(struct net_device *netdev, const unsigned char *addr) argument
3854 igc_uc_unsync(struct net_device *netdev, const unsigned char *addr) argument
3871 igc_set_rx_mode(struct net_device *netdev) argument
3919 struct net_device *netdev = adapter->netdev; local
4801 struct net_device *netdev = adapter->netdev; local
5054 struct net_device *netdev = adapter->netdev; local
5155 igc_change_mtu(struct net_device *netdev, int new_mtu) argument
5196 igc_tx_timeout(struct net_device *netdev, unsigned int __always_unused txqueue) argument
5217 igc_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument
5229 igc_fix_features(struct net_device *netdev, netdev_features_t features) argument
5243 igc_set_features(struct net_device *netdev, netdev_features_t features) argument
5439 struct net_device *netdev = adapter->netdev; local
5564 struct net_device *netdev = adapter->netdev; local
5838 struct net_device *netdev = adapter->netdev; local
5895 __igc_open(struct net_device *netdev, bool resuming) argument
5978 igc_open(struct net_device *netdev) argument
5995 __igc_close(struct net_device *netdev, bool suspending) argument
6020 igc_close(struct net_device *netdev) argument
6033 igc_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument
6345 struct net_device *netdev = adapter->netdev; local
6639 struct net_device *netdev = igc->netdev; local
6747 struct net_device *netdev; local
7003 struct net_device *netdev = pci_get_drvdata(pdev); local
7045 struct net_device *netdev = pci_get_drvdata(pdev); local
7117 igc_deliver_wake_packet(struct net_device *netdev) argument
7150 struct net_device *netdev = pci_get_drvdata(pdev); local
7212 struct net_device *netdev = dev_get_drvdata(dev); local
7245 struct net_device *netdev = pci_get_drvdata(pdev); local
7270 struct net_device *netdev = pci_get_drvdata(pdev); local
7309 struct net_device *netdev = pci_get_drvdata(pdev); local
7361 struct net_device *netdev = adapter->netdev; local
[all...]
H A Digc_leds.c41 struct net_device *netdev; member in struct:igc_led_classdev
70 netdev_err(adapter->netdev, "Unknown LED %d selected!\n", led);
121 struct igc_adapter *adapter = netdev_priv(ldev->netdev);
129 netdev_dbg(adapter->netdev, "Set brightness for LED %d to mode %u!\n",
166 struct igc_adapter *adapter = netdev_priv(ldev->netdev);
182 netdev_dbg(adapter->netdev, "Set HW control for LED %d to mode %u!\n",
198 struct igc_adapter *adapter = netdev_priv(ldev->netdev);
228 return &ldev->netdev->dev;
240 struct net_device *netdev, int index)
242 struct igc_adapter *adapter = netdev_priv(netdev);
239 igc_setup_ldev(struct igc_led_classdev *ldev, struct net_device *netdev, int index) argument
265 struct net_device *netdev = adapter->netdev; local
[all...]
H A Digc.h110 struct net_device *netdev; /* back pointer to net_device */ member in struct:igc_ring
169 struct net_device *netdev; member in struct:igc_adapter
306 int igc_open(struct net_device *netdev);
307 int igc_close(struct net_device *netdev);
656 return netdev_get_tx_queue(tx_ring->netdev, tx_ring->queue_index);
720 int igc_ptp_set_ts_config(struct net_device *netdev, struct ifreq *ifr);
721 int igc_ptp_get_ts_config(struct net_device *netdev, struct ifreq *ifr);
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c15 static int iavf_close(struct net_device *netdev);
307 * @netdev: network interface device structure
310 static void iavf_tx_timeout(struct net_device *netdev, unsigned int txqueue) argument
312 struct iavf_adapter *adapter = netdev_priv(netdev);
405 * @data: pointer to netdev
409 struct net_device *netdev = data; local
410 struct iavf_adapter *adapter = netdev_priv(netdev);
632 * vector is only for the admin queue, and stays active even when the netdev
637 struct net_device *netdev = adapter->netdev; local
686 struct net_device *netdev = adapter->netdev; local
724 struct net_device *netdev = adapter->netdev; local
901 iavf_vlan_rx_add_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) argument
931 iavf_vlan_rx_kill_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) argument
1057 iavf_is_mac_set_handled(struct net_device *netdev, const u8 *macaddr) argument
1083 iavf_set_mac(struct net_device *netdev, void *p) argument
1127 iavf_addr_sync(struct net_device *netdev, const u8 *addr) argument
1145 iavf_addr_unsync(struct net_device *netdev, const u8 *addr) argument
1180 iavf_set_rx_mode(struct net_device *netdev) argument
1236 struct net_device *netdev = adapter->netdev; local
1383 struct net_device *netdev = adapter->netdev; local
1965 struct net_device *netdev = adapter->netdev; local
2628 struct net_device *netdev = adapter->netdev; local
2964 struct net_device *netdev = adapter->netdev; local
3544 __iavf_setup_tc(struct net_device *netdev, void *type_data) argument
4096 iavf_setup_tc(struct net_device *netdev, enum tc_setup_type type, void *type_data) argument
4153 iavf_open(struct net_device *netdev) argument
4246 iavf_close(struct net_device *netdev) argument
4320 iavf_change_mtu(struct net_device *netdev, int new_mtu) argument
4395 iavf_set_features(struct net_device *netdev, netdev_features_t features) argument
4713 struct net_device *netdev = adapter->netdev; local
4758 iavf_fix_features(struct net_device *netdev, netdev_features_t features) argument
4821 struct net_device *netdev = adapter->netdev; local
4927 struct net_device *netdev; local
5056 struct net_device *netdev = dev_get_drvdata(dev_d); local
5130 struct net_device *netdev; local
[all...]
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c108 struct net_device *netdev, int delta)
113 if (!f || !netdev)
117 ha_list = &netdev->uc;
119 ha_list = &netdev->mc;
339 * @netdev: network interface device structure
343 * device is munged, not just the one netdev port, so go for the full
346 static void i40e_tx_timeout(struct net_device *netdev, unsigned int txqueue) argument
348 struct i40e_netdev_priv *np = netdev_priv(netdev);
371 (pf->tx_timeout_last_recovery + netdev->watchdog_timeo)))
388 netdev_info(netdev, "tx_timeou
107 netdev_hw_addr_refcnt(struct i40e_mac_filter *f, struct net_device *netdev, int delta) argument
460 i40e_get_netdev_stats_struct(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument
1793 i40e_set_mac(struct net_device *netdev, void *p) argument
2177 i40e_addr_sync(struct net_device *netdev, const u8 *addr) argument
2196 i40e_addr_unsync(struct net_device *netdev, const u8 *addr) argument
2218 i40e_set_rx_mode(struct net_device *netdev) argument
2947 i40e_change_mtu(struct net_device *netdev, int new_mtu) argument
2977 i40e_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument
3198 i40e_vlan_rx_add_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) argument
3221 i40e_vlan_rx_add_vid_up(struct net_device *netdev, __always_unused __be16 proto, u16 vid) argument
3240 i40e_vlan_rx_kill_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) argument
4644 i40e_netpoll(struct net_device *netdev) argument
5663 struct net_device *netdev = vsi->netdev; local
7984 i40e_fwd_add(struct net_device *netdev, struct net_device *vdev) argument
8128 i40e_fwd_del(struct net_device *netdev, void *vdev) argument
8170 i40e_setup_tc(struct net_device *netdev, void *type_data) argument
8965 __i40e_setup_tc(struct net_device *netdev, enum tc_setup_type type, void *type_data) argument
8995 i40e_open(struct net_device *netdev) argument
9238 i40e_close(struct net_device *netdev) argument
12931 i40e_set_features(struct net_device *netdev, netdev_features_t features) argument
12971 i40e_udp_tunnel_set_port(struct net_device *netdev, unsigned int table, unsigned int idx, struct udp_tunnel_info *ti) argument
12996 i40e_udp_tunnel_unset_port(struct net_device *netdev, unsigned int table, unsigned int idx, struct udp_tunnel_info *ti) argument
13015 i40e_get_phys_port_id(struct net_device *netdev, struct netdev_phys_item_id *ppid) argument
13653 struct net_device *netdev; local
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c1697 * netdev (vf-rep or PF) the packet is destined to.
3563 pp.netdev = bp->dev;
14379 static int bnxt_udp_tunnel_set_port(struct net_device *netdev, unsigned int table, argument
14382 struct bnxt *bp = netdev_priv(netdev);
14395 static int bnxt_udp_tunnel_unset_port(struct net_device *netdev, unsigned int table, argument
14398 struct bnxt *bp = netdev_priv(netdev);
14907 /* overwrite netdev dev_addr with admin VF MAC */
15371 struct net_device *netdev = pci_get_drvdata(pdev); local
15372 struct bnxt *bp = netdev_priv(netdev);
15375 netdev_info(netdev, "PC
15425 struct net_device *netdev = pci_get_drvdata(pdev); local
15502 struct net_device *netdev = pci_get_drvdata(pdev); local
[all...]
/linux-master/fs/smb/server/
H A Dsmb2pdu.c7651 struct net_device *netdev; local
7657 for_each_netdev(&init_net, netdev) {
7660 if (netdev->type == ARPHRD_LOOPBACK)
7663 flags = dev_get_flags(netdev);
7675 nii_rsp->IfIndex = cpu_to_le32(netdev->ifindex);
7678 if (netdev->real_num_tx_queues > 1)
7680 if (ksmbd_rdma_capable_netdev(netdev))
7686 if (netdev->ethtool_ops->get_link_ksettings) {
7689 netdev->ethtool_ops->get_link_ksettings(netdev,
[all...]
/linux-master/drivers/usb/gadget/function/
H A Df_ncm.c69 struct net_device *netdev; member in struct:f_ncm
881 if (ncm->netdev) {
883 ncm->netdev = NULL;
919 ncm->netdev = net;
1060 ncm->skb_tx_data->dev = ncm->netdev;
1079 ncm->skb_tx_ndp->dev = ncm->netdev;
1128 ncm->netdev->stats.tx_dropped++;
1147 struct net_device *netdev = READ_ONCE(ncm->netdev); local
1149 if (netdev) {
[all...]

Completed in 402 milliseconds

1234567891011>>