/linux-master/drivers/net/ethernet/engleder/ |
H A D | tsnep_ptp.c | 22 int tsnep_ptp_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument 24 struct tsnep_adapter *adapter = netdev_priv(netdev); 229 netdev_err(adapter->netdev, "ptp_clock_register failed\n"); 234 netdev_info(adapter->netdev, "PHC added\n"); 244 netdev_info(adapter->netdev, "PHC removed\n");
|
H A D | tsnep_rxnfc.c | 186 struct net_device *dev = adapter->netdev; 204 struct net_device *netdev = adapter->netdev; local 215 netdev_dbg(netdev, "only ethernet protocol is supported\n"); 222 netdev_dbg(netdev, "invalid action\n"); 229 netdev_dbg(netdev, "invalid location\n");
|
H A D | tsnep_selftests.c | 316 retval = tsnep_tc_setup(adapter->netdev, TC_SETUP_QDISC_TAPRIO, qopt); 333 retval = tsnep_tc_setup(adapter->netdev, TC_SETUP_QDISC_TAPRIO, &qopt); 767 void tsnep_ethtool_self_test(struct net_device *netdev, argument 770 struct tsnep_adapter *adapter = netdev_priv(netdev);
|
H A D | tsnep_tc.c | 427 int tsnep_tc_setup(struct net_device *netdev, enum tc_setup_type type, argument 430 struct tsnep_adapter *adapter = netdev_priv(netdev);
|
H A D | tsnep_xdp.c | 34 netdev_err(adapter->netdev, 43 netdev_err(adapter->netdev, "failed to map XSK pool\n"); 67 pool = xsk_get_pool_from_qid(adapter->netdev, queue_id);
|
/linux-master/drivers/net/ethernet/ |
H A D | ethoc.c | 188 * @netdev: pointer to network device structure 213 struct net_device *netdev; member in struct:ethoc 376 struct net_device *netdev = dev->netdev; local 380 dev_err(&netdev->dev, "RX: frame too long\n"); 381 netdev->stats.rx_length_errors++; 386 dev_err(&netdev->dev, "RX: frame too short\n"); 387 netdev->stats.rx_length_errors++; 392 dev_err(&netdev->dev, "RX: dribble nibble\n"); 393 netdev 482 struct net_device *netdev = dev->netdev; local 930 ethoc_get_regs_len(struct net_device *netdev) argument 1026 struct net_device *netdev = NULL; local 1259 struct net_device *netdev = platform_get_drvdata(pdev); local [all...] |
/linux-master/drivers/net/ethernet/faraday/ |
H A D | ftgmac100.c | 84 struct net_device *netdev; member in struct:ftgmac100 116 struct net_device *netdev = priv->netdev; local 133 netdev_err(netdev, "Hardware reset failed\n"); 154 netdev_err(priv->netdev, "Unknown speed %d !\n", 187 err = of_get_ethdev_address(priv->dev->of_node, priv->netdev); 192 priv->netdev->dev_addr); 207 eth_hw_addr_set(priv->netdev, mac); 210 eth_hw_addr_random(priv->netdev); 212 priv->netdev 368 ftgmac100_set_rx_mode(struct net_device *netdev) argument 390 struct net_device *netdev = priv->netdev; local 440 struct net_device *netdev = priv->netdev; local 456 struct net_device *netdev = priv->netdev; local 640 struct net_device *netdev = priv->netdev; local 666 struct net_device *netdev = priv->netdev; local 708 ftgmac100_hard_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument 1000 struct net_device *netdev = bus->priv; local 1036 struct net_device *netdev = bus->priv; local 1069 ftgmac100_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) argument 1077 ftgmac100_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ering, struct kernel_ethtool_ringparam *kernel_ering, struct netlink_ext_ack *extack) argument 1092 ftgmac100_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ering, struct kernel_ethtool_ringparam *kernel_ering, struct netlink_ext_ack *extack) argument 1115 ftgmac100_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) argument 1125 ftgmac100_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) argument 1160 struct net_device *netdev = dev_id; local 1310 struct net_device *netdev = priv->netdev; local 1363 ftgmac100_adjust_link(struct net_device *netdev) argument 1424 ftgmac100_mii_probe(struct net_device *netdev) argument 1483 ftgmac100_open(struct net_device *netdev) argument 1560 ftgmac100_stop(struct net_device *netdev) argument 1591 ftgmac100_tx_timeout(struct net_device *netdev, unsigned int txqueue) argument 1602 ftgmac100_set_features(struct net_device *netdev, netdev_features_t features) argument 1627 ftgmac100_poll_controller(struct net_device *netdev) argument 1654 ftgmac100_setup_mdio(struct net_device *netdev) argument 1708 ftgmac100_phy_disconnect(struct net_device *netdev) argument 1720 ftgmac100_destroy_mdio(struct net_device *netdev) argument 1794 struct net_device *netdev; local 2017 struct net_device *netdev; local [all...] |
H A D | ftmac100.c | 66 struct net_device *netdev; member in struct:ftmac100 116 struct net_device *netdev = priv->netdev; local 139 netdev_err(netdev, "software reset failed\n"); 157 netdev_for_each_mc_addr(ha, priv->netdev) { 169 struct net_device *netdev = priv->netdev; local 176 if (netdev->flags & IFF_PROMISC) 178 if (netdev->flags & IFF_ALLMULTI) 180 else if (netdev_mc_count(netdev)) { 197 struct net_device *netdev = priv->netdev; local 359 struct net_device *netdev = priv->netdev; local 402 struct net_device *netdev = priv->netdev; local 423 struct net_device *netdev = priv->netdev; local 612 struct net_device *netdev = priv->netdev; local 664 struct net_device *netdev = priv->netdev; local 699 struct net_device *netdev = priv->netdev; local 789 ftmac100_mdio_read(struct net_device *netdev, int phy_id, int reg) argument 814 ftmac100_mdio_write(struct net_device *netdev, int phy_id, int reg, int data) argument 845 ftmac100_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) argument 852 ftmac100_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) argument 862 ftmac100_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *cmd) argument 869 ftmac100_nway_reset(struct net_device *netdev) argument 875 ftmac100_get_link(struct net_device *netdev) argument 894 struct net_device *netdev = dev_id; local 911 struct net_device *netdev = priv->netdev; local 985 ftmac100_open(struct net_device *netdev) argument 1026 ftmac100_stop(struct net_device *netdev) argument 1041 ftmac100_hard_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument 1070 ftmac100_do_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument 1078 ftmac100_change_mtu(struct net_device *netdev, int mtu) argument 1100 ftmac100_set_rx_mode(struct net_device *netdev) argument 1127 struct net_device *netdev; local 1224 struct net_device *netdev; local [all...] |
/linux-master/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth_trace.h | 31 TP_PROTO(struct net_device *netdev, 36 TP_ARGS(netdev, fq, fd), 49 __string(name, netdev->name) 60 __assign_str(name, netdev->name); 77 TP_PROTO(struct net_device *netdev, 81 TP_ARGS(netdev, fq, fd) 87 TP_PROTO(struct net_device *netdev, 91 TP_ARGS(netdev, fq, fd) 97 TP_PROTO(struct net_device *netdev, 101 TP_ARGS(netdev, f [all...] |
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth-trace.h | 26 TP_PROTO(struct net_device *netdev, 30 TP_ARGS(netdev, fd), 41 __string(name, netdev->name) 51 __assign_str(name, netdev->name); 70 TP_PROTO(struct net_device *netdev, 73 TP_ARGS(netdev, fd) 78 TP_PROTO(struct net_device *netdev, 81 TP_ARGS(netdev, fd) 86 TP_PROTO(struct net_device *netdev, 89 TP_ARGS(netdev, f [all...] |
H A D | dpaa2-ethtool.c | 217 static void dpaa2_eth_get_strings(struct net_device *netdev, u32 stringset, argument
|
H A D | dpaa2-switch-ethtool.c | 34 static void dpaa2_switch_get_drvinfo(struct net_device *netdev, argument 37 struct ethsw_port_priv *port_priv = netdev_priv(netdev); 53 strscpy(drvinfo->bus_info, dev_name(netdev->dev.parent->parent), 58 dpaa2_switch_get_link_ksettings(struct net_device *netdev, argument 61 struct ethsw_port_priv *port_priv = netdev_priv(netdev); 81 netdev_err(netdev, "ERROR %d getting link state\n", err); 100 dpaa2_switch_set_link_ksettings(struct net_device *netdev, argument 103 struct ethsw_port_priv *port_priv = netdev_priv(netdev); 121 if_running = netif_running(netdev); 127 netdev_err(netdev, "dpsw_if_disabl 160 dpaa2_switch_ethtool_get_sset_count(struct net_device *netdev, int sset) argument 170 dpaa2_switch_ethtool_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument 188 dpaa2_switch_ethtool_get_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument [all...] |
H A D | dpaa2-switch.c | 97 if (other_dev == port_priv->netdev) 211 struct net_device *netdev = port_priv->netdev; local 219 netdev_err(netdev, "dpsw_if_get_link_state() err %d\n", err); 231 struct net_device *netdev = port_priv->netdev; local 239 netdev_err(netdev, "dpsw_if_get_tci err %d\n", err); 252 netdev_err(netdev, "dpsw_if_disable err %d\n", err); 260 netdev_err(netdev, "dpsw_if_set_tci err %d\n", err); 275 netdev_err(netdev, "dpsw_if_enabl 287 struct net_device *netdev = port_priv->netdev; local 492 dpaa2_switch_port_get_stats(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument 558 dpaa2_switch_port_has_offload_stats(const struct net_device *netdev, int attr_id) argument 564 dpaa2_switch_port_get_offload_stats(int attr_id, const struct net_device *netdev, void *sp) argument 577 dpaa2_switch_port_change_mtu(struct net_device *netdev, int mtu) argument 597 dpaa2_switch_port_link_state_update(struct net_device *netdev) argument 683 dpaa2_switch_port_open(struct net_device *netdev) argument 719 dpaa2_switch_port_stop(struct net_device *netdev) argument 760 dpaa2_switch_port_get_phys_name(struct net_device *netdev, char *name, size_t len) argument 946 dpaa2_switch_port_vlan_add(struct net_device *netdev, __be16 proto, u16 vid) argument 960 dpaa2_switch_port_vlan_kill(struct net_device *netdev, __be16 proto, u16 vid) argument 1194 struct net_device *netdev = port_priv->netdev; local 1221 struct net_device *netdev = port_priv->netdev; local 1307 dpaa2_switch_setup_tc_block_bind(struct net_device *netdev, struct flow_block_offload *f) argument 1357 dpaa2_switch_setup_tc_block_unbind(struct net_device *netdev, struct flow_block_offload *f) argument 1380 dpaa2_switch_setup_tc_block(struct net_device *netdev, struct flow_block_offload *f) argument 1399 dpaa2_switch_port_setup_tc(struct net_device *netdev, enum tc_setup_type type, void *type_data) argument 1433 dpaa2_switch_port_dev_check(const struct net_device *netdev) argument 1647 dpaa2_switch_port_attr_stp_state_set(struct net_device *netdev, u8 state) argument 1687 dpaa2_switch_port_pre_bridge_flags(struct net_device *netdev, struct switchdev_brport_flags flags, struct netlink_ext_ack *extack) argument 1709 dpaa2_switch_port_bridge_flags(struct net_device *netdev, struct switchdev_brport_flags flags, struct netlink_ext_ack *extack) argument 1734 dpaa2_switch_port_attr_set(struct net_device *netdev, const void *ctx, const struct switchdev_attr *attr, struct netlink_ext_ack *extack) argument 1766 dpaa2_switch_port_vlans_add(struct net_device *netdev, const struct switchdev_obj_port_vlan *vlan) argument 1814 dpaa2_switch_port_lookup_address(struct net_device *netdev, int is_uc, const unsigned char *addr) argument 1831 dpaa2_switch_port_mdb_add(struct net_device *netdev, const struct switchdev_obj_port_mdb *mdb) argument 1854 dpaa2_switch_port_obj_add(struct net_device *netdev, const struct switchdev_obj *obj) argument 1879 struct net_device *netdev = port_priv->netdev; local 1939 dpaa2_switch_port_vlans_del(struct net_device *netdev, const struct switchdev_obj_port_vlan *vlan) argument 1950 dpaa2_switch_port_mdb_del(struct net_device *netdev, const struct switchdev_obj_port_mdb *mdb) argument 1972 dpaa2_switch_port_obj_del(struct net_device *netdev, const struct switchdev_obj *obj) argument 1991 dpaa2_switch_port_attr_set_event(struct net_device *netdev, struct switchdev_notifier_port_attr_info *ptr) argument 2002 dpaa2_switch_port_bridge_join(struct net_device *netdev, struct net_device *upper_dev, struct netlink_ext_ack *extack) argument 2067 dpaa2_switch_port_pre_bridge_leave(struct net_device *netdev) argument 2072 dpaa2_switch_port_bridge_leave(struct net_device *netdev) argument 2130 dpaa2_switch_prevent_bridging_with_8021q_upper(struct net_device *netdev) argument 2146 dpaa2_switch_prechangeupper_sanity_checks(struct net_device *netdev, struct net_device *upper_dev, struct netlink_ext_ack *extack) argument 2183 dpaa2_switch_port_prechangeupper(struct net_device *netdev, struct netdev_notifier_changeupper_info *info) argument 2209 dpaa2_switch_port_changeupper(struct net_device *netdev, struct netdev_notifier_changeupper_info *info) argument 2236 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); local 2360 dpaa2_switch_port_obj_event(unsigned long event, struct net_device *netdev, struct switchdev_notifier_port_obj_info *port_obj_info) argument 2439 struct net_device *netdev; local 3152 struct net_device *netdev = port_priv->netdev; local [all...] |
H A D | dpaa2-switch.h | 147 struct net_device *netdev; member in struct:ethsw_port_priv 196 struct net_device *netdev) 201 if (ethsw->ports[i]->netdev == netdev) 243 bool dpaa2_switch_port_dev_check(const struct net_device *netdev); 245 int dpaa2_switch_port_vlans_add(struct net_device *netdev, 248 int dpaa2_switch_port_vlans_del(struct net_device *netdev, 195 dpaa2_switch_get_index(struct ethsw_core *ethsw, struct net_device *netdev) argument
|
/linux-master/drivers/net/ethernet/freescale/ |
H A D | fec.h | 603 struct net_device *netdev; member in struct:fec_enet_private
|
H A D | fec_main.c | 489 err = xdp_rxq_info_reg(&rxq->xdp_rxq, fep->netdev, rxq->id, 0); 1382 struct net_device *ndev = fep->netdev; 1618 err = xdp_do_redirect(fep->netdev, xdp, prog); 1637 bpf_warn_invalid_xdp_action(fep->netdev, prog, act); 1650 trace_xdp_exception(fep->netdev, prog, act); 2058 * If the netdev is down, or is going down, we're not interested 2146 netdev_err(fep->netdev, "MDIO read timeout\n"); 2181 netdev_err(fep->netdev, "MDIO address write timeout\n"); 2195 netdev_err(fep->netdev, "MDIO read timeout\n"); 2232 netdev_err(fep->netdev, "MDI 2985 fec_enet_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument 3677 fec_enet_set_netdev_features(struct net_device *netdev, netdev_features_t features) argument 3694 fec_set_features(struct net_device *netdev, netdev_features_t features) argument [all...] |
H A D | gianfar.c | 2072 static int gfar_hwtstamp_set(struct net_device *netdev, struct ifreq *ifr) argument 2075 struct gfar_private *priv = netdev_priv(netdev); 2097 reset_gfar(netdev); 2105 reset_gfar(netdev); 2115 static int gfar_hwtstamp_get(struct net_device *netdev, struct ifreq *ifr) argument 2118 struct gfar_private *priv = netdev_priv(netdev);
|
H A D | ucc_geth.h | 1225 void uec_set_ethtool_ops(struct net_device *netdev);
|
H A D | ucc_geth_ethtool.c | 104 uec_get_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) argument 106 struct ucc_geth_private *ugeth = netdev_priv(netdev); 118 uec_set_ksettings(struct net_device *netdev, argument 121 struct ucc_geth_private *ugeth = netdev_priv(netdev); 131 uec_get_pauseparam(struct net_device *netdev, argument 134 struct ucc_geth_private *ugeth = netdev_priv(netdev); 145 uec_set_pauseparam(struct net_device *netdev, argument 148 struct ucc_geth_private *ugeth = netdev_priv(netdev); 155 if (netif_running(netdev)) { 157 netdev_info(netdev, "Pleas 176 uec_get_msglevel(struct net_device *netdev) argument 183 uec_set_msglevel(struct net_device *netdev, uint32_t data) argument 190 uec_get_regs_len(struct net_device *netdev) argument 196 uec_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) argument 209 uec_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument 230 uec_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument 264 uec_get_sset_count(struct net_device *netdev, int sset) argument 286 uec_get_strings(struct net_device *netdev, u32 stringset, u8 *buf) argument 306 uec_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, uint64_t *data) argument 337 uec_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument 346 uec_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 359 uec_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 404 uec_set_ethtool_ops(struct net_device *netdev) argument [all...] |
/linux-master/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth.h | 85 struct net_device *netdev; member in struct:funeth_priv 158 void fun_set_ethtool_ops(struct net_device *netdev); 166 void fun_set_ring_count(struct net_device *netdev, unsigned int ntx,
|
H A D | funeth_ethtool.c | 203 static int fun_get_link_ksettings(struct net_device *netdev, argument 206 const struct funeth_priv *fp = netdev_priv(netdev); 218 link_up = netif_carrier_ok(netdev); 316 static int fun_set_link_ksettings(struct net_device *netdev, argument 320 struct funeth_priv *fp = netdev_priv(netdev); 354 static void fun_get_pauseparam(struct net_device *netdev, argument 357 const struct funeth_priv *fp = netdev_priv(netdev); 365 static int fun_set_pauseparam(struct net_device *netdev, argument 368 struct funeth_priv *fp = netdev_priv(netdev); 392 static int fun_restart_an(struct net_device *netdev) argument 403 fun_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) argument 419 fun_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) argument 428 fun_get_msglevel(struct net_device *netdev) argument 435 fun_set_msglevel(struct net_device *netdev, u32 value) argument 465 fun_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kcoal, struct netlink_ext_ack *ext_ack) argument 480 fun_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kcoal, struct netlink_ext_ack *ext_ack) argument 524 fun_get_channels(struct net_device *netdev, struct ethtool_channels *chan) argument 534 fun_set_channels(struct net_device *netdev, struct ethtool_channels *chan) argument 552 fun_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kring, struct netlink_ext_ack *extack) argument 573 fun_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kring, struct netlink_ext_ack *extack) argument 637 fun_get_strings(struct net_device *netdev, u32 sset, u8 *data) argument 747 fun_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument 847 fun_get_pause_stats(struct net_device *netdev, struct ethtool_pause_stats *stats) argument 859 fun_get_802_3_stats(struct net_device *netdev, struct ethtool_eth_mac_stats *stats) argument 876 fun_get_802_3_ctrl_stats(struct net_device *netdev, struct ethtool_eth_ctrl_stats *stats) argument 888 fun_get_rmon_stats(struct net_device *netdev, struct ethtool_rmon_stats *stats, const struct ethtool_rmon_hist_range **ranges) argument 932 fun_get_fec_stats(struct net_device *netdev, struct ethtool_fec_stats *stats) argument 948 fun_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 *rule_locs) argument 961 fun_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info) argument 966 fun_get_rxfh_indir_size(struct net_device *netdev) argument 973 fun_get_rxfh_key_size(struct net_device *netdev) argument 980 fun_get_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh) argument 1001 fun_set_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh, struct netlink_ext_ack *extack) argument 1042 fun_get_ts_info(struct net_device *netdev, struct ethtool_ts_info *info) argument 1073 fun_get_fecparam(struct net_device *netdev, struct ethtool_fecparam *fec) argument 1089 fun_set_fecparam(struct net_device *netdev, struct ethtool_fecparam *fec) argument 1121 fun_get_port_module_page(struct net_device *netdev, const struct ethtool_module_eeprom *req, struct netlink_ext_ack *extack) argument 1195 fun_set_ethtool_ops(struct net_device *netdev) argument [all...] |
H A D | funeth_ktls.c | 18 static int fun_ktls_add(struct net_device *netdev, struct sock *sk, argument 23 struct funeth_priv *fp = netdev_priv(netdev); 71 static void fun_ktls_del(struct net_device *netdev, argument 75 struct funeth_priv *fp = netdev_priv(netdev); 95 static int fun_ktls_resync(struct net_device *netdev, struct sock *sk, u32 seq, argument 98 struct funeth_priv *fp = netdev_priv(netdev); 132 int fun_ktls_init(struct net_device *netdev) argument 134 struct funeth_priv *fp = netdev_priv(netdev); 137 rc = fun_admin_ktls_create(fp, netdev->dev_port); 141 fp->ktls_id = netdev [all...] |
H A D | funeth_ktls.h | 16 int fun_ktls_init(struct net_device *netdev); 21 static inline void fun_ktls_init(struct net_device *netdev) argument
|
H A D | funeth_main.c | 61 fp->netdev->dev_port); 97 fp->netdev->dev_port); 121 static void fun_report_link(struct net_device *netdev) argument 123 if (netif_carrier_ok(netdev)) { 124 const struct funeth_priv *fp = netdev_priv(netdev); 146 netdev_info(netdev, "Link up at %d %cb/s full-duplex%s%s\n", 149 netdev_info(netdev, "Link down\n"); 441 static void fun_free_rings(struct net_device *netdev, struct fun_qset *qset) argument 443 struct funeth_priv *fp = netdev_priv(netdev); 454 qset->nrxqs = netdev 479 fun_alloc_rings(struct net_device *netdev, struct fun_qset *qset) argument 562 fun_port_create(struct net_device *netdev) argument 588 fun_port_destroy(struct net_device *netdev) argument 834 funeth_open(struct net_device *netdev) argument 861 funeth_close(struct net_device *netdev) argument 869 fun_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument 923 fun_change_mtu(struct net_device *netdev, int new_mtu) argument 934 fun_set_macaddr(struct net_device *netdev, void *addr) argument 953 fun_get_port_attributes(struct net_device *netdev) argument 1462 fun_set_ring_count(struct net_device *netdev, unsigned int ntx, unsigned int nrx) argument 1501 fun_dl_port_register(struct net_device *netdev) argument 1710 struct net_device *netdev; local 1821 fun_destroy_netdev(struct net_device *netdev) argument 1886 struct net_device *netdev; local [all...] |
H A D | funeth_rx.c | 177 if (unlikely(xdp_do_redirect(q->netdev, &xdp, xdp_prog))) 183 bpf_warn_invalid_xdp_action(q->netdev, xdp_prog, act); 186 trace_xdp_exception(q->netdev, xdp_prog, act); 369 struct net_device *ndev = q->netdev; 434 if (likely((q->netdev->features & NETIF_F_RXHASH) && rxreq->hash)) 437 if (likely((q->netdev->features & NETIF_F_RXCSUM) && rxreq->csum)) { 442 if (unlikely(rx_hwtstamp_enabled(q->netdev))) 481 struct funeth_priv *fp = netdev_priv(q->netdev); 589 struct funeth_priv *fp = netdev_priv(q->netdev); 630 q->netdev [all...] |