[PATCH v2] pcap: support MTU set
Stephen Hemminger
stephen at networkplumber.org
Wed Jul 5 17:18:48 CEST 2023
On Wed, 5 Jul 2023 12:37:41 +0100
Ferruh Yigit <ferruh.yigit at amd.com> wrote:
> On 7/4/2023 10:02 PM, Stephen Hemminger wrote:
> > Support rte_eth_dev_set_mtu for pcap driver when the
> > pcap device is convigured to point to a network interface.
> >
> > This is rebased an consolidated from earlier version.
> > Added support for FreeBSD.
> >
>
> As far as I understand motivation is to make pcap PMD behave close the
> physical NIC and able to test the application MTU feature.
> If so, Ido's v4 was simpler, which doesn't distinguish if pcap backed by
> physical interface or .pcap file.
> What was wrong with that approach?
I started with Ido's patch, then:
- combined the two patches into one.
- fixed the error handling (propogate errno correctly)
- add missing freebsd support
Normally would just give feedback but patch was so old not sure if it was
stuck and unlikely to get merged.
More information about the dev
mailing list