/linux-master/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_ethtool.h | 7 void ionic_ethtool_set_ops(struct net_device *netdev);
|
/linux-master/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_ethtool.h | 7 void txgbe_set_ethtool_ops(struct net_device *netdev);
|
/linux-master/drivers/net/ethernet/wangxun/ngbe/ |
H A D | ngbe_ethtool.h | 7 void ngbe_set_ethtool_ops(struct net_device *netdev);
|
/linux-master/tools/testing/selftests/net/ |
H A D | netdevice.sh | 19 netdev=$1 21 ip link show "$netdev" |grep -q UP 23 echo "SKIP: $netdev: interface already up" 27 ip link set "$netdev" up 29 echo "FAIL: $netdev: Fail to up interface" 32 echo "PASS: $netdev: set interface up" 43 netdev=$1 51 ip link set dev $netdev address "$MACADDR" 53 echo "FAIL: $netdev: Cannot set MAC address" 55 ip link show $netdev |gre [all...] |
/linux-master/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_ethtool.h | 7 int wx_get_sset_count(struct net_device *netdev, int sset); 8 void wx_get_strings(struct net_device *netdev, u32 stringset, u8 *data); 9 void wx_get_ethtool_stats(struct net_device *netdev, 11 void wx_get_mac_stats(struct net_device *netdev, 13 void wx_get_pause_stats(struct net_device *netdev, 15 void wx_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info); 16 int wx_nway_reset(struct net_device *netdev); 17 int wx_get_link_ksettings(struct net_device *netdev, 19 int wx_set_link_ksettings(struct net_device *netdev, 21 void wx_get_pauseparam(struct net_device *netdev, [all...] |
/linux-master/net/core/ |
H A D | dev_addr_lists_test.c | 15 static int dev_addr_test_sync(struct net_device *netdev, const unsigned char *a) argument 17 struct dev_addr_test_priv *datp = netdev_priv(netdev); 24 static int dev_addr_test_unsync(struct net_device *netdev, argument 27 struct dev_addr_test_priv *datp = netdev_priv(netdev); 37 struct net_device *netdev; local 40 netdev = alloc_etherdev(sizeof(*datp)); 41 KUNIT_ASSERT_TRUE(test, !!netdev); 43 test->priv = netdev; 44 netdev->netdev_ops = &dummy_netdev_ops; 46 err = register_netdev(netdev); 57 struct net_device *netdev = test->priv; local 65 struct net_device *netdev = test->priv; local 83 struct net_device *netdev = test->priv; local 112 struct net_device *netdev = test->priv; local 154 struct net_device *netdev = test->priv; local 174 struct net_device *netdev = test->priv; local 206 struct net_device *netdev = test->priv; local [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_fcoe.c | 64 * @netdev: net device 68 int cxgb_fcoe_enable(struct net_device *netdev) argument 70 struct port_info *pi = netdev_priv(netdev); 82 netdev->features |= NETIF_F_FCOE_CRC; 83 netdev->vlan_features |= NETIF_F_FCOE_CRC; 84 netdev->features |= NETIF_F_FCOE_MTU; 85 netdev->vlan_features |= NETIF_F_FCOE_MTU; 87 netdev_features_change(netdev); 96 * @netdev: net device 100 int cxgb_fcoe_disable(struct net_device *netdev) argument [all...] |
/linux-master/tools/perf/scripts/python/bin/ |
H A D | netdev-times-report | 5 perf script -s "$PERF_EXEC_PATH"/scripts/python/netdev-times.py $@
|
/linux-master/drivers/net/ipa/ |
H A D | ipa_modem.c | 42 * @work: Work structure used to wake the modem netdev TX queue 52 static int ipa_open(struct net_device *netdev) argument 54 struct ipa_priv *priv = netdev_priv(netdev); 72 netif_start_queue(netdev); 88 static int ipa_stop(struct net_device *netdev) argument 90 struct ipa_priv *priv = netdev_priv(netdev); 100 netif_stop_queue(netdev); 113 * @netdev: Network device 123 ipa_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument 125 struct net_device_stats *stats = &netdev 199 ipa_modem_skb_rx(struct net_device *netdev, struct sk_buff *skb) argument 222 ipa_modem_netdev_setup(struct net_device *netdev) argument 251 ipa_modem_suspend(struct net_device *netdev) argument 286 ipa_modem_resume(struct net_device *netdev) argument 304 struct net_device *netdev; local 356 struct net_device *netdev = ipa->modem_netdev; local [all...] |
H A D | ipa_modem.h | 17 void ipa_modem_skb_rx(struct net_device *netdev, struct sk_buff *skb); 19 void ipa_modem_suspend(struct net_device *netdev); 20 void ipa_modem_resume(struct net_device *netdev);
|
/linux-master/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_netdev.c | 50 * netdev functionality. 64 static void opa_vnic_get_stats64(struct net_device *netdev, argument 67 struct opa_vnic_adapter *adapter = opa_vnic_priv(netdev); 72 adapter->rn_ops->ndo_get_stats64(netdev, &vstats.netstats); 79 struct net_device *netdev) 81 struct opa_vnic_adapter *adapter = opa_vnic_priv(netdev); 93 return adapter->rn_ops->ndo_start_xmit(skb, netdev); 96 static u16 opa_vnic_select_queue(struct net_device *netdev, struct sk_buff *skb, argument 99 struct opa_vnic_adapter *adapter = opa_vnic_priv(netdev); 107 rc = adapter->rn_ops->ndo_select_queue(netdev, sk 78 opa_netdev_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument 139 struct net_device *netdev = adapter->netdev; local 202 opa_vnic_set_mac_addr(struct net_device *netdev, void *addr) argument 228 opa_vnic_mac_send_event(struct net_device *netdev, u8 event) argument 263 opa_vnic_set_rx_mode(struct net_device *netdev) argument 273 opa_netdev_open(struct net_device *netdev) argument 292 opa_netdev_close(struct net_device *netdev) argument 326 struct net_device *netdev; local 390 struct net_device *netdev = adapter->netdev; local [all...] |
/linux-master/drivers/net/ethernet/litex/ |
H A D | litex_liteeth.c | 42 struct net_device *netdev; member in struct:liteeth 57 static int liteeth_rx(struct net_device *netdev) argument 59 struct liteeth *priv = netdev_priv(netdev); 71 skb = netdev_alloc_skb_ip_align(netdev, len); 73 netdev_err(netdev, "couldn't get memory\n"); 79 skb->protocol = eth_type_trans(skb, netdev); 81 dev_sw_netstats_rx_add(netdev, len); 86 netdev->stats.rx_dropped++; 87 netdev->stats.rx_errors++; 94 struct net_device *netdev local 114 liteeth_open(struct net_device *netdev) argument 139 liteeth_stop(struct net_device *netdev) argument 154 liteeth_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument 196 liteeth_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument 235 struct net_device *netdev; local 299 struct net_device *netdev = platform_get_drvdata(pdev); local [all...] |
/linux-master/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_dcbnl.c | 13 static u8 qede_dcbnl_getstate(struct net_device *netdev) argument 15 struct qede_dev *edev = netdev_priv(netdev); 20 static u8 qede_dcbnl_setstate(struct net_device *netdev, u8 state) argument 22 struct qede_dev *edev = netdev_priv(netdev); 27 static void qede_dcbnl_getpermhwaddr(struct net_device *netdev, argument 30 memcpy(perm_addr, netdev->dev_addr, netdev->addr_len); 33 static void qede_dcbnl_getpgtccfgtx(struct net_device *netdev, int prio, argument 37 struct qede_dev *edev = netdev_priv(netdev); 43 static void qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev, argument 51 qede_dcbnl_getpgtccfgrx(struct net_device *netdev, int prio, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) argument 61 qede_dcbnl_getpgbwgcfgrx(struct net_device *netdev, int pgid, u8 *bw_pct) argument 69 qede_dcbnl_getpfccfg(struct net_device *netdev, int prio, u8 *setting) argument 77 qede_dcbnl_setpfccfg(struct net_device *netdev, int prio, u8 setting) argument 85 qede_dcbnl_getcap(struct net_device *netdev, int capid, u8 *cap) argument 92 qede_dcbnl_getnumtcs(struct net_device *netdev, int tcid, u8 *num) argument 99 qede_dcbnl_getpfcstate(struct net_device *netdev) argument 106 qede_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) argument 113 qede_dcbnl_getdcbx(struct net_device *netdev) argument 120 qede_dcbnl_setpgtccfgtx(struct net_device *netdev, int prio, u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) argument 129 qede_dcbnl_setpgtccfgrx(struct net_device *netdev, int prio, u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) argument 138 qede_dcbnl_setpgbwgcfgtx(struct net_device *netdev, int pgid, u8 bw_pct) argument 146 qede_dcbnl_setpgbwgcfgrx(struct net_device *netdev, int pgid, u8 bw_pct) argument 154 qede_dcbnl_setall(struct net_device *netdev) argument 161 qede_dcbnl_setnumtcs(struct net_device *netdev, int tcid, u8 num) argument 168 qede_dcbnl_setpfcstate(struct net_device *netdev, u8 state) argument 175 qede_dcbnl_setapp(struct net_device *netdev, u8 idtype, u16 idval, u8 up) argument 183 qede_dcbnl_setdcbx(struct net_device *netdev, u8 state) argument 190 qede_dcbnl_getfeatcfg(struct net_device *netdev, int featid, u8 *flags) argument 198 qede_dcbnl_setfeatcfg(struct net_device *netdev, int featid, u8 flags) argument 205 qede_dcbnl_peer_getappinfo(struct net_device *netdev, struct dcb_peer_app_info *info, u16 *count) argument 214 qede_dcbnl_peer_getapptable(struct net_device *netdev, struct dcb_app *app) argument 222 qede_dcbnl_cee_peer_getpfc(struct net_device *netdev, struct cee_pfc *pfc) argument 230 qede_dcbnl_cee_peer_getpg(struct net_device *netdev, struct cee_pg *pg) argument 238 qede_dcbnl_ieee_getpfc(struct net_device *netdev, struct ieee_pfc *pfc) argument 246 qede_dcbnl_ieee_setpfc(struct net_device *netdev, struct ieee_pfc *pfc) argument 254 qede_dcbnl_ieee_getets(struct net_device *netdev, struct ieee_ets *ets) argument 262 qede_dcbnl_ieee_setets(struct net_device *netdev, struct ieee_ets *ets) argument 270 qede_dcbnl_ieee_getapp(struct net_device *netdev, struct dcb_app *app) argument 278 qede_dcbnl_ieee_setapp(struct net_device *netdev, struct dcb_app *app) argument 291 qede_dcbnl_ieee_peer_getpfc(struct net_device *netdev, struct ieee_pfc *pfc) argument 299 qede_dcbnl_ieee_peer_getets(struct net_device *netdev, struct ieee_ets *ets) argument [all...] |
/linux-master/drivers/net/ethernet/toshiba/ |
H A D | spider_net_ethtool.c | 37 spider_net_ethtool_get_link_ksettings(struct net_device *netdev, argument 41 card = netdev_priv(netdev); 59 spider_net_ethtool_get_drvinfo(struct net_device *netdev, argument 63 card = netdev_priv(netdev); 76 spider_net_ethtool_get_wol(struct net_device *netdev, argument 85 spider_net_ethtool_get_msglevel(struct net_device *netdev) argument 88 card = netdev_priv(netdev); 93 spider_net_ethtool_set_msglevel(struct net_device *netdev, argument 97 card = netdev_priv(netdev); 102 spider_net_ethtool_nway_reset(struct net_device *netdev) argument 112 spider_net_ethtool_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ering, struct kernel_ethtool_ringparam *kernel_ering, struct netlink_ext_ack *extack) argument 125 spider_net_get_sset_count(struct net_device *netdev, int sset) argument 135 spider_net_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument 155 spider_net_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument [all...] |
/linux-master/net/openvswitch/ |
H A D | vport-internal_dev.c | 19 #include "vport-netdev.h" 27 static struct internal_dev *internal_dev_priv(struct net_device *netdev) argument 29 return netdev_priv(netdev); 34 internal_dev_xmit(struct sk_buff *skb, struct net_device *netdev) argument 42 err = ovs_vport_receive(internal_dev_priv(netdev)->vport, skb, NULL); 46 dev_sw_netstats_tx_add(netdev, 1, len); 48 netdev->stats.tx_errors++; 53 static int internal_dev_open(struct net_device *netdev) argument 55 netif_start_queue(netdev); 59 static int internal_dev_stop(struct net_device *netdev) argument 65 internal_dev_getinfo(struct net_device *netdev, struct ethtool_drvinfo *info) argument 95 do_setup(struct net_device *netdev) argument 195 struct net_device *netdev = skb->dev; local 223 ovs_is_internal_dev(const struct net_device *netdev) argument 228 ovs_internal_dev_get_vport(struct net_device *netdev) argument [all...] |
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | port_scale.sh | 23 check_err $? "Did not unsplit $netdev" 32 # Loop over the splittable netdevs and create tuples of netdev along 37 while read netdev count <<<$( 39 jq -r '.[][] | select(.splittable==true) | "\(.netdev) \(.lanes)"' 41 [[ ! -z $netdev ]] 43 devlink port split $netdev count $count 44 check_err $? "Did not split $netdev into $count" 45 unsplit+=( "${netdev}s0" )
|
/linux-master/drivers/net/dsa/ |
H A D | dsa_loop.h | 14 const char *netdev; member in struct:dsa_loop_pdata
|
/linux-master/drivers/net/ethernet/intel/igbvf/ |
H A D | Makefile | 12 netdev.o
|
/linux-master/net/bluetooth/bnep/ |
H A D | Makefile | 8 bnep-objs := core.o sock.o netdev.o
|
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_repr.c | 27 nfp_repr_inc_tx_stats(struct net_device *netdev, unsigned int len, argument 30 struct nfp_repr *repr = netdev_priv(netdev); 46 void nfp_repr_inc_rx_stats(struct net_device *netdev, unsigned int len) argument 48 struct nfp_repr *repr = netdev_priv(netdev); 90 nfp_repr_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument 92 struct nfp_repr *repr = netdev_priv(netdev); 124 nfp_repr_get_host_stats64(const struct net_device *netdev, argument 127 struct nfp_repr *repr = netdev_priv(netdev); 167 static int nfp_repr_change_mtu(struct net_device *netdev, int new_mtu) argument 169 struct nfp_repr *repr = netdev_priv(netdev); 185 nfp_repr_xmit(struct sk_buff *skb, struct net_device *netdev) argument 202 nfp_repr_stop(struct net_device *netdev) argument 215 nfp_repr_open(struct net_device *netdev) argument 236 nfp_repr_fix_features(struct net_device *netdev, netdev_features_t features) argument 281 nfp_repr_transfer_features(struct net_device *netdev, struct net_device *lower) argument 315 nfp_repr_init(struct nfp_app *app, struct net_device *netdev, u32 cmsg_port_id, struct nfp_port *port, struct net_device *pf_netdev) argument 419 nfp_repr_free(struct net_device *netdev) argument 427 struct net_device *netdev; local 461 struct net_device *netdev; local 476 struct net_device *netdev; local 514 struct net_device *netdev; local [all...] |
H A D | nfp_port.c | 14 struct nfp_port *nfp_port_from_netdev(struct net_device *netdev) argument 16 if (nfp_netdev_is_nfp_net(netdev)) { 17 struct nfp_net *nn = netdev_priv(netdev); 22 if (nfp_netdev_is_nfp_repr(netdev)) { 23 struct nfp_repr *repr = netdev_priv(netdev); 28 WARN(1, "Unknown netdev type for nfp_port\n"); 33 int nfp_port_get_port_parent_id(struct net_device *netdev, argument 39 port = nfp_port_from_netdev(netdev); 49 int nfp_port_setup_tc(struct net_device *netdev, enum tc_setup_type type, argument 54 port = nfp_port_from_netdev(netdev); 61 nfp_port_set_features(struct net_device *netdev, netdev_features_t features) argument 101 nfp_port_get_phys_port_name(struct net_device *netdev, char *name, size_t len) argument 155 nfp_port_configure(struct net_device *netdev, bool configed) argument 201 nfp_port_alloc(struct nfp_app *app, enum nfp_port_type type, struct net_device *netdev) argument [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_repr.c | 38 * @netdev: repr netdev to increment stats on 41 void ice_repr_inc_rx_stats(struct net_device *netdev, unsigned int len) argument 43 struct ice_repr *repr = ice_netdev_to_repr(netdev); 55 * @netdev: pointer to port representor netdev 59 ice_repr_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument 61 struct ice_netdev_priv *np = netdev_priv(netdev); 86 * @netdev: pointer to port representor netdev 88 ice_netdev_to_repr(const struct net_device *netdev) argument 105 ice_repr_open(struct net_device *netdev) argument 131 ice_repr_stop(struct net_device *netdev) argument 231 ice_repr_setup_tc(struct net_device *netdev, enum tc_setup_type type, void *type_data) argument 262 ice_is_port_repr_netdev(const struct net_device *netdev) argument 272 ice_repr_reg_netdev(struct net_device *netdev) argument [all...] |
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sriov.h | 22 int ixgbe_ndo_set_vf_mac(struct net_device *netdev, int queue, u8 *mac); 23 int ixgbe_ndo_set_vf_vlan(struct net_device *netdev, int queue, u16 vlan, 26 int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int min_tx_rate, 28 int ixgbe_ndo_set_vf_spoofchk(struct net_device *netdev, int vf, bool setting); 29 int ixgbe_ndo_set_vf_rss_query_en(struct net_device *netdev, int vf, 31 int ixgbe_ndo_set_vf_trust(struct net_device *netdev, int vf, bool setting); 32 int ixgbe_ndo_get_vf_config(struct net_device *netdev, 34 int ixgbe_ndo_set_vf_link_state(struct net_device *netdev, int vf, int state);
|
/linux-master/drivers/net/ethernet/fungible/funeth/ |
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
|
/linux-master/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-main.c | 175 struct net_device *netdev; local 177 netdev = alloc_etherdev_mq(sizeof(struct xgbe_prv_data), 179 if (!netdev) { 183 SET_NETDEV_DEV(netdev, dev); 184 pdata = netdev_priv(netdev); 185 pdata->netdev = netdev; 206 struct net_device *netdev = pdata->netdev; local 208 free_netdev(netdev); 264 struct net_device *netdev = pdata->netdev; local 417 struct net_device *netdev = pdata->netdev; local 432 struct net_device *netdev = netdev_notifier_info_to_dev(data); local [all...] |