/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_fcoe.c | 64 * @netdev: net device 68 int cxgb_fcoe_enable(struct net_device *netdev) in cxgb_fcoe_enable() argument 70 struct port_info *pi = netdev_priv(netdev); in cxgb_fcoe_enable() 82 netdev->features |= NETIF_F_FCOE_CRC; in cxgb_fcoe_enable() 83 netdev->vlan_features |= NETIF_F_FCOE_CRC; in cxgb_fcoe_enable() 84 netdev->features |= NETIF_F_FCOE_MTU; in cxgb_fcoe_enable() 85 netdev->vlan_features |= NETIF_F_FCOE_MTU; in cxgb_fcoe_enable() 87 netdev_features_change(netdev); in cxgb_fcoe_enable() 96 * @netdev: net device 100 int cxgb_fcoe_disable(struct net_device *netdev) in cxgb_fcoe_disable() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rep.c | 186 netdev_warn(priv->netdev, "vport %d error %d reading stats\n", in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 263 static int mlx5e_rep_get_coalesce(struct net_device *netdev, in mlx5e_rep_get_coalesce() argument 266 struct mlx5e_priv *priv = netdev_priv(netdev); in mlx5e_rep_get_coalesce() 271 static int mlx5e_rep_set_coalesce(struct net_device *netdev, in mlx5e_rep_set_coalesce() argument 274 struct mlx5e_priv *priv = netdev_priv(netdev); in mlx5e_rep_set_coalesce() 279 static u32 mlx5e_rep_get_rxfh_key_size(struct net_device *netdev) in mlx5e_rep_get_rxfh_key_size() argument 281 struct mlx5e_priv *priv = netdev_priv(netdev); in mlx5e_rep_get_rxfh_key_size() 286 static u32 mlx5e_rep_get_rxfh_indir_size(struct net_device *netdev) in mlx5e_rep_get_rxfh_indir_size() argument 288 struct mlx5e_priv *priv = netdev_priv(netdev); in mlx5e_rep_get_rxfh_indir_size() 293 static void mlx5e_uplink_rep_get_pause_stats(struct net_device *netdev, in mlx5e_uplink_rep_get_pause_stats() argument 301 mlx5e_uplink_rep_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pauseparam) mlx5e_uplink_rep_get_pauseparam() argument 309 mlx5e_uplink_rep_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pauseparam) mlx5e_uplink_rep_set_pauseparam() argument 317 mlx5e_uplink_rep_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *link_ksettings) mlx5e_uplink_rep_get_link_ksettings() argument 325 mlx5e_uplink_rep_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *link_ksettings) mlx5e_uplink_rep_set_link_ksettings() argument 571 mlx5e_rep_change_mtu(struct net_device *netdev, int new_mtu) mlx5e_rep_change_mtu() argument 576 mlx5e_uplink_rep_change_mtu(struct net_device *netdev, int new_mtu) mlx5e_uplink_rep_change_mtu() argument 581 mlx5e_uplink_rep_set_mac(struct net_device *netdev, void *addr) mlx5e_uplink_rep_set_mac() argument 604 mlx5e_rep_get_devlink_port(struct net_device *netdev) mlx5e_rep_get_devlink_port() argument 671 mlx5e_eswitch_uplink_rep(struct net_device *netdev) mlx5e_eswitch_uplink_rep() argument 676 mlx5e_eswitch_vf_rep(struct net_device *netdev) mlx5e_eswitch_vf_rep() argument 681 mlx5e_build_rep_params(struct net_device *netdev) mlx5e_build_rep_params() argument 721 mlx5e_build_rep_netdev(struct net_device *netdev) mlx5e_build_rep_netdev() argument 765 mlx5e_init_rep(struct mlx5_core_dev *mdev, struct net_device *netdev, const struct mlx5e_profile *profile, void *ppriv) mlx5e_init_rep() argument 993 struct net_device *netdev; mlx5e_init_uplink_rep_tx() local 1101 struct net_device *netdev = priv->netdev; mlx5e_uplink_rep_enable() local 1211 struct net_device *netdev; mlx5e_vport_rep_load() local 1293 struct net_device *netdev = rpriv->netdev; mlx5e_vport_rep_unload() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ |
H A D | ibmvnic.c | 174 struct net_device *netdev; in ibmvnic_wait_for_completion() local 178 netdev = adapter->netdev; in ibmvnic_wait_for_completion() 183 netdev_err(netdev, "Device down!\n"); in ibmvnic_wait_for_completion() 191 netdev_err(netdev, "Operation timed out.\n"); in ibmvnic_wait_for_completion() 403 netif_carrier_off(adapter->netdev); in replenish_rx_pool() 417 netdev_dbg(adapter->netdev, "Replenished %d pools\n", i); in replenish_pools() 474 netdev_dbg(adapter->netdev, "Stats token initialized (%llx)\n", stok); in init_stats_token() 493 netdev_dbg(adapter->netdev, "Re-setting rx_pool[%d]\n", i); in reset_rx_pools() 536 netdev_dbg(adapter->netdev, "Releasin in release_rx_pools() 559 init_rx_pools(struct net_device *netdev) init_rx_pools() argument 708 init_one_tx_pool(struct net_device *netdev, struct ibmvnic_tx_pool *tx_pool, int num_entries, int buf_size) init_one_tx_pool() argument 740 init_tx_pools(struct net_device *netdev) init_tx_pools() argument 848 ibmvnic_login(struct net_device *netdev) ibmvnic_login() argument 966 struct net_device *netdev = adapter->netdev; set_link_state() local 1009 set_real_num_queues(struct net_device *netdev) set_real_num_queues() argument 1116 struct net_device *netdev = adapter->netdev; init_resources() local 1150 __ibmvnic_open(struct net_device *netdev) __ibmvnic_open() argument 1195 ibmvnic_open(struct net_device *netdev) ibmvnic_open() argument 1307 struct net_device *netdev = adapter->netdev; ibmvnic_disable_irqs() local 1332 ibmvnic_cleanup(struct net_device *netdev) ibmvnic_cleanup() argument 1349 __ibmvnic_close(struct net_device *netdev) __ibmvnic_close() argument 1360 ibmvnic_close(struct net_device *netdev) ibmvnic_close() argument 1519 ibmvnic_xmit_workarounds(struct sk_buff *skb, struct net_device *netdev) ibmvnic_xmit_workarounds() argument 1534 ibmvnic_xmit(struct sk_buff *skb, struct net_device *netdev) ibmvnic_xmit() argument 1762 ibmvnic_set_multi(struct net_device *netdev) ibmvnic_set_multi() argument 1805 __ibmvnic_set_mac(struct net_device *netdev, u8 *dev_addr) __ibmvnic_set_mac() argument 1846 ibmvnic_set_mac(struct net_device *netdev, void *p) ibmvnic_set_mac() argument 1871 struct net_device *netdev = adapter->netdev; do_change_param_reset() local 1958 struct net_device *netdev = adapter->netdev; do_reset() local 2127 struct net_device *netdev = adapter->netdev; do_hard_reset() local 2322 struct net_device *netdev = adapter->netdev; ibmvnic_reset() local 2423 struct net_device *netdev = napi->dev; ibmvnic_poll() local 2579 ibmvnic_change_mtu(struct net_device *netdev, int new_mtu) ibmvnic_change_mtu() argument 2619 ibmvnic_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) ibmvnic_get_link_ksettings() argument 2639 ibmvnic_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) ibmvnic_get_drvinfo() argument 2650 ibmvnic_get_msglevel(struct net_device *netdev) ibmvnic_get_msglevel() argument 2657 ibmvnic_set_msglevel(struct net_device *netdev, u32 data) ibmvnic_set_msglevel() argument 2664 ibmvnic_get_link(struct net_device *netdev) ibmvnic_get_link() argument 2674 ibmvnic_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) ibmvnic_get_ringparam() argument 2689 ibmvnic_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) ibmvnic_set_ringparam() argument 2710 ibmvnic_get_channels(struct net_device *netdev, struct ethtool_channels *channels) ibmvnic_get_channels() argument 2725 ibmvnic_set_channels(struct net_device *netdev, struct ethtool_channels *channels) ibmvnic_set_channels() argument 4334 struct net_device *netdev = adapter->netdev; handle_change_mac_rsp() local 4438 struct net_device *netdev = adapter->netdev; handle_login_rsp() local 4554 struct net_device *netdev = adapter->netdev; handle_query_map_rsp() local 4571 struct net_device *netdev = adapter->netdev; handle_query_cap_rsp() local 4779 struct net_device *netdev = adapter->netdev; handle_query_phys_parms_rsp() local 4835 struct net_device *netdev = adapter->netdev; ibmvnic_handle_crq() local 5292 struct net_device *netdev; ibmvnic_probe() local 5407 struct net_device *netdev = dev_get_drvdata(&dev->dev); ibmvnic_remove() local 5453 struct net_device *netdev = dev_get_drvdata(dev); failover_store() local 5488 struct net_device *netdev = dev_get_drvdata(&vdev->dev); ibmvnic_get_desired_dma() local 5517 struct net_device *netdev = dev_get_drvdata(dev); ibmvnic_resume() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 114 * @t: timer list containing pointer to netdev cast into an unsigned long 148 struct net_device *netdev = adapter->netdev; in atl1e_check_link() local 157 if (netif_carrier_ok(netdev)) { /* old link state: Up */ in atl1e_check_link() 164 netif_carrier_off(netdev); in atl1e_check_link() 165 netif_stop_queue(netdev); in atl1e_check_link() 179 netdev_info(netdev, in atl1e_check_link() 186 if (!netif_carrier_ok(netdev)) { in atl1e_check_link() 188 netif_carrier_on(netdev); in atl1e_check_link() 189 netif_wake_queue(netdev); in atl1e_check_link() 212 struct net_device *netdev = adapter->netdev; atl1e_link_chg_event() local 249 atl1e_tx_timeout(struct net_device *netdev, unsigned int txqueue) atl1e_tx_timeout() argument 266 atl1e_set_multi(struct net_device *netdev) atl1e_set_multi() argument 311 atl1e_rx_mode(struct net_device *netdev, netdev_features_t features) atl1e_rx_mode() argument 338 atl1e_vlan_mode(struct net_device *netdev, netdev_features_t features) atl1e_vlan_mode() argument 366 atl1e_set_mac_addr(struct net_device *netdev, void *p) atl1e_set_mac_addr() argument 385 atl1e_fix_features(struct net_device *netdev, netdev_features_t features) atl1e_fix_features() argument 400 atl1e_set_features(struct net_device *netdev, netdev_features_t features) atl1e_set_features() argument 422 atl1e_change_mtu(struct net_device *netdev, int new_mtu) atl1e_change_mtu() argument 444 atl1e_mdio_read(struct net_device *netdev, int phy_id, int reg_num) atl1e_mdio_read() argument 453 atl1e_mdio_write(struct net_device *netdev, int phy_id, int reg_num, int val) atl1e_mdio_write() argument 463 atl1e_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) atl1e_mii_ioctl() argument 513 atl1e_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) atl1e_ioctl() argument 1048 struct net_device *netdev = adapter->netdev; atl1e_setup_mac_ctrl() local 1155 atl1e_get_stats(struct net_device *netdev) atl1e_get_stats() argument 1279 struct net_device *netdev = data; atl1e_intr() local 1400 struct net_device *netdev = adapter->netdev; atl1e_clean_rx_irq() local 1549 atl1e_netpoll(struct net_device *netdev) atl1e_netpoll() argument 1861 atl1e_xmit_frame(struct sk_buff *skb, struct net_device *netdev) atl1e_xmit_frame() argument 1921 struct net_device *netdev = adapter->netdev; atl1e_free_irq() local 1929 struct net_device *netdev = adapter->netdev; atl1e_request_irq() local 1945 struct net_device *netdev = adapter->netdev; atl1e_up() local 1977 struct net_device *netdev = adapter->netdev; atl1e_down() local 2012 atl1e_open(struct net_device *netdev) atl1e_open() argument 2057 atl1e_close(struct net_device *netdev) atl1e_close() argument 2071 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_suspend() local 2200 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_resume() local 2264 atl1e_init_netdev(struct net_device *netdev, struct pci_dev *pdev) atl1e_init_netdev() argument 2299 struct net_device *netdev; atl1e_probe() local 2448 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_remove() local 2480 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_io_error_detected() local 2506 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_io_slot_reset() local 2534 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_io_resume() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igbvf/ |
H A D | netdev.c | 77 * @netdev: pointer to netdev struct 84 struct net_device *netdev, in igbvf_receive_skb() 137 struct net_device *netdev = adapter->netdev; in igbvf_alloc_rx_buffers() local 182 skb = netdev_alloc_skb_ip_align(netdev, bufsz); in igbvf_alloc_rx_buffers() 248 struct net_device *netdev = adapter->netdev; in igbvf_clean_rx_irq() local 353 skb->protocol = eth_type_trans(skb, netdev); in igbvf_clean_rx_irq() 355 igbvf_receive_skb(adapter, netdev, sk in igbvf_clean_rx_irq() 83 igbvf_receive_skb(struct igbvf_adapter *adapter, struct net_device *netdev, struct sk_buff *skb, u32 status, __le16 vlan) igbvf_receive_skb() argument 776 struct net_device *netdev = adapter->netdev; igbvf_clean_tx_irq() local 855 struct net_device *netdev = data; igbvf_msix_other() local 872 struct net_device *netdev = data; igbvf_intr_msix_tx() local 900 struct net_device *netdev = data; igbvf_intr_msix_rx() local 1052 struct net_device *netdev = adapter->netdev; igbvf_request_msix() local 1104 struct net_device *netdev = adapter->netdev; igbvf_alloc_queues() local 1147 struct net_device *netdev = adapter->netdev; igbvf_free_irq() local 1234 igbvf_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) igbvf_vlan_rx_add_vid() argument 1254 igbvf_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) igbvf_vlan_rx_kill_vid() argument 1416 igbvf_set_multi(struct net_device *netdev) igbvf_set_multi() argument 1451 igbvf_set_uni(struct net_device *netdev) igbvf_set_uni() argument 1486 igbvf_set_rx_mode(struct net_device *netdev) igbvf_set_rx_mode() argument 1520 struct net_device *netdev = adapter->netdev; igbvf_reset() local 1569 struct net_device *netdev = adapter->netdev; igbvf_down() local 1630 struct net_device *netdev = adapter->netdev; igbvf_sw_init() local 1710 igbvf_open(struct net_device *netdev) igbvf_open() argument 1778 igbvf_close(struct net_device *netdev) igbvf_close() argument 1800 igbvf_set_mac(struct net_device *netdev, void *p) igbvf_set_mac() argument 1919 struct net_device *netdev = adapter->netdev; igbvf_watchdog_task() local 2132 igbvf_maybe_stop_tx(struct net_device *netdev, int size) igbvf_maybe_stop_tx() argument 2292 igbvf_xmit_frame_ring_adv(struct sk_buff *skb, struct net_device *netdev, struct igbvf_ring *tx_ring) igbvf_xmit_frame_ring_adv() argument 2366 igbvf_xmit_frame(struct sk_buff *skb, struct net_device *netdev) igbvf_xmit_frame() argument 2387 igbvf_tx_timeout(struct net_device *netdev, unsigned int __always_unused txqueue) igbvf_tx_timeout() argument 2412 igbvf_change_mtu(struct net_device *netdev, int new_mtu) igbvf_change_mtu() argument 2463 igbvf_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) igbvf_ioctl() argument 2473 struct net_device *netdev = dev_get_drvdata(dev_d); igbvf_suspend() local 2490 struct net_device *netdev = pci_get_drvdata(pdev); igbvf_resume() local 2522 igbvf_netpoll(struct net_device *netdev) igbvf_netpoll() argument 2545 struct net_device *netdev = pci_get_drvdata(pdev); igbvf_io_error_detected() local 2570 struct net_device *netdev = pci_get_drvdata(pdev); igbvf_io_slot_reset() local 2595 struct net_device *netdev = pci_get_drvdata(pdev); igbvf_io_resume() local 2612 struct net_device *netdev = adapter->netdev; igbvf_print_device_info() local 2622 igbvf_set_features(struct net_device *netdev, netdev_features_t features) igbvf_set_features() argument 2700 struct net_device *netdev; igbvf_probe() local 2908 struct net_device *netdev = pci_get_drvdata(pdev); igbvf_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 114 * @t: timer list containing pointer to netdev cast into an unsigned long 148 struct net_device *netdev = adapter->netdev; in atl1e_check_link() local 157 if (netif_carrier_ok(netdev)) { /* old link state: Up */ in atl1e_check_link() 164 netif_carrier_off(netdev); in atl1e_check_link() 165 netif_stop_queue(netdev); in atl1e_check_link() 179 netdev_info(netdev, in atl1e_check_link() 186 if (!netif_carrier_ok(netdev)) { in atl1e_check_link() 188 netif_carrier_on(netdev); in atl1e_check_link() 189 netif_wake_queue(netdev); in atl1e_check_link() 212 struct net_device *netdev = adapter->netdev; atl1e_link_chg_event() local 249 atl1e_tx_timeout(struct net_device *netdev, unsigned int txqueue) atl1e_tx_timeout() argument 266 atl1e_set_multi(struct net_device *netdev) atl1e_set_multi() argument 311 atl1e_rx_mode(struct net_device *netdev, netdev_features_t features) atl1e_rx_mode() argument 338 atl1e_vlan_mode(struct net_device *netdev, netdev_features_t features) atl1e_vlan_mode() argument 366 atl1e_set_mac_addr(struct net_device *netdev, void *p) atl1e_set_mac_addr() argument 385 atl1e_fix_features(struct net_device *netdev, netdev_features_t features) atl1e_fix_features() argument 400 atl1e_set_features(struct net_device *netdev, netdev_features_t features) atl1e_set_features() argument 422 atl1e_change_mtu(struct net_device *netdev, int new_mtu) atl1e_change_mtu() argument 444 atl1e_mdio_read(struct net_device *netdev, int phy_id, int reg_num) atl1e_mdio_read() argument 453 atl1e_mdio_write(struct net_device *netdev, int phy_id, int reg_num, int val) atl1e_mdio_write() argument 463 atl1e_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) atl1e_mii_ioctl() argument 513 atl1e_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) atl1e_ioctl() argument 1048 struct net_device *netdev = adapter->netdev; atl1e_setup_mac_ctrl() local 1155 atl1e_get_stats(struct net_device *netdev) atl1e_get_stats() argument 1279 struct net_device *netdev = data; atl1e_intr() local 1400 struct net_device *netdev = adapter->netdev; atl1e_clean_rx_irq() local 1549 atl1e_netpoll(struct net_device *netdev) atl1e_netpoll() argument 1861 atl1e_xmit_frame(struct sk_buff *skb, struct net_device *netdev) atl1e_xmit_frame() argument 1921 struct net_device *netdev = adapter->netdev; atl1e_free_irq() local 1929 struct net_device *netdev = adapter->netdev; atl1e_request_irq() local 1945 struct net_device *netdev = adapter->netdev; atl1e_up() local 1977 struct net_device *netdev = adapter->netdev; atl1e_down() local 2012 atl1e_open(struct net_device *netdev) atl1e_open() argument 2057 atl1e_close(struct net_device *netdev) atl1e_close() argument 2071 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_suspend() local 2200 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_resume() local 2264 atl1e_init_netdev(struct net_device *netdev, struct pci_dev *pdev) atl1e_init_netdev() argument 2299 struct net_device *netdev; atl1e_probe() local 2446 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_remove() local 2478 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_io_error_detected() local 2504 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_io_slot_reset() local 2532 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_io_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igbvf/ |
H A D | netdev.c | 77 * @netdev: pointer to netdev struct 84 struct net_device *netdev, in igbvf_receive_skb() 137 struct net_device *netdev = adapter->netdev; in igbvf_alloc_rx_buffers() local 182 skb = netdev_alloc_skb_ip_align(netdev, bufsz); in igbvf_alloc_rx_buffers() 248 struct net_device *netdev = adapter->netdev; in igbvf_clean_rx_irq() local 353 skb->protocol = eth_type_trans(skb, netdev); in igbvf_clean_rx_irq() 355 igbvf_receive_skb(adapter, netdev, sk in igbvf_clean_rx_irq() 83 igbvf_receive_skb(struct igbvf_adapter *adapter, struct net_device *netdev, struct sk_buff *skb, u32 status, __le16 vlan) igbvf_receive_skb() argument 776 struct net_device *netdev = adapter->netdev; igbvf_clean_tx_irq() local 855 struct net_device *netdev = data; igbvf_msix_other() local 872 struct net_device *netdev = data; igbvf_intr_msix_tx() local 900 struct net_device *netdev = data; igbvf_intr_msix_rx() local 1052 struct net_device *netdev = adapter->netdev; igbvf_request_msix() local 1104 struct net_device *netdev = adapter->netdev; igbvf_alloc_queues() local 1147 struct net_device *netdev = adapter->netdev; igbvf_free_irq() local 1234 igbvf_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) igbvf_vlan_rx_add_vid() argument 1254 igbvf_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) igbvf_vlan_rx_kill_vid() argument 1416 igbvf_set_multi(struct net_device *netdev) igbvf_set_multi() argument 1451 igbvf_set_uni(struct net_device *netdev) igbvf_set_uni() argument 1486 igbvf_set_rx_mode(struct net_device *netdev) igbvf_set_rx_mode() argument 1520 struct net_device *netdev = adapter->netdev; igbvf_reset() local 1568 struct net_device *netdev = adapter->netdev; igbvf_down() local 1629 struct net_device *netdev = adapter->netdev; igbvf_sw_init() local 1709 igbvf_open(struct net_device *netdev) igbvf_open() argument 1777 igbvf_close(struct net_device *netdev) igbvf_close() argument 1799 igbvf_set_mac(struct net_device *netdev, void *p) igbvf_set_mac() argument 1918 struct net_device *netdev = adapter->netdev; igbvf_watchdog_task() local 2119 igbvf_maybe_stop_tx(struct net_device *netdev, int size) igbvf_maybe_stop_tx() argument 2279 igbvf_xmit_frame_ring_adv(struct sk_buff *skb, struct net_device *netdev, struct igbvf_ring *tx_ring) igbvf_xmit_frame_ring_adv() argument 2353 igbvf_xmit_frame(struct sk_buff *skb, struct net_device *netdev) igbvf_xmit_frame() argument 2374 igbvf_tx_timeout(struct net_device *netdev, unsigned int __always_unused txqueue) igbvf_tx_timeout() argument 2399 igbvf_change_mtu(struct net_device *netdev, int new_mtu) igbvf_change_mtu() argument 2450 igbvf_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) igbvf_ioctl() argument 2460 struct net_device *netdev = dev_get_drvdata(dev_d); igbvf_suspend() local 2477 struct net_device *netdev = pci_get_drvdata(pdev); igbvf_resume() local 2509 igbvf_netpoll(struct net_device *netdev) igbvf_netpoll() argument 2532 struct net_device *netdev = pci_get_drvdata(pdev); igbvf_io_error_detected() local 2557 struct net_device *netdev = pci_get_drvdata(pdev); igbvf_io_slot_reset() local 2582 struct net_device *netdev = pci_get_drvdata(pdev); igbvf_io_resume() local 2602 struct net_device *netdev = pci_get_drvdata(pdev); igbvf_io_prepare() local 2616 struct net_device *netdev = pci_get_drvdata(pdev); igbvf_io_reset_done() local 2626 struct net_device *netdev = adapter->netdev; igbvf_print_device_info() local 2636 igbvf_set_features(struct net_device *netdev, netdev_features_t features) igbvf_set_features() argument 2714 struct net_device *netdev; igbvf_probe() local 2911 struct net_device *netdev = pci_get_drvdata(pdev); igbvf_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ |
H A D | e100.c | 540 struct net_device *netdev; member 668 netif_err(nic, hw, nic->netdev, in e100_self_test() 674 netif_err(nic, hw, nic->netdev, "Self-test failed: timed out\n"); in e100_self_test() 777 netif_err(nic, probe, nic->netdev, "EEPROM corrupted\n"); in e100_eeprom_load() 902 static int mdio_read(struct net_device *netdev, int addr, int reg) in mdio_read() argument 904 struct nic *nic = netdev_priv(netdev); in mdio_read() 908 static void mdio_write(struct net_device *netdev, int addr, int reg, int data) in mdio_write() argument 910 struct nic *nic = netdev_priv(netdev); in mdio_write() 936 netdev_err(nic->netdev, "e100.mdio_ctrl won't go Ready\n"); in mdio_ctrl_hw() 948 netif_printk(nic, hw, KERN_DEBUG, nic->netdev, in mdio_ctrl_hw() 1073 struct net_device *netdev = nic->netdev; e100_configure() local 1436 struct net_device *netdev = nic->netdev; e100_phy_init() local 1562 struct net_device *netdev = nic->netdev; e100_multi() local 1578 e100_set_multicast_list(struct net_device *netdev) e100_set_multicast_list() argument 1770 e100_xmit_frame(struct sk_buff *skb, struct net_device *netdev) e100_xmit_frame() argument 2194 struct net_device *netdev = dev_id; e100_intr() local 2240 e100_netpoll(struct net_device *netdev) e100_netpoll() argument 2251 e100_set_mac_address(struct net_device *netdev, void *p) e100_set_mac_address() argument 2319 e100_tx_timeout(struct net_device *netdev, unsigned int txqueue) e100_tx_timeout() argument 2331 struct net_device *netdev = nic->netdev; e100_tx_timeout_task() local 2405 e100_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) e100_get_link_ksettings() argument 2415 e100_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *cmd) e100_set_link_ksettings() argument 2428 e100_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) e100_get_drvinfo() argument 2438 e100_get_regs_len(struct net_device *netdev) e100_get_regs_len() argument 2448 e100_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) e100_get_regs() argument 2473 e100_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) e100_get_wol() argument 2480 e100_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) e100_set_wol() argument 2500 e100_get_msglevel(struct net_device *netdev) e100_get_msglevel() argument 2506 e100_set_msglevel(struct net_device *netdev, u32 value) e100_set_msglevel() argument 2512 e100_nway_reset(struct net_device *netdev) e100_nway_reset() argument 2518 e100_get_link(struct net_device *netdev) e100_get_link() argument 2524 e100_get_eeprom_len(struct net_device *netdev) e100_get_eeprom_len() argument 2531 e100_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) e100_get_eeprom() argument 2542 e100_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) e100_set_eeprom() argument 2556 e100_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) e100_get_ringparam() argument 2569 e100_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) e100_set_ringparam() argument 2602 e100_diag_test(struct net_device *netdev, struct ethtool_test *test, u64 *data) e100_diag_test() argument 2635 e100_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) e100_set_phys_id() argument 2686 e100_get_sset_count(struct net_device *netdev, int sset) e100_get_sset_count() argument 2698 e100_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) e100_get_ethtool_stats() argument 2719 e100_get_strings(struct net_device *netdev, u32 stringset, u8 *data) e100_get_strings() argument 2756 e100_do_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) e100_do_ioctl() argument 2779 e100_open(struct net_device *netdev) e100_open() argument 2790 e100_close(struct net_device *netdev) e100_close() argument 2796 e100_set_features(struct net_device *netdev, netdev_features_t features) e100_set_features() argument 2827 struct net_device *netdev; e100_probe() local 2981 struct net_device *netdev = pci_get_drvdata(pdev); e100_remove() local 3000 struct net_device *netdev = pci_get_drvdata(pdev); __e100_shutdown() local 3048 struct net_device *netdev = dev_get_drvdata(dev_d); e100_resume() local 3093 struct net_device *netdev = pci_get_drvdata(pdev); e100_io_error_detected() local 3117 struct net_device *netdev = pci_get_drvdata(pdev); e100_io_slot_reset() local 3144 struct net_device *netdev = pci_get_drvdata(pdev); e100_io_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ |
H A D | e100.c | 540 struct net_device *netdev; member 668 netif_err(nic, hw, nic->netdev, in e100_self_test() 674 netif_err(nic, hw, nic->netdev, "Self-test failed: timed out\n"); in e100_self_test() 777 netif_err(nic, probe, nic->netdev, "EEPROM corrupted\n"); in e100_eeprom_load() 902 static int mdio_read(struct net_device *netdev, int addr, int reg) in mdio_read() argument 904 struct nic *nic = netdev_priv(netdev); in mdio_read() 908 static void mdio_write(struct net_device *netdev, int addr, int reg, int data) in mdio_write() argument 910 struct nic *nic = netdev_priv(netdev); in mdio_write() 936 netdev_err(nic->netdev, "e100.mdio_ctrl won't go Ready\n"); in mdio_ctrl_hw() 948 netif_printk(nic, hw, KERN_DEBUG, nic->netdev, in mdio_ctrl_hw() 1073 struct net_device *netdev = nic->netdev; e100_configure() local 1435 struct net_device *netdev = nic->netdev; e100_phy_init() local 1561 struct net_device *netdev = nic->netdev; e100_multi() local 1577 e100_set_multicast_list(struct net_device *netdev) e100_set_multicast_list() argument 1769 e100_xmit_frame(struct sk_buff *skb, struct net_device *netdev) e100_xmit_frame() argument 2193 struct net_device *netdev = dev_id; e100_intr() local 2239 e100_netpoll(struct net_device *netdev) e100_netpoll() argument 2250 e100_set_mac_address(struct net_device *netdev, void *p) e100_set_mac_address() argument 2318 e100_tx_timeout(struct net_device *netdev, unsigned int txqueue) e100_tx_timeout() argument 2330 struct net_device *netdev = nic->netdev; e100_tx_timeout_task() local 2404 e100_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) e100_get_link_ksettings() argument 2414 e100_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *cmd) e100_set_link_ksettings() argument 2427 e100_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) e100_get_drvinfo() argument 2437 e100_get_regs_len(struct net_device *netdev) e100_get_regs_len() argument 2447 e100_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) e100_get_regs() argument 2472 e100_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) e100_get_wol() argument 2479 e100_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) e100_set_wol() argument 2499 e100_get_msglevel(struct net_device *netdev) e100_get_msglevel() argument 2505 e100_set_msglevel(struct net_device *netdev, u32 value) e100_set_msglevel() argument 2511 e100_nway_reset(struct net_device *netdev) e100_nway_reset() argument 2517 e100_get_link(struct net_device *netdev) e100_get_link() argument 2523 e100_get_eeprom_len(struct net_device *netdev) e100_get_eeprom_len() argument 2530 e100_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) e100_get_eeprom() argument 2541 e100_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) e100_set_eeprom() argument 2555 e100_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) e100_get_ringparam() argument 2570 e100_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) e100_set_ringparam() argument 2605 e100_diag_test(struct net_device *netdev, struct ethtool_test *test, u64 *data) e100_diag_test() argument 2638 e100_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) e100_set_phys_id() argument 2689 e100_get_sset_count(struct net_device *netdev, int sset) e100_get_sset_count() argument 2701 e100_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) e100_get_ethtool_stats() argument 2722 e100_get_strings(struct net_device *netdev, u32 stringset, u8 *data) e100_get_strings() argument 2759 e100_do_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) e100_do_ioctl() argument 2782 e100_open(struct net_device *netdev) e100_open() argument 2793 e100_close(struct net_device *netdev) e100_close() argument 2799 e100_set_features(struct net_device *netdev, netdev_features_t features) e100_set_features() argument 2830 struct net_device *netdev; e100_probe() local 2984 struct net_device *netdev = pci_get_drvdata(pdev); e100_remove() local 3003 struct net_device *netdev = pci_get_drvdata(pdev); __e100_shutdown() local 3051 struct net_device *netdev = dev_get_drvdata(dev_d); e100_resume() local 3096 struct net_device *netdev = pci_get_drvdata(pdev); e100_io_error_detected() local 3120 struct net_device *netdev = pci_get_drvdata(pdev); e100_io_slot_reset() local 3147 struct net_device *netdev = pci_get_drvdata(pdev); e100_io_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_vf.c | 363 static int otx2vf_open(struct net_device *netdev) in otx2vf_open() argument 368 err = otx2_open(netdev); in otx2vf_open() 373 vf = netdev_priv(netdev); in otx2vf_open() 375 pr_info("%s NIC Link is UP\n", netdev->name); in otx2vf_open() 376 netif_carrier_on(netdev); in otx2vf_open() 377 netif_tx_start_all_queues(netdev); in otx2vf_open() 383 static int otx2vf_stop(struct net_device *netdev) in otx2vf_stop() argument 385 return otx2_stop(netdev); in otx2vf_stop() 388 static netdev_tx_t otx2vf_xmit(struct sk_buff *skb, struct net_device *netdev) in otx2vf_xmit() argument 390 struct otx2_nic *vf = netdev_priv(netdev); in otx2vf_xmit() 413 otx2vf_set_rx_mode(struct net_device *netdev) otx2vf_set_rx_mode() argument 423 struct net_device *netdev = vf->netdev; otx2vf_do_set_rx_mode() local 449 otx2vf_change_mtu(struct net_device *netdev, int new_mtu) otx2vf_change_mtu() argument 482 otx2vf_set_features(struct net_device *netdev, netdev_features_t features) otx2vf_set_features() argument 539 struct net_device *netdev; otx2vf_probe() local 745 struct net_device *netdev = pci_get_drvdata(pdev); otx2vf_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ktls.c | 48 static int mlx5e_ktls_add(struct net_device *netdev, struct sock *sk, in mlx5e_ktls_add() argument 53 struct mlx5e_priv *priv = netdev_priv(netdev); in mlx5e_ktls_add() 61 err = mlx5e_ktls_add_tx(netdev, sk, crypto_info, start_offload_tcp_sn); in mlx5e_ktls_add() 63 err = mlx5e_ktls_add_rx(netdev, sk, crypto_info, start_offload_tcp_sn); in mlx5e_ktls_add() 68 static void mlx5e_ktls_del(struct net_device *netdev, in mlx5e_ktls_del() argument 73 mlx5e_ktls_del_tx(netdev, tls_ctx); in mlx5e_ktls_del() 75 mlx5e_ktls_del_rx(netdev, tls_ctx); in mlx5e_ktls_del() 78 static int mlx5e_ktls_resync(struct net_device *netdev, in mlx5e_ktls_resync() argument 85 mlx5e_ktls_rx_resync(netdev, sk, seq, rcd_sn); in mlx5e_ktls_resync() 115 struct net_device *netdev in mlx5e_ktls_build_netdev() local 132 mlx5e_ktls_set_feature_rx(struct net_device *netdev, bool enable) mlx5e_ktls_set_feature_rx() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | sr9700.c | 150 static int sr9700_get_eeprom_len(struct net_device *netdev) in sr9700_get_eeprom_len() argument 155 static int sr9700_get_eeprom(struct net_device *netdev, in sr9700_get_eeprom() argument 158 struct usbnet *dev = netdev_priv(netdev); in sr9700_get_eeprom() 176 static int sr_mdio_read(struct net_device *netdev, int phy_id, int loc) in sr_mdio_read() argument 178 struct usbnet *dev = netdev_priv(netdev); in sr_mdio_read() 183 netdev_dbg(netdev, "Only internal phy supported\n"); in sr_mdio_read() 201 netdev_dbg(netdev, "sr_mdio_read() phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n", in sr_mdio_read() 207 static void sr_mdio_write(struct net_device *netdev, int phy_id, int loc, in sr_mdio_write() argument 210 struct usbnet *dev = netdev_priv(netdev); in sr_mdio_write() 214 netdev_dbg(netdev, "Onl in sr_mdio_write() 224 sr9700_get_link(struct net_device *netdev) sr9700_get_link() argument 238 sr9700_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd) sr9700_ioctl() argument 257 sr9700_set_multicast(struct net_device *netdev) sr9700_set_multicast() argument 288 sr9700_set_mac_address(struct net_device *netdev, void *p) sr9700_set_mac_address() argument 320 struct net_device *netdev; sr9700_bind() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_vf.c | 336 static int otx2vf_open(struct net_device *netdev) in otx2vf_open() argument 341 err = otx2_open(netdev); in otx2vf_open() 346 vf = netdev_priv(netdev); in otx2vf_open() 348 pr_info("%s NIC Link is UP\n", netdev->name); in otx2vf_open() 349 netif_carrier_on(netdev); in otx2vf_open() 350 netif_tx_start_all_queues(netdev); in otx2vf_open() 356 static int otx2vf_stop(struct net_device *netdev) in otx2vf_stop() argument 358 return otx2_stop(netdev); in otx2vf_stop() 361 static netdev_tx_t otx2vf_xmit(struct sk_buff *skb, struct net_device *netdev) in otx2vf_xmit() argument 363 struct otx2_nic *vf = netdev_priv(netdev); in otx2vf_xmit() 386 otx2vf_change_mtu(struct net_device *netdev, int new_mtu) otx2vf_change_mtu() argument 453 struct net_device *netdev; otx2vf_probe() local 615 struct net_device *netdev = pci_get_drvdata(pdev); otx2vf_remove() local [all...] |
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | offload.c | 43 struct net_device *netdev; member 53 .key_offset = offsetof(struct bpf_offload_netdev, netdev), 61 static int bpf_dev_offload_check(struct net_device *netdev) in bpf_dev_offload_check() argument 63 if (!netdev) in bpf_dev_offload_check() 65 if (!netdev->netdev_ops->ndo_bpf) in bpf_dev_offload_check() 71 bpf_offload_find_netdev(struct net_device *netdev) in bpf_offload_find_netdev() argument 77 return rhashtable_lookup_fast(&offdevs, &netdev, offdevs_params); in bpf_offload_find_netdev() 99 offload->netdev = dev_get_by_index(current->nsproxy->net_ns, in bpf_prog_offload_init() 101 err = bpf_dev_offload_check(offload->netdev); in bpf_prog_offload_init() 106 ondev = bpf_offload_find_netdev(offload->netdev); in bpf_prog_offload_init() 350 struct net_device *netdev; bpf_map_offload_ndo() local 546 __bpf_offload_dev_match(struct bpf_prog *prog, struct net_device *netdev) __bpf_offload_dev_match() argument 567 bpf_offload_dev_match(struct bpf_prog *prog, struct net_device *netdev) bpf_offload_dev_match() argument 595 bpf_offload_dev_netdev_register(struct bpf_offload_dev *offdev, struct net_device *netdev) bpf_offload_dev_netdev_register() argument 628 bpf_offload_dev_netdev_unregister(struct bpf_offload_dev *offdev, struct net_device *netdev) bpf_offload_dev_netdev_unregister() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxbf_gige/ |
H A D | mlxbf_gige_main.c | 40 skb = netdev_alloc_skb(priv->netdev, MLXBF_GIGE_DEFAULT_BUF_SZ * 2); in mlxbf_gige_alloc_skb() 76 eth_hw_addr_set(priv->netdev, mac); in mlxbf_gige_initial_mac() 81 eth_hw_addr_random(priv->netdev); in mlxbf_gige_initial_mac() 84 local_mac = ether_addr_to_u64(priv->netdev->dev_addr); in mlxbf_gige_initial_mac() 129 static int mlxbf_gige_open(struct net_device *netdev) in mlxbf_gige_open() argument 131 struct mlxbf_gige *priv = netdev_priv(netdev); in mlxbf_gige_open() 132 struct phy_device *phydev = netdev->phydev; in mlxbf_gige_open() 165 netif_napi_add(netdev, &priv->napi, mlxbf_gige_poll); in mlxbf_gige_open() 167 netif_start_queue(netdev); in mlxbf_gige_open() 193 static int mlxbf_gige_stop(struct net_device *netdev) in mlxbf_gige_stop() argument 213 mlxbf_gige_eth_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) mlxbf_gige_eth_ioctl() argument 222 mlxbf_gige_set_rx_mode(struct net_device *netdev) mlxbf_gige_set_rx_mode() argument 242 mlxbf_gige_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) mlxbf_gige_get_stats64() argument 272 mlxbf_gige_bf2_adjust_link(struct net_device *netdev) mlxbf_gige_bf2_adjust_link() argument 279 mlxbf_gige_bf3_adjust_link(struct net_device *netdev) mlxbf_gige_bf3_adjust_link() argument 368 struct net_device *netdev; mlxbf_gige_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | sr9700.c | 151 static int sr9700_get_eeprom_len(struct net_device *netdev) in sr9700_get_eeprom_len() argument 156 static int sr9700_get_eeprom(struct net_device *netdev, in sr9700_get_eeprom() argument 159 struct usbnet *dev = netdev_priv(netdev); in sr9700_get_eeprom() 177 static int sr_mdio_read(struct net_device *netdev, int phy_id, int loc) in sr_mdio_read() argument 179 struct usbnet *dev = netdev_priv(netdev); in sr_mdio_read() 184 netdev_dbg(netdev, "Only internal phy supported\n"); in sr_mdio_read() 202 netdev_dbg(netdev, "sr_mdio_read() phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n", in sr_mdio_read() 208 static void sr_mdio_write(struct net_device *netdev, int phy_id, int loc, in sr_mdio_write() argument 211 struct usbnet *dev = netdev_priv(netdev); in sr_mdio_write() 215 netdev_dbg(netdev, "Onl in sr_mdio_write() 225 sr9700_get_link(struct net_device *netdev) sr9700_get_link() argument 239 sr9700_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd) sr9700_ioctl() argument 258 sr9700_set_multicast(struct net_device *netdev) sr9700_set_multicast() argument 289 sr9700_set_mac_address(struct net_device *netdev, void *p) sr9700_set_mac_address() argument 321 struct net_device *netdev; sr9700_bind() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_main.c | 56 static int qlcnic_open(struct net_device *netdev); 57 static int qlcnic_close(struct net_device *netdev); 58 static void qlcnic_tx_timeout(struct net_device *netdev, unsigned int txqueue); 71 static struct net_device_stats *qlcnic_get_stats(struct net_device *netdev); 297 struct net_device *netdev = adapter->netdev; in qlcnic_read_mac_addr() local 307 memcpy(netdev->dev_addr, mac_addr, ETH_ALEN); in qlcnic_read_mac_addr() 308 memcpy(adapter->mac_addr, netdev->dev_addr, netdev->addr_len); in qlcnic_read_mac_addr() 312 if (!is_valid_ether_addr(netdev in qlcnic_read_mac_addr() 336 qlcnic_set_mac(struct net_device *netdev, void *p) qlcnic_set_mac() argument 371 qlcnic_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *netdev, const unsigned char *addr, u16 vid) qlcnic_fdb_del() argument 396 qlcnic_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *netdev, const unsigned char *addr, u16 vid, u16 flags, struct netlink_ext_ack *extack) qlcnic_fdb_add() argument 430 qlcnic_fdb_dump(struct sk_buff *skb, struct netlink_callback *ncb, struct net_device *netdev, struct net_device *filter_dev, int *idx) qlcnic_fdb_dump() argument 458 qlcnic_get_phys_port_id(struct net_device *netdev, struct netdev_phys_item_id *ppid) qlcnic_get_phys_port_id() argument 1351 qlcnic_vlan_rx_add(struct net_device *netdev, __be16 proto, u16 vid) qlcnic_vlan_rx_add() argument 1371 qlcnic_vlan_rx_del(struct net_device *netdev, __be16 proto, u16 vid) qlcnic_vlan_rx_del() argument 1427 struct net_device *netdev = adapter->netdev; qlcnic_set_netdev_features() local 1707 struct net_device *netdev = adapter->netdev; qlcnic_request_irq() local 1860 __qlcnic_up(struct qlcnic_adapter *adapter, struct net_device *netdev) __qlcnic_up() argument 1907 qlcnic_up(struct qlcnic_adapter *adapter, struct net_device *netdev) qlcnic_up() argument 1919 __qlcnic_down(struct qlcnic_adapter *adapter, struct net_device *netdev) __qlcnic_down() argument 1956 qlcnic_down(struct qlcnic_adapter *adapter, struct net_device *netdev) qlcnic_down() argument 1968 struct net_device *netdev = adapter->netdev; qlcnic_attach() local 2030 qlcnic_diag_free_res(struct net_device *netdev, int drv_sds_rings) qlcnic_diag_free_res() argument 2114 qlcnic_diag_alloc_res(struct net_device *netdev, int test) qlcnic_diag_alloc_res() argument 2172 struct net_device *netdev = adapter->netdev; qlcnic_reset_hw_context() local 2194 struct net_device *netdev = adapter->netdev; qlcnic_reset_context() local 2242 struct net_device *netdev = adapter->netdev; qlcnic_set_real_num_queues() local 2265 qlcnic_setup_netdev(struct qlcnic_adapter *adapter, struct net_device *netdev, int pci_using_dac) qlcnic_setup_netdev() argument 2379 qlcnic_alloc_tx_rings(struct qlcnic_adapter *adapter, struct net_device *netdev) qlcnic_alloc_tx_rings() argument 2447 struct net_device *netdev = NULL; qlcnic_probe() local 2736 struct net_device *netdev; qlcnic_remove() local 2817 qlcnic_open(struct net_device *netdev) qlcnic_open() argument 2845 qlcnic_close(struct net_device *netdev) qlcnic_close() argument 2860 struct net_device *netdev = adapter->netdev; qlcnic_alloc_lb_filters_mem() local 2929 struct net_device *netdev = adapter->netdev; qlcnic_check_temp() local 2982 struct net_device *netdev = adapter->netdev; qlcnic_dump_rings() local 3044 qlcnic_tx_timeout(struct net_device *netdev, unsigned int txqueue) qlcnic_tx_timeout() argument 3067 qlcnic_get_stats(struct net_device *netdev) qlcnic_get_stats() argument 3487 struct net_device *netdev = adapter->netdev; qlcnic_detach_work() local 3634 struct net_device *netdev = adapter->netdev; qlcnic_attach_work() local 3797 struct net_device *netdev = adapter->netdev; qlcnic_attach_func() local 3861 struct net_device *netdev = adapter->netdev; qlcnic_82xx_io_error_detected() local 3982 struct net_device *netdev = adapter->netdev; qlcnic_validate_rings() local 4014 struct net_device *netdev = adapter->netdev; qlcnic_setup_rings() local 4120 qlcnic_restore_indev_addr(struct net_device *netdev, unsigned long event) qlcnic_restore_indev_addr() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_sriov.h | 31 int ice_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac); 33 ice_get_vf_cfg(struct net_device *netdev, int vf_id, struct ifla_vf_info *ivi); 39 ice_set_vf_port_vlan(struct net_device *netdev, int vf_id, u16 vlan_id, u8 qos, 43 ice_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate, 46 int ice_set_vf_trust(struct net_device *netdev, int vf_id, bool trusted); 48 int ice_set_vf_link_state(struct net_device *netdev, int vf_id, int link_state); 50 int ice_set_vf_spoofchk(struct net_device *netdev, int vf_id, bool ena); 55 ice_get_vf_stats(struct net_device *netdev, int vf_id, 80 ice_set_vf_mac(struct net_device __always_unused *netdev, in ice_set_vf_mac() argument 87 ice_get_vf_cfg(struct net_device __always_unused *netdev, in ice_get_vf_cfg() argument 95 ice_set_vf_trust(struct net_device __always_unused *netdev, int __always_unused vf_id, bool __always_unused trusted) ice_set_vf_trust() argument 102 ice_set_vf_port_vlan(struct net_device __always_unused *netdev, int __always_unused vf_id, u16 __always_unused vid, u8 __always_unused qos, __be16 __always_unused v_proto) ice_set_vf_port_vlan() argument 110 ice_set_vf_spoofchk(struct net_device __always_unused *netdev, int __always_unused vf_id, bool __always_unused ena) ice_set_vf_spoofchk() argument 117 ice_set_vf_link_state(struct net_device __always_unused *netdev, int __always_unused vf_id, int __always_unused link_state) ice_set_vf_link_state() argument 124 ice_set_vf_bw(struct net_device __always_unused *netdev, int __always_unused vf_id, int __always_unused min_tx_rate, int __always_unused max_tx_rate) ice_set_vf_bw() argument 139 ice_get_vf_stats(struct net_device __always_unused *netdev, int __always_unused vf_id, struct ifla_vf_stats __always_unused *vf_stats) ice_get_vf_stats() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atlx/ |
H A D | atl2.c | 97 hw->max_frame_size = adapter->netdev->mtu; in atl2_sw_init() 108 * @netdev: network interface device structure 115 static void atl2_set_multi(struct net_device *netdev) in atl2_set_multi() argument 117 struct atl2_adapter *adapter = netdev_priv(netdev); in atl2_set_multi() 126 if (netdev->flags & IFF_PROMISC) { in atl2_set_multi() 128 } else if (netdev->flags & IFF_ALLMULTI) { in atl2_set_multi() 141 netdev_for_each_mc_addr(ha, netdev) { in atl2_set_multi() 236 ATL2_WRITE_REG(hw, REG_MTU, adapter->netdev->mtu + in atl2_configure() 354 static void atl2_vlan_mode(struct net_device *netdev, in atl2_vlan_mode() argument 357 struct atl2_adapter *adapter = netdev_priv(netdev); in atl2_vlan_mode() 374 atl2_fix_features(struct net_device *netdev, netdev_features_t features) atl2_fix_features() argument 389 atl2_set_features(struct net_device *netdev, netdev_features_t features) atl2_set_features() argument 402 struct net_device *netdev = adapter->netdev; atl2_intr_rx() local 464 struct net_device *netdev = adapter->netdev; atl2_intr_tx() local 549 struct net_device *netdev = adapter->netdev; atl2_check_for_link() local 641 struct net_device *netdev = adapter->netdev; atl2_request_irq() local 682 atl2_open(struct net_device *netdev) atl2_open() argument 741 struct net_device *netdev = adapter->netdev; atl2_down() local 766 struct net_device *netdev = adapter->netdev; atl2_free_irq() local 787 atl2_close(struct net_device *netdev) atl2_close() argument 820 atl2_xmit_frame(struct sk_buff *skb, struct net_device *netdev) atl2_xmit_frame() argument 902 atl2_change_mtu(struct net_device *netdev, int new_mtu) atl2_change_mtu() argument 923 atl2_set_mac(struct net_device *netdev, void *p) atl2_set_mac() argument 942 atl2_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) atl2_mii_ioctl() argument 978 atl2_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) atl2_ioctl() argument 999 atl2_tx_timeout(struct net_device *netdev, unsigned int txqueue) atl2_tx_timeout() argument 1053 struct net_device *netdev = adapter->netdev; atl2_up() local 1108 struct net_device *netdev = adapter->netdev; atl2_setup_mac_ctrl() local 1147 struct net_device *netdev = adapter->netdev; atl2_check_link() local 1277 atl2_poll_controller(struct net_device *netdev) atl2_poll_controller() argument 1316 struct net_device *netdev; atl2_probe() local 1464 struct net_device *netdev = pci_get_drvdata(pdev); atl2_remove() local 1490 struct net_device *netdev = pci_get_drvdata(pdev); atl2_suspend() local 1620 struct net_device *netdev = pci_get_drvdata(pdev); atl2_resume() local 1714 atl2_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) atl2_get_link_ksettings() argument 1756 atl2_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *cmd) atl2_set_link_ksettings() argument 1812 atl2_get_msglevel(struct net_device *netdev) atl2_get_msglevel() argument 1820 atl2_set_msglevel(struct net_device *netdev, u32 data) atl2_set_msglevel() argument 1824 atl2_get_regs_len(struct net_device *netdev) atl2_get_regs_len() argument 1830 atl2_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) atl2_get_regs() argument 1888 atl2_get_eeprom_len(struct net_device *netdev) atl2_get_eeprom_len() argument 1898 atl2_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) atl2_get_eeprom() argument 1939 atl2_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) atl2_set_eeprom() argument 2000 atl2_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) atl2_get_drvinfo() argument 2011 atl2_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) atl2_get_wol() argument 2031 atl2_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) atl2_set_wol() argument 2052 atl2_nway_reset(struct net_device *netdev) atl2_nway_reset() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_main.c | 55 static int qlcnic_open(struct net_device *netdev); 56 static int qlcnic_close(struct net_device *netdev); 57 static void qlcnic_tx_timeout(struct net_device *netdev, unsigned int txqueue); 70 static struct net_device_stats *qlcnic_get_stats(struct net_device *netdev); 296 struct net_device *netdev = adapter->netdev; in qlcnic_read_mac_addr() local 306 eth_hw_addr_set(netdev, mac_addr); in qlcnic_read_mac_addr() 307 memcpy(adapter->mac_addr, netdev->dev_addr, netdev->addr_len); in qlcnic_read_mac_addr() 311 if (!is_valid_ether_addr(netdev in qlcnic_read_mac_addr() 333 qlcnic_set_mac(struct net_device *netdev, void *p) qlcnic_set_mac() argument 368 qlcnic_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *netdev, const unsigned char *addr, u16 vid, struct netlink_ext_ack *extack) qlcnic_fdb_del() argument 394 qlcnic_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *netdev, const unsigned char *addr, u16 vid, u16 flags, struct netlink_ext_ack *extack) qlcnic_fdb_add() argument 428 qlcnic_fdb_dump(struct sk_buff *skb, struct netlink_callback *ncb, struct net_device *netdev, struct net_device *filter_dev, int *idx) qlcnic_fdb_dump() argument 456 qlcnic_get_phys_port_id(struct net_device *netdev, struct netdev_phys_item_id *ppid) qlcnic_get_phys_port_id() argument 1347 qlcnic_vlan_rx_add(struct net_device *netdev, __be16 proto, u16 vid) qlcnic_vlan_rx_add() argument 1367 qlcnic_vlan_rx_del(struct net_device *netdev, __be16 proto, u16 vid) qlcnic_vlan_rx_del() argument 1423 struct net_device *netdev = adapter->netdev; qlcnic_set_netdev_features() local 1703 struct net_device *netdev = adapter->netdev; qlcnic_request_irq() local 1856 __qlcnic_up(struct qlcnic_adapter *adapter, struct net_device *netdev) __qlcnic_up() argument 1903 qlcnic_up(struct qlcnic_adapter *adapter, struct net_device *netdev) qlcnic_up() argument 1915 __qlcnic_down(struct qlcnic_adapter *adapter, struct net_device *netdev) __qlcnic_down() argument 1952 qlcnic_down(struct qlcnic_adapter *adapter, struct net_device *netdev) qlcnic_down() argument 1964 struct net_device *netdev = adapter->netdev; qlcnic_attach() local 2026 qlcnic_diag_free_res(struct net_device *netdev, int drv_sds_rings) qlcnic_diag_free_res() argument 2110 qlcnic_diag_alloc_res(struct net_device *netdev, int test) qlcnic_diag_alloc_res() argument 2168 struct net_device *netdev = adapter->netdev; qlcnic_reset_hw_context() local 2190 struct net_device *netdev = adapter->netdev; qlcnic_reset_context() local 2238 struct net_device *netdev = adapter->netdev; qlcnic_set_real_num_queues() local 2261 qlcnic_setup_netdev(struct qlcnic_adapter *adapter, struct net_device *netdev) qlcnic_setup_netdev() argument 2353 qlcnic_alloc_tx_rings(struct qlcnic_adapter *adapter, struct net_device *netdev) qlcnic_alloc_tx_rings() argument 2421 struct net_device *netdev = NULL; qlcnic_probe() local 2710 struct net_device *netdev; qlcnic_remove() local 2790 qlcnic_open(struct net_device *netdev) qlcnic_open() argument 2818 qlcnic_close(struct net_device *netdev) qlcnic_close() argument 2833 struct net_device *netdev = adapter->netdev; qlcnic_alloc_lb_filters_mem() local 2902 struct net_device *netdev = adapter->netdev; qlcnic_check_temp() local 2955 struct net_device *netdev = adapter->netdev; qlcnic_dump_rings() local 3017 qlcnic_tx_timeout(struct net_device *netdev, unsigned int txqueue) qlcnic_tx_timeout() argument 3040 qlcnic_get_stats(struct net_device *netdev) qlcnic_get_stats() argument 3458 struct net_device *netdev = adapter->netdev; qlcnic_detach_work() local 3605 struct net_device *netdev = adapter->netdev; qlcnic_attach_work() local 3768 struct net_device *netdev = adapter->netdev; qlcnic_attach_func() local 3832 struct net_device *netdev = adapter->netdev; qlcnic_82xx_io_error_detected() local 3953 struct net_device *netdev = adapter->netdev; qlcnic_validate_rings() local 3985 struct net_device *netdev = adapter->netdev; qlcnic_setup_rings() local 4091 qlcnic_restore_indev_addr(struct net_device *netdev, unsigned long event) qlcnic_restore_indev_addr() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/ |
H A D | lan743x_ethtool.c | 72 netif_warn(adapter, drv, adapter->netdev, in lan743x_otp_wait_till_not_busy() 167 netif_warn(adapter, drv, adapter->netdev, in lan743x_eeprom_wait() 189 netif_warn(adapter, drv, adapter->netdev, "EEPROM is busy\n"); in lan743x_eeprom_confirm_not_busy() 266 static void lan743x_ethtool_get_drvinfo(struct net_device *netdev, in lan743x_ethtool_get_drvinfo() argument 269 struct lan743x_adapter *adapter = netdev_priv(netdev); in lan743x_ethtool_get_drvinfo() 276 static u32 lan743x_ethtool_get_msglevel(struct net_device *netdev) in lan743x_ethtool_get_msglevel() argument 278 struct lan743x_adapter *adapter = netdev_priv(netdev); in lan743x_ethtool_get_msglevel() 283 static void lan743x_ethtool_set_msglevel(struct net_device *netdev, in lan743x_ethtool_set_msglevel() argument 286 struct lan743x_adapter *adapter = netdev_priv(netdev); in lan743x_ethtool_set_msglevel() 291 static int lan743x_ethtool_get_eeprom_len(struct net_device *netdev) in lan743x_ethtool_get_eeprom_len() argument 301 lan743x_ethtool_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *ee, u8 *data) lan743x_ethtool_get_eeprom() argument 315 lan743x_ethtool_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *ee, u8 *data) lan743x_ethtool_set_eeprom() argument 462 lan743x_ethtool_get_strings(struct net_device *netdev, u32 stringset, u8 *data) lan743x_ethtool_get_strings() argument 484 lan743x_ethtool_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) lan743x_ethtool_get_ethtool_stats() argument 505 lan743x_ethtool_get_priv_flags(struct net_device *netdev) lan743x_ethtool_get_priv_flags() argument 512 lan743x_ethtool_set_priv_flags(struct net_device *netdev, u32 flags) lan743x_ethtool_set_priv_flags() argument 521 lan743x_ethtool_get_sset_count(struct net_device *netdev, int sset) lan743x_ethtool_get_sset_count() argument 540 lan743x_ethtool_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *rxnfc, u32 *rule_locs) lan743x_ethtool_get_rxnfc() argument 564 lan743x_ethtool_get_rxfh_key_size(struct net_device *netdev) lan743x_ethtool_get_rxfh_key_size() argument 569 lan743x_ethtool_get_rxfh_indir_size(struct net_device *netdev) lan743x_ethtool_get_rxfh_indir_size() argument 574 lan743x_ethtool_get_rxfh(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc) lan743x_ethtool_get_rxfh() argument 623 lan743x_ethtool_set_rxfh(struct net_device *netdev, const u32 *indir, const u8 *key, const u8 hfunc) lan743x_ethtool_set_rxfh() argument 667 lan743x_ethtool_get_ts_info(struct net_device *netdev, struct ethtool_ts_info *ts_info) lan743x_ethtool_get_ts_info() argument 692 lan743x_ethtool_get_eee(struct net_device *netdev, struct ethtool_eee *eee) lan743x_ethtool_get_eee() argument 730 lan743x_ethtool_set_eee(struct net_device *netdev, struct ethtool_eee *eee) lan743x_ethtool_set_eee() argument 776 lan743x_ethtool_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) lan743x_ethtool_get_wol() argument 791 lan743x_ethtool_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) lan743x_ethtool_set_wol() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/atlx/ |
H A D | atl2.c | 97 hw->max_frame_size = adapter->netdev->mtu; in atl2_sw_init() 108 * @netdev: network interface device structure 115 static void atl2_set_multi(struct net_device *netdev) in atl2_set_multi() argument 117 struct atl2_adapter *adapter = netdev_priv(netdev); in atl2_set_multi() 126 if (netdev->flags & IFF_PROMISC) { in atl2_set_multi() 128 } else if (netdev->flags & IFF_ALLMULTI) { in atl2_set_multi() 141 netdev_for_each_mc_addr(ha, netdev) { in atl2_set_multi() 236 ATL2_WRITE_REG(hw, REG_MTU, adapter->netdev->mtu + in atl2_configure() 354 static void atl2_vlan_mode(struct net_device *netdev, in atl2_vlan_mode() argument 357 struct atl2_adapter *adapter = netdev_priv(netdev); in atl2_vlan_mode() 374 atl2_fix_features(struct net_device *netdev, netdev_features_t features) atl2_fix_features() argument 389 atl2_set_features(struct net_device *netdev, netdev_features_t features) atl2_set_features() argument 402 struct net_device *netdev = adapter->netdev; atl2_intr_rx() local 464 struct net_device *netdev = adapter->netdev; atl2_intr_tx() local 549 struct net_device *netdev = adapter->netdev; atl2_check_for_link() local 641 struct net_device *netdev = adapter->netdev; atl2_request_irq() local 682 atl2_open(struct net_device *netdev) atl2_open() argument 741 struct net_device *netdev = adapter->netdev; atl2_down() local 766 struct net_device *netdev = adapter->netdev; atl2_free_irq() local 787 atl2_close(struct net_device *netdev) atl2_close() argument 820 atl2_xmit_frame(struct sk_buff *skb, struct net_device *netdev) atl2_xmit_frame() argument 902 atl2_change_mtu(struct net_device *netdev, int new_mtu) atl2_change_mtu() argument 923 atl2_set_mac(struct net_device *netdev, void *p) atl2_set_mac() argument 942 atl2_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) atl2_mii_ioctl() argument 978 atl2_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) atl2_ioctl() argument 999 atl2_tx_timeout(struct net_device *netdev, unsigned int txqueue) atl2_tx_timeout() argument 1053 struct net_device *netdev = adapter->netdev; atl2_up() local 1108 struct net_device *netdev = adapter->netdev; atl2_setup_mac_ctrl() local 1147 struct net_device *netdev = adapter->netdev; atl2_check_link() local 1277 atl2_poll_controller(struct net_device *netdev) atl2_poll_controller() argument 1316 struct net_device *netdev; atl2_probe() local 1464 struct net_device *netdev = pci_get_drvdata(pdev); atl2_remove() local 1490 struct net_device *netdev = pci_get_drvdata(pdev); atl2_suspend() local 1620 struct net_device *netdev = pci_get_drvdata(pdev); atl2_resume() local 1692 atl2_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) atl2_get_link_ksettings() argument 1734 atl2_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *cmd) atl2_set_link_ksettings() argument 1790 atl2_get_msglevel(struct net_device *netdev) atl2_get_msglevel() argument 1798 atl2_set_msglevel(struct net_device *netdev, u32 data) atl2_set_msglevel() argument 1802 atl2_get_regs_len(struct net_device *netdev) atl2_get_regs_len() argument 1808 atl2_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) atl2_get_regs() argument 1866 atl2_get_eeprom_len(struct net_device *netdev) atl2_get_eeprom_len() argument 1876 atl2_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) atl2_get_eeprom() argument 1917 atl2_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) atl2_set_eeprom() argument 1978 atl2_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) atl2_get_drvinfo() argument 1989 atl2_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) atl2_get_wol() argument 2009 atl2_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) atl2_set_wol() argument 2030 atl2_nway_reset(struct net_device *netdev) atl2_nway_reset() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
H A D | igc_dump.c | 114 struct net_device *netdev = adapter->netdev; in igc_rings_dump() local 126 netdev_info(netdev, "Device info: state %016lX trans_start %016lX\n", in igc_rings_dump() 127 netdev->state, dev_trans_start(netdev)); in igc_rings_dump() 130 if (!netif_running(netdev)) in igc_rings_dump() 133 netdev_info(netdev, "TX Rings Summary\n"); in igc_rings_dump() 134 netdev_info(netdev, "Queue [NTU] [NTC] [bi(ntc)->dma ] leng ntw timestamp\n"); in igc_rings_dump() 141 netdev_info(netdev, "%5d %5X %5X %016llX %04X %p %016llX\n", in igc_rings_dump() 153 netdev_info(netdev, "T in igc_rings_dump() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/ |
H A D | igc_dump.c | 114 struct net_device *netdev = adapter->netdev; in igc_rings_dump() local 126 netdev_info(netdev, "Device info: state %016lX trans_start %016lX\n", in igc_rings_dump() 127 netdev->state, dev_trans_start(netdev)); in igc_rings_dump() 130 if (!netif_running(netdev)) in igc_rings_dump() 133 netdev_info(netdev, "TX Rings Summary\n"); in igc_rings_dump() 134 netdev_info(netdev, "Queue [NTU] [NTC] [bi(ntc)->dma ] leng ntw timestamp\n"); in igc_rings_dump() 141 netdev_info(netdev, "%5d %5X %5X %016llX %04X %p %016llX\n", in igc_rings_dump() 153 netdev_info(netdev, "T in igc_rings_dump() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_ethtool.c | 22 static void ionic_get_stats(struct net_device *netdev, in ionic_get_stats() argument 25 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_stats() 46 static int ionic_get_sset_count(struct net_device *netdev, int sset) in ionic_get_sset_count() argument 48 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_sset_count() 59 static void ionic_get_strings(struct net_device *netdev, in ionic_get_strings() argument 62 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_strings() 71 static void ionic_get_drvinfo(struct net_device *netdev, in ionic_get_drvinfo() argument 74 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_drvinfo() 84 static int ionic_get_regs_len(struct net_device *netdev) in ionic_get_regs_len() argument 89 static void ionic_get_regs(struct net_device *netdev, struc argument 107 ionic_get_link_ext_stats(struct net_device *netdev, struct ethtool_link_ext_stats *stats) ionic_get_link_ext_stats() argument 116 ionic_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *ks) ionic_get_link_ksettings() argument 266 ionic_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *ks) ionic_set_link_ksettings() argument 300 ionic_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) ionic_get_pauseparam() argument 315 ionic_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) ionic_set_pauseparam() argument 349 ionic_get_fecparam(struct net_device *netdev, struct ethtool_fecparam *fec) ionic_get_fecparam() argument 371 ionic_set_fecparam(struct net_device *netdev, struct ethtool_fecparam *fec) ionic_set_fecparam() argument 416 ionic_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) ionic_get_coalesce() argument 436 ionic_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) ionic_set_coalesce() argument 604 ionic_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) ionic_get_ringparam() argument 619 ionic_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) ionic_set_ringparam() argument 692 ionic_get_channels(struct net_device *netdev, struct ethtool_channels *ch) ionic_get_channels() argument 711 ionic_set_channels(struct net_device *netdev, struct ethtool_channels *ch) ionic_set_channels() argument 795 ionic_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info, u32 *rules) ionic_get_rxnfc() argument 814 ionic_get_rxfh_indir_size(struct net_device *netdev) ionic_get_rxfh_indir_size() argument 821 ionic_get_rxfh_key_size(struct net_device *netdev) ionic_get_rxfh_key_size() argument 826 ionic_get_rxfh(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc) ionic_get_rxfh() argument 847 ionic_set_rxfh(struct net_device *netdev, const u32 *indir, const u8 *key, const u8 hfunc) ionic_set_rxfh() argument 875 ionic_get_tunable(struct net_device *netdev, const struct ethtool_tunable *tuna, void *data) ionic_get_tunable() argument 891 ionic_get_module_info(struct net_device *netdev, struct ethtool_modinfo *modinfo) ionic_get_module_info() argument 925 ionic_get_module_eeprom(struct net_device *netdev, struct ethtool_eeprom *ee, u8 *data) ionic_get_module_eeprom() argument 958 ionic_get_ts_info(struct net_device *netdev, struct ethtool_ts_info *info) ionic_get_ts_info() argument 1050 ionic_nway_reset(struct net_device *netdev) ionic_nway_reset() argument 1115 ionic_ethtool_set_ops(struct net_device *netdev) ionic_ethtool_set_ops() argument [all...] |