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

Function enicpmd_dev_flow_ops_get

dpdk/drivers/net/enic/enic_ethdev.c:76–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74RTE_LOG_REGISTER_DEFAULT(enic_pmd_logtype, INFO);
75
76static int
77enicpmd_dev_flow_ops_get(struct rte_eth_dev *dev,
78 const struct rte_flow_ops **ops)
79{
80 struct enic *enic = pmd_priv(dev);
81
82 ENICPMD_FUNC_TRACE();
83
84 if (enic->flow_filter_mode == FILTER_FLOWMAN)
85 *ops = &enic_fm_flow_ops;
86 else
87 *ops = &enic_flow_ops;
88 return 0;
89}
90
91static void enicpmd_dev_tx_queue_release(struct rte_eth_dev *dev, uint16_t qid)
92{

Callers

nothing calls this directly

Calls 1

pmd_privFunction · 0.85

Tested by

no test coverage detected