| 392 | } |
| 393 | |
| 394 | static void |
| 395 | l2fwd_simple_forward(struct rte_mbuf *m, unsigned int portid) |
| 396 | { |
| 397 | unsigned int dst_port; |
| 398 | int sent; |
| 399 | struct rte_eth_dev_tx_buffer *buffer; |
| 400 | |
| 401 | dst_port = l2fwd_dst_ports[portid]; |
| 402 | |
| 403 | if (mac_updating) |
| 404 | l2fwd_mac_updating(m, dst_port); |
| 405 | |
| 406 | buffer = tx_buffer[dst_port]; |
| 407 | sent = rte_eth_tx_buffer(dst_port, 0, buffer, m); |
| 408 | if (sent) |
| 409 | port_statistics[dst_port].tx += sent; |
| 410 | } |
| 411 | |
| 412 | static void |
| 413 | fill_macsec_sa_conf(uint16_t portid, struct rte_security_macsec_sa *sa) |
no test coverage detected