Re: [dpdk-dev] [PATCH v3 2/4] net/af_xdp: specify minimal and maximal MTU

2019-04-17 Thread Ye Xiaolong
On 04/17, David Marchand wrote: >On Wed, Apr 17, 2019 at 11:02 AM Xiaolong Ye wrote: > >> Since AF_XDP pmd doesn't support multi segment, we need to add a valid >> check in eth_dev_mtu_set. >> > >How about: >Properly report mtu capability in port device info. Sounds better. > > >Reported-by: Dav

Re: [dpdk-dev] [PATCH v3 2/4] net/af_xdp: specify minimal and maximal MTU

2019-04-17 Thread David Marchand
On Wed, Apr 17, 2019 at 11:02 AM Xiaolong Ye wrote: > Since AF_XDP pmd doesn't support multi segment, we need to add a valid > check in eth_dev_mtu_set. > How about: Properly report mtu capability in port device info. Reported-by: David Marchand Signed-off-by: Xiaolong Ye > --- > drivers/n

[dpdk-dev] [PATCH v3 2/4] net/af_xdp: specify minimal and maximal MTU

2019-04-17 Thread Xiaolong Ye
Since AF_XDP pmd doesn't support multi segment, we need to add a valid check in eth_dev_mtu_set. Signed-off-by: Xiaolong Ye --- drivers/net/af_xdp/rte_eth_af_xdp.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/net/af_xdp/rte_eth_af_xdp.c b/drivers/net/af_xdp/rte_eth_