[PATCH] net/pcap: support MTU set

Ferruh Yigit ferruh.yigit at amd.com
Mon Jul 10 19:46:33 CEST 2023


On 7/10/2023 5:45 PM, Stephen Hemminger wrote:
> On Thu, 17 Mar 2022 19:43:47 +0200
> ido g <ido at cgstowernetworks.com> wrote:
> 
>> Support rte_eth_dev_set_mtu by pcap vdevs
>> Enforce mtu on rx/tx
>> For more details see https://bugs.dpdk.org/show_bug.cgi?id=961
>>
>> Signed-off-by: ido g <ido at cgstowernetworks.com>
> 
> Feeling less convinced that this is needed.
> The motivation appears to be to test with an underlying Linux device.
> If so, then why not use af_packet or tap devices which already should handle MTU?
>

I am feeling similar for case that requires underlying physical device.

If there is a need/use case for .pcap file, as far as I can see v4
version of this set is handling .pcap file case.


More information about the dev mailing list