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

Function ipsec_event_pre_forward

dpdk/examples/ipsec-secgw/ipsec_worker.c:67–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67static inline void
68ipsec_event_pre_forward(struct rte_mbuf *m, unsigned int port_id)
69{
70 /* Save the destination port in the mbuf */
71 m->port = port_id;
72
73 /* Save eth queue for Tx */
74 rte_event_eth_tx_adapter_txq_set(m, 0);
75}
76
77static inline void
78ev_vector_attr_init(struct rte_event_vector *vec)

Calls 1

Tested by

no test coverage detected