[PATCH] pcapng: fix write more packets than IOV_MAX limit

2022-07-25 Thread Mário Kuka
The rte_pcapng_write_packets() function fails when we try to write more packets than the IOV_MAX limit. The error is caused by the writev() system call, which is limited by the IOV_MAX limit. The iovcnt argument is valid if it is greater than 0 and less than or equal to IOV_MAX as defined in . To

Re: [PATCH] pcapng: fix write more packets than IOV_MAX limit

2022-07-25 Thread Stephen Hemminger
On Mon, 25 Jul 2022 17:28:11 +0200 Mário Kuka wrote: > The rte_pcapng_write_packets() function fails when we try to write more > packets than the IOV_MAX limit. The error is caused by the writev() > system call, which is limited by the IOV_MAX limit. The iovcnt argument > is valid if it is greate

Re: [PATCH] pcapng: fix write more packets than IOV_MAX limit

2022-07-25 Thread Stephen Hemminger
On Mon, 25 Jul 2022 17:28:11 +0200 Mário Kuka wrote: > The rte_pcapng_write_packets() function fails when we try to write more > packets than the IOV_MAX limit. The error is caused by the writev() > system call, which is limited by the IOV_MAX limit. The iovcnt argument > is valid if it is greate