Lines Matching defs:mlx4_en_priv
538 struct mlx4_en_priv { struct
539 struct mlx4_en_dev *mdev;
540 struct mlx4_en_port_profile *prof;
541 struct net_device *dev;
542 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
543 struct mlx4_en_port_state port_state;
544 spinlock_t stats_lock;
545 struct ethtool_flow_id ethtool_rules[MAX_NUM_OF_FS_RULES];
547 struct list_head ethtool_list;
549 unsigned long last_moder_packets[MAX_RX_RINGS];
550 unsigned long last_moder_tx_packets;
551 unsigned long last_moder_bytes[MAX_RX_RINGS];
552 unsigned long last_moder_jiffies;
553 int last_moder_time[MAX_RX_RINGS];
554 u16 rx_usecs;
555 u16 rx_frames;
556 u16 tx_usecs;
557 u16 tx_frames;
558 u32 pkt_rate_low;
559 u16 rx_usecs_low;
560 u32 pkt_rate_high;
561 u16 rx_usecs_high;
562 u32 sample_interval;
563 u32 adaptive_rx_coal;
564 u32 msg_enable;
565 u32 loopback_ok;
566 u32 validate_loopback;
568 struct mlx4_hwq_resources res;
569 int link_state;
570 bool port_up;
571 int port;
572 int registered;
573 int allocated;
574 int stride;
575 unsigned char current_mac[ETH_ALEN + 2];
576 int mac_index;
577 unsigned max_mtu;
578 int base_qpn;
579 int cqe_factor;
580 int cqe_size;
582 struct mlx4_en_rss_map rss_map;
583 __be32 ctrl_flags;
584 u32 flags;
585 u8 num_tx_rings_p_up;
586 u32 tx_work_limit;
587 u32 tx_ring_num[MLX4_EN_NUM_TX_TYPES];
588 u32 rx_ring_num;
589 u32 rx_skb_size;
590 struct mlx4_en_frag_info frag_info[MLX4_EN_MAX_RX_FRAGS];
591 u8 num_frags;
592 u8 log_rx_info;
593 u8 dma_dir;
594 u16 rx_headroom;
596 struct mlx4_en_tx_ring **tx_ring[MLX4_EN_NUM_TX_TYPES];
597 struct mlx4_en_rx_ring *rx_ring[MAX_RX_RINGS];
598 struct mlx4_en_cq **tx_cq[MLX4_EN_NUM_TX_TYPES];
599 struct mlx4_en_cq *rx_cq[MAX_RX_RINGS];
600 struct mlx4_qp drop_qp;
601 struct work_struct rx_mode_task;
602 struct work_struct restart_task;
603 struct work_struct linkstate_task;
604 struct delayed_work stats_task;
605 struct delayed_work service_task;
606 struct mlx4_en_pkt_stats pkstats;
607 struct mlx4_en_counter_stats pf_stats;
608 struct mlx4_en_flow_stats_rx rx_priority_flowstats[MLX4_NUM_PRIORITIES];
609 struct mlx4_en_flow_stats_tx tx_priority_flowstats[MLX4_NUM_PRIORITIES];
610 struct mlx4_en_flow_stats_rx rx_flowstats;
611 struct mlx4_en_flow_stats_tx tx_flowstats;
612 struct mlx4_en_port_stats port_stats;
613 struct mlx4_en_xdp_stats xdp_stats;
614 struct mlx4_en_phy_stats phy_stats;
615 struct mlx4_en_stats_bitmap stats_bitmap;
616 struct list_head mc_list;
617 struct list_head curr_list;
618 u64 broadcast_id;
619 struct mlx4_en_stat_out_mbox hw_stats;
620 int vids[128];
621 bool wol;
622 struct device *ddev;
623 struct hlist_head mac_hash[MLX4_EN_MAC_HASH_SIZE];
624 struct hwtstamp_config hwtstamp_config;
625 u32 counter_index;
629 struct ieee_ets ets;
630 u16 maxrate[IEEE_8021QAZ_MAX_TCS];
631 enum dcbnl_cndd_states cndd_state[IEEE_8021QAZ_MAX_TCS];
632 struct mlx4_en_cee_config cee_config;
633 u8 dcbx_cap;
636 spinlock_t filters_lock;
637 int last_filter_id;
638 struct list_head filters;
639 struct hlist_head filter_hash[1 << MLX4_EN_FILTER_HASH_SHIFT];
641 u64 tunnel_reg_id;
642 __be16 vxlan_port;
644 u32 pflags;
645 u8 rss_key[MLX4_EN_RSS_KEY_SIZE];
646 u8 rss_hash_fn;
647 unsigned long state;