Home
last modified time | relevance | path

Searched refs:netdev (Results 401 – 425 of 1122) sorted by relevance

1...<<11121314151617181920>>...45

/openbmc/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-hw.c94 netif_dbg(pdata, drv, pdata->netdev, in xlgmac_set_mac_reg()
297 struct net_device *netdev = pdata->netdev; in xlgmac_set_mac_addn_addrs() local
308 netdev_for_each_uc_addr(ha, netdev) { in xlgmac_set_mac_addn_addrs()
332 struct net_device *netdev = pdata->netdev; in xlgmac_set_mac_hash_table() local
343 netdev_for_each_uc_addr(ha, netdev) { in xlgmac_set_mac_hash_table()
349 netdev_for_each_mc_addr(ha, netdev) { in xlgmac_set_mac_hash_table()
441 struct net_device *netdev = pdata->netdev; in xlgmac_config_rx_mode() local
492 netdev_info(pdata->netdev, in xlgmac_prepare_tx_stop()
597 netdev_info(pdata->netdev, in xlgmac_prepare_rx_stop()
2442 netdev_err(pdata->netdev, in xlgmac_config_rss()
[all …]
/openbmc/linux/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c189 struct net_device *netdev; member
393 struct port *port = netdev_priv(netdev); in hwtstamp_set()
693 struct net_device *dev = port->netdev; in eth_poll()
820 port->netdev->stats.tx_packets++; in eth_txdone_irq()
837 port->netdev->name); in eth_txdone_irq()
839 netif_wake_queue(port->netdev); in eth_txdone_irq()
1055 "%s:RX-free", port->netdev->name); in request_queues()
1060 "%s:RX", port->netdev->name); in request_queues()
1065 "%s:TX", port->netdev->name); in request_queues()
1092 port->netdev->name); in request_queues()
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.c119 if (!tc_cls_can_offload_and_chain0(nn->dp.netdev, &cls_bpf->common)) in nfp_bpf_setup_tc_block_cb()
165 static int nfp_bpf_setup_tc(struct nfp_app *app, struct net_device *netdev, in nfp_bpf_setup_tc() argument
168 struct nfp_net *nn = netdev_priv(netdev); in nfp_bpf_setup_tc()
182 nfp_bpf_check_mtu(struct nfp_app *app, struct net_device *netdev, int new_mtu) in nfp_bpf_check_mtu() argument
184 struct nfp_net *nn = netdev_priv(netdev); in nfp_bpf_check_mtu()
423 static int nfp_bpf_ndo_init(struct nfp_app *app, struct net_device *netdev) in nfp_bpf_ndo_init() argument
427 return bpf_offload_dev_netdev_register(bpf->bpf_dev, netdev); in nfp_bpf_ndo_init()
430 static void nfp_bpf_ndo_uninit(struct nfp_app *app, struct net_device *netdev) in nfp_bpf_ndo_uninit() argument
434 bpf_offload_dev_netdev_unregister(bpf->bpf_dev, netdev); in nfp_bpf_ndo_uninit()
/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbnad_debugfs.c71 netdev_warn(bnad->netdev, "failed to collect fwtrc\n"); in bnad_debugfs_open_fwtrc()
111 netdev_warn(bnad->netdev, "failed to collect fwsave\n"); in bnad_debugfs_open_fwsave()
210 netdev_warn(bnad->netdev, "failed to collect drvinfo\n"); in bnad_debugfs_open_drvinfo()
321 netdev_warn(bnad->netdev, "failed to read user buffer\n"); in bnad_debugfs_write_regrd()
341 netdev_warn(bnad->netdev, "failed reg offset check\n"); in bnad_debugfs_write_regrd()
381 netdev_warn(bnad->netdev, "failed to read user buffer\n"); in bnad_debugfs_write_regwr()
392 netdev_warn(bnad->netdev, "failed reg offset check\n"); in bnad_debugfs_write_regwr()
504 netdev_warn(bnad->netdev, in bnad_debugfs_init()
527 netdev_warn(bnad->netdev, in bnad_debugfs_init()
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_rx.h32 struct net_device *netdev; member
47 struct net_device *netdev);
/openbmc/qemu/net/
H A Dvde.c112 int net_init_vde(const Netdev *netdev, const char *name, in net_init_vde() argument
117 assert(netdev->type == NET_CLIENT_DRIVER_VDE); in net_init_vde()
118 vde = &netdev->u.vde; in net_init_vde()
/openbmc/linux/Documentation/networking/
H A Dindex.rst4 Refer to :ref:`netdev-FAQ` for a guide on netdev development process specifics.
79 netdev-features
H A Dnetdev-features.rst19 are commonly referred to as netdev features in Linux kernel world.
24 1. netdev->hw_features set contains features whose state may possibly
29 2. netdev->features set contains features which are currently enabled
33 3. netdev->vlan_features set contains features whose state is inherited
34 by child VLAN devices (limits netdev->features set). This is currently
38 4. netdev->wanted_features set contains feature set requested by user.
48 When current feature set (netdev->features) is to be changed, new set
52 returns success) replaces value stored in netdev->features.
66 from ndo_*_features callbacks. netdev->features should not be modified by
94 should update netdev->features to match resulting hardware state.
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den.h357 struct net_device *netdev; member
455 struct net_device *netdev; member
696 struct net_device *netdev; member
757 struct net_device *netdev; member
895 struct net_device *netdev; member
965 struct net_device *netdev);
1043 int mlx5e_open_locked(struct net_device *netdev);
1129 int mlx5e_close(struct net_device *netdev);
1130 int mlx5e_open(struct net_device *netdev);
1193 struct net_device *netdev,
[all …]
/openbmc/qemu/qapi/
H A Drdma.json14 # @netdev: RoCE Network Device name
35 'data': { 'netdev' : 'str',
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.h445 struct net_device *netdev; member
957 int otx2_set_mac_address(struct net_device *netdev, void *p);
960 void otx2_get_mac_from_af(struct net_device *netdev);
1024 void otx2_get_stats64(struct net_device *netdev,
1030 void otx2_set_ethtool_ops(struct net_device *netdev);
1031 void otx2vf_set_ethtool_ops(struct net_device *netdev);
1033 int otx2_open(struct net_device *netdev);
1034 int otx2_stop(struct net_device *netdev);
1035 int otx2_set_real_num_queues(struct net_device *netdev,
1056 int otx2_del_macfilter(struct net_device *netdev, const u8 *mac);
[all …]
/openbmc/linux/net/devlink/
H A Dport.c464 if (devlink_port->type_eth.netdev && in devlink_nl_port_fill()
1099 struct net_device *netdev) in devlink_port_type_netdev_checks() argument
1130 err = ops->ndo_get_port_parent_id(netdev, &ppid); in devlink_port_type_netdev_checks()
1139 struct net_device *netdev = type_dev; in __devlink_port_type_set() local
1147 if (type == DEVLINK_PORT_TYPE_ETH && netdev) in __devlink_port_type_set()
1155 devlink_port->type_eth.netdev = netdev; in __devlink_port_type_set()
1156 if (netdev) { in __devlink_port_type_set()
1160 sizeof(netdev->name)); in __devlink_port_type_set()
1243 if (devlink_net(devlink) != dev_net(netdev)) in devlink_port_netdevice_event()
1251 netdev); in devlink_port_netdevice_event()
[all …]
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Denic_api.c14 int enic_api_devcmd_proxy_by_index(struct net_device *netdev, int vf, in enic_api_devcmd_proxy_by_index() argument
18 struct enic *enic = netdev_priv(netdev); in enic_api_devcmd_proxy_by_index()
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_main.c363 if (!(ring->netdev->features & NETIF_F_RXCSUM)) in fm10k_rx_checksum()
399 if (!(ring->netdev->features & NETIF_F_RXHASH)) in fm10k_rx_hash()
415 struct net_device *dev = rx_ring->netdev; in fm10k_type_trans()
785 netdev_err(tx_ring->netdev, in fm10k_tso()
1281 netif_err(interface, drv, tx_ring->netdev, in fm10k_clean_tx_irq()
1292 netif_stop_subqueue(tx_ring->netdev, in fm10k_clean_tx_irq()
1320 netif_wake_subqueue(tx_ring->netdev, in fm10k_clean_tx_irq()
1480 struct net_device *dev = interface->netdev; in fm10k_set_qos_queues()
1626 ring->netdev = interface->netdev; in fm10k_alloc_q_vector()
1655 ring->netdev = interface->netdev; in fm10k_alloc_q_vector()
[all …]
H A Dfm10k_iov.c567 int fm10k_ndo_set_vf_mac(struct net_device *netdev, int vf_idx, u8 *mac) in fm10k_ndo_set_vf_mac() argument
569 struct fm10k_intfc *interface = netdev_priv(netdev); in fm10k_ndo_set_vf_mac()
590 int fm10k_ndo_set_vf_vlan(struct net_device *netdev, int vf_idx, u16 vid, in fm10k_ndo_set_vf_vlan() argument
593 struct fm10k_intfc *interface = netdev_priv(netdev); in fm10k_ndo_set_vf_vlan()
627 int fm10k_ndo_set_vf_bw(struct net_device *netdev, int vf_idx, in fm10k_ndo_set_vf_bw() argument
630 struct fm10k_intfc *interface = netdev_priv(netdev); in fm10k_ndo_set_vf_bw()
652 int fm10k_ndo_get_vf_config(struct net_device *netdev, in fm10k_ndo_get_vf_config() argument
655 struct fm10k_intfc *interface = netdev_priv(netdev); in fm10k_ndo_get_vf_config()
675 int fm10k_ndo_get_vf_stats(struct net_device *netdev, in fm10k_ndo_get_vf_stats() argument
678 struct fm10k_intfc *interface = netdev_priv(netdev); in fm10k_ndo_get_vf_stats()
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_tx.c93 if (unlikely(__netif_subqueue_stopped(iq->netdev, iq->q_no)) && in octep_iq_process_completions()
96 netif_wake_subqueue(iq->netdev, iq->q_no); in octep_iq_process_completions()
149 netdev_tx_reset_queue(netdev_get_tx_queue(iq->netdev, iq->q_no)); in octep_iq_free_pending()
190 iq->netdev = oct->netdev; in octep_setup_iq()
196 iq->netdev_q = netdev_get_tx_queue(iq->netdev, q_no); in octep_setup_iq()
/openbmc/linux/drivers/net/usb/
H A Dch9200.c177 static int ch9200_mdio_read(struct net_device *netdev, int phy_id, int loc) in ch9200_mdio_read() argument
179 struct usbnet *dev = netdev_priv(netdev); in ch9200_mdio_read()
182 netdev_dbg(netdev, "%s phy_id:%02x loc:%02x\n", in ch9200_mdio_read()
194 static void ch9200_mdio_write(struct net_device *netdev, in ch9200_mdio_write() argument
197 struct usbnet *dev = netdev_priv(netdev); in ch9200_mdio_write()
200 netdev_dbg(netdev, "%s() phy_id=%02x loc:%02x\n", in ch9200_mdio_write()
/openbmc/linux/net/phonet/
H A Dpn_dev.c54 pnd->netdev = dev; in __phonet_device_alloc()
69 if (pnd->netdev == dev) in __phonet_get()
81 if (pnd->netdev == dev) in __phonet_get_rcu()
117 dev = pnd->netdev; in phonet_device_get()
121 ((pnd->netdev->flags & IFF_UP)) == IFF_UP) in phonet_device_get()
215 if ((pnd->netdev->reg_state != NETREG_REGISTERED) || in phonet_address_lookup()
216 ((pnd->netdev->flags & IFF_UP)) != IFF_UP) in phonet_address_lookup()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_xsk.h32 int nfp_net_xsk_setup_pool(struct net_device *netdev, struct xsk_buff_pool *pool,
39 int nfp_net_xsk_wakeup(struct net_device *netdev, u32 queue_id, u32 flags);
H A Dnfp_app_nic.c19 nn->port = nfp_port_alloc(app, NFP_PORT_PHYS_PORT, nn->dp.netdev); in nfp_app_nic_vnic_init_phy_port()
41 nfp_net_get_mac_addr(app->pf, nn->dp.netdev, nn->port); in nfp_app_nic_vnic_alloc()
/openbmc/linux/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_vema_iface.c93 adapter->rn_ops->ndo_get_stats64(adapter->netdev, &vstats.netstats); in opa_vnic_get_summary_counters()
132 adapter->rn_ops->ndo_get_stats64(adapter->netdev, &vstats.netstats); in opa_vnic_get_error_counters()
322 netdev_for_each_mc_addr(ha, adapter->netdev) { in opa_vnic_query_mcast_macs()
333 macs->tot_macs_in_lst = cpu_to_be16(netdev_mc_count(adapter->netdev)); in opa_vnic_query_mcast_macs()
355 for_each_dev_addr(adapter->netdev, ha) { in opa_vnic_query_ucast_macs()
374 netdev_for_each_uc_addr(ha, adapter->netdev) { in opa_vnic_query_ucast_macs()
385 tot_macs = netdev_hw_addr_list_count(&adapter->netdev->dev_addrs) + in opa_vnic_query_ucast_macs()
386 netdev_uc_count(adapter->netdev) - em_macs; in opa_vnic_query_ucast_macs()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dktls.h57 int mlx5e_ktls_set_feature_rx(struct net_device *netdev, bool enable);
122 static inline int mlx5e_ktls_set_feature_rx(struct net_device *netdev, bool enable) in mlx5e_ktls_set_feature_rx() argument
124 netdev_warn(netdev, "kTLS is not supported\n"); in mlx5e_ktls_set_feature_rx()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dconntrack.c254 if (entry1->netdev && entry2->netdev && in nfp_ct_merge_check()
255 entry1->netdev != entry2->netdev) in nfp_ct_merge_check()
824 struct net_device *netdev; in nfp_fl_ct_add_offload() local
829 netdev = m_entry->netdev; in nfp_fl_ct_add_offload()
850 m_entry->netdev, in nfp_fl_ct_add_offload()
1085 flow_pay, netdev, NULL); in nfp_fl_ct_add_offload()
1237 nft_m_entry->netdev = pre_ct_entry->netdev; in nfp_ct_do_nft_merge()
1262 nft_m_entry->netdev); in nfp_ct_do_nft_merge()
1519 if (!netdev) in nfp_fl_ct_add_flow()
1528 entry->netdev = netdev; in nfp_fl_ct_add_flow()
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/crypto/
H A Dcrypto.h24 int nfp_net_tls_rx_resync_req(struct net_device *netdev,
34 nfp_net_tls_rx_resync_req(struct net_device *netdev, in nfp_net_tls_rx_resync_req() argument
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dcsum.c21 netdev_warn(priv->netdev, in csum_offload_supported()
29 netdev_warn(priv->netdev, in csum_offload_supported()

1...<<11121314151617181920>>...45