Home
last modified time | relevance | path

Searched refs:net_dev (Results 1 – 25 of 117) sorted by relevance

12345

/drivers/net/ethernet/sis/
Dsis900.c119 static void sis900_read_mode(struct net_device *net_dev, int *speed, int *duplex);
217 static int sis900_open(struct net_device *net_dev);
218 static int sis900_mii_probe (struct net_device * net_dev);
219 static void sis900_init_rxfilter (struct net_device * net_dev);
221 static int mdio_read(struct net_device *net_dev, int phy_id, int location);
222 static void mdio_write(struct net_device *net_dev, int phy_id, int location, int val);
224 static void sis900_check_mode (struct net_device *net_dev, struct mii_phy *mii_phy);
225 static void sis900_tx_timeout(struct net_device *net_dev, unsigned int txqueue);
226 static void sis900_init_tx_ring(struct net_device *net_dev);
227 static void sis900_init_rx_ring(struct net_device *net_dev);
[all …]
/drivers/net/ethernet/sfc/
Dethtool_common.h14 void efx_ethtool_get_drvinfo(struct net_device *net_dev,
16 u32 efx_ethtool_get_msglevel(struct net_device *net_dev);
17 void efx_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable);
18 void efx_ethtool_self_test(struct net_device *net_dev,
20 void efx_ethtool_get_pauseparam(struct net_device *net_dev,
22 int efx_ethtool_set_pauseparam(struct net_device *net_dev,
27 int efx_ethtool_get_sset_count(struct net_device *net_dev, int string_set);
28 void efx_ethtool_get_strings(struct net_device *net_dev, u32 string_set,
30 void efx_ethtool_get_stats(struct net_device *net_dev,
33 int efx_ethtool_get_link_ksettings(struct net_device *net_dev,
[all …]
Def100_netdev.c28 strcpy(efx->name, efx->net_dev->name); in ef100_update_name()
66 netif_err(efx, probe, efx->net_dev, in ef100_remap_bar()
80 static int ef100_net_stop(struct net_device *net_dev) in ef100_net_stop() argument
82 struct efx_nic *efx = netdev_priv(net_dev); in ef100_net_stop()
84 netif_dbg(efx, ifdown, efx->net_dev, "closing on CPU %d\n", in ef100_net_stop()
87 netif_stop_queue(net_dev); in ef100_net_stop()
105 static int ef100_net_open(struct net_device *net_dev) in ef100_net_open() argument
107 struct efx_nic *efx = netdev_priv(net_dev); in ef100_net_open()
112 netif_dbg(efx, ifup, net_dev, "opening device on CPU %d\n", in ef100_net_open()
182 ef100_net_stop(net_dev); in ef100_net_open()
[all …]
Defx.c120 netif_dbg(efx, probe, efx->net_dev, "create port\n"); in efx_probe_port()
131 eth_hw_addr_set(efx->net_dev, efx->net_dev->perm_addr); in efx_probe_port()
140 netif_dbg(efx, drv, efx->net_dev, "init port\n"); in efx_init_port()
161 netif_dbg(efx, drv, efx->net_dev, "shut down port\n"); in efx_fini_port()
174 netif_dbg(efx, drv, efx->net_dev, "destroying port\n"); in efx_remove_port()
202 netif_dbg(efx, probe, efx->net_dev, "adding to primary list\n"); in efx_associate()
209 netif_dbg(other, probe, other->net_dev, in efx_associate()
212 efx->net_dev->name); in efx_associate()
223 netif_dbg(efx, probe, efx->net_dev, in efx_associate()
226 other->net_dev->name); in efx_associate()
[all …]
Defx_common.c167 int efx_set_mac_address(struct net_device *net_dev, void *data) in efx_set_mac_address() argument
169 struct efx_nic *efx = netdev_priv(net_dev); in efx_set_mac_address()
176 netif_err(efx, drv, efx->net_dev, in efx_set_mac_address()
183 ether_addr_copy(old_addr, net_dev->dev_addr); in efx_set_mac_address()
184 eth_hw_addr_set(net_dev, new_addr); in efx_set_mac_address()
188 eth_hw_addr_set(net_dev, old_addr); in efx_set_mac_address()
202 void efx_set_rx_mode(struct net_device *net_dev) in efx_set_rx_mode() argument
204 struct efx_nic *efx = netdev_priv(net_dev); in efx_set_rx_mode()
211 int efx_set_features(struct net_device *net_dev, netdev_features_t data) in efx_set_features() argument
213 struct efx_nic *efx = netdev_priv(net_dev); in efx_set_features()
[all …]
Dethtool.c33 static int efx_ethtool_phys_id(struct net_device *net_dev, in efx_ethtool_phys_id() argument
36 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_phys_id()
56 static int efx_ethtool_get_regs_len(struct net_device *net_dev) in efx_ethtool_get_regs_len() argument
58 return efx_nic_get_regs_len(netdev_priv(net_dev)); in efx_ethtool_get_regs_len()
61 static void efx_ethtool_get_regs(struct net_device *net_dev, in efx_ethtool_get_regs() argument
64 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_regs()
99 static int efx_ethtool_get_coalesce(struct net_device *net_dev, in efx_ethtool_get_coalesce() argument
104 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_coalesce()
119 static int efx_ethtool_set_coalesce(struct net_device *net_dev, in efx_ethtool_set_coalesce() argument
124 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_coalesce()
[all …]
Def100.c73 netif_dbg(efx, probe, efx->net_dev, in ef100_pci_parse_ef100_entry()
78 netif_err(efx, probe, efx->net_dev, in ef100_pci_parse_ef100_entry()
85 netif_err(efx, probe, efx->net_dev, in ef100_pci_parse_ef100_entry()
127 netif_err(efx, probe, efx->net_dev, in ef100_pci_parse_continue_entry()
137 netif_err(efx, probe, efx->net_dev, in ef100_pci_parse_continue_entry()
148 netif_err(efx, probe, efx->net_dev, in ef100_pci_parse_continue_entry()
166 netif_err(efx, probe, efx->net_dev, in ef100_pci_parse_continue_entry()
196 netif_dbg(efx, probe, efx->net_dev, in ef100_pci_walk_xilinx_table()
201 netif_err(efx, probe, efx->net_dev, in ef100_pci_walk_xilinx_table()
210 netif_err(efx, probe, efx->net_dev, in ef100_pci_walk_xilinx_table()
[all …]
Dsriov.c11 int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac) in efx_sriov_set_vf_mac() argument
13 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_set_vf_mac()
21 int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan, in efx_sriov_set_vf_vlan() argument
24 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_set_vf_vlan()
40 int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, in efx_sriov_set_vf_spoofchk() argument
43 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_set_vf_spoofchk()
51 int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i, in efx_sriov_get_vf_config() argument
54 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_get_vf_config()
62 int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i, in efx_sriov_set_vf_link_state() argument
65 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_set_vf_link_state()
Dselftest.c138 netif_dbg(efx, drv, efx->net_dev, "testing interrupts\n"); in efx_test_interrupts()
143 netif_dbg(efx, drv, efx->net_dev, in efx_test_interrupts()
153 netif_dbg(efx, drv, efx->net_dev, "waiting for test interrupt\n"); in efx_test_interrupts()
162 netif_err(efx, drv, efx->net_dev, "timed out waiting for interrupt\n"); in efx_test_interrupts()
166 netif_dbg(efx, drv, efx->net_dev, "%s test interrupt seen on CPU%d\n", in efx_test_interrupts()
226 netif_dbg(efx, drv, efx->net_dev, in efx_test_eventq_irq()
235 netif_err(efx, drv, efx->net_dev, in efx_test_eventq_irq()
239 netif_err(efx, drv, efx->net_dev, in efx_test_eventq_irq()
244 netif_err(efx, drv, efx->net_dev, in efx_test_eventq_irq()
265 netif_info(efx, drv, efx->net_dev, in efx_test_phy()
[all …]
Defx_common.h18 struct net_device *net_dev);
34 void efx_net_stats(struct net_device *net_dev, struct rtnl_link_stats64 *stats);
54 void efx_watchdog(struct net_device *net_dev, unsigned int txqueue);
66 netif_err(efx, drv, efx->net_dev, in efx_check_disabled()
75 netif_vdbg(channel->efx, intr, channel->efx->net_dev, in efx_schedule_channel()
97 int efx_set_mac_address(struct net_device *net_dev, void *data);
98 void efx_set_rx_mode(struct net_device *net_dev);
99 int efx_set_features(struct net_device *net_dev, netdev_features_t data);
102 int efx_change_mtu(struct net_device *net_dev, int new_mtu);
109 int efx_get_phys_port_id(struct net_device *net_dev,
[all …]
Dethtool_common.c103 void efx_ethtool_get_drvinfo(struct net_device *net_dev, in efx_ethtool_get_drvinfo() argument
106 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_drvinfo()
114 u32 efx_ethtool_get_msglevel(struct net_device *net_dev) in efx_ethtool_get_msglevel() argument
116 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_msglevel()
121 void efx_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable) in efx_ethtool_set_msglevel() argument
123 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_msglevel()
128 void efx_ethtool_self_test(struct net_device *net_dev, in efx_ethtool_self_test() argument
131 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_self_test()
145 netif_info(efx, drv, efx->net_dev, "starting %sline testing\n", in efx_ethtool_self_test()
149 already_up = (efx->net_dev->flags & IFF_UP); in efx_ethtool_self_test()
[all …]
Def100_nic.c52 netif_err(efx, hw, efx->net_dev, "Hardware unavailable\n"); in ef100_get_warm_boot_count()
164 netif_err(efx, drv, efx->net_dev, in efx_ef100_init_datapath_caps()
186 struct net_device *net_dev = efx->net_dev; in efx_ef100_init_datapath_caps() local
191 net_dev->features |= tso; in efx_ef100_init_datapath_caps()
192 net_dev->hw_features |= tso; in efx_ef100_init_datapath_caps()
193 net_dev->hw_enc_features |= tso; in efx_ef100_init_datapath_caps()
197 net_dev->gso_partial_features |= NETIF_F_GSO_GRE_CSUM; in efx_ef100_init_datapath_caps()
201 netif_dbg(efx, probe, efx->net_dev, in efx_ef100_init_datapath_caps()
268 netif_vdbg(efx, drv, efx->net_dev, in ef100_ev_process()
286 netif_info(efx, drv, efx->net_dev, in ef100_ev_process()
[all …]
/drivers/net/ethernet/
Dlantiq_xrx200.c71 struct net_device *net_dev; member
115 static int xrx200_open(struct net_device *net_dev) in xrx200_open() argument
117 struct xrx200_priv *priv = netdev_priv(net_dev); in xrx200_open()
135 netif_wake_queue(net_dev); in xrx200_open()
140 static int xrx200_close(struct net_device *net_dev) in xrx200_close() argument
142 struct xrx200_priv *priv = netdev_priv(net_dev); in xrx200_close()
144 netif_stop_queue(net_dev); in xrx200_close()
161 ch->skb[ch->dma.desc] = netdev_alloc_skb_ip_align(ch->priv->net_dev, in xrx200_alloc_skb()
194 struct net_device *net_dev = priv->net_dev; in xrx200_hw_receive() local
203 net_dev->stats.rx_dropped++; in xrx200_hw_receive()
[all …]
Dec_bhf.c123 struct net_device *net_dev; member
185 if (unlikely(netif_queue_stopped(priv->net_dev))) { in ec_bhf_process_tx()
190 netif_wake_queue(priv->net_dev); in ec_bhf_process_tx()
215 skb = netdev_alloc_skb_ip_align(priv->net_dev, pkt_size); in ec_bhf_process_rx()
218 skb->protocol = eth_type_trans(skb, priv->net_dev); in ec_bhf_process_rx()
244 if (!netif_running(priv->net_dev)) in ec_bhf_timer_fun()
283 struct net_device *net_dev) in ec_bhf_start_xmit() argument
285 struct ec_bhf_priv *priv = netdev_priv(net_dev); in ec_bhf_start_xmit()
308 netif_stop_queue(net_dev); in ec_bhf_start_xmit()
392 static int ec_bhf_open(struct net_device *net_dev) in ec_bhf_open() argument
[all …]
/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c225 static int dpaa_netdev_init(struct net_device *net_dev, in dpaa_netdev_init() argument
229 struct dpaa_priv *priv = netdev_priv(net_dev); in dpaa_netdev_init()
230 struct device *dev = net_dev->dev.parent; in dpaa_netdev_init()
240 percpu_priv->net_dev = net_dev; in dpaa_netdev_init()
243 net_dev->netdev_ops = dpaa_ops; in dpaa_netdev_init()
246 net_dev->mem_start = priv->mac_dev->res->start; in dpaa_netdev_init()
247 net_dev->mem_end = priv->mac_dev->res->end; in dpaa_netdev_init()
249 net_dev->min_mtu = ETH_MIN_MTU; in dpaa_netdev_init()
250 net_dev->max_mtu = dpaa_get_max_mtu(); in dpaa_netdev_init()
252 net_dev->hw_features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in dpaa_netdev_init()
[all …]
Ddpaa_ethtool.c80 static int dpaa_get_link_ksettings(struct net_device *net_dev, in dpaa_get_link_ksettings() argument
83 if (!net_dev->phydev) in dpaa_get_link_ksettings()
86 phy_ethtool_ksettings_get(net_dev->phydev, cmd); in dpaa_get_link_ksettings()
91 static int dpaa_set_link_ksettings(struct net_device *net_dev, in dpaa_set_link_ksettings() argument
96 if (!net_dev->phydev) in dpaa_set_link_ksettings()
99 err = phy_ethtool_ksettings_set(net_dev->phydev, cmd); in dpaa_set_link_ksettings()
101 netdev_err(net_dev, "phy_ethtool_ksettings_set() = %d\n", err); in dpaa_set_link_ksettings()
106 static void dpaa_get_drvinfo(struct net_device *net_dev, in dpaa_get_drvinfo() argument
111 strlcpy(drvinfo->bus_info, dev_name(net_dev->dev.parent->parent), in dpaa_get_drvinfo()
115 static u32 dpaa_get_msglevel(struct net_device *net_dev) in dpaa_get_msglevel() argument
[all …]
/drivers/net/ethernet/sfc/falcon/
Defx.c218 netif_err(efx, drv, efx->net_dev, in ef4_check_disabled()
304 netif_vdbg(efx, intr, efx->net_dev, in ef4_poll()
341 netif_dbg(efx, probe, efx->net_dev, in ef4_probe_eventq()
361 netif_dbg(efx, drv, efx->net_dev, in ef4_init_eventq()
376 netif_dbg(channel->efx, ifup, channel->efx->net_dev, in ef4_start_eventq()
402 netif_dbg(channel->efx, drv, channel->efx->net_dev, in ef4_fini_eventq()
411 netif_dbg(channel->efx, drv, channel->efx->net_dev, in ef4_remove_eventq()
499 netif_dbg(channel->efx, probe, channel->efx->net_dev, in ef4_probe_channel()
574 netif_err(efx, probe, efx->net_dev, in ef4_probe_channels()
595 netdev_features_t old_features = efx->net_dev->features; in ef4_start_datapath()
[all …]
Dethtool.c90 static int ef4_ethtool_phys_id(struct net_device *net_dev, in ef4_ethtool_phys_id() argument
93 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_phys_id()
116 ef4_ethtool_get_link_ksettings(struct net_device *net_dev, in ef4_ethtool_get_link_ksettings() argument
119 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_link_ksettings()
140 ef4_ethtool_set_link_ksettings(struct net_device *net_dev, in ef4_ethtool_set_link_ksettings() argument
143 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_set_link_ksettings()
149 netif_dbg(efx, drv, efx->net_dev, in ef4_ethtool_set_link_ksettings()
160 static void ef4_ethtool_get_drvinfo(struct net_device *net_dev, in ef4_ethtool_get_drvinfo() argument
163 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_drvinfo()
170 static int ef4_ethtool_get_regs_len(struct net_device *net_dev) in ef4_ethtool_get_regs_len() argument
[all …]
Dselftest.c137 netif_dbg(efx, drv, efx->net_dev, "testing interrupts\n"); in ef4_test_interrupts()
142 netif_dbg(efx, drv, efx->net_dev, in ef4_test_interrupts()
152 netif_dbg(efx, drv, efx->net_dev, "waiting for test interrupt\n"); in ef4_test_interrupts()
161 netif_err(efx, drv, efx->net_dev, "timed out waiting for interrupt\n"); in ef4_test_interrupts()
165 netif_dbg(efx, drv, efx->net_dev, "%s test interrupt seen on CPU%d\n", in ef4_test_interrupts()
225 netif_dbg(efx, drv, efx->net_dev, in ef4_test_eventq_irq()
234 netif_err(efx, drv, efx->net_dev, in ef4_test_eventq_irq()
238 netif_err(efx, drv, efx->net_dev, in ef4_test_eventq_irq()
243 netif_err(efx, drv, efx->net_dev, in ef4_test_eventq_irq()
267 netif_info(efx, drv, efx->net_dev, in ef4_test_phy()
[all …]
/drivers/net/ethernet/broadcom/
Dbgmac.c136 struct net_device *net_dev = bgmac->net_dev; in bgmac_dma_tx_add() local
144 netdev_err(bgmac->net_dev, "Too long skb (%d)\n", skb->len); in bgmac_dma_tx_add()
157 netdev_err(bgmac->net_dev, "TX ring is full, queue should be stopped!\n"); in bgmac_dma_tx_add()
158 netif_stop_queue(net_dev); in bgmac_dma_tx_add()
192 netdev_sent_queue(net_dev, skb->len); in bgmac_dma_tx_add()
206 netif_stop_queue(net_dev); in bgmac_dma_tx_add()
224 netdev_err(bgmac->net_dev, "Mapping error of skb on ring 0x%X\n", in bgmac_dma_tx_add()
229 net_dev->stats.tx_dropped++; in bgmac_dma_tx_add()
230 net_dev->stats.tx_errors++; in bgmac_dma_tx_add()
269 bgmac->net_dev->stats.tx_bytes += slot->skb->len; in bgmac_dma_tx_free()
[all …]
/drivers/net/ethernet/qualcomm/
Dqca_spi.c88 netdev_dbg(qca->net_dev, "interrupts: 0x%04x\n", *intr_cause); in start_spi_intr_handling()
101 netdev_dbg(qca->net_dev, "acking int: 0x%04x\n", intr_cause); in end_spi_intr_handling()
281 struct net_device_stats *n_stats = &qca->net_dev->stats; in qcaspi_transmit()
323 netif_tx_lock_bh(qca->net_dev); in qcaspi_transmit()
331 if (netif_queue_stopped(qca->net_dev)) in qcaspi_transmit()
332 netif_wake_queue(qca->net_dev); in qcaspi_transmit()
333 netif_tx_unlock_bh(qca->net_dev); in qcaspi_transmit()
342 struct net_device *net_dev = qca->net_dev; in qcaspi_receive() local
343 struct net_device_stats *n_stats = &net_dev->stats; in qcaspi_receive()
350 qca->rx_skb = netdev_alloc_skb_ip_align(net_dev, in qcaspi_receive()
[all …]
Dqca_uart.c49 struct net_device *net_dev; member
67 struct net_device *netdev = qca->net_dev; in qca_tty_receive()
130 struct net_device_stats *n_stats = &qca->net_dev->stats; in qcauart_transmit()
136 if (!netif_running(qca->net_dev)) { in qcauart_transmit()
147 netif_wake_queue(qca->net_dev); in qcauart_transmit()
179 netif_start_queue(qca->net_dev); in qcauart_netdev_open()
213 netdev_warn(qca->net_dev, "xmit: iface is down\n"); in qcauart_netdev_xmit()
234 netif_stop_queue(qca->net_dev); in qcauart_netdev_xmit()
255 netdev_info(qca->net_dev, "Transmit timeout at %ld, latency %ld\n", in qcauart_netdev_tx_timeout()
275 qca->rx_skb = netdev_alloc_skb_ip_align(qca->net_dev, in qcauart_netdev_init()
[all …]
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c54 if (!(priv->net_dev->features & NETIF_F_RXCSUM)) in dpaa2_eth_validate_rx_csum()
73 struct device *dev = priv->net_dev->dev.parent; in dpaa2_eth_free_rx_fd()
133 struct device *dev = priv->net_dev->dev.parent; in dpaa2_eth_build_frag_skb()
214 struct device *dev = priv->net_dev->dev.parent; in dpaa2_eth_free_bufs()
380 trace_xdp_exception(priv->net_dev, xdp_prog, xdp_act); in dpaa2_eth_run_xdp()
387 dma_unmap_page(priv->net_dev->dev.parent, addr, in dpaa2_eth_run_xdp()
395 err = xdp_do_redirect(priv->net_dev, &xdp, xdp_prog); in dpaa2_eth_run_xdp()
397 addr = dma_map_page(priv->net_dev->dev.parent, in dpaa2_eth_run_xdp()
400 if (unlikely(dma_mapping_error(priv->net_dev->dev.parent, addr))) { in dpaa2_eth_run_xdp()
459 struct device *dev = priv->net_dev->dev.parent; in dpaa2_eth_rx()
[all …]
Ddpaa2-ethtool.c70 static void dpaa2_eth_get_drvinfo(struct net_device *net_dev, in dpaa2_eth_get_drvinfo() argument
73 struct dpaa2_eth_priv *priv = netdev_priv(net_dev); in dpaa2_eth_get_drvinfo()
80 strscpy(drvinfo->bus_info, dev_name(net_dev->dev.parent->parent), in dpaa2_eth_get_drvinfo()
84 static int dpaa2_eth_nway_reset(struct net_device *net_dev) in dpaa2_eth_nway_reset() argument
86 struct dpaa2_eth_priv *priv = netdev_priv(net_dev); in dpaa2_eth_nway_reset()
95 dpaa2_eth_get_link_ksettings(struct net_device *net_dev, in dpaa2_eth_get_link_ksettings() argument
98 struct dpaa2_eth_priv *priv = netdev_priv(net_dev); in dpaa2_eth_get_link_ksettings()
113 dpaa2_eth_set_link_ksettings(struct net_device *net_dev, in dpaa2_eth_set_link_ksettings() argument
116 struct dpaa2_eth_priv *priv = netdev_priv(net_dev); in dpaa2_eth_set_link_ksettings()
124 static void dpaa2_eth_get_pauseparam(struct net_device *net_dev, in dpaa2_eth_get_pauseparam() argument
[all …]
Ddpaa2-eth-dcb.c6 static int dpaa2_eth_dcbnl_ieee_getpfc(struct net_device *net_dev, in dpaa2_eth_dcbnl_ieee_getpfc() argument
9 struct dpaa2_eth_priv *priv = netdev_priv(net_dev); in dpaa2_eth_dcbnl_ieee_getpfc()
52 netdev_err(priv->net_dev, in dpaa2_eth_set_pfc_cn()
61 static int dpaa2_eth_dcbnl_ieee_setpfc(struct net_device *net_dev, in dpaa2_eth_dcbnl_ieee_setpfc() argument
64 struct dpaa2_eth_priv *priv = netdev_priv(net_dev); in dpaa2_eth_dcbnl_ieee_setpfc()
81 netdev_warn(net_dev, "Pause support must be enabled in order for PFC to work!\n"); in dpaa2_eth_dcbnl_ieee_setpfc()
91 netdev_err(net_dev, "dpni_set_link_cfg failed\n"); in dpaa2_eth_dcbnl_ieee_setpfc()
108 static u8 dpaa2_eth_dcbnl_getdcbx(struct net_device *net_dev) in dpaa2_eth_dcbnl_getdcbx() argument
110 struct dpaa2_eth_priv *priv = netdev_priv(net_dev); in dpaa2_eth_dcbnl_getdcbx()
115 static u8 dpaa2_eth_dcbnl_setdcbx(struct net_device *net_dev, u8 mode) in dpaa2_eth_dcbnl_setdcbx() argument
[all …]

12345