/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ktls_rx.c | 487 struct net_device *netdev = rq->netdev; in resync_update_sn() local 488 struct net *net = dev_net(netdev); in resync_update_sn() 505 th->dest, netdev->ifindex); in resync_update_sn() 516 netdev->ifindex, 0); in resync_update_sn() 540 void mlx5e_ktls_rx_resync(struct net_device *netdev, struct sock *sk, in mlx5e_ktls_rx_resync() argument 556 priv = netdev_priv(netdev); in mlx5e_ktls_rx_resync() 607 int mlx5e_ktls_add_rx(struct net_device *netdev, struct sock *sk, in mlx5e_ktls_add_rx() argument 619 priv = netdev_priv(netdev); in mlx5e_ktls_add_rx() 687 void mlx5e_ktls_del_rx(struct net_device *netdev, struct tls_context *tls_ctx) in mlx5e_ktls_del_rx() argument 693 priv = netdev_priv(netdev); in mlx5e_ktls_del_rx()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_eswitch.h | 27 ice_eswitch_port_start_xmit(struct sk_buff *skb, struct net_device *netdev); 67 ice_eswitch_port_start_xmit(struct sk_buff *skb, struct net_device *netdev) in ice_eswitch_port_start_xmit() argument
|
H A D | ice.h | 326 struct net_device *netdev; member 699 static inline struct ice_pf *ice_netdev_to_pf(struct net_device *netdev) in ice_netdev_to_pf() argument 701 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_netdev_to_pf() 727 struct xsk_buff_pool *pool = xsk_get_pool_from_qid(vsi->netdev, qid); in ice_get_xp_from_qid() 879 void ice_set_ethtool_ops(struct net_device *netdev); 880 void ice_set_ethtool_repr_ops(struct net_device *netdev); 881 void ice_set_ethtool_safe_mode_ops(struct net_device *netdev); 956 int ice_open(struct net_device *netdev); 957 int ice_open_internal(struct net_device *netdev); 958 int ice_stop(struct net_device *netdev);
|
H A D | ice_arfs.h | 45 ice_rx_flow_steer(struct net_device *netdev, const struct sk_buff *skb, 71 ice_rx_flow_steer(struct net_device __always_unused *netdev, in ice_rx_flow_steer() argument
|
H A D | ice_xsk.h | 24 int ice_xsk_wakeup(struct net_device *netdev, u32 queue_id, u32 flags); 65 ice_xsk_wakeup(struct net_device __always_unused *netdev, in ice_xsk_wakeup() argument
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | ether.c | 143 struct eth_device netdev; member 145 struct udevice *netdev; member 2201 dev->net = &l_priv->netdev; in eth_bind() 2203 dev->net = l_priv->netdev; in eth_bind() 2575 struct eth_device *netdev = &l_priv->netdev; in usb_eth_initialize() local 2577 strlcpy(netdev->name, USB_NET_NAME, sizeof(netdev->name)); in usb_eth_initialize() 2579 netdev->init = usb_eth_init; in usb_eth_initialize() 2580 netdev->send = usb_eth_send; in usb_eth_initialize() 2583 netdev->priv = l_priv; in usb_eth_initialize() 2585 eth_register(netdev); in usb_eth_initialize() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mei/ |
H A D | main.c | 216 struct net_device __rcu *netdev; member 613 struct net_device *netdev; in iwl_mei_netdev_work() local 622 netdev = rcu_dereference_protected(iwl_mei_cache.netdev, in iwl_mei_netdev_work() 624 if (netdev) { in iwl_mei_netdev_work() 629 netdev_rx_handler_unregister(netdev); in iwl_mei_netdev_work() 1036 struct net_device *netdev = in iwl_mei_handle_sap_data() local 1040 if (!netdev) in iwl_mei_handle_sap_data() 1709 rcu_assign_pointer(iwl_mei_cache.netdev, netdev); in iwl_mei_set_netdev() 1718 if (!netdev) { in iwl_mei_set_netdev() 1729 rcu_assign_pointer(iwl_mei_cache.netdev, netdev); in iwl_mei_set_netdev() [all …]
|
/openbmc/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_roce.c | 56 dev_info.netdev = adapter->netdev; in _be_roce_dev_add() 57 memcpy(dev_info.mac_addr, adapter->netdev->dev_addr, ETH_ALEN); in _be_roce_dev_add()
|
/openbmc/openbmc/meta-quanta/meta-s6q/recipes-core/systemd/ |
H A D | systemd-conf_%.bbappend | 5 file://10-bmc-bond0.netdev \ 19 ${sysconfdir}/systemd/network/10-bmc-bond0.netdev \ 39 install -m 0644 ${WORKDIR}/10-bmc-bond0.netdev \
|
/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_dev.h | 35 int enic_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid); 36 int enic_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid);
|
H A D | enic.h | 133 struct net_device *netdev; member 195 return enic->netdev; in vnic_get_netdev() 285 enic->netdev->name); in enic_dma_map_check() 298 void enic_set_ethtool_ops(struct net_device *netdev);
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_dp.c | 256 if (dp->netdev) in nfp_net_rx_ring_free() 298 if (dp->netdev) { in nfp_net_rx_ring_alloc() 299 err = xdp_rxq_info_reg(&rx_ring->xdp_rxq, dp->netdev, in nfp_net_rx_ring_alloc() 315 …netdev_warn(dp->netdev, "failed to allocate RX descriptor ring memory, requested descriptor count:… in nfp_net_rx_ring_alloc() 418 netdev_tx_t nfp_net_tx(struct sk_buff *skb, struct net_device *netdev) in nfp_net_tx() argument 420 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_tx() 422 return nn->dp.ops->xmit(skb, netdev); in nfp_net_tx()
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 1560 if (!eth->netdev[i]) in mtk_queue_stopped() 1574 if (!eth->netdev[i]) in mtk_wake_queue() 2050 netdev = eth->netdev[mac]; in mtk_poll_rx() 2136 skb->dev = netdev; in mtk_poll_rx() 3119 if (eth->netdev[i]) in mtk_dma_free() 3275 if (!eth->netdev[i]) in mtk_gdm_config() 4125 if (!eth->netdev[i] || !netif_running(eth->netdev[i])) in mtk_pending_work() 4176 if (!eth->netdev[i]) in mtk_free_dev() 4196 if (!eth->netdev[i]) in mtk_unreg_dev() 4966 if (!eth->netdev[i]) in mtk_probe() [all …]
|
/openbmc/linux/drivers/net/ethernet/cadence/ |
H A D | macb_main.c | 3574 netdev_dbg(netdev, in gem_add_flow_filter() 3628 netdev_dbg(netdev, in gem_del_flow_filter() 3704 netdev_err(netdev, in gem_get_rxnfc() 3730 netdev_err(netdev, in gem_set_rxnfc() 5200 if (!netif_running(netdev)) in macb_suspend() 5250 netif_device_detach(netdev); in macb_suspend() 5273 bp->ptp_info->ptp_remove(netdev); in macb_suspend() 5292 if (!netif_running(netdev)) in macb_resume() 5349 macb_set_rx_mode(netdev); in macb_resume() 5356 netif_device_attach(netdev); in macb_resume() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_common.h | 52 struct net_device *netdev); 183 #define ixgbe_hw_to_netdev(hw) (((struct ixgbe_adapter *)(hw)->back)->netdev) 198 netif_info(adapter, msglvl, adapter->netdev, format, ## arg) 200 netif_err(adapter, msglvl, adapter->netdev, format, ## arg) 202 netif_warn(adapter, msglvl, adapter->netdev, format, ## arg) 204 netif_crit(adapter, msglvl, adapter->netdev, format, ## arg)
|
/openbmc/linux/drivers/net/dsa/ |
H A D | dsa_loop.c | 321 ps->netdev = dev_get_by_name(&init_net, pdata->netdev); in dsa_loop_drv_probe() 322 if (!ps->netdev) in dsa_loop_drv_probe() 325 pdata->cd.netdev[DSA_LOOP_CPU_PORT] = &ps->netdev->dev; in dsa_loop_drv_probe() 353 dev_put(ps->netdev); in dsa_loop_drv_remove()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf.h | 93 struct net_device *netdev; member 359 struct net_device *netdev; member 447 int ixgbevf_open(struct net_device *netdev); 448 int ixgbevf_close(struct net_device *netdev); 453 void ixgbevf_set_ethtool_ops(struct net_device *netdev); 490 (((struct ixgbevf_adapter *)(hw)->back)->netdev)
|
/openbmc/linux/drivers/infiniband/hw/irdma/ |
H A D | main.c | 94 ibdev_dbg(&iwdev->ibdev, "CLNT: new MTU = %d\n", iwdev->netdev->mtu); in irdma_iidc_event_handler() 95 if (iwdev->vsi.mtu != iwdev->netdev->mtu) { in irdma_iidc_event_handler() 96 l2params.mtu = iwdev->netdev->mtu; in irdma_iidc_event_handler() 246 iwdev->netdev = vsi->netdev; in irdma_fill_device_info() 288 l2params.mtu = iwdev->netdev->mtu; in irdma_probe()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | ptp.c | 330 sq->netdev = c->netdev; in mlx5e_ptp_alloc_txqsq() 642 struct net_device *netdev, in mlx5e_ptp_build_rq_param() argument 651 params->sw_mtu = netdev->max_mtu; in mlx5e_ptp_build_rq_param() 678 mlx5e_ptp_build_rq_param(c->mdev, c->netdev, c->priv->q_counter, cparams); in mlx5e_ptp_build_params() 691 rq->netdev = priv->netdev; in mlx5e_init_ptp_rq() 704 return xdp_rxq_info_reg(&rq->xdp_rxq, rq->netdev, rq->ix, 0); in mlx5e_init_ptp_rq() 858 struct net_device *netdev = priv->netdev; in mlx5e_ptp_open() local 876 c->netdev = priv->netdev; in mlx5e_ptp_open() 886 netif_napi_add(netdev, &c->napi, mlx5e_ptp_napi_poll); in mlx5e_ptp_open() 1000 netdev_WARN_ONCE(priv->netdev, "Don't try to add PTP RX-FS rules"); in mlx5e_ptp_rx_manage_fs() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
H A D | mlxbf_gige.h | 90 void (*adjust_link)(struct net_device *netdev); 99 struct net_device *netdev; member 190 struct net_device *netdev);
|
H A D | mlxbf_gige_rx.c | 218 struct net_device *netdev = priv->netdev; in mlxbf_gige_rx_packet() local 243 netdev->stats.rx_packets++; in mlxbf_gige_rx_packet() 244 netdev->stats.rx_bytes += datalen; in mlxbf_gige_rx_packet() 261 skb->protocol = eth_type_trans(skb, netdev); in mlxbf_gige_rx_packet()
|
/openbmc/linux/drivers/firewire/ |
H A D | net.c | 169 struct net_device *netdev; member 816 netif_wake_queue(dev->netdev); in dec_queued_datagrams() 856 dev_err(&dev->netdev->dev, in fwnet_transmit_packet_done() 914 dev->netdev->stats.tx_dropped++; in fwnet_transmit_packet_failed() 915 dev->netdev->stats.tx_errors++; in fwnet_transmit_packet_failed() 1038 netif_trans_update(dev->netdev); in fwnet_send_packet() 1191 netif_carrier_on(dev->netdev); in set_carrier_state() 1331 netif_stop_queue(dev->netdev); in fwnet_tx() 1447 net = dev->netdev; in fwnet_probe() 1471 dev->netdev = net; in fwnet_probe() [all …]
|
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | cfg80211.c | 553 struct wilc_vif *vif = netdev_priv(netdev); in add_key() 653 struct wilc_vif *vif = netdev_priv(netdev); in del_key() 694 struct wilc_vif *vif = netdev_priv(netdev); in get_key() 737 struct wilc_vif *vif = netdev_priv(netdev); in set_default_mgmt_key() 877 struct wilc_vif *vif = netdev_priv(netdev); in set_pmksa() 898 netdev_err(netdev, "Invalid PMKID index\n"); in set_pmksa() 912 struct wilc_vif *vif = netdev_priv(netdev); in del_pmksa() 942 struct wilc_vif *vif = netdev_priv(netdev); in flush_pmksa() 1118 struct wilc_vif *vif = netdev_priv(wdev->netdev); in remain_on_channel() 1156 struct wilc_vif *vif = netdev_priv(wdev->netdev); in cancel_remain_on_channel() [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | net_failover.rst | 11 to create and destroy a failover master netdev and manages a primary and 15 The failover netdev acts a master device and controls 2 slave devices. The 16 original paravirtual interface is registered as 'standby' slave netdev and 18 netdev. Both 'standby' and 'failover' netdevs are associated with the same 19 'pci' device. The user accesses the network interface via 'failover' netdev. 20 The 'failover' netdev chooses 'primary' netdev as default for transmits when 63 virtio-net device is set to 'down' to ensure that the 'failover' netdev prefers
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | cnic.c | 168 if (netdev == cdev->netdev) { in cnic_from_netdev() 3300 netdev_err(dev->netdev, in cnic_ctl() 3737 dev = cnic_from_netdev(netdev); in cnic_cm_select_dev() 3793 csk->mtu = dev->netdev->mtu; in cnic_get_route() 3796 if (realdev == dev->netdev) { in cnic_get_route() 5221 netdev_err(dev->netdev, in cnic_init_rings() 5262 netdev_err(dev->netdev, in cnic_shutdown_rings() 5443 dev_put(dev->netdev); in cnic_free_dev() 5477 cdev->netdev = dev; in cnic_alloc_dev() 5683 dev = cnic_from_netdev(netdev); in cnic_netdev_event() [all …]
|