mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
Pull networking updates from Paolo Abeni: "Core: - Allow live renaming when an interface is up - Add retpoline wrappers for tc, improving considerably the performances of complex queue discipline configurations - Add inet drop monitor support - A few GRO performance improvements - Add infrastructure for atomic dev stats, addressing long standing data races - De-duplicate common code between OVS and conntrack offloading infrastructure - A bunch of UBSAN_BOUNDS/FORTIFY_SOURCE improvements - Netfilter: introduce packet parser for tunneled packets - Replace IPVS timer-based estimators with kthreads to scale up the workload with the number of available CPUs - Add the helper support for connection-tracking OVS offload BPF: - Support for user defined BPF objects: the use case is to allocate own objects, build own object hierarchies and use the building blocks to build own data structures flexibly, for example, linked lists in BPF - Make cgroup local storage available to non-cgroup attached BPF programs - Avoid unnecessary deadlock detection and failures wrt BPF task storage helpers - A relevant bunch of BPF verifier fixes and improvements - Veristat tool improvements to support custom filtering, sorting, and replay of results - Add LLVM disassembler as default library for dumping JITed code - Lots of new BPF documentation for various BPF maps - Add bpf_rcu_read_{,un}lock() support for sleepable programs - Add RCU grace period chaining to BPF to wait for the completion of access from both sleepable and non-sleepable BPF programs - Add support storing struct task_struct objects as kptrs in maps - Improve helper UAPI by explicitly defining BPF_FUNC_xxx integer values - Add libbpf *_opts API-variants for bpf_*_get_fd_by_id() functions Protocols: - TCP: implement Protective Load Balancing across switch links - TCP: allow dynamically disabling TCP-MD5 static key, reverting back to fast[er]-path - UDP: Introduce optional per-netns hash lookup table - IPv6: simplify and cleanup sockets disposal - Netlink: support different type policies for each generic netlink operation - MPTCP: add MSG_FASTOPEN and FastOpen listener side support - MPTCP: add netlink notification support for listener sockets events - SCTP: add VRF support, allowing sctp sockets binding to VRF devices - Add bridging MAC Authentication Bypass (MAB) support - Extensions for Ethernet VPN bridging implementation to better support multicast scenarios - More work for Wi-Fi 7 support, comprising conversion of all the existing drivers to internal TX queue usage - IPSec: introduce a new offload type (packet offload) allowing complete header processing and crypto offloading - IPSec: extended ack support for more descriptive XFRM error reporting - RXRPC: increase SACK table size and move processing into a per-local endpoint kernel thread, reducing considerably the required locking - IEEE 802154: synchronous send frame and extended filtering support, initial support for scanning available 15.4 networks - Tun: bump the link speed from 10Mbps to 10Gbps - Tun/VirtioNet: implement UDP segmentation offload support Driver API: - PHY/SFP: improve power level switching between standard level 1 and the higher power levels - New API for netdev <-> devlink_port linkage - PTP: convert existing drivers to new frequency adjustment implementation - DSA: add support for rx offloading - Autoload DSA tagging driver when dynamically changing protocol - Add new PCP and APPTRUST attributes to Data Center Bridging - Add configuration support for 800Gbps link speed - Add devlink port function attribute to enable/disable RoCE and migratable - Extend devlink-rate to support strict prioriry and weighted fair queuing - Add devlink support to directly reading from region memory - New device tree helper to fetch MAC address from nvmem - New big TCP helper to simplify temporary header stripping New hardware / drivers: - Ethernet: - Marvel Octeon CNF95N and CN10KB Ethernet Switches - Marvel Prestera AC5X Ethernet Switch - WangXun 10 Gigabit NIC - Motorcomm yt8521 Gigabit Ethernet - Microchip ksz9563 Gigabit Ethernet Switch - Microsoft Azure Network Adapter - Linux Automation 10Base-T1L adapter - PHY: - Aquantia AQR112 and AQR412 - Motorcomm YT8531S - PTP: - Orolia ART-CARD - WiFi: - MediaTek Wi-Fi 7 (802.11be) devices - RealTek rtw8821cu, rtw8822bu, rtw8822cu and rtw8723du USB devices - Bluetooth: - Broadcom BCM4377/4378/4387 Bluetooth chipsets - Realtek RTL8852BE and RTL8723DS - Cypress.CYW4373A0 WiFi + Bluetooth combo device Drivers: - CAN: - gs_usb: bus error reporting support - kvaser_usb: listen only and bus error reporting support - Ethernet NICs: - Intel (100G): - extend action skbedit to RX queue mapping - implement devlink-rate support - support direct read from memory - nVidia/Mellanox (mlx5): - SW steering improvements, increasing rules update rate - Support for enhanced events compression - extend H/W offload packet manipulation capabilities - implement IPSec packet offload mode - nVidia/Mellanox (mlx4): - better big TCP support - Netronome Ethernet NICs (nfp): - IPsec offload support - add support for multicast filter - Broadcom: - RSS and PTP support improvements - AMD/SolarFlare: - netlink extened ack improvements - add basic flower matches to offload, and related stats - Virtual NICs: - ibmvnic: introduce affinity hint support - small / embedded: - FreeScale fec: add initial XDP support - Marvel mv643xx_eth: support MII/GMII/RGMII modes for Kirkwood - TI am65-cpsw: add suspend/resume support - Mediatek MT7986: add RX wireless wthernet dispatch support - Realtek 8169: enable GRO software interrupt coalescing per default - Ethernet high-speed switches: - Microchip (sparx5): - add support for Sparx5 TC/flower H/W offload via VCAP - Mellanox mlxsw: - add 802.1X and MAC Authentication Bypass offload support - add ip6gre support - Embedded Ethernet switches: - Mediatek (mtk_eth_soc): - improve PCS implementation, add DSA untag support - enable flow offload support - Renesas: - add rswitch R-Car Gen4 gPTP support - Microchip (lan966x): - add full XDP support - add TC H/W offload via VCAP - enable PTP on bridge interfaces - Microchip (ksz8): - add MTU support for KSZ8 series - Qualcomm 802.11ax WiFi (ath11k): - support configuring channel dwell time during scan - MediaTek WiFi (mt76): - enable Wireless Ethernet Dispatch (WED) offload support - add ack signal support - enable coredump support - remain_on_channel support - Intel WiFi (iwlwifi): - enable Wi-Fi 7 Extremely High Throughput (EHT) PHY capabilities - 320 MHz channels support - RealTek WiFi (rtw89): - new dynamic header firmware format support - wake-over-WLAN support" * tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (2002 commits) ipvs: fix type warning in do_div() on 32 bit net: lan966x: Remove a useless test in lan966x_ptp_add_trap() net: ipa: add IPA v4.7 support dt-bindings: net: qcom,ipa: Add SM6350 compatible bnxt: Use generic HBH removal helper in tx path IPv6/GRO: generic helper to remove temporary HBH/jumbo header in driver selftests: forwarding: Add bridge MDB test selftests: forwarding: Rename bridge_mdb test bridge: mcast: Support replacement of MDB port group entries bridge: mcast: Allow user space to specify MDB entry routing protocol bridge: mcast: Allow user space to add (*, G) with a source list and filter mode bridge: mcast: Add support for (*, G) with a source list and filter mode bridge: mcast: Avoid arming group timer when (S, G) corresponds to a source bridge: mcast: Add a flag for user installed source entries bridge: mcast: Expose __br_multicast_del_group_src() bridge: mcast: Expose br_multicast_new_group_src() bridge: mcast: Add a centralized error path bridge: mcast: Place netlink policy before validation functions bridge: mcast: Split (*, G) and (S, G) addition into different functions bridge: mcast: Do not derive entry type from its filter mode ...
This commit is contained in:
@@ -596,221 +596,6 @@ enum ocelot_ptp_pins {
|
||||
TOD_ACC_PIN
|
||||
};
|
||||
|
||||
enum ocelot_stat {
|
||||
OCELOT_STAT_RX_OCTETS,
|
||||
OCELOT_STAT_RX_UNICAST,
|
||||
OCELOT_STAT_RX_MULTICAST,
|
||||
OCELOT_STAT_RX_BROADCAST,
|
||||
OCELOT_STAT_RX_SHORTS,
|
||||
OCELOT_STAT_RX_FRAGMENTS,
|
||||
OCELOT_STAT_RX_JABBERS,
|
||||
OCELOT_STAT_RX_CRC_ALIGN_ERRS,
|
||||
OCELOT_STAT_RX_SYM_ERRS,
|
||||
OCELOT_STAT_RX_64,
|
||||
OCELOT_STAT_RX_65_127,
|
||||
OCELOT_STAT_RX_128_255,
|
||||
OCELOT_STAT_RX_256_511,
|
||||
OCELOT_STAT_RX_512_1023,
|
||||
OCELOT_STAT_RX_1024_1526,
|
||||
OCELOT_STAT_RX_1527_MAX,
|
||||
OCELOT_STAT_RX_PAUSE,
|
||||
OCELOT_STAT_RX_CONTROL,
|
||||
OCELOT_STAT_RX_LONGS,
|
||||
OCELOT_STAT_RX_CLASSIFIED_DROPS,
|
||||
OCELOT_STAT_RX_RED_PRIO_0,
|
||||
OCELOT_STAT_RX_RED_PRIO_1,
|
||||
OCELOT_STAT_RX_RED_PRIO_2,
|
||||
OCELOT_STAT_RX_RED_PRIO_3,
|
||||
OCELOT_STAT_RX_RED_PRIO_4,
|
||||
OCELOT_STAT_RX_RED_PRIO_5,
|
||||
OCELOT_STAT_RX_RED_PRIO_6,
|
||||
OCELOT_STAT_RX_RED_PRIO_7,
|
||||
OCELOT_STAT_RX_YELLOW_PRIO_0,
|
||||
OCELOT_STAT_RX_YELLOW_PRIO_1,
|
||||
OCELOT_STAT_RX_YELLOW_PRIO_2,
|
||||
OCELOT_STAT_RX_YELLOW_PRIO_3,
|
||||
OCELOT_STAT_RX_YELLOW_PRIO_4,
|
||||
OCELOT_STAT_RX_YELLOW_PRIO_5,
|
||||
OCELOT_STAT_RX_YELLOW_PRIO_6,
|
||||
OCELOT_STAT_RX_YELLOW_PRIO_7,
|
||||
OCELOT_STAT_RX_GREEN_PRIO_0,
|
||||
OCELOT_STAT_RX_GREEN_PRIO_1,
|
||||
OCELOT_STAT_RX_GREEN_PRIO_2,
|
||||
OCELOT_STAT_RX_GREEN_PRIO_3,
|
||||
OCELOT_STAT_RX_GREEN_PRIO_4,
|
||||
OCELOT_STAT_RX_GREEN_PRIO_5,
|
||||
OCELOT_STAT_RX_GREEN_PRIO_6,
|
||||
OCELOT_STAT_RX_GREEN_PRIO_7,
|
||||
OCELOT_STAT_TX_OCTETS,
|
||||
OCELOT_STAT_TX_UNICAST,
|
||||
OCELOT_STAT_TX_MULTICAST,
|
||||
OCELOT_STAT_TX_BROADCAST,
|
||||
OCELOT_STAT_TX_COLLISION,
|
||||
OCELOT_STAT_TX_DROPS,
|
||||
OCELOT_STAT_TX_PAUSE,
|
||||
OCELOT_STAT_TX_64,
|
||||
OCELOT_STAT_TX_65_127,
|
||||
OCELOT_STAT_TX_128_255,
|
||||
OCELOT_STAT_TX_256_511,
|
||||
OCELOT_STAT_TX_512_1023,
|
||||
OCELOT_STAT_TX_1024_1526,
|
||||
OCELOT_STAT_TX_1527_MAX,
|
||||
OCELOT_STAT_TX_YELLOW_PRIO_0,
|
||||
OCELOT_STAT_TX_YELLOW_PRIO_1,
|
||||
OCELOT_STAT_TX_YELLOW_PRIO_2,
|
||||
OCELOT_STAT_TX_YELLOW_PRIO_3,
|
||||
OCELOT_STAT_TX_YELLOW_PRIO_4,
|
||||
OCELOT_STAT_TX_YELLOW_PRIO_5,
|
||||
OCELOT_STAT_TX_YELLOW_PRIO_6,
|
||||
OCELOT_STAT_TX_YELLOW_PRIO_7,
|
||||
OCELOT_STAT_TX_GREEN_PRIO_0,
|
||||
OCELOT_STAT_TX_GREEN_PRIO_1,
|
||||
OCELOT_STAT_TX_GREEN_PRIO_2,
|
||||
OCELOT_STAT_TX_GREEN_PRIO_3,
|
||||
OCELOT_STAT_TX_GREEN_PRIO_4,
|
||||
OCELOT_STAT_TX_GREEN_PRIO_5,
|
||||
OCELOT_STAT_TX_GREEN_PRIO_6,
|
||||
OCELOT_STAT_TX_GREEN_PRIO_7,
|
||||
OCELOT_STAT_TX_AGED,
|
||||
OCELOT_STAT_DROP_LOCAL,
|
||||
OCELOT_STAT_DROP_TAIL,
|
||||
OCELOT_STAT_DROP_YELLOW_PRIO_0,
|
||||
OCELOT_STAT_DROP_YELLOW_PRIO_1,
|
||||
OCELOT_STAT_DROP_YELLOW_PRIO_2,
|
||||
OCELOT_STAT_DROP_YELLOW_PRIO_3,
|
||||
OCELOT_STAT_DROP_YELLOW_PRIO_4,
|
||||
OCELOT_STAT_DROP_YELLOW_PRIO_5,
|
||||
OCELOT_STAT_DROP_YELLOW_PRIO_6,
|
||||
OCELOT_STAT_DROP_YELLOW_PRIO_7,
|
||||
OCELOT_STAT_DROP_GREEN_PRIO_0,
|
||||
OCELOT_STAT_DROP_GREEN_PRIO_1,
|
||||
OCELOT_STAT_DROP_GREEN_PRIO_2,
|
||||
OCELOT_STAT_DROP_GREEN_PRIO_3,
|
||||
OCELOT_STAT_DROP_GREEN_PRIO_4,
|
||||
OCELOT_STAT_DROP_GREEN_PRIO_5,
|
||||
OCELOT_STAT_DROP_GREEN_PRIO_6,
|
||||
OCELOT_STAT_DROP_GREEN_PRIO_7,
|
||||
OCELOT_NUM_STATS,
|
||||
};
|
||||
|
||||
struct ocelot_stat_layout {
|
||||
u32 reg;
|
||||
char name[ETH_GSTRING_LEN];
|
||||
};
|
||||
|
||||
/* 32-bit counter checked for wraparound by ocelot_port_update_stats()
|
||||
* and copied to ocelot->stats.
|
||||
*/
|
||||
#define OCELOT_STAT(kind) \
|
||||
[OCELOT_STAT_ ## kind] = { .reg = SYS_COUNT_ ## kind }
|
||||
/* Same as above, except also exported to ethtool -S. Standard counters should
|
||||
* only be exposed to more specific interfaces rather than by their string name.
|
||||
*/
|
||||
#define OCELOT_STAT_ETHTOOL(kind, ethtool_name) \
|
||||
[OCELOT_STAT_ ## kind] = { .reg = SYS_COUNT_ ## kind, .name = ethtool_name }
|
||||
|
||||
#define OCELOT_COMMON_STATS \
|
||||
OCELOT_STAT_ETHTOOL(RX_OCTETS, "rx_octets"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_UNICAST, "rx_unicast"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_MULTICAST, "rx_multicast"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_BROADCAST, "rx_broadcast"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_SHORTS, "rx_shorts"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_FRAGMENTS, "rx_fragments"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_JABBERS, "rx_jabbers"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_CRC_ALIGN_ERRS, "rx_crc_align_errs"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_SYM_ERRS, "rx_sym_errs"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_64, "rx_frames_below_65_octets"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_65_127, "rx_frames_65_to_127_octets"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_128_255, "rx_frames_128_to_255_octets"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_256_511, "rx_frames_256_to_511_octets"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_512_1023, "rx_frames_512_to_1023_octets"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_1024_1526, "rx_frames_1024_to_1526_octets"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_1527_MAX, "rx_frames_over_1526_octets"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_PAUSE, "rx_pause"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_CONTROL, "rx_control"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_LONGS, "rx_longs"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_CLASSIFIED_DROPS, "rx_classified_drops"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_RED_PRIO_0, "rx_red_prio_0"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_RED_PRIO_1, "rx_red_prio_1"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_RED_PRIO_2, "rx_red_prio_2"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_RED_PRIO_3, "rx_red_prio_3"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_RED_PRIO_4, "rx_red_prio_4"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_RED_PRIO_5, "rx_red_prio_5"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_RED_PRIO_6, "rx_red_prio_6"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_RED_PRIO_7, "rx_red_prio_7"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_YELLOW_PRIO_0, "rx_yellow_prio_0"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_YELLOW_PRIO_1, "rx_yellow_prio_1"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_YELLOW_PRIO_2, "rx_yellow_prio_2"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_YELLOW_PRIO_3, "rx_yellow_prio_3"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_YELLOW_PRIO_4, "rx_yellow_prio_4"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_YELLOW_PRIO_5, "rx_yellow_prio_5"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_YELLOW_PRIO_6, "rx_yellow_prio_6"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_YELLOW_PRIO_7, "rx_yellow_prio_7"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_GREEN_PRIO_0, "rx_green_prio_0"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_GREEN_PRIO_1, "rx_green_prio_1"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_GREEN_PRIO_2, "rx_green_prio_2"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_GREEN_PRIO_3, "rx_green_prio_3"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_GREEN_PRIO_4, "rx_green_prio_4"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_GREEN_PRIO_5, "rx_green_prio_5"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_GREEN_PRIO_6, "rx_green_prio_6"), \
|
||||
OCELOT_STAT_ETHTOOL(RX_GREEN_PRIO_7, "rx_green_prio_7"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_OCTETS, "tx_octets"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_UNICAST, "tx_unicast"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_MULTICAST, "tx_multicast"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_BROADCAST, "tx_broadcast"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_COLLISION, "tx_collision"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_DROPS, "tx_drops"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_PAUSE, "tx_pause"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_64, "tx_frames_below_65_octets"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_65_127, "tx_frames_65_to_127_octets"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_128_255, "tx_frames_128_255_octets"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_256_511, "tx_frames_256_511_octets"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_512_1023, "tx_frames_512_1023_octets"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_1024_1526, "tx_frames_1024_1526_octets"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_1527_MAX, "tx_frames_over_1526_octets"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_YELLOW_PRIO_0, "tx_yellow_prio_0"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_YELLOW_PRIO_1, "tx_yellow_prio_1"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_YELLOW_PRIO_2, "tx_yellow_prio_2"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_YELLOW_PRIO_3, "tx_yellow_prio_3"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_YELLOW_PRIO_4, "tx_yellow_prio_4"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_YELLOW_PRIO_5, "tx_yellow_prio_5"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_YELLOW_PRIO_6, "tx_yellow_prio_6"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_YELLOW_PRIO_7, "tx_yellow_prio_7"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_GREEN_PRIO_0, "tx_green_prio_0"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_GREEN_PRIO_1, "tx_green_prio_1"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_GREEN_PRIO_2, "tx_green_prio_2"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_GREEN_PRIO_3, "tx_green_prio_3"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_GREEN_PRIO_4, "tx_green_prio_4"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_GREEN_PRIO_5, "tx_green_prio_5"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_GREEN_PRIO_6, "tx_green_prio_6"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_GREEN_PRIO_7, "tx_green_prio_7"), \
|
||||
OCELOT_STAT_ETHTOOL(TX_AGED, "tx_aged"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_LOCAL, "drop_local"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_TAIL, "drop_tail"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_YELLOW_PRIO_0, "drop_yellow_prio_0"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_YELLOW_PRIO_1, "drop_yellow_prio_1"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_YELLOW_PRIO_2, "drop_yellow_prio_2"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_YELLOW_PRIO_3, "drop_yellow_prio_3"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_YELLOW_PRIO_4, "drop_yellow_prio_4"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_YELLOW_PRIO_5, "drop_yellow_prio_5"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_YELLOW_PRIO_6, "drop_yellow_prio_6"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_YELLOW_PRIO_7, "drop_yellow_prio_7"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_GREEN_PRIO_0, "drop_green_prio_0"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_GREEN_PRIO_1, "drop_green_prio_1"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_GREEN_PRIO_2, "drop_green_prio_2"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_GREEN_PRIO_3, "drop_green_prio_3"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_GREEN_PRIO_4, "drop_green_prio_4"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_GREEN_PRIO_5, "drop_green_prio_5"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_GREEN_PRIO_6, "drop_green_prio_6"), \
|
||||
OCELOT_STAT_ETHTOOL(DROP_GREEN_PRIO_7, "drop_green_prio_7")
|
||||
|
||||
struct ocelot_stats_region {
|
||||
struct list_head node;
|
||||
u32 base;
|
||||
int count;
|
||||
u32 *buf;
|
||||
};
|
||||
|
||||
enum ocelot_tag_prefix {
|
||||
OCELOT_TAG_PREFIX_DISABLED = 0,
|
||||
OCELOT_TAG_PREFIX_NONE,
|
||||
@@ -967,7 +752,6 @@ struct ocelot {
|
||||
struct regmap *targets[TARGET_MAX];
|
||||
struct regmap_field *regfields[REGFIELD_MAX];
|
||||
const u32 *const *map;
|
||||
const struct ocelot_stat_layout *stats_layout;
|
||||
struct list_head stats_regions;
|
||||
|
||||
u32 pool_size[OCELOT_SB_NUM][OCELOT_SB_POOL_NUM];
|
||||
|
Reference in New Issue
Block a user