Home
last modified time | relevance | path

Searched refs:netdev (Results 176 - 200 of 1721) sorted by relevance

12345678910>>...69

/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
H A Dnfp_app.c38 struct nfp_app *nfp_app_from_netdev(struct net_device *netdev) in nfp_app_from_netdev() argument
40 if (nfp_netdev_is_nfp_net(netdev)) { in nfp_app_from_netdev()
41 struct nfp_net *nn = netdev_priv(netdev); in nfp_app_from_netdev()
46 if (nfp_netdev_is_nfp_repr(netdev)) { in nfp_app_from_netdev()
47 struct nfp_repr *repr = netdev_priv(netdev); in nfp_app_from_netdev()
52 WARN(1, "Unknown netdev type for nfp_app\n"); in nfp_app_from_netdev()
64 int nfp_app_ndo_init(struct net_device *netdev) in nfp_app_ndo_init() argument
66 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_ndo_init()
70 return app->type->ndo_init(app, netdev); in nfp_app_ndo_init()
73 void nfp_app_ndo_uninit(struct net_device *netdev) in nfp_app_ndo_uninit() argument
142 nfp_app_netdev_feat_change(struct nfp_app *app, struct net_device *netdev) nfp_app_netdev_feat_change() argument
176 struct net_device *netdev; nfp_app_netdev_event() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/
H A Dnfp_app.c38 struct nfp_app *nfp_app_from_netdev(struct net_device *netdev) in nfp_app_from_netdev() argument
40 if (nfp_netdev_is_nfp_net(netdev)) { in nfp_app_from_netdev()
41 struct nfp_net *nn = netdev_priv(netdev); in nfp_app_from_netdev()
46 if (nfp_netdev_is_nfp_repr(netdev)) { in nfp_app_from_netdev()
47 struct nfp_repr *repr = netdev_priv(netdev); in nfp_app_from_netdev()
52 WARN(1, "Unknown netdev type for nfp_app\n"); in nfp_app_from_netdev()
64 int nfp_app_ndo_init(struct net_device *netdev) in nfp_app_ndo_init() argument
66 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_ndo_init()
70 return app->type->ndo_init(app, netdev); in nfp_app_ndo_init()
73 void nfp_app_ndo_uninit(struct net_device *netdev) in nfp_app_ndo_uninit() argument
142 nfp_app_netdev_feat_change(struct nfp_app *app, struct net_device *netdev) nfp_app_netdev_feat_change() argument
176 struct net_device *netdev; nfp_app_netdev_event() local
[all...]
H A Dnfp_net_common.c56 static int nfp_net_mc_unsync(struct net_device *netdev, const unsigned char *addr);
395 * nfp_net_irqs_assign() - Assign interrupts allocated externally to netdev
401 * should be called to assign them to a specific netdev (port).
497 netif_carrier_on(nn->dp.netdev); in nfp_net_read_link_status()
498 netdev_info(nn->dp.netdev, "NIC Link is Up\n"); in nfp_net_read_link_status()
500 netif_carrier_off(nn->dp.netdev); in nfp_net_read_link_status()
501 netdev_info(nn->dp.netdev, "NIC Link is Down\n"); in nfp_net_read_link_status()
685 static void nfp_net_tx_timeout(struct net_device *netdev, unsigned int txqueue) in nfp_net_tx_timeout() argument
687 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_tx_timeout()
757 if (nn->dp.netdev) { in nfp_net_vecs_init()
1119 nfp_net_netdev_close(struct net_device *netdev) nfp_net_netdev_close() argument
1299 nfp_net_netdev_open(struct net_device *netdev) nfp_net_netdev_open() argument
1445 nfp_net_mc_sync(struct net_device *netdev, const unsigned char *addr) nfp_net_mc_sync() argument
1459 nfp_net_mc_unsync(struct net_device *netdev, const unsigned char *addr) nfp_net_mc_unsync() argument
1467 nfp_net_set_rx_mode(struct net_device *netdev) nfp_net_set_rx_mode() argument
1699 nfp_net_change_mtu(struct net_device *netdev, int new_mtu) nfp_net_change_mtu() argument
1719 nfp_net_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) nfp_net_vlan_rx_add_vid() argument
1743 nfp_net_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) nfp_net_vlan_rx_kill_vid() argument
1766 nfp_net_stat64(struct net_device *netdev, struct rtnl_link_stats64 *stats) nfp_net_stat64() argument
1808 nfp_net_set_features(struct net_device *netdev, netdev_features_t features) nfp_net_set_features() argument
1901 nfp_net_fix_features(struct net_device *netdev, netdev_features_t features) nfp_net_fix_features() argument
1973 nfp_net_get_phys_port_name(struct net_device *netdev, char *name, size_t len) nfp_net_get_phys_port_name() argument
2036 nfp_net_xdp(struct net_device *netdev, struct netdev_bpf *xdp) nfp_net_xdp() argument
2053 nfp_net_set_mac_address(struct net_device *netdev, void *addr) nfp_net_set_mac_address() argument
2195 nfp_udp_tunnel_sync(struct net_device *netdev, unsigned int table) nfp_udp_tunnel_sync() argument
2297 struct net_device *netdev; nfp_net_alloc() local
2486 struct net_device *netdev = nn->dp.netdev; nfp_net_netdev_init() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c209 struct net_device *netdev = x->xso.real_dev; in mlx5e_xfrm_validate_state() local
212 priv = netdev_priv(netdev); in mlx5e_xfrm_validate_state()
215 netdev_info(netdev, "Cannot offload authenticated xfrm states\n"); in mlx5e_xfrm_validate_state()
219 netdev_info(netdev, "Only AES-GCM-ICV16 xfrm state may be offloaded\n"); in mlx5e_xfrm_validate_state()
223 netdev_info(netdev, "Cannot offload compressed xfrm states\n"); in mlx5e_xfrm_validate_state()
229 netdev_info(netdev, "Cannot offload ESN xfrm states\n"); in mlx5e_xfrm_validate_state()
234 netdev_info(netdev, "Only IPv4/6 xfrm states may be offloaded\n"); in mlx5e_xfrm_validate_state()
239 dev_info(&netdev->dev, "Only transport and tunnel xfrm states may be offloaded\n"); in mlx5e_xfrm_validate_state()
243 netdev_info(netdev, "Only ESP xfrm state may be offloaded\n"); in mlx5e_xfrm_validate_state()
247 netdev_info(netdev, "Encapsulate in mlx5e_xfrm_validate_state()
308 struct net_device *netdev = x->xso.real_dev; mlx5e_xfrm_add_state() local
530 struct net_device *netdev = priv->netdev; mlx5e_ipsec_build_netdev() local
[all...]
/kernel/linux/linux-5.10/drivers/net/can/usb/
H A Desd_usb2.c210 struct net_device *netdev; member
219 struct net_device_stats *stats = &priv->netdev->stats; in esd_usb2_rx_event()
230 netdev_dbg(priv->netdev, in esd_usb2_rx_event()
234 skb = alloc_can_err_skb(priv->netdev, &cf); in esd_usb2_rx_event()
248 can_bus_off(priv->netdev); in esd_usb2_rx_event()
313 struct net_device_stats *stats = &priv->netdev->stats; in esd_usb2_rx_can_msg()
319 if (!netif_device_present(priv->netdev)) in esd_usb2_rx_can_msg()
327 skb = alloc_can_skb(priv->netdev, &cf); in esd_usb2_rx_can_msg()
357 struct net_device_stats *stats = &priv->netdev->stats; in esd_usb2_tx_done_msg()
358 struct net_device *netdev in esd_usb2_tx_done_msg() local
465 struct net_device *netdev; esd_usb2_write_bulk_callback() local
624 struct net_device *netdev = priv->netdev; esd_usb2_start() local
699 esd_usb2_open(struct net_device *netdev) esd_usb2_open() argument
722 esd_usb2_start_xmit(struct sk_buff *skb, struct net_device *netdev) esd_usb2_start_xmit() argument
852 esd_usb2_close(struct net_device *netdev) esd_usb2_close() argument
911 esd_usb2_set_bittiming(struct net_device *netdev) esd_usb2_set_bittiming() argument
960 esd_usb2_get_berr_counter(const struct net_device *netdev, struct can_berr_counter *bec) esd_usb2_get_berr_counter() argument
971 esd_usb2_set_mode(struct net_device *netdev, enum can_mode mode) esd_usb2_set_mode() argument
988 struct net_device *netdev; esd_usb2_probe_one_net() local
1133 struct net_device *netdev; esd_usb2_disconnect() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
H A Dtunnel_conf.c231 struct net_device *netdev; in nfp_tunnel_keep_alive() local
254 netdev = nfp_app_dev_get(app, port, NULL); in nfp_tunnel_keep_alive()
255 if (!netdev) in nfp_tunnel_keep_alive()
258 n = neigh_lookup(&arp_tbl, &ipv4_addr, netdev); in nfp_tunnel_keep_alive()
273 struct net_device *netdev; in nfp_tunnel_keep_alive_v6() local
296 netdev = nfp_app_dev_get(app, port, NULL); in nfp_tunnel_keep_alive_v6()
297 if (!netdev) in nfp_tunnel_keep_alive_v6()
300 n = neigh_lookup(&nd_tbl, ipv6_add, netdev); in nfp_tunnel_keep_alive_v6()
448 nfp_tun_write_neigh_v4(struct net_device *netdev, struct nfp_app *app, in nfp_tun_write_neigh_v4() argument
454 port_id = nfp_flower_get_port_id_from_netdev(app, netdev); in nfp_tun_write_neigh_v4()
484 nfp_tun_write_neigh_v6(struct net_device *netdev, struct nfp_app *app, struct flowi6 *flow, struct neighbour *neigh, gfp_t flag) nfp_tun_write_neigh_v6() argument
603 struct net_device *netdev; nfp_tunnel_request_route_v4() local
647 struct net_device *netdev; nfp_tunnel_request_route_v6() local
898 nfp_tunnel_offloaded_macs_inc_ref_and_link(struct nfp_tun_offloaded_mac *entry, struct net_device *netdev, bool mod) nfp_tunnel_offloaded_macs_inc_ref_and_link() argument
921 nfp_tunnel_add_shared_mac(struct nfp_app *app, struct net_device *netdev, int port, bool mod) nfp_tunnel_add_shared_mac() argument
1007 nfp_tunnel_del_shared_mac(struct nfp_app *app, struct net_device *netdev, u8 *mac, bool mod) nfp_tunnel_del_shared_mac() argument
1089 nfp_tunnel_offload_mac(struct nfp_app *app, struct net_device *netdev, enum nfp_flower_mac_offload_cmd cmd) nfp_tunnel_offload_mac() argument
1196 nfp_tunnel_mac_event_handler(struct nfp_app *app, struct net_device *netdev, unsigned long event, void *ptr) nfp_tunnel_mac_event_handler() argument
[all...]
H A Dqos_conf.c61 nfp_flower_install_rate_limiter(struct nfp_app *app, struct net_device *netdev, in nfp_flower_install_rate_limiter() argument
75 if (!nfp_netdev_is_nfp_repr(netdev)) { in nfp_flower_install_rate_limiter()
79 repr = netdev_priv(netdev); in nfp_flower_install_rate_limiter()
109 netdev_port_id = nfp_repr_get_port_id(netdev); in nfp_flower_install_rate_limiter()
137 nfp_flower_remove_rate_limiter(struct nfp_app *app, struct net_device *netdev, in nfp_flower_remove_rate_limiter() argument
148 if (!nfp_netdev_is_nfp_repr(netdev)) { in nfp_flower_remove_rate_limiter()
152 repr = netdev_priv(netdev); in nfp_flower_remove_rate_limiter()
154 netdev_port_id = nfp_repr_get_port_id(netdev); in nfp_flower_remove_rate_limiter()
188 struct net_device *netdev; in nfp_flower_stats_rlim_reply() local
195 netdev in nfp_flower_stats_rlim_reply()
255 struct net_device *netdev; nfp_flower_stats_rlim_request_all() local
290 nfp_flower_stats_rate_limiter(struct nfp_app *app, struct net_device *netdev, struct tc_cls_matchall_offload *flow, struct netlink_ext_ack *extack) nfp_flower_stats_rate_limiter() argument
343 nfp_flower_setup_qos_offload(struct nfp_app *app, struct net_device *netdev, struct tc_cls_matchall_offload *flow) nfp_flower_setup_qos_offload() argument
[all...]
H A Dmain.c40 struct net_device *netdev) in nfp_flower_lookup_internal_port_id()
47 if (entry == netdev) { in nfp_flower_lookup_internal_port_id()
57 nfp_flower_get_internal_port_id(struct nfp_app *app, struct net_device *netdev) in nfp_flower_get_internal_port_id() argument
62 id = nfp_flower_lookup_internal_port_id(priv, netdev); in nfp_flower_get_internal_port_id()
68 id = idr_alloc(&priv->internal_ports.port_ids, netdev, in nfp_flower_get_internal_port_id()
77 struct net_device *netdev) in nfp_flower_get_port_id_from_netdev()
81 if (nfp_netdev_is_nfp_repr(netdev)) { in nfp_flower_get_port_id_from_netdev()
82 return nfp_repr_get_port_id(netdev); in nfp_flower_get_port_id_from_netdev()
83 } else if (nfp_flower_internal_port_can_offload(app, netdev)) { in nfp_flower_get_port_id_from_netdev()
84 ext_port = nfp_flower_get_internal_port_id(app, netdev); in nfp_flower_get_port_id_from_netdev()
39 nfp_flower_lookup_internal_port_id(struct nfp_flower_priv *priv, struct net_device *netdev) nfp_flower_lookup_internal_port_id() argument
76 nfp_flower_get_port_id_from_netdev(struct nfp_app *app, struct net_device *netdev) nfp_flower_get_port_id_from_netdev() argument
98 struct net_device *netdev; nfp_flower_get_netdev_from_internal_port_id() local
108 nfp_flower_free_internal_port_id(struct nfp_app *app, struct net_device *netdev) nfp_flower_free_internal_port_id() argument
123 nfp_flower_internal_port_event_handler(struct nfp_app *app, struct net_device *netdev, unsigned long event) nfp_flower_internal_port_event_handler() argument
146 nfp_flower_non_repr_priv_lookup(struct nfp_app *app, struct net_device *netdev) nfp_flower_non_repr_priv_lookup() argument
167 nfp_flower_non_repr_priv_get(struct nfp_app *app, struct net_device *netdev) nfp_flower_non_repr_priv_get() argument
199 nfp_flower_non_repr_priv_put(struct nfp_app *app, struct net_device *netdev) nfp_flower_non_repr_priv_put() argument
274 struct net_device *netdev; nfp_flower_reprs_reify() local
332 nfp_flower_repr_netdev_clean(struct nfp_app *app, struct net_device *netdev) nfp_flower_repr_netdev_clean() argument
340 nfp_flower_repr_netdev_preclean(struct nfp_app *app, struct net_device *netdev) nfp_flower_repr_netdev_preclean() argument
885 nfp_flower_repr_change_mtu(struct nfp_app *app, struct net_device *netdev, int new_mtu) nfp_flower_repr_change_mtu() argument
966 nfp_flower_netdev_event(struct nfp_app *app, struct net_device *netdev, unsigned long event, void *ptr) nfp_flower_netdev_event() argument
[all...]
/kernel/linux/linux-6.6/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()
193 i40e_dcbnl_ieee_setapp(struct net_device *netdev, struct dcb_app *app) i40e_dcbnl_ieee_setapp() argument
245 i40e_dcbnl_ieee_delapp(struct net_device *netdev, struct dcb_app *app) i40e_dcbnl_ieee_delapp() argument
308 i40e_dcbnl_getstate(struct net_device *netdev) i40e_dcbnl_getstate() argument
324 i40e_dcbnl_setstate(struct net_device *netdev, u8 state) i40e_dcbnl_setstate() argument
366 i40e_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 prio_type, u8 bwg_id, u8 bw_pct, u8 up_map) i40e_dcbnl_set_pg_tc_cfg_tx() argument
402 i40e_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 bw_pct) i40e_dcbnl_set_pg_bwg_cfg_tx() argument
432 i40e_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, int __always_unused prio, u8 __always_unused prio_type, u8 __always_unused pgid, u8 __always_unused bw_pct, u8 __always_unused up_map) i40e_dcbnl_set_pg_tc_cfg_rx() argument
453 i40e_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, u8 bw_pct) i40e_dcbnl_set_pg_bwg_cfg_rx() argument
472 i40e_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int prio, u8 __always_unused *prio_type, u8 *pgid, u8 __always_unused *bw_pct, u8 __always_unused *up_map) i40e_dcbnl_get_pg_tc_cfg_tx() argument
500 i40e_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 *bw_pct) i40e_dcbnl_get_pg_bwg_cfg_tx() argument
530 i40e_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int prio, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) i40e_dcbnl_get_pg_tc_cfg_rx() argument
556 i40e_dcbnl_get_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, u8 *bw_pct) i40e_dcbnl_get_pg_bwg_cfg_rx() argument
575 i40e_dcbnl_set_pfc_cfg(struct net_device *netdev, int prio, u8 setting) i40e_dcbnl_set_pfc_cfg() argument
605 i40e_dcbnl_get_pfc_cfg(struct net_device *netdev, int prio, u8 *setting) i40e_dcbnl_get_pfc_cfg() argument
629 i40e_dcbnl_cee_set_all(struct net_device *netdev) i40e_dcbnl_cee_set_all() argument
652 i40e_dcbnl_get_cap(struct net_device *netdev, int capid, u8 *cap) i40e_dcbnl_get_cap() argument
692 i40e_dcbnl_getnumtcs(struct net_device *netdev, int tcid, u8 *num) i40e_dcbnl_getnumtcs() argument
711 i40e_dcbnl_setnumtcs(struct net_device *netdev, int tcid, u8 num) i40e_dcbnl_setnumtcs() argument
722 i40e_dcbnl_getpfcstate(struct net_device *netdev) i40e_dcbnl_getpfcstate() argument
741 i40e_dcbnl_setpfcstate(struct net_device *netdev, u8 state) i40e_dcbnl_setpfcstate() argument
756 i40e_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) i40e_dcbnl_getapp() argument
778 i40e_dcbnl_setdcbx(struct net_device *netdev, u8 mode) i40e_dcbnl_setdcbx() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/vmxnet3/
H A Dvmxnet3_ethtool.c136 vmxnet3_get_stats64(struct net_device *netdev, in vmxnet3_get_stats64() argument
147 adapter = netdev_priv(netdev); in vmxnet3_get_stats64()
185 vmxnet3_get_sset_count(struct net_device *netdev, int sset) in vmxnet3_get_sset_count() argument
187 struct vmxnet3_adapter *adapter = netdev_priv(netdev); in vmxnet3_get_sset_count()
210 vmxnet3_get_regs_len(struct net_device *netdev) in vmxnet3_get_regs_len() argument
212 struct vmxnet3_adapter *adapter = netdev_priv(netdev); in vmxnet3_get_regs_len()
223 vmxnet3_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in vmxnet3_get_drvinfo() argument
225 struct vmxnet3_adapter *adapter = netdev_priv(netdev); in vmxnet3_get_drvinfo()
238 vmxnet3_get_strings(struct net_device *netdev, u32 stringset, u8 *buf) in vmxnet3_get_strings() argument
240 struct vmxnet3_adapter *adapter = netdev_priv(netdev); in vmxnet3_get_strings()
264 vmxnet3_fix_features(struct net_device *netdev, netdev_features_t features) vmxnet3_fix_features() argument
282 vmxnet3_features_check(struct sk_buff *skb, struct net_device *netdev, netdev_features_t features) vmxnet3_features_check() argument
324 vmxnet3_enable_encap_offloads(struct net_device *netdev, netdev_features_t features) vmxnet3_enable_encap_offloads() argument
385 vmxnet3_disable_encap_offloads(struct net_device *netdev) vmxnet3_disable_encap_offloads() argument
414 vmxnet3_set_features(struct net_device *netdev, netdev_features_t features) vmxnet3_set_features() argument
467 vmxnet3_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *buf) vmxnet3_get_ethtool_stats() argument
520 vmxnet3_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) vmxnet3_get_regs() argument
614 vmxnet3_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) vmxnet3_get_wol() argument
624 vmxnet3_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) vmxnet3_set_wol() argument
642 vmxnet3_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *ecmd) vmxnet3_get_link_ksettings() argument
666 vmxnet3_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *param, struct kernel_ethtool_ringparam *kernel_param, struct netlink_ext_ack *extack) vmxnet3_get_ringparam() argument
687 vmxnet3_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *param, struct kernel_ethtool_ringparam *kernel_param, struct netlink_ext_ack *extack) vmxnet3_set_ringparam() argument
902 vmxnet3_set_rss_hash_opt(struct net_device *netdev, struct vmxnet3_adapter *adapter, struct ethtool_rxnfc *nfc) vmxnet3_set_rss_hash_opt() argument
1067 vmxnet3_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info, u32 *rules) vmxnet3_get_rxnfc() argument
1099 vmxnet3_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info) vmxnet3_set_rxnfc() argument
1130 vmxnet3_get_rss_indir_size(struct net_device *netdev) vmxnet3_get_rss_indir_size() argument
1139 vmxnet3_get_rss(struct net_device *netdev, u32 *p, u8 *key, u8 *hfunc) vmxnet3_get_rss() argument
1158 vmxnet3_set_rss(struct net_device *netdev, const u32 *p, const u8 *key, const u8 hfunc) vmxnet3_set_rss() argument
1185 vmxnet3_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) vmxnet3_get_coalesce() argument
1222 vmxnet3_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) vmxnet3_set_coalesce() argument
1318 vmxnet3_get_channels(struct net_device *netdev, struct ethtool_channels *ec) vmxnet3_get_channels() argument
1374 vmxnet3_set_ethtool_ops(struct net_device *netdev) vmxnet3_set_ethtool_ops() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/
H A Dmain.c40 struct net_device *netdev) in nfp_flower_lookup_internal_port_id()
47 if (entry == netdev) { in nfp_flower_lookup_internal_port_id()
57 nfp_flower_get_internal_port_id(struct nfp_app *app, struct net_device *netdev) in nfp_flower_get_internal_port_id() argument
62 id = nfp_flower_lookup_internal_port_id(priv, netdev); in nfp_flower_get_internal_port_id()
68 id = idr_alloc(&priv->internal_ports.port_ids, netdev, in nfp_flower_get_internal_port_id()
77 struct net_device *netdev) in nfp_flower_get_port_id_from_netdev()
83 if (nfp_netdev_is_nfp_repr(netdev)) { in nfp_flower_get_port_id_from_netdev()
84 return nfp_repr_get_port_id(netdev); in nfp_flower_get_port_id_from_netdev()
85 } else if (nfp_flower_internal_port_can_offload(app, netdev)) { in nfp_flower_get_port_id_from_netdev()
86 ext_port = nfp_flower_get_internal_port_id(app, netdev); in nfp_flower_get_port_id_from_netdev()
39 nfp_flower_lookup_internal_port_id(struct nfp_flower_priv *priv, struct net_device *netdev) nfp_flower_lookup_internal_port_id() argument
76 nfp_flower_get_port_id_from_netdev(struct nfp_app *app, struct net_device *netdev) nfp_flower_get_port_id_from_netdev() argument
107 struct net_device *netdev; nfp_flower_get_netdev_from_internal_port_id() local
117 nfp_flower_free_internal_port_id(struct nfp_app *app, struct net_device *netdev) nfp_flower_free_internal_port_id() argument
132 nfp_flower_internal_port_event_handler(struct nfp_app *app, struct net_device *netdev, unsigned long event) nfp_flower_internal_port_event_handler() argument
155 nfp_flower_non_repr_priv_lookup(struct nfp_app *app, struct net_device *netdev) nfp_flower_non_repr_priv_lookup() argument
176 nfp_flower_non_repr_priv_get(struct nfp_app *app, struct net_device *netdev) nfp_flower_non_repr_priv_get() argument
208 nfp_flower_non_repr_priv_put(struct nfp_app *app, struct net_device *netdev) nfp_flower_non_repr_priv_put() argument
283 struct net_device *netdev; nfp_flower_reprs_reify() local
341 nfp_flower_repr_netdev_clean(struct nfp_app *app, struct net_device *netdev) nfp_flower_repr_netdev_clean() argument
349 nfp_flower_repr_netdev_preclean(struct nfp_app *app, struct net_device *netdev) nfp_flower_repr_netdev_preclean() argument
894 nfp_flower_repr_change_mtu(struct nfp_app *app, struct net_device *netdev, int new_mtu) nfp_flower_repr_change_mtu() argument
975 nfp_flower_netdev_event(struct nfp_app *app, struct net_device *netdev, unsigned long event, void *ptr) nfp_flower_netdev_event() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-net.c46 netif_info(pdata, drv, pdata->netdev, in xlgmac_maybe_stop_tx_queue()
48 netif_stop_subqueue(pdata->netdev, channel->queue_index); in xlgmac_maybe_stop_tx_queue()
189 static int xlgmac_calc_rx_buf_size(struct net_device *netdev, unsigned int mtu) in xlgmac_calc_rx_buf_size() argument
194 netdev_alert(netdev, "MTU exceeds maximum supported value\n"); in xlgmac_calc_rx_buf_size()
269 netif_dbg(pdata, intr, pdata->netdev, "DMA_ISR=%#010x\n", dma_isr); in xlgmac_isr()
278 netif_dbg(pdata, intr, pdata->netdev, "DMA_CH%u_ISR=%#010x\n", in xlgmac_isr()
421 netif_napi_add(pdata->netdev, &channel->napi, in xlgmac_napi_enable()
429 netif_napi_add(pdata->netdev, &pdata->napi, in xlgmac_napi_enable()
459 struct net_device *netdev = pdata->netdev; in xlgmac_request_irqs() local
564 struct net_device *netdev = pdata->netdev; xlgmac_start() local
590 struct net_device *netdev = pdata->netdev; xlgmac_stop() local
640 xlgmac_open(struct net_device *netdev) xlgmac_open() argument
676 xlgmac_close(struct net_device *netdev) xlgmac_close() argument
692 xlgmac_tx_timeout(struct net_device *netdev, unsigned int txqueue) xlgmac_tx_timeout() argument
700 xlgmac_xmit(struct sk_buff *skb, struct net_device *netdev) xlgmac_xmit() argument
767 xlgmac_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *s) xlgmac_get_stats64() argument
792 xlgmac_set_mac_address(struct net_device *netdev, void *addr) xlgmac_set_mac_address() argument
808 xlgmac_ioctl(struct net_device *netdev, struct ifreq *ifreq, int cmd) xlgmac_ioctl() argument
817 xlgmac_change_mtu(struct net_device *netdev, int mtu) xlgmac_change_mtu() argument
834 xlgmac_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) xlgmac_vlan_rx_add_vid() argument
847 xlgmac_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) xlgmac_vlan_rx_kill_vid() argument
861 xlgmac_poll_controller(struct net_device *netdev) xlgmac_poll_controller() argument
879 xlgmac_set_features(struct net_device *netdev, netdev_features_t features) xlgmac_set_features() argument
919 xlgmac_set_rx_mode(struct net_device *netdev) xlgmac_set_rx_mode() argument
1038 struct net_device *netdev = pdata->netdev; xlgmac_tx_poll() local
1111 struct net_device *netdev = pdata->netdev; xlgmac_rx_poll() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/
H A Dethsw-ethtool.c32 static void dpaa2_switch_get_drvinfo(struct net_device *netdev, in dpaa2_switch_get_drvinfo() argument
35 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_get_drvinfo()
51 strlcpy(drvinfo->bus_info, dev_name(netdev->dev.parent->parent), in dpaa2_switch_get_drvinfo()
56 dpaa2_switch_get_link_ksettings(struct net_device *netdev, in dpaa2_switch_get_link_ksettings() argument
59 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_get_link_ksettings()
68 netdev_err(netdev, "ERROR %d getting link state\n", err); in dpaa2_switch_get_link_ksettings()
87 dpaa2_switch_set_link_ksettings(struct net_device *netdev, in dpaa2_switch_set_link_ksettings() argument
90 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_set_link_ksettings()
97 if_running = netif_running(netdev); in dpaa2_switch_set_link_ksettings()
103 netdev_err(netdev, "dpsw_if_disabl in dpaa2_switch_set_link_ksettings()
145 dpaa2_switch_ethtool_get_strings(struct net_device *netdev, u32 stringset, u8 *data) dpaa2_switch_ethtool_get_strings() argument
160 dpaa2_switch_ethtool_get_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) dpaa2_switch_ethtool_get_stats() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib.c41 static int mlx5i_open(struct net_device *netdev);
42 static int mlx5i_close(struct net_device *netdev);
43 static int mlx5i_change_mtu(struct net_device *netdev, int new_mtu);
55 /* IPoIB mlx5 netdev profile */
80 struct net_device *netdev, in mlx5i_init()
84 struct mlx5e_priv *priv = mlx5i_epriv(netdev); in mlx5i_init()
87 err = mlx5e_netdev_init(netdev, priv, mdev, profile, ppriv); in mlx5i_init()
92 netdev->mtu = netdev->max_mtu; in mlx5i_init()
95 netdev in mlx5i_init()
79 mlx5i_init(struct mlx5_core_dev *mdev, struct net_device *netdev, const struct mlx5e_profile *profile, void *ppriv) mlx5i_init() argument
473 mlx5i_change_mtu(struct net_device *netdev, int new_mtu) mlx5i_change_mtu() argument
545 mlx5i_open(struct net_device *netdev) mlx5i_open() argument
588 mlx5i_close(struct net_device *netdev) mlx5i_close() argument
615 mlx5i_attach_mcast(struct net_device *netdev, struct ib_device *hca, union ib_gid *gid, u16 lid, int set_qkey, u32 qkey) mlx5i_attach_mcast() argument
640 mlx5i_detach_mcast(struct net_device *netdev, struct ib_device *hca, union ib_gid *gid, u16 lid) mlx5i_detach_mcast() argument
672 mlx5i_set_pkey_index(struct net_device *netdev, int id) mlx5i_set_pkey_index() argument
692 mlx5_rdma_netdev_free(struct net_device *netdev) mlx5_rdma_netdev_free() argument
719 mlx5_rdma_setup_rn(struct ib_device *ibdev, u8 port_num, struct net_device *netdev, void *param) mlx5_rdma_setup_rn() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/
H A Dbcm4908_enet.c81 struct net_device *netdev; member
404 bcm4908_enet_set_mtu(enet, enet->netdev->mtu); in bcm4908_enet_gmac_init()
448 static int bcm4908_enet_open(struct net_device *netdev) in bcm4908_enet_open() argument
450 struct bcm4908_enet *enet = netdev_priv(netdev); in bcm4908_enet_open()
456 err = request_irq(netdev->irq, bcm4908_enet_irq_handler, 0, "enet", enet); in bcm4908_enet_open()
458 dev_err(dev, "Failed to request IRQ %d: %d\n", netdev->irq, err); in bcm4908_enet_open()
468 free_irq(netdev->irq, enet); in bcm4908_enet_open()
490 netif_carrier_on(netdev); in bcm4908_enet_open()
491 netif_start_queue(netdev); in bcm4908_enet_open()
498 static int bcm4908_enet_stop(struct net_device *netdev) in bcm4908_enet_stop() argument
521 bcm4908_enet_start_xmit(struct sk_buff *skb, struct net_device *netdev) bcm4908_enet_start_xmit() argument
692 bcm4908_enet_change_mtu(struct net_device *netdev, int new_mtu) bcm4908_enet_change_mtu() argument
712 struct net_device *netdev; bcm4908_enet_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-net.c46 netif_info(pdata, drv, pdata->netdev, in xlgmac_maybe_stop_tx_queue()
48 netif_stop_subqueue(pdata->netdev, channel->queue_index); in xlgmac_maybe_stop_tx_queue()
189 static int xlgmac_calc_rx_buf_size(struct net_device *netdev, unsigned int mtu) in xlgmac_calc_rx_buf_size() argument
194 netdev_alert(netdev, "MTU exceeds maximum supported value\n"); in xlgmac_calc_rx_buf_size()
269 netif_dbg(pdata, intr, pdata->netdev, "DMA_ISR=%#010x\n", dma_isr); in xlgmac_isr()
278 netif_dbg(pdata, intr, pdata->netdev, "DMA_CH%u_ISR=%#010x\n", in xlgmac_isr()
421 netif_napi_add(pdata->netdev, &channel->napi, in xlgmac_napi_enable()
428 netif_napi_add(pdata->netdev, &pdata->napi, in xlgmac_napi_enable()
458 struct net_device *netdev = pdata->netdev; in xlgmac_request_irqs() local
563 struct net_device *netdev = pdata->netdev; xlgmac_start() local
589 struct net_device *netdev = pdata->netdev; xlgmac_stop() local
639 xlgmac_open(struct net_device *netdev) xlgmac_open() argument
675 xlgmac_close(struct net_device *netdev) xlgmac_close() argument
691 xlgmac_tx_timeout(struct net_device *netdev, unsigned int txqueue) xlgmac_tx_timeout() argument
699 xlgmac_xmit(struct sk_buff *skb, struct net_device *netdev) xlgmac_xmit() argument
766 xlgmac_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *s) xlgmac_get_stats64() argument
791 xlgmac_set_mac_address(struct net_device *netdev, void *addr) xlgmac_set_mac_address() argument
807 xlgmac_ioctl(struct net_device *netdev, struct ifreq *ifreq, int cmd) xlgmac_ioctl() argument
816 xlgmac_change_mtu(struct net_device *netdev, int mtu) xlgmac_change_mtu() argument
833 xlgmac_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) xlgmac_vlan_rx_add_vid() argument
846 xlgmac_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) xlgmac_vlan_rx_kill_vid() argument
860 xlgmac_poll_controller(struct net_device *netdev) xlgmac_poll_controller() argument
878 xlgmac_set_features(struct net_device *netdev, netdev_features_t features) xlgmac_set_features() argument
918 xlgmac_set_rx_mode(struct net_device *netdev) xlgmac_set_rx_mode() argument
1037 struct net_device *netdev = pdata->netdev; xlgmac_tx_poll() local
1110 struct net_device *netdev = pdata->netdev; xlgmac_rx_poll() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/
H A Dgve_ethtool.c11 static void gve_get_drvinfo(struct net_device *netdev, in gve_get_drvinfo() argument
14 struct gve_priv *priv = netdev_priv(netdev); in gve_get_drvinfo()
21 static void gve_set_msglevel(struct net_device *netdev, u32 value) in gve_set_msglevel() argument
23 struct gve_priv *priv = netdev_priv(netdev); in gve_set_msglevel()
28 static u32 gve_get_msglevel(struct net_device *netdev) in gve_get_msglevel() argument
30 struct gve_priv *priv = netdev_priv(netdev); in gve_get_msglevel()
75 static void gve_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in gve_get_strings() argument
77 struct gve_priv *priv = netdev_priv(netdev); in gve_get_strings()
119 static int gve_get_sset_count(struct net_device *netdev, int sset) in gve_get_sset_count() argument
121 struct gve_priv *priv = netdev_priv(netdev); in gve_get_sset_count()
136 gve_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) gve_get_ethtool_stats() argument
361 gve_get_channels(struct net_device *netdev, struct ethtool_channels *cmd) gve_get_channels() argument
376 gve_set_channels(struct net_device *netdev, struct ethtool_channels *cmd) gve_set_channels() argument
407 gve_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *cmd) gve_get_ringparam() argument
418 gve_user_reset(struct net_device *netdev, u32 *flags) gve_user_reset() argument
430 gve_get_tunable(struct net_device *netdev, const struct ethtool_tunable *etuna, void *value) gve_get_tunable() argument
444 gve_set_tunable(struct net_device *netdev, const struct ethtool_tunable *etuna, const void *value) gve_set_tunable() argument
463 gve_get_priv_flags(struct net_device *netdev) gve_get_priv_flags() argument
474 gve_set_priv_flags(struct net_device *netdev, u32 flags) gve_set_priv_flags() argument
509 gve_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) gve_get_link_ksettings() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/engleder/
H A Dtsnep_ethtool.c78 static void tsnep_ethtool_get_drvinfo(struct net_device *netdev, in tsnep_ethtool_get_drvinfo() argument
81 struct tsnep_adapter *adapter = netdev_priv(netdev); in tsnep_ethtool_get_drvinfo()
88 static int tsnep_ethtool_get_regs_len(struct net_device *netdev) in tsnep_ethtool_get_regs_len() argument
90 struct tsnep_adapter *adapter = netdev_priv(netdev); in tsnep_ethtool_get_regs_len()
106 static void tsnep_ethtool_get_regs(struct net_device *netdev, in tsnep_ethtool_get_regs() argument
110 struct tsnep_adapter *adapter = netdev_priv(netdev); in tsnep_ethtool_get_regs()
117 static u32 tsnep_ethtool_get_msglevel(struct net_device *netdev) in tsnep_ethtool_get_msglevel() argument
119 struct tsnep_adapter *adapter = netdev_priv(netdev); in tsnep_ethtool_get_msglevel()
124 static void tsnep_ethtool_set_msglevel(struct net_device *netdev, u32 data) in tsnep_ethtool_set_msglevel() argument
126 struct tsnep_adapter *adapter = netdev_priv(netdev); in tsnep_ethtool_set_msglevel()
131 tsnep_ethtool_get_strings(struct net_device *netdev, u32 stringset, u8 *data) tsnep_ethtool_get_strings() argument
166 tsnep_ethtool_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) tsnep_ethtool_get_ethtool_stats() argument
240 tsnep_ethtool_get_sset_count(struct net_device *netdev, int sset) tsnep_ethtool_get_sset_count() argument
260 tsnep_ethtool_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 *rule_locs) tsnep_ethtool_get_rxnfc() argument
283 tsnep_ethtool_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) tsnep_ethtool_set_rxnfc() argument
298 tsnep_ethtool_get_channels(struct net_device *netdev, struct ethtool_channels *ch) tsnep_ethtool_get_channels() argument
307 tsnep_ethtool_get_ts_info(struct net_device *netdev, struct ethtool_ts_info *info) tsnep_ethtool_get_ts_info() argument
366 tsnep_ethtool_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) tsnep_ethtool_get_coalesce() argument
385 tsnep_ethtool_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) tsnep_ethtool_set_coalesce() argument
409 tsnep_ethtool_get_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *ec) tsnep_ethtool_get_per_queue_coalesce() argument
431 tsnep_ethtool_set_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *ec) tsnep_ethtool_set_per_queue_coalesce() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_main.c61 fp->netdev->dev_port); in fun_port_write_cmds()
97 fp->netdev->dev_port); in fun_port_read_cmds()
121 static void fun_report_link(struct net_device *netdev) in fun_report_link() argument
123 if (netif_carrier_ok(netdev)) { in fun_report_link()
124 const struct funeth_priv *fp = netdev_priv(netdev); in fun_report_link()
146 netdev_info(netdev, "Link up at %d %cb/s full-duplex%s%s\n", in fun_report_link()
149 netdev_info(netdev, "Link down\n"); in fun_report_link()
441 static void fun_free_rings(struct net_device *netdev, struct fun_qset *qset) in fun_free_rings() argument
443 struct funeth_priv *fp = netdev_priv(netdev); in fun_free_rings()
454 qset->nrxqs = netdev in fun_free_rings()
479 fun_alloc_rings(struct net_device *netdev, struct fun_qset *qset) fun_alloc_rings() argument
562 fun_port_create(struct net_device *netdev) fun_port_create() argument
588 fun_port_destroy(struct net_device *netdev) fun_port_destroy() argument
834 funeth_open(struct net_device *netdev) funeth_open() argument
861 funeth_close(struct net_device *netdev) funeth_close() argument
869 fun_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) fun_get_stats64() argument
923 fun_change_mtu(struct net_device *netdev, int new_mtu) fun_change_mtu() argument
934 fun_set_macaddr(struct net_device *netdev, void *addr) fun_set_macaddr() argument
953 fun_get_port_attributes(struct net_device *netdev) fun_get_port_attributes() argument
1462 fun_set_ring_count(struct net_device *netdev, unsigned int ntx, unsigned int nrx) fun_set_ring_count() argument
1501 fun_dl_port_register(struct net_device *netdev) fun_dl_port_register() argument
1710 struct net_device *netdev; fun_create_netdev() local
1821 fun_destroy_netdev(struct net_device *netdev) fun_destroy_netdev() argument
1886 struct net_device *netdev; fun_update_link_state() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_ethtool.c13 static int txgbe_nway_reset(struct net_device *netdev) in txgbe_nway_reset() argument
15 struct txgbe *txgbe = netdev_to_txgbe(netdev); in txgbe_nway_reset()
20 static int txgbe_get_link_ksettings(struct net_device *netdev, in txgbe_get_link_ksettings() argument
23 struct txgbe *txgbe = netdev_to_txgbe(netdev); in txgbe_get_link_ksettings()
28 static int txgbe_set_link_ksettings(struct net_device *netdev, in txgbe_set_link_ksettings() argument
31 struct txgbe *txgbe = netdev_to_txgbe(netdev); in txgbe_set_link_ksettings()
44 void txgbe_set_ethtool_ops(struct net_device *netdev) in txgbe_set_ethtool_ops() argument
46 netdev->ethtool_ops = &txgbe_ethtool_ops; in txgbe_set_ethtool_ops()
/kernel/linux/linux-5.10/net/bluetooth/
H A D6lowpan.c69 struct net_device *netdev; member
78 lowpan_btle_dev(const struct net_device *netdev) in lowpan_btle_dev() argument
80 return (struct lowpan_btle_dev *)lowpan_dev(netdev)->priv; in lowpan_btle_dev()
210 neigh = __ipv6_neigh_lookup(dev->netdev, nexthop); in peer_lookup_dst()
275 static int iphc_decompress(struct sk_buff *skb, struct net_device *netdev, in iphc_decompress() argument
282 return lowpan_header_decompress(skb, netdev, netdev->dev_addr, saddr); in iphc_decompress()
384 if (!dev || !dev->netdev) in chan_recv_cb()
387 err = recv_pkt(skb, dev->netdev, peer); in chan_recv_cb()
396 static int setup_header(struct sk_buff *skb, struct net_device *netdev, in setup_header() argument
446 header_create(struct sk_buff *skb, struct net_device *netdev, unsigned short type, const void *_daddr, const void *_saddr, unsigned int len) header_create() argument
457 send_pkt(struct l2cap_chan *chan, struct sk_buff *skb, struct net_device *netdev) send_pkt() argument
488 send_mcast_pkt(struct sk_buff *skb, struct net_device *netdev) send_mcast_pkt() argument
527 bt_xmit(struct sk_buff *skb, struct net_device *netdev) bt_xmit() argument
608 ifup(struct net_device *netdev) ifup() argument
619 ifdown(struct net_device *netdev) ifdown() argument
694 struct net_device *netdev; setup_netdev() local
1259 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); device_event() local
[all...]
/kernel/linux/linux-6.6/net/bluetooth/
H A D6lowpan.c69 struct net_device *netdev; member
78 lowpan_btle_dev(const struct net_device *netdev) in lowpan_btle_dev() argument
80 return (struct lowpan_btle_dev *)lowpan_dev(netdev)->priv; in lowpan_btle_dev()
181 neigh = __ipv6_neigh_lookup(dev->netdev, nexthop); in peer_lookup_dst()
246 static int iphc_decompress(struct sk_buff *skb, struct net_device *netdev, in iphc_decompress() argument
253 return lowpan_header_decompress(skb, netdev, netdev->dev_addr, saddr); in iphc_decompress()
355 if (!dev || !dev->netdev) in chan_recv_cb()
358 err = recv_pkt(skb, dev->netdev, peer); in chan_recv_cb()
367 static int setup_header(struct sk_buff *skb, struct net_device *netdev, in setup_header() argument
417 header_create(struct sk_buff *skb, struct net_device *netdev, unsigned short type, const void *_daddr, const void *_saddr, unsigned int len) header_create() argument
428 send_pkt(struct l2cap_chan *chan, struct sk_buff *skb, struct net_device *netdev) send_pkt() argument
459 send_mcast_pkt(struct sk_buff *skb, struct net_device *netdev) send_mcast_pkt() argument
498 bt_xmit(struct sk_buff *skb, struct net_device *netdev) bt_xmit() argument
579 ifup(struct net_device *netdev) ifup() argument
590 ifdown(struct net_device *netdev) ifdown() argument
664 struct net_device *netdev; setup_netdev() local
1221 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); device_event() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
H A Dethtool.c63 (((struct ixgbevf_adapter *)netdev_priv(netdev))->num_tx_queues + \
64 ((struct ixgbevf_adapter *)netdev_priv(netdev))->num_xdp_queues + \
65 ((struct ixgbevf_adapter *)netdev_priv(netdev))->num_rx_queues) * \
84 static int ixgbevf_get_link_ksettings(struct net_device *netdev, in ixgbevf_get_link_ksettings() argument
87 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_link_ksettings()
119 static u32 ixgbevf_get_msglevel(struct net_device *netdev) in ixgbevf_get_msglevel() argument
121 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_msglevel()
126 static void ixgbevf_set_msglevel(struct net_device *netdev, u32 data) in ixgbevf_set_msglevel() argument
128 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_set_msglevel()
135 static int ixgbevf_get_regs_len(struct net_device *netdev) in ixgbevf_get_regs_len() argument
141 ixgbevf_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) ixgbevf_get_regs() argument
215 ixgbevf_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) ixgbevf_get_drvinfo() argument
227 ixgbevf_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) ixgbevf_get_ringparam() argument
238 ixgbevf_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) ixgbevf_set_ringparam() argument
405 ixgbevf_get_sset_count(struct net_device *netdev, int stringset) ixgbevf_get_sset_count() argument
419 ixgbevf_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) ixgbevf_get_ethtool_stats() argument
503 ixgbevf_get_strings(struct net_device *netdev, u32 stringset, u8 *data) ixgbevf_get_strings() argument
724 ixgbevf_diag_test(struct net_device *netdev, struct ethtool_test *eth_test, u64 *data) ixgbevf_diag_test() argument
779 ixgbevf_nway_reset(struct net_device *netdev) ixgbevf_nway_reset() argument
789 ixgbevf_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec) ixgbevf_get_coalesce() argument
813 ixgbevf_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec) ixgbevf_set_coalesce() argument
881 ixgbevf_get_rxfh_indir_size(struct net_device *netdev) ixgbevf_get_rxfh_indir_size() argument
891 ixgbevf_get_rxfh_key_size(struct net_device *netdev) ixgbevf_get_rxfh_key_size() argument
896 ixgbevf_get_rxfh(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc) ixgbevf_get_rxfh() argument
937 ixgbevf_get_priv_flags(struct net_device *netdev) ixgbevf_get_priv_flags() argument
948 ixgbevf_set_priv_flags(struct net_device *netdev, u32 priv_flags) ixgbevf_set_priv_flags() argument
994 ixgbevf_set_ethtool_ops(struct net_device *netdev) ixgbevf_set_ethtool_ops() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/amazon/ena/
H A Dena_ethtool.c210 static void ena_get_ethtool_stats(struct net_device *netdev, in ena_get_ethtool_stats() argument
214 struct ena_adapter *adapter = netdev_priv(netdev); in ena_get_ethtool_stats()
234 int ena_get_sset_count(struct net_device *netdev, int sset) in ena_get_sset_count() argument
236 struct ena_adapter *adapter = netdev_priv(netdev); in ena_get_sset_count()
316 static void ena_get_ethtool_strings(struct net_device *netdev, in ena_get_ethtool_strings() argument
320 struct ena_adapter *adapter = netdev_priv(netdev); in ena_get_ethtool_strings()
330 static int ena_get_link_ksettings(struct net_device *netdev, in ena_get_link_ksettings() argument
333 struct ena_adapter *adapter = netdev_priv(netdev); in ena_get_link_ksettings()
446 static u32 ena_get_msglevel(struct net_device *netdev) in ena_get_msglevel() argument
448 struct ena_adapter *adapter = netdev_priv(netdev); in ena_get_msglevel()
453 ena_set_msglevel(struct net_device *netdev, u32 value) ena_set_msglevel() argument
470 ena_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) ena_get_ringparam() argument
498 ena_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) ena_set_ringparam() argument
701 ena_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info) ena_set_rxnfc() argument
721 ena_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info, u32 *rules) ena_get_rxnfc() argument
747 ena_get_rxfh_indir_size(struct net_device *netdev) ena_get_rxfh_indir_size() argument
752 ena_get_rxfh_key_size(struct net_device *netdev) ena_get_rxfh_key_size() argument
805 ena_get_rxfh(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc) ena_get_rxfh() argument
851 ena_set_rxfh(struct net_device *netdev, const u32 *indir, const u8 *key, const u8 hfunc) ena_set_rxfh() argument
894 ena_get_channels(struct net_device *netdev, struct ethtool_channels *channels) ena_get_channels() argument
903 ena_set_channels(struct net_device *netdev, struct ethtool_channels *channels) ena_set_channels() argument
926 ena_get_tunable(struct net_device *netdev, const struct ethtool_tunable *tuna, void *data) ena_get_tunable() argument
944 ena_set_tunable(struct net_device *netdev, const struct ethtool_tunable *tuna, const void *data) ena_set_tunable() argument
995 ena_set_ethtool_ops(struct net_device *netdev) ena_set_ethtool_ops() argument
1002 struct net_device *netdev = adapter->netdev; ena_dump_stats_ex() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbevf/
H A Dethtool.c61 (((struct ixgbevf_adapter *)netdev_priv(netdev))->num_tx_queues + \
62 ((struct ixgbevf_adapter *)netdev_priv(netdev))->num_xdp_queues + \
63 ((struct ixgbevf_adapter *)netdev_priv(netdev))->num_rx_queues) * \
82 static int ixgbevf_get_link_ksettings(struct net_device *netdev, in ixgbevf_get_link_ksettings() argument
85 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_link_ksettings()
117 static u32 ixgbevf_get_msglevel(struct net_device *netdev) in ixgbevf_get_msglevel() argument
119 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_msglevel()
124 static void ixgbevf_set_msglevel(struct net_device *netdev, u32 data) in ixgbevf_set_msglevel() argument
126 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_set_msglevel()
131 static int ixgbevf_get_regs_len(struct net_device *netdev) in ixgbevf_get_regs_len() argument
137 ixgbevf_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) ixgbevf_get_regs() argument
211 ixgbevf_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) ixgbevf_get_drvinfo() argument
223 ixgbevf_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) ixgbevf_get_ringparam() argument
236 ixgbevf_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) ixgbevf_set_ringparam() argument
405 ixgbevf_get_sset_count(struct net_device *netdev, int stringset) ixgbevf_get_sset_count() argument
419 ixgbevf_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) ixgbevf_get_ethtool_stats() argument
503 ixgbevf_get_strings(struct net_device *netdev, u32 stringset, u8 *data) ixgbevf_get_strings() argument
724 ixgbevf_diag_test(struct net_device *netdev, struct ethtool_test *eth_test, u64 *data) ixgbevf_diag_test() argument
779 ixgbevf_nway_reset(struct net_device *netdev) ixgbevf_nway_reset() argument
789 ixgbevf_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) ixgbevf_get_coalesce() argument
815 ixgbevf_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) ixgbevf_set_coalesce() argument
885 ixgbevf_get_rxfh_indir_size(struct net_device *netdev) ixgbevf_get_rxfh_indir_size() argument
895 ixgbevf_get_rxfh_key_size(struct net_device *netdev) ixgbevf_get_rxfh_key_size() argument
900 ixgbevf_get_rxfh(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc) ixgbevf_get_rxfh() argument
941 ixgbevf_get_priv_flags(struct net_device *netdev) ixgbevf_get_priv_flags() argument
952 ixgbevf_set_priv_flags(struct net_device *netdev, u32 priv_flags) ixgbevf_set_priv_flags() argument
998 ixgbevf_set_ethtool_ops(struct net_device *netdev) ixgbevf_set_ethtool_ops() argument
[all...]

Completed in 22 milliseconds

12345678910>>...69