Lines Matching defs:prueth_emac
177 struct prueth_emac { struct
178 bool is_sr1;
179 struct prueth *prueth;
180 struct net_device *ndev;
181 u8 mac_addr[6];
182 struct napi_struct napi_rx;
183 u32 msg_enable;
185 int link;
186 int speed;
187 int duplex;
189 const char *phy_id;
190 struct device_node *phy_node;
191 phy_interface_t phy_if;
192 enum prueth_port port_id;
193 struct icss_iep *iep;
194 unsigned int rx_ts_enabled : 1;
195 unsigned int tx_ts_enabled : 1;
196 unsigned int half_duplex : 1;
199 struct prueth_tx_chn tx_chns[PRUETH_MAX_TX_QUEUES];
200 struct completion tdown_complete;
201 atomic_t tdown_cnt;
202 struct prueth_rx_chn rx_chns;
203 int rx_flow_id_base;
204 int tx_ch_num;
207 struct prueth_rx_chn rx_mgm_chn;
208 int rx_mgm_flow_id_base;
210 spinlock_t lock; /* serialize access */
214 struct sk_buff *tx_ts_skb[PRUETH_MAX_TX_TS_REQUESTS];
215 atomic_t tx_ts_pending;
216 int tx_ts_irq;
218 u8 cmd_seq;
220 __le32 cmd_data[4];
221 struct completion cmd_complete;
223 struct mutex cmd_lock;
224 struct work_struct rx_mode_work;
225 struct workqueue_struct *cmd_wq;
227 struct pruss_mem_region dram;
229 bool offload_fwd_mark;
230 int port_vlan;
232 struct delayed_work stats_work;
233 u64 stats[ICSSG_NUM_MIIG_STATS];
234 u64 pa_stats[ICSSG_NUM_PA_STATS];
237 struct hrtimer rx_hrtimer;
238 unsigned long rx_pace_timeout_ns;
240 struct netdev_hw_addr_list vlan_mcast_list[MAX_VLAN_ID];
241 struct bpf_prog *xdp_prog;
242 struct xdp_attachment_info xdpi;