Lines Matching +full:rx +full:- +full:device

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
40 NCSI_CAP_MC_DHCPV6_WELL_KNOWN = 0x08, /* DHCPv6 well-known MC */
49 NCSI_CAP_VLAN_NO = 0x02, /* Filter VLAN and non-VLAN */
50 NCSI_CAP_VLAN_ANY = 0x04, /* Filter Any-and-non-VLAN */
68 * Bit (0-2) for different protocol support; Bit 1 for RBT support,
69 * bit 1 for SMBUS support and bit 2 for PCIE support. Bit (3-5)
148 u32 hnc_rx_bytes; /* Rx bytes */
150 u32 hnc_rx_uc_pkts; /* Rx UC packets */
151 u32 hnc_rx_mc_pkts; /* Rx MC packets */
152 u32 hnc_rx_bc_pkts; /* Rx BC packets */
159 u32 hnc_runt_pkts; /* Rx runt packets */
160 u32 hnc_jabber_pkts; /* Rx jabber packets */
161 u32 hnc_rx_pause_xon; /* Rx pause XON frames */
162 u32 hnc_rx_pause_xoff; /* Rx XOFF frames */
169 u32 hnc_rx_ctl_frames; /* Rx control frames */
170 u32 hnc_rx_64_frames; /* Rx 64-bytes frames */
171 u32 hnc_rx_127_frames; /* Rx 65-127 bytes frames */
172 u32 hnc_rx_255_frames; /* Rx 128-255 bytes frames */
173 u32 hnc_rx_511_frames; /* Rx 256-511 bytes frames */
174 u32 hnc_rx_1023_frames; /* Rx 512-1023 bytes frames */
175 u32 hnc_rx_1522_frames; /* Rx 1024-1522 bytes frames */
176 u32 hnc_rx_9022_frames; /* Rx 1523-9022 bytes frames */
177 u32 hnc_tx_64_frames; /* Tx 64-bytes frames */
178 u32 hnc_tx_127_frames; /* Tx 65-127 bytes frames */
179 u32 hnc_tx_255_frames; /* Tx 128-255 bytes frames */
180 u32 hnc_tx_511_frames; /* Tx 256-511 bytes frames */
181 u32 hnc_tx_1023_frames; /* Tx 512-1023 bytes frames */
182 u32 hnc_tx_1522_frames; /* Tx 1024-1522 bytes frames */
183 u32 hnc_tx_9022_frames; /* Tx 1523-9022 bytes frames */
184 u32 hnc_rx_valid_bytes; /* Rx valid bytes */
185 u32 hnc_rx_runt_pkts; /* Rx error runt packets */
186 u32 hnc_rx_jabber_pkts; /* Rx error jabber packets */
187 u32 ncsi_rx_cmds; /* Rx NCSI commands */
191 u32 ncsi_rx_pkts; /* Rx NCSI packets */
198 u32 pt_rx_pkts; /* Rx packets */
199 u32 pt_rx_dropped; /* Rx dropped packets */
200 u32 pt_rx_channel_err; /* Rx channel errors */
201 u32 pt_rx_us_err; /* Rx undersize errors */
202 u32 pt_rx_os_err; /* Rx oversize errors */
211 #define NCSI_CHANNEL_INDEX(c) ((c) & ((1 << NCSI_PACKAGE_SHIFT) - 1))
246 unsigned char id; /* NCSI 3-bits package ID */
248 struct ncsi_dev_priv *ndp; /* NCSI device */
260 unsigned char id; /* Request ID - 0 to 255 */
265 struct ncsi_dev_priv *ndp; /* Associated NCSI device */
318 struct ncsi_dev ndev; /* Associated NCSI device */
319 unsigned int flags; /* NCSI device flags */
325 spinlock_t lock; /* Protect the NCSI device */
339 struct packet_type ptype; /* NCSI packet Rx handler */
340 struct list_head node; /* Form NCSI device list */
351 struct ncsi_dev_priv *ndp; /* Associated NCSI device */
375 list_for_each_entry_rcu(np, &ndp->packages, node)
377 list_for_each_entry_rcu(nc, &np->channels, node)