Lines Matching defs:dev

60 int mlx4_en_setup_tc(struct net_device *dev, u8 up)  in mlx4_en_setup_tc()
92 int mlx4_en_alloc_tx_queue_per_tc(struct net_device *dev, u8 tc) in mlx4_en_alloc_tx_queue_per_tc()
145 static int __mlx4_en_setup_tc(struct net_device *dev, enum tc_setup_type type, in __mlx4_en_setup_tc()
478 static int mlx4_en_vlan_rx_add_vid(struct net_device *dev, in mlx4_en_vlan_rx_add_vid()
508 static int mlx4_en_vlan_rx_kill_vid(struct net_device *dev, in mlx4_en_vlan_rx_kill_vid()
533 static void mlx4_en_u64_to_mac(struct net_device *dev, u64 src_mac) in mlx4_en_u64_to_mac()
567 struct mlx4_dev *dev = mdev->dev; in mlx4_en_uc_steer_add() local
620 struct mlx4_dev *dev = mdev->dev; in mlx4_en_uc_steer_release() local
646 struct mlx4_dev *dev = mdev->dev; in mlx4_en_get_qp() local
685 struct mlx4_dev *dev = mdev->dev; in mlx4_en_put_qp() local
705 struct mlx4_dev *dev = mdev->dev; in mlx4_en_replace_mac() local
786 static int mlx4_en_set_mac(struct net_device *dev, void *addr) in mlx4_en_set_mac()
811 static void mlx4_en_clear_list(struct net_device *dev) in mlx4_en_clear_list()
822 static void mlx4_en_cache_mclist(struct net_device *dev) in mlx4_en_cache_mclist()
887 static void mlx4_en_set_rx_mode(struct net_device *dev) in mlx4_en_set_rx_mode()
1005 struct net_device *dev, in mlx4_en_do_multicast()
1139 struct net_device *dev, in mlx4_en_do_uc_filter()
1264 struct net_device *dev = priv->dev; in mlx4_en_do_set_rx_mode() local
1373 static void mlx4_en_tx_timeout(struct net_device *dev, unsigned int txqueue) in mlx4_en_tx_timeout()
1395 mlx4_en_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats) in mlx4_en_get_stats64()
1570 struct net_device *dev = priv->dev; in mlx4_en_linkstate() local
1629 int mlx4_en_start_port(struct net_device *dev) in mlx4_en_start_port()
1888 void mlx4_en_stop_port(struct net_device *dev, int detach) in mlx4_en_stop_port()
2024 struct net_device *dev = priv->dev; in mlx4_en_restart() local
2039 static void mlx4_en_clear_stats(struct net_device *dev) in mlx4_en_clear_stats()
2081 static int mlx4_en_open(struct net_device *dev) in mlx4_en_open()
2110 static int mlx4_en_close(struct net_device *dev) in mlx4_en_close()
2336 void mlx4_en_destroy_netdev(struct net_device *dev) in mlx4_en_destroy_netdev()
2373 static bool mlx4_en_check_xdp_mtu(struct net_device *dev, int mtu) in mlx4_en_check_xdp_mtu()
2386 static int mlx4_en_change_mtu(struct net_device *dev, int new_mtu) in mlx4_en_change_mtu()
2423 static int mlx4_en_hwtstamp_set(struct net_device *dev, struct ifreq *ifr) in mlx4_en_hwtstamp_set()
2479 static int mlx4_en_hwtstamp_get(struct net_device *dev, struct ifreq *ifr) in mlx4_en_hwtstamp_get()
2487 static int mlx4_en_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in mlx4_en_ioctl()
2572 static int mlx4_en_set_vf_mac(struct net_device *dev, int queue, u8 *mac) in mlx4_en_set_vf_mac()
2580 static int mlx4_en_set_vf_vlan(struct net_device *dev, int vf, u16 vlan, u8 qos, in mlx4_en_set_vf_vlan()
2590 static int mlx4_en_set_vf_rate(struct net_device *dev, int vf, int min_tx_rate, in mlx4_en_set_vf_rate()
2600 static int mlx4_en_set_vf_spoofchk(struct net_device *dev, int vf, bool setting) in mlx4_en_set_vf_spoofchk()
2608 static int mlx4_en_get_vf_config(struct net_device *dev, int vf, struct ifla_vf_info *ivf) in mlx4_en_get_vf_config()
2616 static int mlx4_en_set_vf_link_state(struct net_device *dev, int vf, int link_state) in mlx4_en_set_vf_link_state()
2624 static int mlx4_en_get_vf_stats(struct net_device *dev, int vf, in mlx4_en_get_vf_stats()
2634 static int mlx4_en_get_phys_port_id(struct net_device *dev, in mlx4_en_get_phys_port_id()
2653 static int mlx4_udp_tunnel_sync(struct net_device *dev, unsigned int table) in mlx4_udp_tunnel_sync()
2680 struct net_device *dev, in mlx4_en_features_check()
2703 static int mlx4_en_set_tx_maxrate(struct net_device *dev, int queue_index, u32 maxrate) in mlx4_en_set_tx_maxrate()
2730 static int mlx4_xdp_set(struct net_device *dev, struct bpf_prog *prog) in mlx4_xdp_set()
2827 static int mlx4_xdp(struct net_device *dev, struct netdev_bpf *xdp) in mlx4_xdp()
2906 struct mlx4_dev *dev; in mlx4_en_netdev_event() local
3014 void mlx4_en_update_pfc_stats_bitmap(struct mlx4_dev *dev, in mlx4_en_update_pfc_stats_bitmap()
3050 void mlx4_en_set_stats_bitmap(struct mlx4_dev *dev, in mlx4_en_set_stats_bitmap()
3103 static void mlx4_get_queue_stats_rx(struct net_device *dev, int i, in mlx4_get_queue_stats_rx()
3123 static void mlx4_get_queue_stats_tx(struct net_device *dev, int i, in mlx4_get_queue_stats_tx()
3142 static void mlx4_get_base_stats(struct net_device *dev, in mlx4_get_base_stats()
3177 struct net_device *dev; in mlx4_en_init_netdev() local
3514 int mlx4_en_reset_config(struct net_device *dev, in mlx4_en_reset_config()