ip_frag: rename ipv4_fragmentation function
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
parent
416707812c
commit
5ab22ca3ba
@ -272,7 +272,7 @@ l3fwd_simple_forward(struct rte_mbuf *m, uint8_t port_in)
|
||||
qconf->tx_mbufs[port_out].m_table[len] = m;
|
||||
len2 = 1;
|
||||
} else {
|
||||
len2 = rte_ipv4_fragmentation(m,
|
||||
len2 = rte_ipv4_fragment_packet(m,
|
||||
&qconf->tx_mbufs[port_out].m_table[len],
|
||||
(uint16_t)(MBUF_TABLE_SIZE - len),
|
||||
IPV4_MTU_DEFAULT,
|
||||
|
@ -196,7 +196,7 @@ rte_ip_frag_table_destroy( struct rte_ip_frag_tbl *tbl)
|
||||
* in the pkts_out array.
|
||||
* Otherwise - (-1) * errno.
|
||||
*/
|
||||
int32_t rte_ipv4_fragmentation(struct rte_mbuf *pkt_in,
|
||||
int32_t rte_ipv4_fragment_packet(struct rte_mbuf *pkt_in,
|
||||
struct rte_mbuf **pkts_out,
|
||||
uint16_t nb_pkts_out, uint16_t mtu_size,
|
||||
struct rte_mempool *pool_direct,
|
||||
|
@ -96,7 +96,7 @@ static inline void __free_fragments(struct rte_mbuf *mb[], uint32_t num)
|
||||
* Otherwise - (-1) * <errno>.
|
||||
*/
|
||||
int32_t
|
||||
rte_ipv4_fragmentation(struct rte_mbuf *pkt_in,
|
||||
rte_ipv4_fragment_packet(struct rte_mbuf *pkt_in,
|
||||
struct rte_mbuf **pkts_out,
|
||||
uint16_t nb_pkts_out,
|
||||
uint16_t mtu_size,
|
||||
|
Loading…
Reference in New Issue
Block a user