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

Function nfp_flow_inner_item_get

dpdk/drivers/net/nfp/nfp_flow.c:2008–2024  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2006}
2007
2008bool
2009nfp_flow_inner_item_get(const struct rte_flow_item items[],
2010 const struct rte_flow_item **inner_item)
2011{
2012 const struct rte_flow_item *item;
2013
2014 *inner_item = items;
2015
2016 for (item = items; item->type != RTE_FLOW_ITEM_TYPE_END; ++item) {
2017 if (nfp_flow_is_tun_item(item)) {
2018 *inner_item = ++item;
2019 return true;
2020 }
2021 }
2022
2023 return false;
2024}
2025
2026static bool
2027nfp_flow_tcp_flag_check(const struct rte_flow_item items[])

Callers 3

nfp_flow_compile_itemsFunction · 0.85
nfp_ct_merge_items_checkFunction · 0.85
nfp_ct_merge_itemsFunction · 0.85

Calls 1

nfp_flow_is_tun_itemFunction · 0.85

Tested by

no test coverage detected