RE: [DPDK/ethdev Bug 1416] net/af_packet: tx_burst() can modify packets

2024-04-16 Thread Morten Brørup
+TO: John W. Linville, AF_PACKET maintainer > > > > > > > static uint16_t > > > > > > > eth_af_packet_tx(void *queue, struct rte_mbuf **bufs, > uint16_t > > > > > nb_pkts) > > > > > > > { > > > > > > > ... > > > > > > > for (i = 0; i < nb_pkts; i++) { > > > > > > >

Re: [DPDK/ethdev Bug 1416] net/af_packet: tx_burst() can modify packets

2024-04-16 Thread Stephen Hemminger
On Tue, 16 Apr 2024 20:11:05 +0200 Morten Brørup wrote: > > > > > > static uint16_t > > > > > > eth_af_packet_tx(void *queue, struct rte_mbuf **bufs, uint16_t > > > > nb_pkts) > > > > > > { > > > > > > ... > > > > > > for (i = 0; i < nb_pkts; i++) { > > > > > >

RE: [DPDK/ethdev Bug 1416] net/af_packet: tx_burst() can modify packets

2024-04-16 Thread Morten Brørup
> > > > > static uint16_t > > > > > eth_af_packet_tx(void *queue, struct rte_mbuf **bufs, uint16_t > > > nb_pkts) > > > > > { > > > > > ... > > > > > for (i = 0; i < nb_pkts; i++) { > > > > > mbuf = *bufs++; > > > > > > > > > > ... > > > > > > > > > >

RE: [DPDK/ethdev Bug 1416] net/af_packet: tx_burst() can modify packets

2024-04-16 Thread Konstantin Ananyev
> > > > static uint16_t > > > > eth_af_packet_tx(void *queue, struct rte_mbuf **bufs, uint16_t > > nb_pkts) > > > > { > > > > ... > > > > for (i = 0; i < nb_pkts; i++) { > > > > mbuf = *bufs++; > > > > > > > > ... > > > > > > > > /*

RE: [DPDK/ethdev Bug 1416] net/af_packet: tx_burst() can modify packets

2024-04-16 Thread Morten Brørup
> > > static uint16_t > > > eth_af_packet_tx(void *queue, struct rte_mbuf **bufs, uint16_t > nb_pkts) > > > { > > > ... > > > for (i = 0; i < nb_pkts; i++) { > > > mbuf = *bufs++; > > > > > > ... > > > > > > /* insert vlan info if nece

[DPDK/ethdev Bug 1416] net/af_packet: tx_burst() can modify packets

2024-04-16 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1416 Konstantin Ananyev (konstantin.v.anan...@yandex.ru) changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

RE: [DPDK/ethdev Bug 1416] net/af_packet: tx_burst() can modify packets

2024-04-16 Thread Konstantin Ananyev
> > > static uint16_t > > eth_af_packet_tx(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts) > > { > > ... > > for (i = 0; i < nb_pkts; i++) { > > mbuf = *bufs++; > > > > ... > > > > /* insert vlan info if necessary */ > >

Re: [DPDK/ethdev Bug 1416] net/af_packet: tx_burst() can modify packets

2024-04-16 Thread Stephen Hemminger
On Tue, 16 Apr 2024 10:29:53 + bugzi...@dpdk.org wrote: > static uint16_t > eth_af_packet_tx(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts) > { > ... > for (i = 0; i < nb_pkts; i++) { > mbuf = *bufs++; > > ... > > /* ins

[DPDK/ethdev Bug 1416] net/af_packet: tx_burst() can modify packets

2024-04-16 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1416 Bug ID: 1416 Summary: net/af_packet: tx_burst() can modify packets Product: DPDK Version: 24.03 Hardware: All OS: All Status: UNCONFIRMED Severity: normal