Lines Matching +full:master +full:- +full:stats

1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2 /* Copyright (C) 2017-2018 Netronome Systems, Inc. */
89 * struct nfp_fl_tunnel_offloads - priv data for tunnel offloads
109 * struct nfp_tun_neigh_lag - lag info
119 * struct nfp_tun_neigh - basic neighbour data
122 * @port_id: NFP port to output packet on - associated with source IPv4
131 * struct nfp_tun_neigh_ext - extended neighbour data
143 * struct nfp_tun_neigh_v4 - neighbour/route entry on the NFP for IPv4
159 * struct nfp_tun_neigh_v6 - neighbour/route entry on the NFP for IPv6
205 * struct nfp_mtu_conf - manage MTU setting
221 * struct nfp_fl_lag - Flower APP priv data for link aggregation
224 * @group_list: List of all master/slave groups offloaded
246 * struct nfp_fl_internal_ports - Flower APP priv data for additional ports
256 * struct nfp_flower_priv - Flower APP per-vNIC priv data
263 * @stats_ids: List of free stats ids
266 * @stats_ring_size: Maximum number of allowed stats ids
268 * @stats: Stored stats updates for flower rules
269 * @stats_lock: Lock for flower rule stats updates
270 * @stats_ctx_table: Hash table to map stats contexts to its flow rule
283 * @non_repr_priv: List of offloaded non-repr ports and their priv data
287 * @qos_stats_work: Workqueue for qos stats processing
289 * @qos_stats_lock: Lock on qos stats updates
290 * @meter_stats_lock: Lock on meter stats updates
292 * @pre_tun_rule_cnt: Number of pre-tunnel rules offloaded
314 struct nfp_fl_stats *stats; member
315 spinlock_t stats_lock; /* lock stats */
332 spinlock_t qos_stats_lock; /* Protect the qos stats */
333 struct mutex meter_stats_lock; /* Protect the meter stats */
347 * struct nfp_fl_qos - Flower APP priv data for quality of service
349 * @curr_stats: Currently stored stats updates for qos info
351 * @last_update: Stored time when last stats were updated
361 * struct nfp_flower_repr_priv - Flower APP per-repr priv data
383 * struct nfp_flower_non_repr_priv - Priv data for non-repr offloaded ports
385 * @netdev: Pointer to non-repr net_device
422 * struct nfp_ipv6_addr_entry - cached IPv6 addresses
508 } stats; member
520 struct nfp_flower_priv *app_priv = app->priv; in nfp_flower_internal_port_can_offload()
522 if (!(app_priv->flower_en_feats & NFP_FL_ENABLE_FLOW_MERGE)) in nfp_flower_internal_port_can_offload()
524 if (!netdev->rtnl_link_ops) in nfp_flower_internal_port_can_offload()
526 if (!strcmp(netdev->rtnl_link_ops->kind, "openvswitch")) in nfp_flower_internal_port_can_offload()
538 return flow_pay->tc_flower_cookie == (unsigned long)flow_pay; in nfp_flower_is_merge_flow()
663 struct net_device *master,
667 struct net_device *master);