2 // Copyright (c) 2010-2017 Intel Corporation
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
25 uint16_t rx_pkt_hw(struct task_base *tbase, struct rte_mbuf ***mbufs);
26 uint16_t rx_pkt_hw_pow2(struct task_base *tbase, struct rte_mbuf ***mbufs);
27 uint16_t rx_pkt_hw1(struct task_base *tbase, struct rte_mbuf ***mbufs);
29 /* The _multi variation of the function is used to work-around the
30 problem with QoS, multi-seg mbufs and vector PMD. When vector
31 PMD returns more than 32 packets, the two variations of the
32 receive function can be merged back together. */
33 uint16_t rx_pkt_hw_multi(struct task_base *tbase, struct rte_mbuf ***mbufs);
34 uint16_t rx_pkt_hw_pow2_multi(struct task_base *tbase, struct rte_mbuf ***mbufs);
35 uint16_t rx_pkt_hw1_multi(struct task_base *tbase, struct rte_mbuf ***mbufs);
37 uint16_t rx_pkt_sw(struct task_base *tbase, struct rte_mbuf ***mbufs);
38 uint16_t rx_pkt_sw_pow2(struct task_base *tbase, struct rte_mbuf ***mbufs);
39 uint16_t rx_pkt_sw1(struct task_base *tbase, struct rte_mbuf ***mbufs);
40 uint16_t rx_pkt_self(struct task_base *tbase, struct rte_mbuf ***mbufs);
41 uint16_t rx_pkt_dummy(struct task_base *tbase, struct rte_mbuf ***mbufs);
42 uint16_t rx_pkt_dump(struct task_base *tbase, struct rte_mbuf ***mbufs);
43 uint16_t rx_pkt_trace(struct task_base *tbase, struct rte_mbuf ***mbufs);
44 uint16_t rx_pkt_distr(struct task_base *tbase, struct rte_mbuf ***mbufs);
45 uint16_t rx_pkt_bw(struct task_base *tbase, struct rte_mbuf ***mbufs);
46 uint16_t rx_pkt_tsc(struct task_base *tbase, struct rte_mbuf ***mbufs);
47 uint16_t rx_pkt_all(struct task_base *tbase, struct rte_mbuf ***mbufs);
49 #endif /* _RX_PKT_H_ */