Home
last modified time | relevance | path

Searched refs:net_device (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-12.1/sys/ofed/drivers/infiniband/core/
H A Dcore_priv.h82 struct net_device *idev, void *cookie);
85 struct net_device *idev, void *cookie);
107 struct net_device *ndev,
118 struct net_device *ndev);
119 void ib_cache_gid_del_all_by_netdev(struct net_device *ndev);
131 static inline bool rdma_is_upper_dev_rcu(struct net_device *dev, in rdma_is_upper_dev_rcu()
132 struct net_device *upper) in rdma_is_upper_dev_rcu()
H A Dib_roce_gid_mgmt.c58 struct net_device *ndev;
121 struct net_device *idev, void *cookie) in roce_gid_match_netdev()
123 struct net_device *ndev = (struct net_device *)cookie; in roce_gid_match_netdev()
131 struct net_device *idev, void *cookie) in roce_gid_match_all()
140 u8 port, struct net_device *idev) in roce_gid_enum_netdev_default()
154 struct net_device *ndev, void *cookie) in roce_gid_update_addr_callback()
163 struct net_device *ndev; in roce_gid_update_addr_callback()
166 struct net_device *idev; in roce_gid_update_addr_callback()
315 roce_gid_queue_scan_event(struct net_device *ndev) in roce_gid_queue_scan_event()
358 roce_gid_delete_all_event(struct net_device *ndev) in roce_gid_delete_all_event()
[all …]
H A Dib_cache.c185 struct net_device *old_net_dev; in write_gid()
313 static void addrconf_ifid_eui48(u8 *eui, struct net_device *dev) in addrconf_ifid_eui48()
327 static void make_default_gid(struct net_device *dev, union ib_gid *gid) in make_default_gid()
402 struct net_device *ndev) in ib_cache_gid_del_all_netdev_gids()
492 struct net_device *ndev, u8 *port, in ib_cache_gid_find()
509 u8 port, struct net_device *ndev, in ib_find_cached_gid_by_port()
674 struct net_device *ndev, in ib_cache_gid_set_default_gid()
901 struct net_device *ndev, in ib_find_cached_gid()
H A Dib_device.c735 struct net_device *idev = NULL; in ib_enum_roce_netdev()
782 void ib_cache_gid_del_all_by_netdev(struct net_device *ndev) in ib_cache_gid_del_all_by_netdev()
875 enum ib_gid_type gid_type, struct net_device *ndev, in ib_find_gid()
959 struct net_device *ib_get_net_dev_by_params(struct ib_device *dev, in ib_get_net_dev_by_params()
965 struct net_device *net_dev = NULL; in ib_get_net_dev_by_params()
H A Dib_cma.c576 struct net_device *ndev; in cma_validate_port()
1276 struct net_device *dst_dev; in validate_ipv4_net_dev()
1328 struct net_device *dst_dev; in validate_ipv6_net_dev()
1406 static struct net_device *
1432 struct net_device *net_dev; in cma_get_net_dev()
1541 const struct net_device *net_dev) in cma_find_listener()
1568 struct net_device **net_dev) in cma_id_from_event()
1994 struct net_device *net_dev; in cma_req_handler()
2541 struct net_device *ndev = NULL; in cma_resolve_iboe_route()
3822 struct net_device *ndev = in cma_ib_mc_handler()
[all …]
H A Dib_addr.c140 int rdma_copy_addr(struct rdma_dev_addr *dev_addr, struct net_device *dev, in rdma_copy_addr()
173 struct net_device *dev; in rdma_translate_ip()
679 struct net_device *ndev = NULL; in addr_resolve()
867 u8 *dmac, struct net_device *dev, in rdma_addr_find_l2_eth_by_grh()
H A Dib_sa_query.c653 struct net_device *ndev = NULL; in ib_init_ah_from_path()
666 struct net_device *idev; in ib_init_ah_from_path()
667 struct net_device *resolved_dev; in ib_init_ah_from_path()
H A Dib_multicast.c726 struct net_device *ndev, in ib_init_ah_from_mcmember()
/freebsd-12.1/sys/compat/linuxkpi/common/include/linux/
H A Dnetdevice.h58 #define net_device ifnet macro
83 netdev_priv(const struct net_device *dev) in netdev_priv()
88 static inline struct net_device *
103 dev_mc_delete(struct net_device *dev, void *addr, int alen, int all) in dev_mc_delete()
119 dev_mc_del(struct net_device *dev, void *addr) in dev_mc_del()
125 dev_mc_add(struct net_device *dev, void *addr, int alen, int newonly) in dev_mc_add()
H A Dinetdevice.h36 static inline struct net_device *
61 static inline struct net_device *
/freebsd-12.1/sys/ofed/include/rdma/
H A Dib_addr.h132 int rdma_copy_addr(struct rdma_dev_addr *dev_addr, struct net_device *dev,
141 u8 *smac, struct net_device *dev,
166 static inline u16 rdma_vlan_dev_vlan_id(const struct net_device *dev) in rdma_vlan_dev_vlan_id()
221 struct net_device *dev; in iboe_addr_get_sgid()
290 static inline int iboe_get_rate(struct net_device *dev) in iboe_get_rate()
355 static inline struct net_device *rdma_vlan_dev_real_dev(struct net_device *dev) in rdma_vlan_dev_real_dev()
H A Dib_cache.h79 struct net_device *ndev,
102 struct net_device *ndev,
H A Dib_sa.h183 static inline struct net_device *ib_get_ndev_from_path(struct ib_sa_path_rec *rec) in ib_get_ndev_from_path()
427 struct net_device *ndev,
H A Dib_verbs.h95 struct net_device *ndev;
1895 struct net_device *(*get_netdev)(struct ib_device *device,
2142 struct net_device *(*get_net_dev_by_params)(
2567 enum ib_gid_type gid_type, struct net_device *ndev,
3344 struct net_device *ib_get_net_dev_by_params(struct ib_device *dev, u8 port,
/freebsd-12.1/sys/dev/mlx4/mlx4_en/
H A Den.h388 struct net_device *dev;
448 struct net_device *pndev[MLX4_MAX_PORTS + 1];
539 struct net_device *dev;
706 struct net_device *dev = cq->dev; in mlx4_en_cq_lock_poll()
775 void mlx4_en_destroy_netdev(struct net_device *dev);
779 int mlx4_en_start_port(struct net_device *dev);
780 void mlx4_en_stop_port(struct net_device *dev);
823 int mlx4_en_process_rx_cq(struct net_device *dev,
833 void mlx4_en_calc_rx_buf(struct net_device *dev);
859 int mlx4_en_setup_tc(struct net_device *dev, u8 up);
[all …]
H A Dmlx4_en_netdev.c66 struct net_device *dev = cq->dev; in mlx4_en_low_latency_recv()
847 struct net_device *dev, in mlx4_en_do_multicast()
980 struct net_device *dev, in mlx4_en_do_unicast()
1014 struct net_device *dev = priv->dev; in mlx4_en_do_set_rx_mode()
1261 int mlx4_en_start_port(struct net_device *dev) in mlx4_en_start_port()
1454 void mlx4_en_stop_port(struct net_device *dev) in mlx4_en_stop_port()
1571 struct net_device *dev = priv->dev; in mlx4_en_restart()
1638 struct net_device *dev; in mlx4_en_open()
2138 struct net_device *dev; in mlx4_en_init_netdev()
2540 struct net_device *dev; in mlx4_en_read_eeprom()
[all …]
H A Dmlx4_en_resources.c46 struct net_device *dev = priv->dev; in mlx4_en_fill_qp_context()
H A Dmlx4_en_tx.c311 int mlx4_en_free_tx_buf(struct net_device *dev, struct mlx4_en_tx_ring *ring) in mlx4_en_free_tx_buf()
347 static int mlx4_en_process_tx_cq(struct net_device *dev, in mlx4_en_process_tx_cq()
607 u16 mlx4_en_select_queue(struct net_device *dev, struct mbuf *mb) in mlx4_en_select_queue()
H A Dmlx4_en_port.c152 static void mlx4_en_fold_software_stats(struct net_device *dev) in mlx4_en_fold_software_stats()
190 struct net_device *dev = mdev->pndev[port]; in mlx4_en_DUMP_ETH_STATS()
H A Dmlx4_en_rx.c341 void mlx4_en_calc_rx_buf(struct net_device *dev) in mlx4_en_calc_rx_buf()
738 int mlx4_en_process_rx_cq(struct net_device *dev, struct mlx4_en_cq *cq, int budget) in mlx4_en_process_rx_cq()
869 struct net_device *dev = cq->dev; in mlx4_en_poll_rx_cq()
/freebsd-12.1/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c95 static struct net_device *ipoib_get_net_dev_by_params(
1159 ipoib_match_dev_addr(const struct sockaddr *addr, struct net_device *dev) in ipoib_match_dev_addr()
1194 struct net_device **found_net_dev) in ipoib_match_gid_pkey_addr()
1203 struct net_device *net_dev; in ipoib_match_gid_pkey_addr()
1238 const struct sockaddr *addr, struct net_device **net_dev) in __ipoib_get_net_dev_by_params()
1259 static struct net_device *
1263 struct net_device *net_dev; in ipoib_get_net_dev_by_params()
/freebsd-12.1/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c135 static struct net_device *mlx4_ib_get_netdev(struct ib_device *device, u8 port_num) in mlx4_ib_get_netdev()
138 struct net_device *dev; in mlx4_ib_get_netdev()
146 struct net_device *upper = NULL; in mlx4_ib_get_netdev()
150 struct net_device *active; in mlx4_ib_get_netdev()
692 struct net_device *ndev; in eth_link_query_port()
1346 struct net_device *ndev; in mlx4_ib_add_mc()
1958 struct net_device *ndev; in mlx4_ib_mcg_detach()
2282 struct net_device *dev, in mlx4_ib_update_qps()
2337 struct net_device *dev, in mlx4_ib_scan_netdevs()
2368 struct net_device *dev = netdev_notifier_info_to_dev(ptr); in mlx4_ib_netdev_event()
[all …]
H A Dmlx4_ib.h503 struct net_device *netdevs[MLX4_MAX_PORTS];
/freebsd-12.1/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c96 static bool mlx5_netdev_match(struct net_device *ndev, in mlx5_netdev_match()
110 struct net_device *ndev = netdev_notifier_info_to_dev(ptr); in mlx5_netdev_event()
127 struct net_device *upper = NULL; in mlx5_netdev_event()
149 static struct net_device *mlx5_ib_get_netdev(struct ib_device *device, in mlx5_ib_get_netdev()
153 struct net_device *ndev; in mlx5_ib_get_netdev()
285 struct net_device *ndev; in mlx5_query_port_roce()
2920 struct net_device *idev; in mlx5_enable_roce()
H A Dmlx5_ib.h603 struct net_device *netdev;

12