Searched refs:netdev (Results 176 - 200 of 972) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_rx.c102 struct net_device *netdev = rxq->netdev; local
107 if (!(netdev->features & NETIF_F_RXCSUM))
130 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev);
138 skb = netdev_alloc_skb_ip_align(rxq->netdev, rxq->rq->buf_sz);
165 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev);
195 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev);
317 struct net_device *netdev = nic_dev->netdev; local
325 netif_warn(nic_dev, drv, netdev, "Loopbac
357 struct net_device *netdev = rxq->netdev; local
580 hinic_init_rxq(struct hinic_rxq *rxq, struct hinic_rq *rq, struct net_device *netdev) argument
625 struct net_device *netdev = rxq->netdev; local
[all...]
H A Dhinic_rx.h32 struct net_device *netdev; member in struct:hinic_rxq
47 struct net_device *netdev);
/linux-master/drivers/net/ethernet/amazon/ena/
H A Dena_ethtool.c211 static void ena_get_ethtool_stats(struct net_device *netdev, argument
215 struct ena_adapter *adapter = netdev_priv(netdev);
235 int ena_get_sset_count(struct net_device *netdev, int sset) argument
237 struct ena_adapter *adapter = netdev_priv(netdev);
314 static void ena_get_ethtool_strings(struct net_device *netdev, argument
318 struct ena_adapter *adapter = netdev_priv(netdev);
328 static int ena_get_link_ksettings(struct net_device *netdev, argument
331 struct ena_adapter *adapter = netdev_priv(netdev);
444 static u32 ena_get_msglevel(struct net_device *netdev) argument
446 struct ena_adapter *adapter = netdev_priv(netdev);
451 ena_set_msglevel(struct net_device *netdev, u32 value) argument
468 ena_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument
496 ena_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument
699 ena_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info) argument
719 ena_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info, u32 *rules) argument
745 ena_get_rxfh_indir_size(struct net_device *netdev) argument
750 ena_get_rxfh_key_size(struct net_device *netdev) argument
803 ena_get_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh) argument
848 ena_set_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh, struct netlink_ext_ack *extack) argument
892 ena_get_channels(struct net_device *netdev, struct ethtool_channels *channels) argument
901 ena_set_channels(struct net_device *netdev, struct ethtool_channels *channels) argument
924 ena_get_tunable(struct net_device *netdev, const struct ethtool_tunable *tuna, void *data) argument
942 ena_set_tunable(struct net_device *netdev, const struct ethtool_tunable *tuna, const void *data) argument
993 ena_set_ethtool_ops(struct net_device *netdev) argument
1000 struct net_device *netdev = adapter->netdev; local
[all...]
/linux-master/drivers/net/ethernet/intel/ixgbevf/
H A Dethtool.c61 (((struct ixgbevf_adapter *)netdev_priv(netdev))->num_tx_queues + \
62 ((struct ixgbevf_adapter *)netdev_priv(netdev))->num_xdp_queues + \
63 ((struct ixgbevf_adapter *)netdev_priv(netdev))->num_rx_queues) * \
82 static int ixgbevf_get_link_ksettings(struct net_device *netdev, argument
85 struct ixgbevf_adapter *adapter = netdev_priv(netdev);
117 static u32 ixgbevf_get_msglevel(struct net_device *netdev) argument
119 struct ixgbevf_adapter *adapter = netdev_priv(netdev);
124 static void ixgbevf_set_msglevel(struct net_device *netdev, u32 data) argument
126 struct ixgbevf_adapter *adapter = netdev_priv(netdev);
131 static int ixgbevf_get_regs_len(struct net_device *netdev) argument
137 ixgbevf_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) argument
211 ixgbevf_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument
223 ixgbevf_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument
236 ixgbevf_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument
405 ixgbevf_get_sset_count(struct net_device *netdev, int stringset) argument
419 ixgbevf_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument
503 ixgbevf_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument
724 ixgbevf_diag_test(struct net_device *netdev, struct ethtool_test *eth_test, u64 *data) argument
779 ixgbevf_nway_reset(struct net_device *netdev) argument
789 ixgbevf_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument
815 ixgbevf_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument
885 ixgbevf_get_rxfh_indir_size(struct net_device *netdev) argument
895 ixgbevf_get_rxfh_key_size(struct net_device *netdev) argument
900 ixgbevf_get_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh) argument
942 ixgbevf_get_priv_flags(struct net_device *netdev) argument
953 ixgbevf_set_priv_flags(struct net_device *netdev, u32 priv_flags) argument
999 ixgbevf_set_ethtool_ops(struct net_device *netdev) argument
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c31 static int ice_q_stats_len(struct net_device *netdev) argument
33 struct ice_netdev_priv *np = netdev_priv(netdev);
94 * The PF_STATs are appended to the netdev stats only when ethtool -S
95 * is queried on the base PF netdev.
431 __ice_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo, argument
456 ice_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument
458 struct ice_netdev_priv *np = netdev_priv(netdev);
460 __ice_get_drvinfo(netdev, drvinfo, np->vsi);
464 static int ice_get_regs_len(struct net_device __always_unused *netdev) argument
470 ice_get_regs(struct net_device *netdev, struc argument
484 ice_get_msglevel(struct net_device *netdev) argument
498 ice_set_msglevel(struct net_device *netdev, u32 data) argument
513 ice_get_eeprom_len(struct net_device *netdev) argument
522 ice_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
597 ice_link_test(struct net_device *netdev) argument
624 ice_eeprom_test(struct net_device *netdev) argument
681 ice_reg_test(struct net_device *netdev) argument
939 ice_loopback_test(struct net_device *netdev) argument
1030 ice_intr_test(struct net_device *netdev) argument
1058 ice_self_test(struct net_device *netdev, struct ethtool_test *eth_test, u64 *data) argument
1132 __ice_get_strings(struct net_device *netdev, u32 stringset, u8 *data, struct ice_vsi *vsi) argument
1183 ice_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument
1191 ice_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) argument
1218 ice_set_fec_cfg(struct net_device *netdev, enum ice_fec_mode req_fec) argument
1263 ice_set_fecparam(struct net_device *netdev, struct ethtool_fecparam *fecparam) argument
1298 ice_get_fecparam(struct net_device *netdev, struct ethtool_fecparam *fecparam) argument
1360 ice_nway_reset(struct net_device *netdev) argument
1385 ice_get_priv_flags(struct net_device *netdev) argument
1409 ice_set_priv_flags(struct net_device *netdev, u32 flags) argument
1563 ice_get_sset_count(struct net_device *netdev, int sset) argument
1596 __ice_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats __always_unused *stats, u64 *data, struct ice_vsi *vsi) argument
1667 ice_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats __always_unused *stats, u64 *data) argument
1775 ice_phy_type_to_ethtool(struct net_device *netdev, struct ethtool_link_ksettings *ks) argument
1871 ice_get_settings_link_up(struct ethtool_link_ksettings *ks, struct net_device *netdev) argument
1960 ice_get_settings_link_down(struct ethtool_link_ksettings *ks, struct net_device *netdev) argument
1981 ice_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *ks) argument
2179 ice_setup_autoneg(struct ice_port_info *p, struct ethtool_link_ksettings *ks, struct ice_aqc_set_phy_cfg_data *config, u8 autoneg_enabled, u8 *autoneg_changed, struct net_device *netdev) argument
2270 ice_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *ks) argument
2767 ice_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) argument
2794 ice_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 __always_unused *rule_locs) argument
2833 ice_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument
2858 ice_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument
3105 ice_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) argument
3151 ice_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) argument
3255 ice_get_rxfh_key_size(struct net_device __always_unused *netdev) argument
3266 ice_get_rxfh_indir_size(struct net_device *netdev) argument
3281 ice_get_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh) argument
3358 ice_set_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh, struct netlink_ext_ack *extack) argument
3695 ice_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
3718 ice_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
3822 __ice_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, int q_num) argument
3837 ice_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument
3846 ice_get_per_q_coalesce(struct net_device *netdev, u32 q_num, struct ethtool_coalesce *ec) argument
3994 ice_print_if_odd_usecs(struct net_device *netdev, u16 itr_setting, u32 use_adaptive_coalesce, u32 coalesce_usecs, const char *c_type_str) argument
4017 __ice_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, int q_num) argument
4062 ice_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument
4071 ice_set_per_q_coalesce(struct net_device *netdev, u32 q_num, struct ethtool_coalesce *ec) argument
4078 ice_repr_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument
4090 ice_repr_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument
4103 ice_repr_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats __always_unused *stats, u64 *data) argument
4115 ice_repr_get_sset_count(struct net_device *netdev, int sset) argument
4143 ice_get_module_info(struct net_device *netdev, struct ethtool_modinfo *modinfo) argument
4217 ice_get_module_eeprom(struct net_device *netdev, struct ethtool_eeprom *ee, u8 *data) argument
4375 ice_set_ethtool_safe_mode_ops(struct net_device *netdev) argument
4392 ice_set_ethtool_repr_ops(struct net_device *netdev) argument
4403 ice_set_ethtool_ops(struct net_device *netdev) argument
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_app_nic.c19 nn->port = nfp_port_alloc(app, NFP_PORT_PHYS_PORT, nn->dp.netdev);
41 nfp_net_get_mac_addr(app->pf, nn->dp.netdev, nn->port);
H A Dnfp_net_xsk.h32 int nfp_net_xsk_setup_pool(struct net_device *netdev, struct xsk_buff_pool *pool,
39 int nfp_net_xsk_wakeup(struct net_device *netdev, u32 queue_id, u32 flags);
H A Dnfp_port.h53 * @netdev: backpointer to associated netdev
74 struct net_device *netdev; member in struct:nfp_port
109 int nfp_port_setup_tc(struct net_device *netdev, enum tc_setup_type type,
118 nfp_port_set_features(struct net_device *netdev, netdev_features_t features);
120 struct nfp_port *nfp_port_from_netdev(struct net_device *netdev);
121 int nfp_port_get_port_parent_id(struct net_device *netdev,
127 nfp_port_get_phys_port_name(struct net_device *netdev, char *name, size_t len);
128 int nfp_port_configure(struct net_device *netdev, bool configed);
132 struct net_device *netdev);
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dcsum.c21 netdev_warn(priv->netdev,
29 netdev_warn(priv->netdev,
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Ddcbnl.h42 void mlx5e_dcbnl_build_netdev(struct net_device *netdev);
47 static inline void mlx5e_dcbnl_build_netdev(struct net_device *netdev) {} argument
/linux-master/drivers/net/ethernet/cisco/enic/
H A Denic_dev.c39 if (!is_valid_ether_addr(enic->netdev->dev_addr))
43 err = vnic_dev_add_addr(enic->vdev, enic->netdev->dev_addr);
53 if (!is_valid_ether_addr(enic->netdev->dev_addr))
57 err = vnic_dev_del_addr(enic->vdev, enic->netdev->dev_addr);
166 int enic_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument
168 struct enic *enic = netdev_priv(netdev);
179 int enic_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) argument
181 struct enic *enic = netdev_priv(netdev);
H A Denic_api.c14 int enic_api_devcmd_proxy_by_index(struct net_device *netdev, int vf, argument
18 struct enic *enic = netdev_priv(netdev);
/linux-master/drivers/net/ethernet/netronome/nfp/crypto/
H A Dcrypto.h24 int nfp_net_tls_rx_resync_req(struct net_device *netdev,
34 nfp_net_tls_rx_resync_req(struct net_device *netdev, argument
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.h113 struct net_device *netdev; member in struct:mlx5e_rep_priv
244 int mlx5e_rep_bond_enslave(struct mlx5_eswitch *esw, struct net_device *netdev,
247 const struct net_device *netdev,
261 bool mlx5e_eswitch_vf_rep(const struct net_device *netdev);
262 bool mlx5e_eswitch_uplink_rep(const struct net_device *netdev);
263 static inline bool mlx5e_eswitch_rep(const struct net_device *netdev) argument
265 return mlx5e_eswitch_vf_rep(netdev) ||
266 mlx5e_eswitch_uplink_rep(netdev);
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_nl.c36 u8 up = dcb_getapp(adapter->netdev, &app);
119 static u8 ixgbe_dcbnl_get_state(struct net_device *netdev) argument
121 struct ixgbe_adapter *adapter = netdev_priv(netdev);
126 static u8 ixgbe_dcbnl_set_state(struct net_device *netdev, u8 state) argument
128 struct ixgbe_adapter *adapter = netdev_priv(netdev);
138 return !!ixgbe_setup_tc(netdev,
142 static void ixgbe_dcbnl_get_perm_hw_addr(struct net_device *netdev, argument
145 struct ixgbe_adapter *adapter = netdev_priv(netdev);
150 for (i = 0; i < netdev->addr_len; i++)
157 for (j = 0; j < netdev
165 ixgbe_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 prio, u8 bwg_id, u8 bw_pct, u8 up_map) argument
183 ixgbe_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int bwg_id, u8 bw_pct) argument
191 ixgbe_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, int tc, u8 prio, u8 bwg_id, u8 bw_pct, u8 up_map) argument
209 ixgbe_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int bwg_id, u8 bw_pct) argument
217 ixgbe_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 *prio, u8 *bwg_id, u8 *bw_pct, u8 *up_map) argument
229 ixgbe_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int bwg_id, u8 *bw_pct) argument
237 ixgbe_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int tc, u8 *prio, u8 *bwg_id, u8 *bw_pct, u8 *up_map) argument
249 ixgbe_dcbnl_get_pg_bwg_cfg_rx(struct net_device *netdev, int bwg_id, u8 *bw_pct) argument
257 ixgbe_dcbnl_set_pfc_cfg(struct net_device *netdev, int priority, u8 setting) argument
268 ixgbe_dcbnl_get_pfc_cfg(struct net_device *netdev, int priority, u8 *setting) argument
295 ixgbe_dcbnl_set_all(struct net_device *netdev) argument
383 ixgbe_dcbnl_getcap(struct net_device *netdev, int capid, u8 *cap) argument
420 ixgbe_dcbnl_getnumtcs(struct net_device *netdev, int tcid, u8 *num) argument
442 ixgbe_dcbnl_setnumtcs(struct net_device *netdev, int tcid, u8 num) argument
447 ixgbe_dcbnl_getpfcstate(struct net_device *netdev) argument
454 ixgbe_dcbnl_setpfcstate(struct net_device *netdev, u8 state) argument
471 ixgbe_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) argument
[all...]
/linux-master/drivers/net/ethernet/micrel/
H A Dks8851_common.c111 netif_dbg(ks, hw, ks->netdev, "setting power mode %d\n", pwrmode);
196 struct net_device *dev = ks->netdev;
210 netdev_err(ks->netdev, "invalid mac address read %pM\n",
227 netdev_dbg(ks->netdev,
252 netif_dbg(ks, rx_status, ks->netdev,
269 netif_dbg(ks, rx_status, ks->netdev,
285 skb = netdev_alloc_skb_ip_align(ks->netdev, rxalign);
301 skb->protocol = eth_type_trans(skb, ks->netdev);
304 ks->netdev->stats.rx_packets++;
305 ks->netdev
1046 struct net_device *netdev = ks->netdev; local
1060 struct net_device *netdev = ks->netdev; local
1108 ks8851_probe_common(struct net_device *netdev, struct device *dev, int msg_en) argument
[all...]
/linux-master/drivers/net/wireless/microchip/wilc1000/
H A DMakefile4 wilc1000-objs := cfg80211.o netdev.o mon.o \
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.h22 void (*handler)(struct net_device *netdev, bool enable);
/linux-master/tools/testing/selftests/drivers/net/netdevsim/
H A Dhw_stats_l3.sh84 local netdev=$1; shift
87 local ifindex=$($IP -j link show dev $netdev | jq '.[].ifindex')
146 local netdev=$1; shift
149 $IP -j stats show dev "$netdev" group offload subgroup hw_stats_info |
155 local netdev=$1; shift
158 [[ $(netdev_hwstats_used $netdev $type) == "true" ]]
163 local netdev=$1; shift
166 [[ $(netdev_hwstats_used $netdev $type) == "false" ]]
171 local netdev=$1; shift
174 $IP -j stats show dev "$netdev" grou
[all...]
/linux-master/drivers/infiniband/hw/hfi1/
H A Dipoib_rx.c7 #include "netdev.h"
70 int hfi1_ipoib_rxq_init(struct net_device *netdev) argument
72 struct hfi1_ipoib_dev_priv *ipoib_priv = hfi1_ipoib_priv(netdev);
85 void hfi1_ipoib_rxq_deinit(struct net_device *netdev) argument
87 struct hfi1_ipoib_dev_priv *ipoib_priv = hfi1_ipoib_priv(netdev);
/linux-master/drivers/net/ethernet/intel/e1000e/
H A DMakefile15 param.o ethtool.o netdev.o ptp.o
/linux-master/net/dsa/
H A Dtag_8021q.h13 struct sk_buff *dsa_8021q_xmit(struct sk_buff *skb, struct net_device *netdev,
/linux-master/drivers/net/dsa/
H A Ddsa_loop_bdinfo.c19 .netdev = "eth0",
/linux-master/net/wireless/
H A Dtrace.h44 memcpy(__entry->name, netdev->name, IFNAMSIZ); \
45 (__entry->ifindex) = (netdev->ifindex); \
47 #define NETDEV_PR_FMT "netdev:%s(%d)"
425 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev,
427 TP_ARGS(wiphy, netdev, type),
443 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, int link_id,
445 TP_ARGS(wiphy, netdev, link_id, key_index, pairwise, mac_addr),
470 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, int link_id,
472 TP_ARGS(wiphy, netdev, link_id, key_index, pairwise, mac_addr)
476 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, in
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dct_fs_dmfs.c9 netdev_dbg(fs->netdev, "ct_fs_dmfs debug: " fmt "\n", ##args)
33 struct mlx5e_priv *priv = netdev_priv(fs->netdev);
64 mlx5_tc_rule_delete(netdev_priv(fs->netdev), dmfs_rule->rule, dmfs_rule->attr);

Completed in 350 milliseconds

1234567891011>>