Home
last modified time | relevance | path

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

12345

/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 …]
/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.c122 netif_dbg(efx, probe, efx->net_dev, "create port\n"); in efx_probe_port()
133 eth_hw_addr_set(efx->net_dev, efx->net_dev->perm_addr); in efx_probe_port()
142 netif_dbg(efx, drv, efx->net_dev, "init port\n"); in efx_init_port()
163 netif_dbg(efx, drv, efx->net_dev, "shut down port\n"); in efx_fini_port()
176 netif_dbg(efx, drv, efx->net_dev, "destroying port\n"); in efx_remove_port()
204 netif_dbg(efx, probe, efx->net_dev, "adding to primary list\n"); in efx_associate()
211 netif_dbg(other, probe, other->net_dev, in efx_associate()
214 efx->net_dev->name); in efx_associate()
225 netif_dbg(efx, probe, efx->net_dev, in efx_associate()
228 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 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()
H A Dselftest.c142 netif_dbg(efx, drv, efx->net_dev, "testing interrupts\n"); in efx_test_interrupts()
147 netif_dbg(efx, drv, efx->net_dev, in efx_test_interrupts()
157 netif_dbg(efx, drv, efx->net_dev, "waiting for test interrupt\n"); in efx_test_interrupts()
166 netif_err(efx, drv, efx->net_dev, "timed out waiting for interrupt\n"); in efx_test_interrupts()
170 netif_dbg(efx, drv, efx->net_dev, "%s test interrupt seen on CPU%d\n", in efx_test_interrupts()
230 netif_dbg(efx, drv, efx->net_dev, in efx_test_eventq_irq()
239 netif_err(efx, drv, efx->net_dev, in efx_test_eventq_irq()
243 netif_err(efx, drv, efx->net_dev, in efx_test_eventq_irq()
248 netif_err(efx, drv, efx->net_dev, in efx_test_eventq_irq()
269 netif_info(efx, drv, efx->net_dev, in efx_test_phy()
[all …]
H A Dtc_conntrack.c35 netif_err(efx, drv, efx->net_dev, in efx_tc_ct_zone_free()
48 netif_err(efx, drv, efx->net_dev, in efx_tc_ct_free()
118 netif_dbg(efx, drv, efx->net_dev, in efx_tc_ct_parse_match()
131 netif_dbg(efx, drv, efx->net_dev, in efx_tc_ct_parse_match()
142 netif_dbg(efx, drv, efx->net_dev, in efx_tc_ct_parse_match()
150 netif_dbg(efx, drv, efx->net_dev, in efx_tc_ct_parse_match()
156 netif_dbg(efx, drv, efx->net_dev, in efx_tc_ct_parse_match()
169 netif_dbg(efx, drv, efx->net_dev, in efx_tc_ct_parse_match()
175 netif_dbg(efx, drv, efx->net_dev, in efx_tc_ct_parse_match()
185 netif_dbg(efx, drv, efx->net_dev, in efx_tc_ct_parse_match()
[all …]
H A Dethtool_common.c103 void efx_ethtool_get_drvinfo(struct net_device *net_dev, in efx_ethtool_get_drvinfo() argument
106 struct efx_nic *efx = 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 = 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 = 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 = 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 …]
/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 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()
H A Dselftest.c143 netif_dbg(efx, drv, efx->net_dev, "testing interrupts\n"); in efx_test_interrupts()
148 netif_dbg(efx, drv, efx->net_dev, in efx_test_interrupts()
158 netif_dbg(efx, drv, efx->net_dev, "waiting for test interrupt\n"); in efx_test_interrupts()
167 netif_err(efx, drv, efx->net_dev, "timed out waiting for interrupt\n"); in efx_test_interrupts()
171 netif_dbg(efx, drv, efx->net_dev, "%s test interrupt seen on CPU%d\n", in efx_test_interrupts()
231 netif_dbg(efx, drv, efx->net_dev, in efx_test_eventq_irq()
240 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()
249 netif_err(efx, drv, efx->net_dev, in efx_test_eventq_irq()
270 netif_info(efx, drv, efx->net_dev, in efx_test_phy()
[all …]
/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 …]
H A Dselftest.c142 netif_dbg(efx, drv, efx->net_dev, "testing interrupts\n"); in ef4_test_interrupts()
147 netif_dbg(efx, drv, efx->net_dev, in ef4_test_interrupts()
157 netif_dbg(efx, drv, efx->net_dev, "waiting for test interrupt\n"); in ef4_test_interrupts()
166 netif_err(efx, drv, efx->net_dev, "timed out waiting for interrupt\n"); in ef4_test_interrupts()
170 netif_dbg(efx, drv, efx->net_dev, "%s test interrupt seen on CPU%d\n", in ef4_test_interrupts()
230 netif_dbg(efx, drv, efx->net_dev, in ef4_test_eventq_irq()
239 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()
248 netif_err(efx, drv, efx->net_dev, in ef4_test_eventq_irq()
272 netif_info(efx, drv, efx->net_dev, in ef4_test_phy()
[all …]
/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.c202 static int dpaa_netdev_init(struct net_device *net_dev, in dpaa_netdev_init() argument
206 struct dpaa_priv *priv = netdev_priv(net_dev); in dpaa_netdev_init()
207 struct device *dev = net_dev->dev.parent; in dpaa_netdev_init()
218 percpu_priv->net_dev = net_dev; in dpaa_netdev_init()
221 net_dev->netdev_ops = dpaa_ops; in dpaa_netdev_init()
224 net_dev->mem_start = (unsigned long)priv->mac_dev->res->start; in dpaa_netdev_init()
225 net_dev->mem_end = (unsigned long)priv->mac_dev->res->end; in dpaa_netdev_init()
227 net_dev->min_mtu = ETH_MIN_MTU; in dpaa_netdev_init()
228 net_dev->max_mtu = dpaa_get_max_mtu(); in dpaa_netdev_init()
230 net_dev->hw_features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in dpaa_netdev_init()
[all …]
/linux/drivers/net/ethernet/qualcomm/
H A Dqca_spi.c77 netdev_dbg(qca->net_dev, "interrupts: 0x%04x\n", *intr_cause); in start_spi_intr_handling()
90 netdev_dbg(qca->net_dev, "acking int: 0x%04x\n", intr_cause); in end_spi_intr_handling()
270 struct net_device_stats *n_stats = &qca->net_dev->stats; in qcaspi_transmit()
312 netif_tx_lock_bh(qca->net_dev); in qcaspi_transmit()
320 if (netif_queue_stopped(qca->net_dev)) in qcaspi_transmit()
321 netif_wake_queue(qca->net_dev); in qcaspi_transmit()
322 netif_tx_unlock_bh(qca->net_dev); in qcaspi_transmit()
331 struct net_device *net_dev = qca->net_dev; in qcaspi_receive() local
332 struct net_device_stats *n_stats = &net_dev->stats; in qcaspi_receive()
339 qca->rx_skb = netdev_alloc_skb_ip_align(net_dev, in qcaspi_receive()
[all …]
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_bond.c14 static struct hns_roce_dev *hns_roce_get_hrdev_by_netdev(struct net_device *net_dev) in hns_roce_get_hrdev_by_netdev() argument
17 ib_device_get_by_netdev(net_dev, RDMA_DRIVER_HNS); in hns_roce_get_hrdev_by_netdev()
25 static struct net_device *get_upper_dev_from_ndev(struct net_device *net_dev) in get_upper_dev_from_ndev() argument
30 upper_dev = netdev_master_upper_dev_get_rcu(net_dev); in get_upper_dev_from_ndev()
37 static int get_netdev_bond_slave_id(struct net_device *net_dev, in get_netdev_bond_slave_id() argument
43 if (net_dev == bond_grp->bond_func_info[i].net_dev) in get_netdev_bond_slave_id()
49 struct hns_roce_bond_group *hns_roce_get_bond_grp(struct net_device *net_dev, in hns_roce_get_bond_grp() argument
64 if (get_netdev_bond_slave_id(net_dev, bond_grp) >= 0) in hns_roce_get_bond_grp()
67 upper_dev = get_upper_dev_from_ndev(net_dev); in hns_roce_get_bond_grp()
93 active_dev = bond_grp->bond_func_info[i].net_dev; in hns_roce_set_bond_netdev()
[all …]
/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 …]
/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 …]

12345