/kernel/linux/linux-6.6/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 229 skb = netdev_alloc_skb(adapter->netdev, pool->buff_size); in ibmveth_replenish_buffer_pool() 232 netdev_dbg(adapter->netdev, in ibmveth_replenish_buffer_pool() 265 adapter->netdev->mtu + in ibmveth_replenish_buffer_pool() 441 netdev_dbg(adapter->netdev, "h_add_logical_lan_buffer failed " in ibmveth_rxq_recycle_buffer() 479 netdev_err(adapter->netdev, in ibmveth_allocate_tx_ltb() 488 netdev_err(adapter->netdev, in ibmveth_allocate_tx_ltb() 525 static int ibmveth_open(struct net_device *netdev) in ibmveth_open() argument 527 struct ibmveth_adapter *adapter = netdev_priv(netdev); in ibmveth_open() 536 netdev_dbg(netdev, "open starting\n"); in ibmveth_open() 546 netdev_err(netdev, "unabl in ibmveth_open() 682 ibmveth_close(struct net_device *netdev) ibmveth_close() argument 990 ibmveth_get_channels(struct net_device *netdev, struct ethtool_channels *channels) ibmveth_get_channels() argument 1000 ibmveth_set_channels(struct net_device *netdev, struct ethtool_channels *channels) ibmveth_set_channels() argument 1098 ibmveth_is_packet_unsupported(struct sk_buff *skb, struct net_device *netdev) ibmveth_is_packet_unsupported() argument 1115 ibmveth_start_xmit(struct sk_buff *skb, struct net_device *netdev) ibmveth_start_xmit() argument 1335 struct net_device *netdev = adapter->netdev; ibmveth_poll() local 1446 struct net_device *netdev = dev_instance; ibmveth_interrupt() local 1459 ibmveth_set_multicast_list(struct net_device *netdev) ibmveth_set_multicast_list() argument 1575 struct net_device *netdev = dev_get_drvdata(&vdev->dev); ibmveth_get_desired_dma() local 1652 struct net_device *netdev; ibmveth_probe() local 1783 struct net_device *netdev = dev_get_drvdata(&dev->dev); ibmveth_remove() local 1822 struct net_device *netdev = dev_get_drvdata(kobj_to_dev(kobj->parent)); veth_pool_store() local 1933 struct net_device *netdev = dev_get_drvdata(dev); ibmveth_resume() local [all...] |
/kernel/linux/linux-5.10/drivers/net/can/usb/ |
H A D | mcba_usb.c | 77 struct net_device *netdev; member 204 netif_stop_queue(priv->netdev); in mcba_usb_get_free_ctx() 220 netif_wake_queue(ctx->priv->netdev); in mcba_usb_free_ctx() 226 struct net_device *netdev; in mcba_usb_write_bulk_callback() local 230 netdev = ctx->priv->netdev; in mcba_usb_write_bulk_callback() 237 if (!netif_device_present(netdev)) in mcba_usb_write_bulk_callback() 240 netdev->stats.tx_packets++; in mcba_usb_write_bulk_callback() 241 netdev->stats.tx_bytes += ctx->dlc; in mcba_usb_write_bulk_callback() 243 can_led_event(netdev, CAN_LED_EVENT_T in mcba_usb_write_bulk_callback() 311 mcba_usb_start_xmit(struct sk_buff *skb, struct net_device *netdev) mcba_usb_start_xmit() argument 571 struct net_device *netdev; mcba_usb_read_bulk_callback() local 629 struct net_device *netdev = priv->netdev; mcba_usb_start() local 697 mcba_usb_open(struct net_device *netdev) mcba_usb_open() argument 730 mcba_usb_close(struct net_device *netdev) mcba_usb_close() argument 752 mcba_net_set_mode(struct net_device *netdev, enum can_mode mode) mcba_net_set_mode() argument 757 mcba_net_get_berr_counter(const struct net_device *netdev, struct can_berr_counter *bec) mcba_net_get_berr_counter() argument 778 mcba_net_set_bittiming(struct net_device *netdev) mcba_net_set_bittiming() argument 788 mcba_set_termination(struct net_device *netdev, u16 term) mcba_set_termination() argument 808 struct net_device *netdev; mcba_usb_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_main.c | 143 netdev_err(nic->netdev, in nicvf_send_msg_to_pf() 153 netdev_err(nic->netdev, in nicvf_send_msg_to_pf() 173 netdev_err(nic->netdev, in nicvf_check_pf_ready() 187 netdev_err(nic->netdev, in nicvf_send_cfg_done() 216 netdev_dbg(nic->netdev, "Mbox message: msg: 0x%x\n", mbx.msg.msg); in nicvf_handle_mbx_intr() 224 eth_hw_addr_set(nic->netdev, mbx.nic_cfg.mac_addr); in nicvf_handle_mbx_intr() 253 netdev_info(nic->netdev, in nicvf_handle_mbx_intr() 258 netif_carrier_on(nic->netdev); in nicvf_handle_mbx_intr() 259 netif_tx_start_all_queues(nic->netdev); in nicvf_handle_mbx_intr() 261 netdev_info(nic->netdev, "Lin in nicvf_handle_mbx_intr() 301 nicvf_hw_set_mac_addr(struct nicvf *nic, struct net_device *netdev) nicvf_hw_set_mac_addr() argument 491 nicvf_set_real_num_queues(struct net_device *netdev, int tx_queues, int rx_queues) nicvf_set_real_num_queues() argument 617 nicvf_snd_ptp_handler(struct net_device *netdev, struct cqe_send_t *cqe_tx) nicvf_snd_ptp_handler() argument 655 nicvf_snd_pkt_handler(struct net_device *netdev, struct cqe_send_t *cqe_tx, int budget, int *subdesc_cnt, unsigned int *tx_pkts, unsigned int *tx_bytes) nicvf_snd_pkt_handler() argument 727 nicvf_set_rxhash(struct net_device *netdev, struct cqe_rx_t *cqe_rx, struct sk_buff *skb) nicvf_set_rxhash() argument 770 nicvf_rcv_pkt_handler(struct net_device *netdev, struct napi_struct *napi, struct cqe_rx_t *cqe_rx, struct snd_queue *sq, struct rcv_queue *rq) nicvf_rcv_pkt_handler() argument 845 nicvf_cq_intr_handler(struct net_device *netdev, u8 cq_idx, struct napi_struct *napi, int budget) nicvf_cq_intr_handler() argument 960 struct net_device *netdev = napi->dev; nicvf_poll() local 1251 nicvf_xmit(struct sk_buff *skb, struct net_device *netdev) nicvf_xmit() argument 1324 nicvf_stop(struct net_device *netdev) nicvf_stop() argument 1449 nicvf_open(struct net_device *netdev) nicvf_open() argument 1578 nicvf_change_mtu(struct net_device *netdev, int new_mtu) nicvf_change_mtu() argument 1605 nicvf_set_mac_address(struct net_device *netdev, void *p) nicvf_set_mac_address() argument 1719 nicvf_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) nicvf_get_stats64() argument 1774 nicvf_fix_features(struct net_device *netdev, netdev_features_t features) nicvf_fix_features() argument 1786 nicvf_set_features(struct net_device *netdev, netdev_features_t features) nicvf_set_features() argument 1889 nicvf_xdp(struct net_device *netdev, struct netdev_bpf *xdp) nicvf_xdp() argument 1908 nicvf_config_hwtstamp(struct net_device *netdev, struct ifreq *ifr) nicvf_config_hwtstamp() argument 1961 nicvf_ioctl(struct net_device *netdev, struct ifreq *req, int cmd) nicvf_ioctl() argument 2038 nicvf_set_rx_mode(struct net_device *netdev) nicvf_set_rx_mode() argument 2097 struct net_device *netdev; nicvf_probe() local 2273 struct net_device *netdev = pci_get_drvdata(pdev); nicvf_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ethtool.c | 217 nfp_net_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in nfp_net_get_drvinfo() argument 220 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_get_drvinfo() 232 nfp_net_nway_reset(struct net_device *netdev) in nfp_net_nway_reset() argument 238 port = nfp_port_from_netdev(netdev); in nfp_net_nway_reset() 243 if (!netif_running(netdev)) in nfp_net_nway_reset() 248 netdev_info(netdev, "Link down failed: %d\n", err); in nfp_net_nway_reset() 254 netdev_info(netdev, "Link up failed: %d\n", err); in nfp_net_nway_reset() 258 netdev_info(netdev, "Link reset succeeded\n"); in nfp_net_nway_reset() 263 nfp_app_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in nfp_app_get_drvinfo() argument 265 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_get_drvinfo() 484 nfp_net_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) nfp_net_get_link_ksettings() argument 546 nfp_net_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *cmd) nfp_net_set_link_ksettings() argument 622 nfp_net_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) nfp_net_get_ringparam() argument 650 nfp_net_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) nfp_net_set_ringparam() argument 682 nfp_test_link(struct net_device *netdev) nfp_test_link() argument 690 nfp_test_nsp(struct net_device *netdev) nfp_test_nsp() argument 726 nfp_test_fw(struct net_device *netdev) nfp_test_fw() argument 738 nfp_test_reg(struct net_device *netdev) nfp_test_reg() argument 755 link_test_supported(struct net_device *netdev) link_test_supported() argument 760 nsp_test_supported(struct net_device *netdev) nsp_test_supported() argument 768 fw_test_supported(struct net_device *netdev) fw_test_supported() argument 776 reg_test_supported(struct net_device *netdev) reg_test_supported() argument 797 nfp_get_self_test_strings(struct net_device *netdev, u8 *data) nfp_get_self_test_strings() argument 806 nfp_get_self_test_count(struct net_device *netdev) nfp_get_self_test_count() argument 817 nfp_net_self_test(struct net_device *netdev, struct ethtool_test *eth_test, u64 *data) nfp_net_self_test() argument 836 nfp_vnic_get_sw_stats_count(struct net_device *netdev) nfp_vnic_get_sw_stats_count() argument 844 nfp_vnic_get_sw_stats_strings(struct net_device *netdev, u8 *data) nfp_vnic_get_sw_stats_strings() argument 877 nfp_vnic_get_sw_stats(struct net_device *netdev, u64 *data) nfp_vnic_get_sw_stats() argument 1041 nfp_mac_get_stats_count(struct net_device *netdev) nfp_mac_get_stats_count() argument 1052 nfp_mac_get_stats_strings(struct net_device *netdev, u8 *data) nfp_mac_get_stats_strings() argument 1067 nfp_mac_get_stats(struct net_device *netdev, u64 *data) nfp_mac_get_stats() argument 1082 nfp_net_get_strings(struct net_device *netdev, u32 stringset, u8 *data) nfp_net_get_strings() argument 1106 nfp_net_get_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) nfp_net_get_stats() argument 1121 nfp_net_get_sset_count(struct net_device *netdev, int sset) nfp_net_get_sset_count() argument 1143 nfp_port_get_strings(struct net_device *netdev, u32 stringset, u8 *data) nfp_port_get_strings() argument 1163 nfp_port_get_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) nfp_port_get_stats() argument 1175 nfp_port_get_sset_count(struct net_device *netdev, int sset) nfp_port_get_sset_count() argument 1229 nfp_port_get_fecparam(struct net_device *netdev, struct ethtool_fecparam *param) nfp_port_get_fecparam() argument 1253 nfp_port_set_fecparam(struct net_device *netdev, struct ethtool_fecparam *param) nfp_port_set_fecparam() argument 1320 nfp_net_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 *rule_locs) nfp_net_get_rxnfc() argument 1388 nfp_net_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) nfp_net_set_rxnfc() argument 1401 nfp_net_get_rxfh_indir_size(struct net_device *netdev) nfp_net_get_rxfh_indir_size() argument 1411 nfp_net_get_rxfh_key_size(struct net_device *netdev) nfp_net_get_rxfh_key_size() argument 1421 nfp_net_get_rxfh(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc) nfp_net_get_rxfh() argument 1444 nfp_net_set_rxfh(struct net_device *netdev, const u32 *indir, const u8 *key, const u8 hfunc) nfp_net_set_rxfh() argument 1474 nfp_net_get_regs_len(struct net_device *netdev) nfp_net_get_regs_len() argument 1479 nfp_net_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) nfp_net_get_regs() argument 1492 nfp_net_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) nfp_net_get_coalesce() argument 1559 nfp_app_set_dump(struct net_device *netdev, struct ethtool_dump *val) nfp_app_set_dump() argument 1587 nfp_app_get_dump_flag(struct net_device *netdev, struct ethtool_dump *dump) nfp_app_get_dump_flag() argument 1604 nfp_app_get_dump_data(struct net_device *netdev, struct ethtool_dump *dump, void *buffer) nfp_app_get_dump_data() argument 1623 nfp_port_get_module_info(struct net_device *netdev, struct ethtool_modinfo *modinfo) nfp_port_get_module_info() argument 1704 nfp_port_get_module_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *data) nfp_port_get_module_eeprom() argument 1751 nfp_net_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) nfp_net_set_coalesce() argument 1810 nfp_net_get_channels(struct net_device *netdev, struct ethtool_channels *channel) nfp_net_get_channels() argument 1848 nfp_net_set_channels(struct net_device *netdev, struct ethtool_channels *channel) nfp_net_set_channels() argument 1869 nfp_port_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) nfp_port_get_pauseparam() argument 1886 nfp_net_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) nfp_net_set_phys_id() argument 1921 nfp_net_get_eeprom_len(struct net_device *netdev) nfp_net_get_eeprom_len() argument 1935 nfp_net_get_nsp_hwindex(struct net_device *netdev, struct nfp_nsp **nspptr, u32 *index) nfp_net_get_nsp_hwindex() argument 1969 nfp_net_get_port_mac_by_hwinfo(struct net_device *netdev, u8 *mac_addr) nfp_net_get_port_mac_by_hwinfo() argument 2002 nfp_net_set_port_mac_by_hwinfo(struct net_device *netdev, u8 *mac_addr) nfp_net_set_port_mac_by_hwinfo() argument 2031 nfp_net_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) nfp_net_get_eeprom() argument 2050 nfp_net_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) nfp_net_set_eeprom() argument 2137 nfp_net_set_ethtool_ops(struct net_device *netdev) nfp_net_set_ethtool_ops() argument [all...] |
H A D | nfp_port.c | 14 struct nfp_port *nfp_port_from_netdev(struct net_device *netdev) in nfp_port_from_netdev() argument 16 if (nfp_netdev_is_nfp_net(netdev)) { in nfp_port_from_netdev() 17 struct nfp_net *nn = netdev_priv(netdev); in nfp_port_from_netdev() 22 if (nfp_netdev_is_nfp_repr(netdev)) { in nfp_port_from_netdev() 23 struct nfp_repr *repr = netdev_priv(netdev); in nfp_port_from_netdev() 28 WARN(1, "Unknown netdev type for nfp_port\n"); in nfp_port_from_netdev() 33 int nfp_port_get_port_parent_id(struct net_device *netdev, in nfp_port_get_port_parent_id() argument 39 port = nfp_port_from_netdev(netdev); in nfp_port_get_port_parent_id() 49 int nfp_port_setup_tc(struct net_device *netdev, enum tc_setup_type type, in nfp_port_setup_tc() argument 54 port = nfp_port_from_netdev(netdev); in nfp_port_setup_tc() 61 nfp_port_set_features(struct net_device *netdev, netdev_features_t features) nfp_port_set_features() argument 101 nfp_port_get_phys_port_name(struct net_device *netdev, char *name, size_t len) nfp_port_get_phys_port_name() argument 155 nfp_port_configure(struct net_device *netdev, bool configed) nfp_port_configure() argument 201 nfp_port_alloc(struct nfp_app *app, enum nfp_port_type type, struct net_device *netdev) nfp_port_alloc() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ipoib_vlan.c | 39 struct net_device *netdev; member 49 int mlx5i_pkey_qpn_ht_init(struct net_device *netdev) in mlx5i_pkey_qpn_ht_init() argument 51 struct mlx5i_priv *ipriv = netdev_priv(netdev); in mlx5i_pkey_qpn_ht_init() 64 void mlx5i_pkey_qpn_ht_cleanup(struct net_device *netdev) in mlx5i_pkey_qpn_ht_cleanup() argument 66 struct mlx5i_priv *ipriv = netdev_priv(netdev); in mlx5i_pkey_qpn_ht_cleanup() 85 int mlx5i_pkey_add_qpn(struct net_device *netdev, u32 qpn) in mlx5i_pkey_add_qpn() argument 87 struct mlx5i_priv *ipriv = netdev_priv(netdev); in mlx5i_pkey_add_qpn() 96 new_node->netdev = netdev; in mlx5i_pkey_add_qpn() 105 int mlx5i_pkey_del_qpn(struct net_device *netdev, u3 argument 126 mlx5i_pkey_get_netdev(struct net_device *netdev, u32 qpn) mlx5i_pkey_get_netdev() argument 192 mlx5i_pkey_dev_cleanup(struct net_device *netdev) mlx5i_pkey_dev_cleanup() argument 198 mlx5i_pkey_open(struct net_device *netdev) mlx5i_pkey_open() argument 254 mlx5i_pkey_close(struct net_device *netdev) mlx5i_pkey_close() argument 278 mlx5i_pkey_change_mtu(struct net_device *netdev, int new_mtu) mlx5i_pkey_change_mtu() argument 290 mlx5i_pkey_init(struct mlx5_core_dev *mdev, struct net_device *netdev) mlx5i_pkey_init() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_main.c | 143 netdev_err(nic->netdev, in nicvf_send_msg_to_pf() 153 netdev_err(nic->netdev, in nicvf_send_msg_to_pf() 173 netdev_err(nic->netdev, in nicvf_check_pf_ready() 187 netdev_err(nic->netdev, in nicvf_send_cfg_done() 216 netdev_dbg(nic->netdev, "Mbox message: msg: 0x%x\n", mbx.msg.msg); in nicvf_handle_mbx_intr() 224 ether_addr_copy(nic->netdev->dev_addr, in nicvf_handle_mbx_intr() 254 netdev_info(nic->netdev, in nicvf_handle_mbx_intr() 259 netif_carrier_on(nic->netdev); in nicvf_handle_mbx_intr() 260 netif_tx_start_all_queues(nic->netdev); in nicvf_handle_mbx_intr() 262 netdev_info(nic->netdev, "Lin in nicvf_handle_mbx_intr() 302 nicvf_hw_set_mac_addr(struct nicvf *nic, struct net_device *netdev) nicvf_hw_set_mac_addr() argument 492 nicvf_set_real_num_queues(struct net_device *netdev, int tx_queues, int rx_queues) nicvf_set_real_num_queues() argument 620 nicvf_snd_ptp_handler(struct net_device *netdev, struct cqe_send_t *cqe_tx) nicvf_snd_ptp_handler() argument 658 nicvf_snd_pkt_handler(struct net_device *netdev, struct cqe_send_t *cqe_tx, int budget, int *subdesc_cnt, unsigned int *tx_pkts, unsigned int *tx_bytes) nicvf_snd_pkt_handler() argument 730 nicvf_set_rxhash(struct net_device *netdev, struct cqe_rx_t *cqe_rx, struct sk_buff *skb) nicvf_set_rxhash() argument 773 nicvf_rcv_pkt_handler(struct net_device *netdev, struct napi_struct *napi, struct cqe_rx_t *cqe_rx, struct snd_queue *sq, struct rcv_queue *rq) nicvf_rcv_pkt_handler() argument 848 nicvf_cq_intr_handler(struct net_device *netdev, u8 cq_idx, struct napi_struct *napi, int budget) nicvf_cq_intr_handler() argument 963 struct net_device *netdev = napi->dev; nicvf_poll() local 1254 nicvf_xmit(struct sk_buff *skb, struct net_device *netdev) nicvf_xmit() argument 1327 nicvf_stop(struct net_device *netdev) nicvf_stop() argument 1452 nicvf_open(struct net_device *netdev) nicvf_open() argument 1582 nicvf_change_mtu(struct net_device *netdev, int new_mtu) nicvf_change_mtu() argument 1609 nicvf_set_mac_address(struct net_device *netdev, void *p) nicvf_set_mac_address() argument 1723 nicvf_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) nicvf_get_stats64() argument 1778 nicvf_fix_features(struct net_device *netdev, netdev_features_t features) nicvf_fix_features() argument 1790 nicvf_set_features(struct net_device *netdev, netdev_features_t features) nicvf_set_features() argument 1893 nicvf_xdp(struct net_device *netdev, struct netdev_bpf *xdp) nicvf_xdp() argument 1912 nicvf_config_hwtstamp(struct net_device *netdev, struct ifreq *ifr) nicvf_config_hwtstamp() argument 1969 nicvf_ioctl(struct net_device *netdev, struct ifreq *req, int cmd) nicvf_ioctl() argument 2049 nicvf_set_rx_mode(struct net_device *netdev) nicvf_set_rx_mode() argument 2108 struct net_device *netdev; nicvf_probe() local 2288 struct net_device *netdev = pci_get_drvdata(pdev); nicvf_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
H A D | enic_main.c | 156 netdev_warn(enic->netdev, "irq_set_affinity_hint failed, err %d\n", in enic_set_affinity_hint() 165 netif_set_xps_queue(enic->netdev, in enic_set_affinity_hint() 179 static int enic_udp_tunnel_set_port(struct net_device *netdev, in enic_udp_tunnel_set_port() argument 183 struct enic *enic = netdev_priv(netdev); in enic_udp_tunnel_set_port() 206 static int enic_udp_tunnel_unset_port(struct net_device *netdev, in enic_udp_tunnel_unset_port() argument 210 struct enic *enic = netdev_priv(netdev); in enic_udp_tunnel_unset_port() 356 if (netif_tx_queue_stopped(netdev_get_tx_queue(enic->netdev, q_number)) && in enic_wq_service() 359 netif_wake_subqueue(enic->netdev, q_number); in enic_wq_service() 376 netdev_err(enic->netdev, "WQ[%d] error_status %d\n", in enic_log_q_error() 384 netdev_err(enic->netdev, "R in enic_log_q_error() 405 struct net_device *netdev = enic->netdev; enic_mtu_check() local 449 struct net_device *netdev = data; enic_isr_legacy() local 821 enic_hard_start_xmit(struct sk_buff *skb, struct net_device *netdev) enic_hard_start_xmit() argument 877 enic_get_stats(struct net_device *netdev, struct rtnl_link_stats64 *net_stats) enic_get_stats() argument 906 enic_mc_sync(struct net_device *netdev, const u8 *mc_addr) enic_mc_sync() argument 925 enic_mc_unsync(struct net_device *netdev, const u8 *mc_addr) enic_mc_unsync() argument 935 enic_uc_sync(struct net_device *netdev, const u8 *uc_addr) enic_uc_sync() argument 954 enic_uc_unsync(struct net_device *netdev, const u8 *uc_addr) enic_uc_unsync() argument 966 struct net_device *netdev = enic->netdev; enic_reset_addr_lists() local 976 enic_set_mac_addr(struct net_device *netdev, char *addr) enic_set_mac_addr() argument 993 enic_set_mac_address_dynamic(struct net_device *netdev, void *p) enic_set_mac_address_dynamic() argument 1019 enic_set_mac_address(struct net_device *netdev, void *p) enic_set_mac_address() argument 1038 enic_set_rx_mode(struct net_device *netdev) enic_set_rx_mode() argument 1066 enic_tx_timeout(struct net_device *netdev, unsigned int txqueue) enic_tx_timeout() argument 1072 enic_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) enic_set_vf_mac() argument 1098 enic_set_vf_port(struct net_device *netdev, int vf, struct nlattr *port[]) enic_set_vf_port() argument 1187 enic_get_vf_port(struct net_device *netdev, int vf, struct sk_buff *skb) enic_get_vf_port() argument 1238 struct net_device *netdev = enic->netdev; enic_rq_alloc_buf() local 1277 enic_rxcopybreak(struct net_device *netdev, struct sk_buff **skb, struct vnic_rq_buf *buf, u16 len) enic_rxcopybreak() argument 1301 struct net_device *netdev = enic->netdev; enic_rq_indicate_buf() local 1506 struct net_device *netdev = napi->dev; enic_poll() local 1604 struct net_device *netdev = napi->dev; enic_poll_msix_wq() local 1634 struct net_device *netdev = napi->dev; enic_poll_msix_rq() local 1701 struct net_device *netdev = enic->netdev; enic_free_intr() local 1725 struct net_device *netdev = enic->netdev; enic_request_intr() local 1888 enic_open(struct net_device *netdev) enic_open() argument 1962 enic_stop(struct net_device *netdev) enic_stop() argument 2019 _enic_change_mtu(struct net_device *netdev, int new_mtu) _enic_change_mtu() argument 2042 enic_change_mtu(struct net_device *netdev, int new_mtu) enic_change_mtu() argument 2060 struct net_device *netdev = enic->netdev; enic_change_mtu_work() local 2071 enic_poll_controller(struct net_device *netdev) enic_poll_controller() argument 2580 struct net_device *netdev = enic->netdev; enic_dev_init() local 2675 struct net_device *netdev; enic_probe() local 3018 struct net_device *netdev = pci_get_drvdata(pdev); enic_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/ |
H A D | enic_main.c | 156 netdev_warn(enic->netdev, "irq_update_affinity_hint failed, err %d\n", in enic_set_affinity_hint() 165 netif_set_xps_queue(enic->netdev, in enic_set_affinity_hint() 179 static int enic_udp_tunnel_set_port(struct net_device *netdev, in enic_udp_tunnel_set_port() argument 183 struct enic *enic = netdev_priv(netdev); in enic_udp_tunnel_set_port() 206 static int enic_udp_tunnel_unset_port(struct net_device *netdev, in enic_udp_tunnel_unset_port() argument 210 struct enic *enic = netdev_priv(netdev); in enic_udp_tunnel_unset_port() 356 if (netif_tx_queue_stopped(netdev_get_tx_queue(enic->netdev, q_number)) && in enic_wq_service() 359 netif_wake_subqueue(enic->netdev, q_number); in enic_wq_service() 376 netdev_err(enic->netdev, "WQ[%d] error_status %d\n", in enic_log_q_error() 384 netdev_err(enic->netdev, "R in enic_log_q_error() 405 struct net_device *netdev = enic->netdev; enic_mtu_check() local 449 struct net_device *netdev = data; enic_isr_legacy() local 820 enic_hard_start_xmit(struct sk_buff *skb, struct net_device *netdev) enic_hard_start_xmit() argument 876 enic_get_stats(struct net_device *netdev, struct rtnl_link_stats64 *net_stats) enic_get_stats() argument 905 enic_mc_sync(struct net_device *netdev, const u8 *mc_addr) enic_mc_sync() argument 924 enic_mc_unsync(struct net_device *netdev, const u8 *mc_addr) enic_mc_unsync() argument 934 enic_uc_sync(struct net_device *netdev, const u8 *uc_addr) enic_uc_sync() argument 953 enic_uc_unsync(struct net_device *netdev, const u8 *uc_addr) enic_uc_unsync() argument 965 struct net_device *netdev = enic->netdev; enic_reset_addr_lists() local 975 enic_set_mac_addr(struct net_device *netdev, char *addr) enic_set_mac_addr() argument 992 enic_set_mac_address_dynamic(struct net_device *netdev, void *p) enic_set_mac_address_dynamic() argument 1018 enic_set_mac_address(struct net_device *netdev, void *p) enic_set_mac_address() argument 1037 enic_set_rx_mode(struct net_device *netdev) enic_set_rx_mode() argument 1065 enic_tx_timeout(struct net_device *netdev, unsigned int txqueue) enic_tx_timeout() argument 1071 enic_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) enic_set_vf_mac() argument 1097 enic_set_vf_port(struct net_device *netdev, int vf, struct nlattr *port[]) enic_set_vf_port() argument 1187 enic_get_vf_port(struct net_device *netdev, int vf, struct sk_buff *skb) enic_get_vf_port() argument 1238 struct net_device *netdev = enic->netdev; enic_rq_alloc_buf() local 1277 enic_rxcopybreak(struct net_device *netdev, struct sk_buff **skb, struct vnic_rq_buf *buf, u16 len) enic_rxcopybreak() argument 1301 struct net_device *netdev = enic->netdev; enic_rq_indicate_buf() local 1506 struct net_device *netdev = napi->dev; enic_poll() local 1604 struct net_device *netdev = napi->dev; enic_poll_msix_wq() local 1634 struct net_device *netdev = napi->dev; enic_poll_msix_rq() local 1701 struct net_device *netdev = enic->netdev; enic_free_intr() local 1725 struct net_device *netdev = enic->netdev; enic_request_intr() local 1887 enic_open(struct net_device *netdev) enic_open() argument 1961 enic_stop(struct net_device *netdev) enic_stop() argument 2018 _enic_change_mtu(struct net_device *netdev, int new_mtu) _enic_change_mtu() argument 2041 enic_change_mtu(struct net_device *netdev, int new_mtu) enic_change_mtu() argument 2059 struct net_device *netdev = enic->netdev; enic_change_mtu_work() local 2070 enic_poll_controller(struct net_device *netdev) enic_poll_controller() argument 2575 struct net_device *netdev = enic->netdev; enic_dev_init() local 2671 struct net_device *netdev; enic_probe() local 3002 struct net_device *netdev = pci_get_drvdata(pdev); enic_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb_nl.c | 12 * @netdev: device associated with interface that needs reset 14 static void ice_dcbnl_devreset(struct net_device *netdev) in ice_dcbnl_devreset() argument 16 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_devreset() 21 dev_close(netdev); in ice_dcbnl_devreset() 22 netdev_state_change(netdev); in ice_dcbnl_devreset() 23 dev_open(netdev, NULL); in ice_dcbnl_devreset() 24 netdev_state_change(netdev); in ice_dcbnl_devreset() 29 * @netdev: the relevant netdev 32 static int ice_dcbnl_getets(struct net_device *netdev, struc argument 62 ice_dcbnl_setets(struct net_device *netdev, struct ieee_ets *ets) ice_dcbnl_setets() argument 143 ice_dcbnl_getdcbx(struct net_device *netdev) ice_dcbnl_getdcbx() argument 155 ice_dcbnl_setdcbx(struct net_device *netdev, u8 mode) ice_dcbnl_setdcbx() argument 190 ice_dcbnl_get_perm_hw_addr(struct net_device *netdev, u8 *perm_addr) ice_dcbnl_get_perm_hw_addr() argument 223 ice_dcbnl_getpfc(struct net_device *netdev, struct ieee_pfc *pfc) ice_dcbnl_getpfc() argument 249 ice_dcbnl_setpfc(struct net_device *netdev, struct ieee_pfc *pfc) ice_dcbnl_setpfc() argument 286 ice_dcbnl_get_pfc_cfg(struct net_device *netdev, int prio, u8 *setting) ice_dcbnl_get_pfc_cfg() argument 309 ice_dcbnl_set_pfc_cfg(struct net_device *netdev, int prio, u8 set) ice_dcbnl_set_pfc_cfg() argument 337 ice_dcbnl_getpfcstate(struct net_device *netdev) ice_dcbnl_getpfcstate() argument 353 ice_dcbnl_getstate(struct net_device *netdev) ice_dcbnl_getstate() argument 369 ice_dcbnl_setstate(struct net_device *netdev, u8 state) ice_dcbnl_setstate() argument 403 ice_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) ice_dcbnl_get_pg_tc_cfg_tx() argument 433 ice_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 __always_unused prio_type, u8 __always_unused bwg_id, u8 __always_unused bw_pct, u8 up_map) ice_dcbnl_set_pg_tc_cfg_tx() argument 467 ice_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 *bw_pct) ice_dcbnl_get_pg_bwg_cfg_tx() argument 491 ice_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 bw_pct) ice_dcbnl_set_pg_bwg_cfg_tx() argument 518 ice_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int prio, u8 __always_unused *prio_type, u8 *pgid, u8 __always_unused *bw_pct, u8 __always_unused *up_map) ice_dcbnl_get_pg_tc_cfg_rx() argument 548 ice_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) ice_dcbnl_set_pg_tc_cfg_rx() argument 567 ice_dcbnl_get_pg_bwg_cfg_rx(struct net_device *netdev, int __always_unused pgid, u8 *bw_pct) ice_dcbnl_get_pg_bwg_cfg_rx() argument 588 ice_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int __always_unused pgid, u8 __always_unused bw_pct) ice_dcbnl_set_pg_bwg_cfg_rx() argument 602 ice_dcbnl_get_cap(struct net_device *netdev, int capid, u8 *cap) ice_dcbnl_get_cap() argument 650 ice_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) ice_dcbnl_getapp() argument 691 ice_dcbnl_setapp(struct net_device *netdev, struct dcb_app *app) ice_dcbnl_setapp() argument 745 ice_dcbnl_delapp(struct net_device *netdev, struct dcb_app *app) ice_dcbnl_delapp() argument 808 ice_dcbnl_cee_set_all(struct net_device *netdev) ice_dcbnl_cee_set_all() argument 868 struct net_device *netdev = vsi->netdev; ice_dcbnl_set_all() local 965 struct net_device *netdev = vsi->netdev; ice_dcbnl_setup() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-common.c | 36 struct net_device *netdev = pdata->netdev; in xlgmac_read_mac_addr() local 39 memcpy(pdata->mac_addr, dev_addr, netdev->addr_len); in xlgmac_read_mac_addr() 70 struct net_device *netdev = pdata->netdev; in xlgmac_init() local 78 netdev->irq = pdata->dev_irq; in xlgmac_init() 79 netdev->base_addr = (unsigned long)pdata->mac_regs; in xlgmac_init() 81 memcpy(netdev->dev_addr, pdata->mac_addr, netdev->addr_len); in xlgmac_init() 132 ret = netif_set_real_num_tx_queues(netdev, pdat in xlgmac_init() 231 struct net_device *netdev; xlgmac_drv_probe() local 276 struct net_device *netdev = dev_get_drvdata(dev); xlgmac_drv_remove() local 332 xlgmac_print_pkt(struct net_device *netdev, struct sk_buff *skb, bool tx_rx) xlgmac_print_pkt() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ipoib_vlan.c | 39 struct net_device *netdev; member 49 int mlx5i_pkey_qpn_ht_init(struct net_device *netdev) in mlx5i_pkey_qpn_ht_init() argument 51 struct mlx5i_priv *ipriv = netdev_priv(netdev); in mlx5i_pkey_qpn_ht_init() 64 void mlx5i_pkey_qpn_ht_cleanup(struct net_device *netdev) in mlx5i_pkey_qpn_ht_cleanup() argument 66 struct mlx5i_priv *ipriv = netdev_priv(netdev); in mlx5i_pkey_qpn_ht_cleanup() 85 int mlx5i_pkey_add_qpn(struct net_device *netdev, u32 qpn) in mlx5i_pkey_add_qpn() argument 87 struct mlx5i_priv *ipriv = netdev_priv(netdev); in mlx5i_pkey_add_qpn() 96 new_node->netdev = netdev; in mlx5i_pkey_add_qpn() 105 int mlx5i_pkey_del_qpn(struct net_device *netdev, u3 argument 126 mlx5i_pkey_get_netdev(struct net_device *netdev, u32 qpn) mlx5i_pkey_get_netdev() argument 185 mlx5i_pkey_dev_cleanup(struct net_device *netdev) mlx5i_pkey_dev_cleanup() argument 190 mlx5i_pkey_open(struct net_device *netdev) mlx5i_pkey_open() argument 242 mlx5i_pkey_close(struct net_device *netdev) mlx5i_pkey_close() argument 266 mlx5i_pkey_change_mtu(struct net_device *netdev, int new_mtu) mlx5i_pkey_change_mtu() argument 278 mlx5i_pkey_init(struct mlx5_core_dev *mdev, struct net_device *netdev, const struct mlx5e_profile *profile, void *ppriv) mlx5i_pkey_init() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_vf_main.c | 71 static int liquidio_stop(struct net_device *netdev); 178 netif_device_detach(oct->props[i].netdev); in stop_pci_io() 260 * @netdev: network device 262 static void print_link_info(struct net_device *netdev) in print_link_info() argument 264 struct lio *lio = GET_LIO(netdev); in print_link_info() 271 netif_info(lio, link, lio->netdev, "%d Mbps %s Duplex UP\n", in print_link_info() 275 netif_info(lio, link, lio->netdev, "Link Down\n"); in print_link_info() 294 dev_set_mtu(lio->netdev, lio->linfo.link.s.mtu); in octnet_link_status_change() 300 * @netdev: network device 302 static int setup_link_status_change_wq(struct net_device *netdev) in setup_link_status_change_wq() argument 320 cleanup_link_status_change_wq(struct net_device *netdev) cleanup_link_status_change_wq() argument 338 update_link_status(struct net_device *netdev, union oct_link_status *ls) update_link_status() argument 662 struct net_device *netdev = oct->props[ifidx].netdev; liquidio_destroy_nic_device() local 909 liquidio_open(struct net_device *netdev) liquidio_open() argument 956 liquidio_stop(struct net_device *netdev) liquidio_stop() argument 1012 get_new_flags(struct net_device *netdev) get_new_flags() argument 1038 liquidio_set_uc_list(struct net_device *netdev) liquidio_set_uc_list() argument 1078 liquidio_set_mcast_list(struct net_device *netdev) liquidio_set_mcast_list() argument 1129 liquidio_set_mac(struct net_device *netdev, void *p) liquidio_set_mac() argument 1178 liquidio_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *lstats) liquidio_get_stats64() argument 1249 hwtstamp_ioctl(struct net_device *netdev, struct ifreq *ifr) hwtstamp_ioctl() argument 1307 liquidio_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) liquidio_ioctl() argument 1415 liquidio_xmit(struct sk_buff *skb, struct net_device *netdev) liquidio_xmit() argument 1644 liquidio_tx_timeout(struct net_device *netdev, unsigned int txqueue) liquidio_tx_timeout() argument 1658 liquidio_vlan_rx_add_vid(struct net_device *netdev, __be16 proto __attribute__((unused)), u16 vid) liquidio_vlan_rx_add_vid() argument 1686 liquidio_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto __attribute__((unused)), u16 vid) liquidio_vlan_rx_kill_vid() argument 1720 liquidio_set_rxcsum_command(struct net_device *netdev, int command, u8 rx_cmd) liquidio_set_rxcsum_command() argument 1755 liquidio_vxlan_port_command(struct net_device *netdev, int command, u16 vxlan_port, u8 vxlan_cmd_bit) liquidio_vxlan_port_command() argument 1784 liquidio_udp_tunnel_set_port(struct net_device *netdev, unsigned int table, unsigned int entry, struct udp_tunnel_info *ti) liquidio_udp_tunnel_set_port() argument 1794 liquidio_udp_tunnel_unset_port(struct net_device *netdev, unsigned int table, unsigned int entry, struct udp_tunnel_info *ti) liquidio_udp_tunnel_unset_port() argument 1818 liquidio_fix_features(struct net_device *netdev, netdev_features_t request) liquidio_fix_features() argument 1852 liquidio_set_features(struct net_device *netdev, netdev_features_t features) liquidio_set_features() argument 1950 struct net_device *netdev; setup_nic_devices() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_vf_main.c | 71 static int liquidio_stop(struct net_device *netdev); 177 netif_device_detach(oct->props[i].netdev); in stop_pci_io() 259 * @netdev: network device 261 static void print_link_info(struct net_device *netdev) in print_link_info() argument 263 struct lio *lio = GET_LIO(netdev); in print_link_info() 270 netif_info(lio, link, lio->netdev, "%d Mbps %s Duplex UP\n", in print_link_info() 274 netif_info(lio, link, lio->netdev, "Link Down\n"); in print_link_info() 293 dev_set_mtu(lio->netdev, lio->linfo.link.s.mtu); in octnet_link_status_change() 299 * @netdev: network device 301 static int setup_link_status_change_wq(struct net_device *netdev) in setup_link_status_change_wq() argument 319 cleanup_link_status_change_wq(struct net_device *netdev) cleanup_link_status_change_wq() argument 337 update_link_status(struct net_device *netdev, union oct_link_status *ls) update_link_status() argument 659 struct net_device *netdev = oct->props[ifidx].netdev; liquidio_destroy_nic_device() local 905 liquidio_open(struct net_device *netdev) liquidio_open() argument 951 liquidio_stop(struct net_device *netdev) liquidio_stop() argument 1006 get_new_flags(struct net_device *netdev) get_new_flags() argument 1032 liquidio_set_uc_list(struct net_device *netdev) liquidio_set_uc_list() argument 1072 liquidio_set_mcast_list(struct net_device *netdev) liquidio_set_mcast_list() argument 1123 liquidio_set_mac(struct net_device *netdev, void *p) liquidio_set_mac() argument 1172 liquidio_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *lstats) liquidio_get_stats64() argument 1243 hwtstamp_ioctl(struct net_device *netdev, struct ifreq *ifr) hwtstamp_ioctl() argument 1298 liquidio_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) liquidio_ioctl() argument 1406 liquidio_xmit(struct sk_buff *skb, struct net_device *netdev) liquidio_xmit() argument 1635 liquidio_tx_timeout(struct net_device *netdev, unsigned int txqueue) liquidio_tx_timeout() argument 1649 liquidio_vlan_rx_add_vid(struct net_device *netdev, __be16 proto __attribute__((unused)), u16 vid) liquidio_vlan_rx_add_vid() argument 1677 liquidio_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto __attribute__((unused)), u16 vid) liquidio_vlan_rx_kill_vid() argument 1711 liquidio_set_rxcsum_command(struct net_device *netdev, int command, u8 rx_cmd) liquidio_set_rxcsum_command() argument 1746 liquidio_vxlan_port_command(struct net_device *netdev, int command, u16 vxlan_port, u8 vxlan_cmd_bit) liquidio_vxlan_port_command() argument 1775 liquidio_udp_tunnel_set_port(struct net_device *netdev, unsigned int table, unsigned int entry, struct udp_tunnel_info *ti) liquidio_udp_tunnel_set_port() argument 1785 liquidio_udp_tunnel_unset_port(struct net_device *netdev, unsigned int table, unsigned int entry, struct udp_tunnel_info *ti) liquidio_udp_tunnel_unset_port() argument 1809 liquidio_fix_features(struct net_device *netdev, netdev_features_t request) liquidio_fix_features() argument 1843 liquidio_set_features(struct net_device *netdev, netdev_features_t features) liquidio_set_features() argument 1939 struct net_device *netdev; setup_nic_devices() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-common.c | 36 struct net_device *netdev = pdata->netdev; in xlgmac_read_mac_addr() local 39 memcpy(pdata->mac_addr, dev_addr, netdev->addr_len); in xlgmac_read_mac_addr() 70 struct net_device *netdev = pdata->netdev; in xlgmac_init() local 78 netdev->irq = pdata->dev_irq; in xlgmac_init() 79 netdev->base_addr = (unsigned long)pdata->mac_regs; in xlgmac_init() 81 eth_hw_addr_set(netdev, pdata->mac_addr); in xlgmac_init() 132 ret = netif_set_real_num_tx_queues(netdev, pdata->tx_q_count); in xlgmac_init() 144 ret = netif_set_real_num_rx_queues(netdev, pdat in xlgmac_init() 231 struct net_device *netdev; xlgmac_drv_probe() local 276 struct net_device *netdev = dev_get_drvdata(dev); xlgmac_drv_remove() local 332 xlgmac_print_pkt(struct net_device *netdev, struct sk_buff *skb, bool tx_rx) xlgmac_print_pkt() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_net.c | 84 ether_netdev = card->netdev[GELIC_PORT_ETHERNET_0]; in gelic_card_get_ether_port_status() 386 descr->skb = netdev_alloc_skb(*card->netdev, rx_skb_size); in gelic_descr_prepare_rx() 520 netif_stop_queue(card->netdev[GELIC_PORT_ETHERNET_0]); in gelic_card_stop_queues() 522 if (card->netdev[GELIC_PORT_WIRELESS]) in gelic_card_stop_queues() 523 netif_stop_queue(card->netdev[GELIC_PORT_WIRELESS]); in gelic_card_stop_queues() 527 netif_wake_queue(card->netdev[GELIC_PORT_ETHERNET_0]); in gelic_card_wake_queues() 529 if (card->netdev[GELIC_PORT_WIRELESS]) in gelic_card_wake_queues() 530 netif_wake_queue(card->netdev[GELIC_PORT_WIRELESS]); in gelic_card_wake_queues() 543 struct net_device *netdev; in gelic_card_release_tx_chain() local 550 netdev in gelic_card_release_tx_chain() 594 gelic_net_set_multi(struct net_device *netdev) gelic_net_set_multi() argument 654 gelic_net_stop(struct net_device *netdev) gelic_net_stop() argument 838 gelic_net_xmit(struct sk_buff *skb, struct net_device *netdev) gelic_net_xmit() argument 909 gelic_net_pass_skb_up(struct gelic_descr *descr, struct gelic_card *card, struct net_device *netdev) gelic_net_pass_skb_up() argument 973 struct net_device *netdev = NULL; gelic_card_decode_one_descr() local 1156 gelic_net_poll_controller(struct net_device *netdev) gelic_net_poll_controller() argument 1175 gelic_net_open(struct net_device *netdev) gelic_net_open() argument 1179 dev_dbg(ctodev(card), " -> %s %p\\n", __func__, netdev); gelic_net_open() local 1190 gelic_net_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) gelic_net_get_drvinfo() argument 1197 gelic_ether_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) gelic_ether_get_link_ksettings() argument 1248 gelic_ether_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *cmd) gelic_ether_set_link_ksettings() argument 1287 gelic_net_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) gelic_net_get_wol() argument 1298 gelic_net_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) gelic_net_set_wol() argument 1386 struct net_device *netdev = card->netdev[GELIC_PORT_ETHERNET_0]; gelic_net_tx_timeout_task() local 1409 gelic_net_tx_timeout(struct net_device *netdev, unsigned int txqueue) gelic_net_tx_timeout() argument 1440 gelic_ether_setup_netdev_ops(struct net_device *netdev, struct napi_struct *napi) gelic_ether_setup_netdev_ops() argument 1460 gelic_net_setup_netdev(struct net_device *netdev, struct gelic_card *card) gelic_net_setup_netdev() argument 1516 gelic_alloc_card_net(struct net_device **netdev) gelic_alloc_card_net() argument 1644 struct net_device *netdev; ps3_gelic_driver_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_net.c | 84 ether_netdev = card->netdev[GELIC_PORT_ETHERNET_0]; in gelic_card_get_ether_port_status() 386 descr->skb = netdev_alloc_skb(*card->netdev, rx_skb_size); in gelic_descr_prepare_rx() 520 netif_stop_queue(card->netdev[GELIC_PORT_ETHERNET_0]); in gelic_card_stop_queues() 522 if (card->netdev[GELIC_PORT_WIRELESS]) in gelic_card_stop_queues() 523 netif_stop_queue(card->netdev[GELIC_PORT_WIRELESS]); in gelic_card_stop_queues() 527 netif_wake_queue(card->netdev[GELIC_PORT_ETHERNET_0]); in gelic_card_wake_queues() 529 if (card->netdev[GELIC_PORT_WIRELESS]) in gelic_card_wake_queues() 530 netif_wake_queue(card->netdev[GELIC_PORT_WIRELESS]); in gelic_card_wake_queues() 543 struct net_device *netdev; in gelic_card_release_tx_chain() local 550 netdev in gelic_card_release_tx_chain() 594 gelic_net_set_multi(struct net_device *netdev) gelic_net_set_multi() argument 654 gelic_net_stop(struct net_device *netdev) gelic_net_stop() argument 838 gelic_net_xmit(struct sk_buff *skb, struct net_device *netdev) gelic_net_xmit() argument 909 gelic_net_pass_skb_up(struct gelic_descr *descr, struct gelic_card *card, struct net_device *netdev) gelic_net_pass_skb_up() argument 973 struct net_device *netdev = NULL; gelic_card_decode_one_descr() local 1156 gelic_net_poll_controller(struct net_device *netdev) gelic_net_poll_controller() argument 1175 gelic_net_open(struct net_device *netdev) gelic_net_open() argument 1179 dev_dbg(ctodev(card), " -> %s %p\\n", __func__, netdev); gelic_net_open() local 1190 gelic_net_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) gelic_net_get_drvinfo() argument 1197 gelic_ether_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) gelic_ether_get_link_ksettings() argument 1248 gelic_ether_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *cmd) gelic_ether_set_link_ksettings() argument 1287 gelic_net_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) gelic_net_get_wol() argument 1298 gelic_net_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) gelic_net_set_wol() argument 1386 struct net_device *netdev = card->netdev[GELIC_PORT_ETHERNET_0]; gelic_net_tx_timeout_task() local 1410 gelic_net_tx_timeout(struct net_device *netdev, unsigned int txqueue) gelic_net_tx_timeout() argument 1442 gelic_ether_setup_netdev_ops(struct net_device *netdev, struct napi_struct *napi) gelic_ether_setup_netdev_ops() argument 1462 gelic_net_setup_netdev(struct net_device *netdev, struct gelic_card *card) gelic_net_setup_netdev() argument 1518 gelic_alloc_card_net(struct net_device **netdev) gelic_alloc_card_net() argument 1646 struct net_device *netdev; ps3_gelic_driver_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 222 skb = netdev_alloc_skb(adapter->netdev, pool->buff_size); in ibmveth_replenish_buffer_pool() 225 netdev_dbg(adapter->netdev, in ibmveth_replenish_buffer_pool() 258 adapter->netdev->mtu + in ibmveth_replenish_buffer_pool() 434 netdev_dbg(adapter->netdev, "h_add_logical_lan_buffer failed " in ibmveth_rxq_recycle_buffer() 497 static int ibmveth_open(struct net_device *netdev) in ibmveth_open() argument 499 struct ibmveth_adapter *adapter = netdev_priv(netdev); in ibmveth_open() 508 netdev_dbg(netdev, "open starting\n"); in ibmveth_open() 518 netdev_err(netdev, "unable to allocate list pages\n"); in ibmveth_open() 524 netdev_err(netdev, "unable to allocate filter pages\n"); in ibmveth_open() 541 netdev_err(netdev, "unabl in ibmveth_open() 659 ibmveth_close(struct net_device *netdev) ibmveth_close() argument 1020 ibmveth_is_packet_unsupported(struct sk_buff *skb, struct net_device *netdev) ibmveth_is_packet_unsupported() argument 1037 ibmveth_start_xmit(struct sk_buff *skb, struct net_device *netdev) ibmveth_start_xmit() argument 1325 struct net_device *netdev = adapter->netdev; ibmveth_poll() local 1436 struct net_device *netdev = dev_instance; ibmveth_interrupt() local 1449 ibmveth_set_multicast_list(struct net_device *netdev) ibmveth_set_multicast_list() argument 1567 struct net_device *netdev = dev_get_drvdata(&vdev->dev); ibmveth_get_desired_dma() local 1642 struct net_device *netdev; ibmveth_probe() local 1763 struct net_device *netdev = dev_get_drvdata(&dev->dev); ibmveth_remove() local 1804 struct net_device *netdev = dev_get_drvdata( veth_pool_store() local 1923 struct net_device *netdev = dev_get_drvdata(dev); ibmveth_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/net/netdevsim/ |
H A D | macsec.c | 37 struct netdevsim *ns = netdev_priv(ctx->netdev); in nsim_macsec_add_secy() 49 netdev_err(ctx->netdev, "%s: nsim_secy_count not full but all SecYs used\n", in nsim_macsec_add_secy() 54 netdev_dbg(ctx->netdev, "%s: adding new secy with sci %08llx at index %d\n", in nsim_macsec_add_secy() 66 struct netdevsim *ns = netdev_priv(ctx->netdev); in nsim_macsec_upd_secy() 71 netdev_err(ctx->netdev, "%s: sci %08llx not found in secy table\n", in nsim_macsec_upd_secy() 76 netdev_dbg(ctx->netdev, "%s: updating secy with sci %08llx at index %d\n", in nsim_macsec_upd_secy() 84 struct netdevsim *ns = netdev_priv(ctx->netdev); in nsim_macsec_del_secy() 89 netdev_err(ctx->netdev, "%s: sci %08llx not found in secy table\n", in nsim_macsec_del_secy() 94 netdev_dbg(ctx->netdev, "%s: removing SecY with SCI %08llx at index %d\n", in nsim_macsec_del_secy() 106 struct netdevsim *ns = netdev_priv(ctx->netdev); in nsim_macsec_add_rxsc() [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | offload.c | 44 struct net_device *netdev; member 54 .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 75 return rhashtable_lookup_fast(&offdevs, &netdev, offdevs_params); in bpf_offload_find_netdev() 79 struct net_device *netdev) in __bpf_offload_dev_netdev_register() 88 ondev->netdev = netdev; in __bpf_offload_dev_netdev_register() 78 __bpf_offload_dev_netdev_register(struct bpf_offload_dev *offdev, struct net_device *netdev) __bpf_offload_dev_netdev_register() argument 124 struct net_device *netdev; bpf_map_offload_ndo() local 145 __bpf_offload_dev_netdev_unregister(struct bpf_offload_dev *offdev, struct net_device *netdev) __bpf_offload_dev_netdev_unregister() argument 188 __bpf_prog_dev_bound_init(struct bpf_prog *prog, struct net_device *netdev) __bpf_prog_dev_bound_init() argument 230 struct net_device *netdev; bpf_prog_dev_bound_init() local 377 struct net_device *netdev; bpf_prog_dev_bound_destroy() local 687 __bpf_offload_dev_match(struct bpf_prog *prog, struct net_device *netdev) __bpf_offload_dev_match() argument 708 bpf_offload_dev_match(struct bpf_prog *prog, struct net_device *netdev) bpf_offload_dev_match() argument 752 bpf_offload_dev_netdev_register(struct bpf_offload_dev *offdev, struct net_device *netdev) bpf_offload_dev_netdev_register() argument 764 bpf_offload_dev_netdev_unregister(struct bpf_offload_dev *offdev, struct net_device *netdev) bpf_offload_dev_netdev_unregister() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-dcb.c | 123 static int xgbe_dcb_ieee_getets(struct net_device *netdev, in xgbe_dcb_ieee_getets() argument 126 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_dcb_ieee_getets() 144 static int xgbe_dcb_ieee_setets(struct net_device *netdev, in xgbe_dcb_ieee_setets() argument 147 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_dcb_ieee_setets() 154 netif_dbg(pdata, drv, netdev, in xgbe_dcb_ieee_setets() 158 netif_dbg(pdata, drv, netdev, "PRIO%u: TC=%hhu\n", i, in xgbe_dcb_ieee_setets() 173 netif_err(pdata, drv, netdev, in xgbe_dcb_ieee_setets() 182 netif_err(pdata, drv, netdev, in xgbe_dcb_ieee_setets() 189 netif_err(pdata, drv, netdev, in xgbe_dcb_ieee_setets() 210 static int xgbe_dcb_ieee_getpfc(struct net_device *netdev, in xgbe_dcb_ieee_getpfc() argument 227 xgbe_dcb_ieee_setpfc(struct net_device *netdev, struct ieee_pfc *pfc) xgbe_dcb_ieee_setpfc() argument 257 xgbe_dcb_getdcbx(struct net_device *netdev) xgbe_dcb_getdcbx() argument 262 xgbe_dcb_setdcbx(struct net_device *netdev, u8 dcbx) xgbe_dcb_setdcbx() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-dcb.c | 123 static int xgbe_dcb_ieee_getets(struct net_device *netdev, in xgbe_dcb_ieee_getets() argument 126 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_dcb_ieee_getets() 144 static int xgbe_dcb_ieee_setets(struct net_device *netdev, in xgbe_dcb_ieee_setets() argument 147 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_dcb_ieee_setets() 154 netif_dbg(pdata, drv, netdev, in xgbe_dcb_ieee_setets() 158 netif_dbg(pdata, drv, netdev, "PRIO%u: TC=%hhu\n", i, in xgbe_dcb_ieee_setets() 173 netif_err(pdata, drv, netdev, in xgbe_dcb_ieee_setets() 182 netif_err(pdata, drv, netdev, in xgbe_dcb_ieee_setets() 189 netif_err(pdata, drv, netdev, in xgbe_dcb_ieee_setets() 210 static int xgbe_dcb_ieee_getpfc(struct net_device *netdev, in xgbe_dcb_ieee_getpfc() argument 227 xgbe_dcb_ieee_setpfc(struct net_device *netdev, struct ieee_pfc *pfc) xgbe_dcb_ieee_setpfc() argument 257 xgbe_dcb_getdcbx(struct net_device *netdev) xgbe_dcb_getdcbx() argument 262 xgbe_dcb_setdcbx(struct net_device *netdev, u8 dcbx) xgbe_dcb_setdcbx() argument [all...] |
/kernel/linux/linux-6.6/net/dcb/ |
H A D | dcbnl.c | 241 static int dcbnl_getstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getstate() argument 244 /* if (!tb[DCB_ATTR_STATE] || !netdev->dcbnl_ops->getstate) */ in dcbnl_getstate() 245 if (!netdev->dcbnl_ops->getstate) in dcbnl_getstate() 249 netdev->dcbnl_ops->getstate(netdev)); in dcbnl_getstate() 252 static int dcbnl_getpfccfg(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfccfg() argument 264 if (!netdev->dcbnl_ops->getpfccfg) in dcbnl_getpfccfg() 284 netdev->dcbnl_ops->getpfccfg(netdev, i - DCB_PFC_UP_ATTR_0, in dcbnl_getpfccfg() 297 static int dcbnl_getperm_hwaddr(struct net_device *netdev, struc argument 311 dcbnl_getcap(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_getcap() argument 356 dcbnl_getnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_getnumtcs() argument 403 dcbnl_setnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_setnumtcs() argument 437 dcbnl_getpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_getpfcstate() argument 447 dcbnl_setpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_setpfcstate() argument 465 dcbnl_getapp(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_getapp() argument 535 dcbnl_setapp(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_setapp() argument 585 __dcbnl_pg_getcfg(struct net_device *netdev, struct nlmsghdr *nlh, struct nlattr **tb, struct sk_buff *skb, int dir) __dcbnl_pg_getcfg() argument 721 dcbnl_pgtx_getcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_pgtx_getcfg() argument 727 dcbnl_pgrx_getcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_pgrx_getcfg() argument 733 dcbnl_setstate(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_setstate() argument 750 dcbnl_setpfccfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_setpfccfg() argument 781 dcbnl_setall(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_setall() argument 799 __dcbnl_pg_setcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb, int dir) __dcbnl_pg_setcfg() argument 892 dcbnl_pgtx_setcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_pgtx_setcfg() argument 898 dcbnl_pgrx_setcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_pgrx_setcfg() argument 904 dcbnl_bcn_getcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_bcn_getcfg() argument 966 dcbnl_bcn_setcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_bcn_setcfg() argument 1007 dcbnl_build_peer_app(struct net_device *netdev, struct sk_buff* skb, int app_nested_type, int app_info_type, int app_entry_type) dcbnl_build_peer_app() argument 1064 dcbnl_getapptrust(struct net_device *netdev, struct sk_buff *skb) dcbnl_getapptrust() argument 1106 dcbnl_app_table_setdel(struct nlattr *attr, struct net_device *netdev, int (*setdel)(struct net_device *dev, struct dcb_app *app)) dcbnl_app_table_setdel() argument 1139 dcbnl_ieee_fill(struct sk_buff *skb, struct net_device *netdev) dcbnl_ieee_fill() argument 1363 dcbnl_cee_fill(struct sk_buff *skb, struct net_device *netdev) dcbnl_cee_fill() argument 1560 dcbnl_ieee_set(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_ieee_set() argument 1696 dcbnl_ieee_get(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_ieee_get() argument 1707 dcbnl_ieee_del(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_ieee_del() argument 1750 dcbnl_getdcbx(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_getdcbx() argument 1760 dcbnl_setdcbx(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_setdcbx() argument 1777 dcbnl_getfeatcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_getfeatcfg() argument 1823 dcbnl_setfeatcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_setfeatcfg() argument 1861 dcbnl_cee_get(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) dcbnl_cee_get() argument 1915 struct net_device *netdev; dcb_doit() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ethtool.c | 213 nfp_net_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in nfp_net_get_drvinfo() argument 216 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_get_drvinfo() 228 nfp_app_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in nfp_app_get_drvinfo() argument 230 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_get_drvinfo() 263 * @netdev: network interface device structure 269 nfp_net_get_link_ksettings(struct net_device *netdev, in nfp_net_get_link_ksettings() argument 293 port = nfp_port_from_netdev(netdev); in nfp_net_get_link_ksettings() 303 if (!netif_carrier_ok(netdev)) in nfp_net_get_link_ksettings() 314 if (!nfp_netdev_is_nfp_net(netdev)) in nfp_net_get_link_ksettings() 316 nn = netdev_priv(netdev); in nfp_net_get_link_ksettings() 335 nfp_net_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *cmd) nfp_net_set_link_ksettings() argument 382 nfp_net_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) nfp_net_get_ringparam() argument 407 nfp_net_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) nfp_net_set_ringparam() argument 445 nfp_vnic_get_sw_stats_count(struct net_device *netdev) nfp_vnic_get_sw_stats_count() argument 453 nfp_vnic_get_sw_stats_strings(struct net_device *netdev, u8 *data) nfp_vnic_get_sw_stats_strings() argument 486 nfp_vnic_get_sw_stats(struct net_device *netdev, u64 *data) nfp_vnic_get_sw_stats() argument 650 nfp_mac_get_stats_count(struct net_device *netdev) nfp_mac_get_stats_count() argument 661 nfp_mac_get_stats_strings(struct net_device *netdev, u8 *data) nfp_mac_get_stats_strings() argument 676 nfp_mac_get_stats(struct net_device *netdev, u64 *data) nfp_mac_get_stats() argument 691 nfp_net_get_strings(struct net_device *netdev, u32 stringset, u8 *data) nfp_net_get_strings() argument 712 nfp_net_get_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) nfp_net_get_stats() argument 727 nfp_net_get_sset_count(struct net_device *netdev, int sset) nfp_net_get_sset_count() argument 747 nfp_port_get_strings(struct net_device *netdev, u32 stringset, u8 *data) nfp_port_get_strings() argument 764 nfp_port_get_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) nfp_port_get_stats() argument 776 nfp_port_get_sset_count(struct net_device *netdev, int sset) nfp_port_get_sset_count() argument 828 nfp_port_get_fecparam(struct net_device *netdev, struct ethtool_fecparam *param) nfp_port_get_fecparam() argument 852 nfp_port_set_fecparam(struct net_device *netdev, struct ethtool_fecparam *param) nfp_port_set_fecparam() argument 919 nfp_net_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 *rule_locs) nfp_net_get_rxnfc() argument 987 nfp_net_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) nfp_net_set_rxnfc() argument 1000 nfp_net_get_rxfh_indir_size(struct net_device *netdev) nfp_net_get_rxfh_indir_size() argument 1010 nfp_net_get_rxfh_key_size(struct net_device *netdev) nfp_net_get_rxfh_key_size() argument 1020 nfp_net_get_rxfh(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc) nfp_net_get_rxfh() argument 1043 nfp_net_set_rxfh(struct net_device *netdev, const u32 *indir, const u8 *key, const u8 hfunc) nfp_net_set_rxfh() argument 1073 nfp_net_get_regs_len(struct net_device *netdev) nfp_net_get_regs_len() argument 1078 nfp_net_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) nfp_net_get_regs() argument 1091 nfp_net_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec) nfp_net_get_coalesce() argument 1153 nfp_app_set_dump(struct net_device *netdev, struct ethtool_dump *val) nfp_app_set_dump() argument 1181 nfp_app_get_dump_flag(struct net_device *netdev, struct ethtool_dump *dump) nfp_app_get_dump_flag() argument 1198 nfp_app_get_dump_data(struct net_device *netdev, struct ethtool_dump *dump, void *buffer) nfp_app_get_dump_data() argument 1217 nfp_port_get_module_info(struct net_device *netdev, struct ethtool_modinfo *modinfo) nfp_port_get_module_info() argument 1298 nfp_port_get_module_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *data) nfp_port_get_module_eeprom() argument 1345 nfp_net_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec) nfp_net_set_coalesce() argument 1403 nfp_net_get_channels(struct net_device *netdev, struct ethtool_channels *channel) nfp_net_get_channels() argument 1441 nfp_net_set_channels(struct net_device *netdev, struct ethtool_channels *channel) nfp_net_set_channels() argument 1512 nfp_net_set_ethtool_ops(struct net_device *netdev) nfp_net_set_ethtool_ops() argument [all...] |
/kernel/linux/linux-5.10/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...] |