MCPcopy Create free account
hub / github.com/F-Stack/f-stack / is_tunnel_offload_active

Function is_tunnel_offload_active

dpdk/drivers/net/mlx5/mlx5_flow.h:1076–1086  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1074}
1075
1076static inline bool
1077is_tunnel_offload_active(const struct rte_eth_dev *dev)
1078{
1079#ifdef HAVE_IBV_FLOW_DV_SUPPORT
1080 const struct mlx5_priv *priv = dev->data->dev_private;
1081 return !!priv->sh->config.dv_miss_info;
1082#else
1083 RTE_SET_USED(dev);
1084 return false;
1085#endif
1086}
1087
1088static inline bool
1089is_flow_tunnel_match_rule(enum mlx5_tof_rule_type tof_rule_type)

Callers 8

flow_dv_validateFunction · 0.85
flow_dv_tbl_create_cbFunction · 0.85
flow_dv_translateFunction · 0.85
mlx5_flow_group_to_tableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected