Searched refs:netdev (Results 51 - 75 of 963) sorted by last modified time

1234567891011>>

/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c455 netdev_err(priv->netdev, "request irq(%d) fail\n",
608 static int hns3_nic_set_real_num_queue(struct net_device *netdev) argument
610 struct hnae3_handle *h = hns3_get_handle(netdev);
617 netdev_reset_tc(netdev);
619 ret = netdev_set_num_tc(netdev, tc_info->num_tc);
621 netdev_err(netdev,
627 netdev_set_tc_queue(netdev, i, tc_info->tqp_count[i],
631 ret = netif_set_real_num_tx_queues(netdev, queue_size);
633 netdev_err(netdev,
638 ret = netif_set_real_num_rx_queues(netdev, queue_siz
676 hns3_free_rx_cpu_rmap(struct net_device *netdev) argument
684 hns3_set_rx_cpu_rmap(struct net_device *netdev) argument
710 hns3_nic_net_up(struct net_device *netdev) argument
768 hns3_nic_net_open(struct net_device *netdev) argument
823 hns3_nic_net_down(struct net_device *netdev) argument
853 hns3_nic_net_stop(struct net_device *netdev) argument
874 hns3_nic_uc_sync(struct net_device *netdev, const unsigned char *addr) argument
885 hns3_nic_uc_unsync(struct net_device *netdev, const unsigned char *addr) argument
903 hns3_nic_mc_sync(struct net_device *netdev, const unsigned char *addr) argument
914 hns3_nic_mc_unsync(struct net_device *netdev, const unsigned char *addr) argument
925 hns3_get_netdev_flags(struct net_device *netdev) argument
937 hns3_nic_set_rx_mode(struct net_device *netdev) argument
1922 hns3_nic_maybe_stop_tx(struct hns3_enet_ring *ring, struct net_device *netdev, struct sk_buff *skb) argument
2094 struct net_device *netdev = ring_to_netdev(ring); local
2132 hns3_tsyn(struct net_device *netdev, struct sk_buff *skb, struct hns3_desc *desc) argument
2294 hns3_nic_net_xmit(struct sk_buff *skb, struct net_device *netdev) argument
2356 hns3_nic_net_set_mac_address(struct net_device *netdev, void *p) argument
2397 hns3_nic_do_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument
2411 hns3_nic_set_features(struct net_device *netdev, netdev_features_t features) argument
2533 hns3_nic_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument
2586 hns3_setup_tc(struct net_device *netdev, void *type_data) argument
2677 hns3_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument
2689 hns3_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) argument
2701 hns3_ndo_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, __be16 vlan_proto) argument
2718 hns3_set_vf_spoofchk(struct net_device *netdev, int vf, bool enable) argument
2731 hns3_set_vf_trust(struct net_device *netdev, int vf, bool enable) argument
2741 hns3_nic_change_mtu(struct net_device *netdev, int new_mtu) argument
2954 hns3_nic_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac) argument
2992 hns3_nic_select_queue(struct net_device *netdev, struct sk_buff *skb, struct net_device *sb_dev) argument
3307 hns3_set_default_feature(struct net_device *netdev) argument
3628 struct net_device *netdev = ring_to_netdev(ring); local
3923 struct net_device *netdev = ring_to_netdev(ring); local
4032 struct net_device *netdev = ring_to_netdev(ring); local
4146 struct net_device *netdev = ring_to_netdev(ring); local
4189 struct net_device *netdev = ring_to_netdev(ring); local
4218 hns3_handle_rx_ts_info(struct net_device *netdev, struct hns3_desc *desc, struct sk_buff *skb, u32 bd_base_info) argument
4236 struct net_device *netdev = ring_to_netdev(ring); local
4253 struct net_device *netdev = ring_to_netdev(ring); local
5133 hns3_init_mac_addr(struct net_device *netdev) argument
5163 hns3_init_phy(struct net_device *netdev) argument
5174 hns3_uninit_phy(struct net_device *netdev) argument
5258 struct net_device *netdev = handle->kinfo.netdev; local
5289 struct net_device *netdev; local
5424 struct net_device *netdev = handle->kinfo.netdev; local
5460 struct net_device *netdev = handle->kinfo.netdev; local
5653 struct net_device *netdev = handle->kinfo.netdev; local
5720 struct net_device *netdev = handle->kinfo.netdev; local
5793 hns3_set_channels(struct net_device *netdev, struct ethtool_channels *ch) argument
[all...]
/linux-master/drivers/net/bonding/
H A Dbond_main.c3832 /*-------------------------- netdev event handling --------------------------*/
3878 /* A netdev event can be generated while enslaving a device
3989 /* bond_netdev_event: handle netdev notifier chain events.
3991 * This function receives events for the netdev chain. The caller (an
5409 struct net_device *tls_netdev = rcu_dereference(tls_get_ctx(skb->sk)->netdev);
/linux-master/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c2156 * unregister_netdev always frees the netdev, we use this mode
2361 struct net_device *netdev = priv->dev; local
2363 netif_addr_lock_bh(netdev);
2368 dev_addr_mod(netdev, 4, (u8 *)&priv->local_gid, sizeof(priv->local_gid));
2371 netif_addr_unlock_bh(netdev);
2473 * [1] https://www.spinics.net/lists/netdev/msg272123.html
/linux-master/drivers/infiniband/hw/mlx5/
H A Dmlx5_ib.h870 * netdev pointer
873 struct net_device *netdev; member in struct:mlx5_roce
H A Dmain.c185 roce->netdev = ndev;
192 if (roce->netdev == ndev)
193 roce->netdev = NULL;
213 ((!upper || ibdev->is_rep) && ndev == roce->netdev)) &&
266 ndev = ibdev->port[port_num - 1].roce.netdev;
3058 struct net_device *netdev)
3064 roce->tracking_netdev = netdev;
3066 err = register_netdevice_notifier_dev_net(netdev, &roce->nb, &roce->nn);
3083 struct net_device *netdev = data; local
3087 if (netdev)
3057 mlx5_netdev_notifier_register(struct mlx5_roce *roce, struct net_device *netdev) argument
[all...]
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_main.c97 struct net_device *netdev; local
100 netdev = hr_dev->iboe.netdevs[port];
101 if (!netdev) {
102 dev_err(dev, "can't find netdev on port(%u)!\n", port);
111 ret = hns_roce_set_mac(hr_dev, port, netdev->dev_addr);
253 dev_err(dev, "find netdev %u failed!\n", port);
H A Dhns_roce_hw_v2.c6828 hr_dev->iboe.netdevs[0] = handle->rinfo.netdev;
/linux-master/drivers/infiniband/hw/hfi1/
H A Dipoib_main.c29 qpn_from_mac(priv->netdev->dev_addr),
43 hfi1_netdev_remove_data(priv->dd, qpn_from_mac(priv->netdev->dev_addr));
58 u32 qpn = qpn_from_mac(priv->netdev->dev_addr);
109 u32 qpn = (u32)qpn_from_mac(priv->netdev->dev_addr);
139 u32 qpn = (u32)qpn_from_mac(priv->netdev->dev_addr);
163 hfi1_ipoib_rxq_deinit(priv->netdev);
179 struct net_device *netdev,
183 struct rdma_netdev *rn = netdev_priv(netdev);
194 rn->mtu = netdev->mtu;
196 priv = hfi1_ipoib_priv(netdev);
177 hfi1_ipoib_setup_rn(struct ib_device *device, u32 port_num, struct net_device *netdev, void *param) argument
[all...]
/linux-master/drivers/infiniband/hw/erdma/
H A Derdma_verbs.c344 if (dev->netdev)
346 dev->netdev->dev_addr);
366 struct net_device *ndev = dev->netdev;
1568 qp_attr->path_mtu = ib_mtu_int_to_enum(dev->netdev->mtu);
H A Derdma_main.c22 struct net_device *netdev = netdev_notifier_info_to_dev(arg); local
25 if (dev->netdev == NULL || dev->netdev != netdev)
38 if (dev->mtu != netdev->mtu) {
39 erdma_set_mtu(dev, netdev->mtu);
40 dev->mtu = netdev->mtu;
58 struct net_device *netdev; local
62 if (dev->netdev)
66 for_each_netdev(&init_net, netdev) {
[all...]
H A Derdma.h185 struct net_device *netdev; member in struct:erdma_dev
/linux-master/drivers/infiniband/core/
H A Dnldev.c328 struct net_device *netdev = NULL; local
366 netdev = ib_device_get_netdev(device, port);
367 if (netdev && net_eq(dev_net(netdev), net)) {
369 RDMA_NLDEV_ATTR_NDEV_INDEX, netdev->ifindex);
373 RDMA_NLDEV_ATTR_NDEV_NAME, netdev->name);
377 dev_put(netdev);
H A Ddevice.c670 /* Expedite releasing netdev references */
2025 struct net_device *netdev; local
2029 netdev = ib_device_get_netdev(device, port_num);
2030 if (!netdev)
2034 port_attr->active_mtu = ib_mtu_int_to_enum(netdev->mtu);
2036 if (!netif_carrier_ok(netdev)) {
2041 inetdev = __in_dev_get_rcu(netdev);
2055 dev_put(netdev);
2120 if (pdata->netdev)
2122 (uintptr_t)pdata->netdev);
[all...]
H A Dlag.c10 static struct sk_buff *rdma_build_skb(struct net_device *netdev, argument
24 hdr_len = ETH_HLEN + sizeof(struct udphdr) + LL_RESERVED_SPACE(netdev);
31 skb->dev = netdev;
/linux-master/tools/testing/selftests/net/netfilter/
H A Dnft_flowtable.sh388 table netdev dscpmangle {
399 ip netns exec "$nsr1" nft delete table netdev dscpmangle
401 echo "SKIP: Could not load netdev:ingress for veth0"
405 table netdev dscpmangle {
416 ip netns exec "$nsr1" nft flush table netdev dscpmangle
418 echo "SKIP: Could not load netdev:egress for veth1"
H A Dnft_concat_range.sh394 table netdev perf {
1086 # Format and output entries for sets in 'netdev perf' table
1089 echo "add element netdev perf test $(format)"
1091 echo "add element netdev perf norange $(format_norange)"
1093 echo "add element netdev perf noconcat $(format_noconcat)"
1097 # Add single entry to 'norange' set in 'netdev perf' table
1099 if ! nft add element netdev perf norange "${1}"; then
1106 # Add single entry to 'noconcat' set in 'netdev perf' table
1108 if ! nft add element netdev perf noconcat "${1}"; then
1133 # Return packet count from 'test' counter in 'netdev per
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dxskxceiver.c82 #include <linux/netdev.h>
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_do_redirect.c12 #include <uapi/linux/netdev.h>
/linux-master/net/wireless/
H A Dsme.c137 dev_hold(wdev->netdev);
181 err = cfg80211_mlme_auth(rdev, wdev->netdev, &auth_req);
212 err = cfg80211_mlme_assoc(rdev, wdev->netdev,
218 cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid,
227 cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid,
232 cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid,
256 if (!wdev->netdev)
259 if (!netif_running(wdev->netdev))
278 __cfg80211_connect_result(wdev->netdev, &cr, false);
383 __cfg80211_connect_result(wdev->netdev,
[all...]
H A Dscan.c1086 if (wdev->netdev)
1087 cfg80211_sme_scan_done(wdev->netdev);
1100 if (wdev->netdev && !request->info.aborted) {
1103 wireless_send_event(wdev->netdev, SIOCGIWSCAN, &wrqu, NULL);
1107 dev_put(wdev->netdev);
H A Dreg.c2375 if (!wdev->netdev || !netif_running(wdev->netdev))
4251 rdev_end_cac(rdev, wdev->netdev);
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
17835 nl80211_send_mlme_event(struct cfg80211_registered_device *rdev, struct net_device *netdev, const struct nl80211_mlme_event *event, gfp_t gfp) argument
17888 nl80211_send_rx_auth(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *buf, size_t len, gfp_t gfp) argument
17902 nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev, struct net_device *netdev, const struct cfg80211_rx_assoc_resp_data *data) argument
17918 nl80211_send_deauth(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *buf, size_t len, bool reconnect, gfp_t gfp) argument
17933 nl80211_send_disassoc(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *buf, size_t len, bool reconnect, gfp_t gfp) argument
17983 nl80211_send_mlme_timeout(struct cfg80211_registered_device *rdev, struct net_device *netdev, int cmd, const u8 *addr, gfp_t gfp) argument
18016 nl80211_send_auth_timeout(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *addr, gfp_t gfp) argument
18024 nl80211_send_assoc_timeout(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *addr, gfp_t gfp) argument
18032 nl80211_send_connect_result(struct cfg80211_registered_device *rdev, struct net_device *netdev, struct cfg80211_connect_resp_params *cr, gfp_t gfp) argument
18145 nl80211_send_roamed(struct cfg80211_registered_device *rdev, struct net_device *netdev, struct cfg80211_roam_info *info, gfp_t gfp) argument
18249 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
18286 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
18392 nl80211_send_ibss_bssid(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *bssid, gfp_t gfp) argument
18468 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
18606 cfg80211_assoc_comeback(struct net_device *netdev, const u8 *ap_addr, u32 timeout) argument
18855 struct net_device *netdev = wdev->netdev; local
18908 struct net_device *netdev = wdev->netdev; local
19232 nl80211_gtk_rekey_notify(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *bssid, const u8 *replay_ctr, gfp_t gfp) argument
19288 nl80211_pmksa_candidate_notify(struct cfg80211_registered_device *rdev, struct net_device *netdev, int index, const u8 *bssid, bool preauth, gfp_t gfp) argument
19344 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
19509 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
19987 cfg80211_ft_event(struct net_device *netdev, struct cfg80211_ft_event_params *ft_event) argument
20161 cfg80211_update_owe_info_event(struct net_device *netdev, struct cfg80211_update_owe_info *owe_info, gfp_t gfp) argument
[all...]
/linux-master/net/tls/
H A Dtls_device.c74 struct net_device *netdev; local
79 netdev = rcu_dereference_protected(ctx->netdev,
82 netdev->tlsdev_ops->tls_dev_del(netdev, ctx, TLS_OFFLOAD_CTX_DIR_TX);
83 dev_put(netdev);
84 ctx->netdev = NULL;
90 struct net_device *netdev; local
105 netdev = rcu_dereference_protected(ctx->netdev,
127 struct net_device *netdev = NULL; local
233 struct net_device *netdev; local
701 struct net_device *netdev; local
1021 tls_device_attach(struct tls_context *ctx, struct sock *sk, struct net_device *netdev) argument
1068 struct net_device *netdev; local
1198 struct net_device *netdev; local
1273 struct net_device *netdev; local
1295 tls_device_down(struct net_device *netdev) argument
[all...]
H A Dtls_device_fallback.c437 if (dev == rcu_dereference_bh(tls_get_ctx(sk)->netdev) ||
/linux-master/net/phonet/
H A Dpn_netlink.c143 if (fill_addr(skb, pnd->netdev, addr << 2,

Completed in 633 milliseconds

1234567891011>>