RE: [PATCH v2] pcap: support MTU set

2023-07-06 Thread Ido Goshen
cover/20220620083944.51517-1-...@cgstowernetworks.com/ It was pretty long ago - not sure which is in favor > -Original Message- > From: Stephen Hemminger > Sent: Wednesday, 5 July 2023 18:19 > To: Ferruh Yigit > Cc: dev@dpdk.org; Ido Goshen > Subject: Re: [PATCH v2] pcap:

Re: [PATCH v2] pcap: support MTU set

2023-07-05 Thread Stephen Hemminger
On Wed, 5 Jul 2023 12:37:41 +0100 Ferruh Yigit 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 s

Re: [PATCH v2] pcap: support MTU set

2023-07-05 Thread Ferruh Yigit
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

[PATCH v2] pcap: support MTU set

2023-07-04 Thread Stephen Hemminger
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. Signed-off-by: Ido Goshen Signed-off-by: Stephen Hemminger --- v2 - fix FreeBSD part drivers/net/pca

RE: [PATCH v2] pcap: support MTU set

2022-05-23 Thread Ido Goshen
> -Original Message- > From: Ido Goshen > Sent: Monday, 23 May 2022 17:27 > To: Thomas Monjalon ; Ferruh Yigit > ; Andrew Rybchenko > > Cc: dev@dpdk.org; Ido Goshen > Subject: [PATCH v2] pcap: support MTU set > v2: > preserve pcap behavior to suppo

[PATCH v2] pcap: support MTU set

2022-05-23 Thread Ido Goshen
Support rte_eth_dev_set_mtu by pcap vdevs Enforce mtu on rx/tx Bugzilla ID: 961 Signed-off-by: Ido Goshen --- v2: preserve pcap behavior to support max size packets by default --- drivers/net/pcap/pcap_ethdev.c | 35 +++--- lib/ethdev/rte_ethdev.c| 3 ++- li