resend same queue tx burst
Lokesh Chakka
lvenkatakumarchakka at gmail.com
Mon Aug 5 16:01:06 CEST 2024
hi,
I've written a small piece of code(PFA) for sending packets. I'm facing two
issues here :
In rte_pktmbuf_append, if I pass dev_info.max_mtu, it's failing. however,
if I set 1500, it is able to allocate.
Is there a way to allocate dev_info.max_mtu(9702) ?
I want to send the same queue multiple times using rte_eth_tx_burst. First
time, it is sending. But the second time it is giving an error.
Can someone help me understand?
Thanks & Regards
--
Lokesh Chakka.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/users/attachments/20240805/16d48f64/attachment.htm>
-------------- next part --------------
gcc pmd.c -g -o pmd -I/usr/local/lib64 -lrte_eal -lrte_mbuf -lrte_ethdev -lrte_mempool && ./pmd 0 s a
EAL: Detected CPU lcores: 84
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
EAL: Probe PCI driver: net_ice (8086:579d) device: 0000:1b:00.2 (socket 0)
ice_dev_init(): Failed to read device serial number
ice_load_pkg_type(): Active package is: 1.3.36.0, ICE OS Default Package (double VLAN mode)
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
EAL: Probe PCI driver: net_ice (8086:579d) device: 0000:1b:00.3 (socket 0)
ice_dev_init(): Failed to read device serial number
ice_load_pkg_type(): Active package is: 1.3.36.0, ICE OS Default Package (double VLAN mode)
TELEMETRY: No legacy callbacks, legacy socket not created
main 50 port id: 0 num_of_pkts_per_queue: 4096
ice_set_rx_function(): Using AVX2 Vector Rx (port 0).
ice_interrupt_handler(): OICR: MDD event
ice_interrupt_handler(): OICR: MDD event
ice_interrupt_handler(): OICR: MDD event
ice_interrupt_handler(): OICR: MDD event
main 105 port: 0 packet: a sent 4096 packets
ice_interrupt_handler(): OICR: MDD event
2 No such file or directory
EAL: Error - exiting with code: 1
Cause: main 103 rte_eth_tx_burst port id: 0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pmd.c
Type: text/x-csrc
Size: 5668 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/users/attachments/20240805/16d48f64/attachment.c>
More information about the users
mailing list