Home
last modified time | relevance | path

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

12345678

/openbmc/linux/drivers/net/ethernet/sis/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.h14 void efx_siena_ethtool_get_drvinfo(struct net_device *net_dev,
16 u32 efx_siena_ethtool_get_msglevel(struct net_device *net_dev);
17 void efx_siena_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable);
18 void efx_siena_ethtool_self_test(struct net_device *net_dev,
20 void efx_siena_ethtool_get_pauseparam(struct net_device *net_dev,
22 int efx_siena_ethtool_set_pauseparam(struct net_device *net_dev,
24 int efx_siena_ethtool_get_sset_count(struct net_device *net_dev, int string_set);
25 void efx_siena_ethtool_get_strings(struct net_device *net_dev, u32 string_set,
27 void efx_siena_ethtool_get_stats(struct net_device *net_dev,
30 int efx_siena_ethtool_get_link_ksettings(struct net_device *net_dev,
[all …]
H A Defx.c131 netif_dbg(efx, probe, efx->net_dev, "create port\n"); in efx_probe_port()
142 eth_hw_addr_set(efx->net_dev, efx->net_dev->perm_addr); in efx_probe_port()
151 netif_dbg(efx, drv, efx->net_dev, "init port\n"); in efx_init_port()
172 netif_dbg(efx, drv, efx->net_dev, "shut down port\n"); in efx_fini_port()
185 netif_dbg(efx, drv, efx->net_dev, "destroying port\n"); in efx_remove_port()
213 netif_dbg(efx, probe, efx->net_dev, "adding to primary list\n"); in efx_associate()
220 netif_dbg(other, probe, other->net_dev, in efx_associate()
223 efx->net_dev->name); in efx_associate()
234 netif_dbg(efx, probe, efx->net_dev, in efx_associate()
237 other->net_dev->name); in efx_associate()
[all …]
H A Defx_common.c168 int efx_siena_set_mac_address(struct net_device *net_dev, void *data) in efx_siena_set_mac_address() argument
170 struct efx_nic *efx = netdev_priv(net_dev); in efx_siena_set_mac_address()
177 netif_err(efx, drv, efx->net_dev, in efx_siena_set_mac_address()
184 ether_addr_copy(old_addr, net_dev->dev_addr); in efx_siena_set_mac_address()
185 eth_hw_addr_set(net_dev, new_addr); in efx_siena_set_mac_address()
189 eth_hw_addr_set(net_dev, old_addr); in efx_siena_set_mac_address()
203 void efx_siena_set_rx_mode(struct net_device *net_dev) in efx_siena_set_rx_mode() argument
205 struct efx_nic *efx = netdev_priv(net_dev); in efx_siena_set_rx_mode()
212 int efx_siena_set_features(struct net_device *net_dev, netdev_features_t data) in efx_siena_set_features() argument
214 struct efx_nic *efx = netdev_priv(net_dev); in efx_siena_set_features()
[all …]
H A 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_siena_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 …]
H A Dsriov.h15 int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac) in efx_sriov_set_vf_mac() argument
17 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_set_vf_mac()
26 int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan, in efx_sriov_set_vf_vlan() argument
29 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_set_vf_vlan()
46 int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, in efx_sriov_set_vf_spoofchk() argument
49 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_set_vf_spoofchk()
58 int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i, in efx_sriov_get_vf_config() argument
61 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_get_vf_config()
70 int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i, in efx_sriov_set_vf_link_state() argument
73 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_set_vf_link_state()
/openbmc/linux/drivers/net/ethernet/sfc/
H A 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 …]
H A Def100_netdev.c32 strcpy(efx->name, efx->net_dev->name); in ef100_update_name()
77 netif_err(efx, probe, efx->net_dev, in ef100_remap_bar()
91 static int ef100_net_stop(struct net_device *net_dev) in ef100_net_stop() argument
93 struct efx_nic *efx = efx_netdev_priv(net_dev); in ef100_net_stop()
95 netif_dbg(efx, ifdown, efx->net_dev, "closing on CPU %d\n", in ef100_net_stop()
99 netif_stop_queue(net_dev); in ef100_net_stop()
117 static int ef100_net_open(struct net_device *net_dev) in ef100_net_open() argument
119 struct efx_nic *efx = efx_netdev_priv(net_dev); in ef100_net_open()
124 netif_dbg(efx, ifup, net_dev, "opening device on CPU %d\n", in ef100_net_open()
222 if (netif_running(efx->net_dev)) in ef100_net_open()
[all …]
H A Dtc_bindings.c74 int efx_tc_setup_block(struct net_device *net_dev, struct efx_nic *efx, in efx_tc_setup_block() argument
89 binding = efx_tc_create_binding(efx, efv, net_dev, tcb->block); in efx_tc_setup_block()
95 netif_dbg(efx, drv, efx->net_dev, in efx_tc_setup_block()
97 net_dev == efx->net_dev ? "" : in efx_tc_setup_block()
99 net_dev ? net_dev->name : NULL, rc); in efx_tc_setup_block()
108 binding = efx_tc_find_binding(efx, net_dev); in efx_tc_setup_block()
115 netif_dbg(efx, drv, efx->net_dev, in efx_tc_setup_block()
117 net_dev == efx->net_dev ? "" : in efx_tc_setup_block()
119 net_dev ? net_dev->name : NULL); in efx_tc_setup_block()
128 netif_cond_dbg(efx, drv, efx->net_dev, in efx_tc_setup_block()
[all …]
H A Defx.c121 netif_dbg(efx, probe, efx->net_dev, "create port\n"); in efx_probe_port()
132 eth_hw_addr_set(efx->net_dev, efx->net_dev->perm_addr); in efx_probe_port()
141 netif_dbg(efx, drv, efx->net_dev, "init port\n"); in efx_init_port()
162 netif_dbg(efx, drv, efx->net_dev, "shut down port\n"); in efx_fini_port()
175 netif_dbg(efx, drv, efx->net_dev, "destroying port\n"); in efx_remove_port()
203 netif_dbg(efx, probe, efx->net_dev, "adding to primary list\n"); in efx_associate()
210 netif_dbg(other, probe, other->net_dev, in efx_associate()
213 efx->net_dev->name); in efx_associate()
224 netif_dbg(efx, probe, efx->net_dev, in efx_associate()
227 other->net_dev->name); in efx_associate()
[all …]
H A Def100_rep.c44 static int efx_ef100_rep_open(struct net_device *net_dev) in efx_ef100_rep_open() argument
46 struct efx_rep *efv = netdev_priv(net_dev); in efx_ef100_rep_open()
48 netif_napi_add(net_dev, &efv->napi, efx_ef100_rep_poll); in efx_ef100_rep_open()
53 static int efx_ef100_rep_close(struct net_device *net_dev) in efx_ef100_rep_close() argument
55 struct efx_rep *efv = netdev_priv(net_dev); in efx_ef100_rep_close()
75 netif_tx_lock(efx->net_dev); in efx_ef100_rep_xmit()
77 netif_tx_unlock(efx->net_dev); in efx_ef100_rep_xmit()
112 static int efx_ef100_rep_setup_tc(struct net_device *net_dev, in efx_ef100_rep_setup_tc() argument
115 struct efx_rep *efv = netdev_priv(net_dev); in efx_ef100_rep_setup_tc()
119 return efx_tc_flower(efx, net_dev, type_data, efv); in efx_ef100_rep_setup_tc()
[all …]
H A Dethtool.c33 static int efx_ethtool_phys_id(struct net_device *net_dev, in efx_ethtool_phys_id() argument
36 struct efx_nic *efx = 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(efx_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 = 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 = 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 = efx_netdev_priv(net_dev); in efx_ethtool_set_coalesce()
[all …]
H A Defx_common.c164 int efx_set_mac_address(struct net_device *net_dev, void *data) in efx_set_mac_address() argument
166 struct efx_nic *efx = efx_netdev_priv(net_dev); in efx_set_mac_address()
173 netif_err(efx, drv, efx->net_dev, in efx_set_mac_address()
180 ether_addr_copy(old_addr, net_dev->dev_addr); in efx_set_mac_address()
181 eth_hw_addr_set(net_dev, new_addr); in efx_set_mac_address()
185 eth_hw_addr_set(net_dev, old_addr); in efx_set_mac_address()
199 void efx_set_rx_mode(struct net_device *net_dev) in efx_set_rx_mode() argument
201 struct efx_nic *efx = efx_netdev_priv(net_dev); in efx_set_rx_mode()
208 int efx_set_features(struct net_device *net_dev, netdev_features_t data) in efx_set_features() argument
210 struct efx_nic *efx = efx_netdev_priv(net_dev); in efx_set_features()
[all …]
H A 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 = 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 = 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 = 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 = 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 = efx_netdev_priv(net_dev); in efx_sriov_set_vf_link_state()
/openbmc/linux/net/batman-adv/
H A Dhard-interface.c54 dev_put(hard_iface->net_dev); in batadv_hardif_release()
66 batadv_hardif_get_by_netdev(const struct net_device *net_dev) in batadv_hardif_get_by_netdev() argument
72 if (hard_iface->net_dev == net_dev && in batadv_hardif_get_by_netdev()
149 static bool batadv_is_on_batman_iface(const struct net_device *net_dev) in batadv_is_on_batman_iface() argument
151 struct net *net = dev_net(net_dev); in batadv_is_on_batman_iface()
158 if (batadv_softif_is_valid(net_dev)) in batadv_is_on_batman_iface()
161 iflink = dev_get_iflink(net_dev); in batadv_is_on_batman_iface()
165 parent_net = batadv_getlink_net(net_dev, net); in batadv_is_on_batman_iface()
168 if (net == parent_net && iflink == net_dev->ifindex) in batadv_is_on_batman_iface()
175 net_dev->name); in batadv_is_on_batman_iface()
[all …]
/openbmc/linux/drivers/net/ethernet/
H A Dlantiq_xrx200.c87 struct net_device *net_dev; member
147 static int xrx200_open(struct net_device *net_dev) in xrx200_open() argument
149 struct xrx200_priv *priv = netdev_priv(net_dev); in xrx200_open()
167 netif_wake_queue(net_dev); in xrx200_open()
172 static int xrx200_close(struct net_device *net_dev) in xrx200_close() argument
174 struct xrx200_priv *priv = netdev_priv(net_dev); in xrx200_close()
176 netif_stop_queue(net_dev); in xrx200_close()
227 struct net_device *net_dev = priv->net_dev; in xrx200_hw_receive() local
237 net_dev->stats.rx_dropped++; in xrx200_hw_receive()
238 netdev_err(net_dev, "failed to allocate new rx buffer\n"); in xrx200_hw_receive()
[all …]
H A 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 …]
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Defx.c212 netif_err(efx, drv, efx->net_dev, in ef4_check_disabled()
298 netif_vdbg(efx, intr, efx->net_dev, in ef4_poll()
335 netif_dbg(efx, probe, efx->net_dev, in ef4_probe_eventq()
355 netif_dbg(efx, drv, efx->net_dev, in ef4_init_eventq()
370 netif_dbg(channel->efx, ifup, channel->efx->net_dev, in ef4_start_eventq()
396 netif_dbg(channel->efx, drv, channel->efx->net_dev, in ef4_fini_eventq()
405 netif_dbg(channel->efx, drv, channel->efx->net_dev, in ef4_remove_eventq()
493 netif_dbg(channel->efx, probe, channel->efx->net_dev, in ef4_probe_channel()
568 netif_err(efx, probe, efx->net_dev, in ef4_probe_channels()
589 netdev_features_t old_features = efx->net_dev->features; in ef4_start_datapath()
[all …]
H A 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 …]
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.c203 static int dpaa_netdev_init(struct net_device *net_dev, in dpaa_netdev_init() argument
207 struct dpaa_priv *priv = netdev_priv(net_dev); in dpaa_netdev_init()
208 struct device *dev = net_dev->dev.parent; in dpaa_netdev_init()
219 percpu_priv->net_dev = net_dev; in dpaa_netdev_init()
222 net_dev->netdev_ops = dpaa_ops; in dpaa_netdev_init()
225 net_dev->mem_start = (unsigned long)priv->mac_dev->res->start; in dpaa_netdev_init()
226 net_dev->mem_end = (unsigned long)priv->mac_dev->res->end; in dpaa_netdev_init()
228 net_dev->min_mtu = ETH_MIN_MTU; in dpaa_netdev_init()
229 net_dev->max_mtu = dpaa_get_max_mtu(); in dpaa_netdev_init()
231 net_dev->hw_features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in dpaa_netdev_init()
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/qualcomm/
H A Dqca_spi.c89 netdev_dbg(qca->net_dev, "interrupts: 0x%04x\n", *intr_cause); in start_spi_intr_handling()
102 netdev_dbg(qca->net_dev, "acking int: 0x%04x\n", intr_cause); in end_spi_intr_handling()
282 struct net_device_stats *n_stats = &qca->net_dev->stats; in qcaspi_transmit()
324 netif_tx_lock_bh(qca->net_dev); in qcaspi_transmit()
332 if (netif_queue_stopped(qca->net_dev)) in qcaspi_transmit()
333 netif_wake_queue(qca->net_dev); in qcaspi_transmit()
334 netif_tx_unlock_bh(qca->net_dev); in qcaspi_transmit()
343 struct net_device *net_dev = qca->net_dev; in qcaspi_receive() local
344 struct net_device_stats *n_stats = &net_dev->stats; in qcaspi_receive()
351 qca->rx_skb = netdev_alloc_skb_ip_align(net_dev, in qcaspi_receive()
[all …]
/openbmc/linux/net/atm/
H A Dbr2684.c84 struct net_device *net_dev; member
103 static inline struct br2684_dev *BRPRIV(const struct net_device *net_dev) in BRPRIV() argument
105 return netdev_priv(net_dev); in BRPRIV()
110 return list_entry(le, struct br2684_dev, br2684_devs)->net_dev; in list_entry_brdev()
127 struct net_device *net_dev; in br2684_find_dev() local
131 net_dev = list_entry_brdev(lh); in br2684_find_dev()
132 if (BRPRIV(net_dev)->number == s->spec.devnum) in br2684_find_dev()
133 return net_dev; in br2684_find_dev()
138 net_dev = list_entry_brdev(lh); in br2684_find_dev()
139 if (!strncmp(net_dev->name, s->spec.ifname, IFNAMSIZ)) in br2684_find_dev()
[all …]
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.c78 struct device *dev = priv->net_dev->dev.parent; in dpaa2_ptp_onestep_reg_update_method()
124 if (!(priv->net_dev->features & NETIF_F_RXCSUM)) in dpaa2_eth_validate_rx_csum()
143 struct device *dev = priv->net_dev->dev.parent; in dpaa2_eth_free_rx_fd()
203 struct device *dev = priv->net_dev->dev.parent; in dpaa2_eth_build_frag_skb()
284 struct device *dev = priv->net_dev->dev.parent; in dpaa2_eth_free_bufs()
458 bpf_warn_invalid_xdp_action(priv->net_dev, xdp_prog, xdp_act); in dpaa2_eth_run_xdp()
461 trace_xdp_exception(priv->net_dev, xdp_prog, xdp_act); in dpaa2_eth_run_xdp()
468 dma_unmap_page(priv->net_dev->dev.parent, addr, in dpaa2_eth_run_xdp()
476 err = xdp_do_redirect(priv->net_dev, &xdp, xdp_prog); in dpaa2_eth_run_xdp()
478 addr = dma_map_page(priv->net_dev->dev.parent, in dpaa2_eth_run_xdp()
[all …]
H A 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 …]

12345678