> This patchset introduces 3 new ethdev operations: flow control parameters > retrieval and mtu get/set operations. > > Changes since v1: > - compute min rx buffer size at ethdev level (to simplify pmd mtu checks) > - introduce enable_scatter rx mode so that we can advise pmd to configure > scatter mode > - rework mtu get/set operations (based on Konstantin comments) > - pass checkpatch.pl checks > > Changes since v2: > - rebase on top of master > - fix min_rx_buf_size computation (patch 3) > - fix frame size checks for ixgbe so that vlan and double vlan frames can be > received (patch 5 and 6) > - add a new ETHER_MIN_MTU macro in rte_ether.h (patch 5 and 6) > > > -- > David Marchand > > David Marchand (3): > ethdev: add autoneg parameter in flow ctrl accessors > ethdev: store min rx buffer size > ethdev: introduce enable_scatter rx mode > > Ivan Boule (2): > ixgbe: add set_mtu to ixgbevf > app/testpmd: allow to configure mtu > > Samuel Gauthier (1): > ethdev: add mtu accessors > > Zijie Pan (1): > ethdev: retrieve flow control configuration > > app/test-pmd/cmdline.c | 54 +++++++++++++ > app/test-pmd/config.c | 13 ++++ > app/test-pmd/testpmd.h | 2 +- > lib/librte_ether/rte_ethdev.c | 77 +++++++++++++++++-- > lib/librte_ether/rte_ethdev.h | 65 +++++++++++++++- > lib/librte_ether/rte_ether.h | 2 + > lib/librte_pmd_e1000/em_ethdev.c | 89 +++++++++++++++++++++ > lib/librte_pmd_e1000/em_rxtx.c | 5 ++ > lib/librte_pmd_e1000/igb_ethdev.c | 100 ++++++++++++++++++++++++ > lib/librte_pmd_e1000/igb_rxtx.c | 10 +++ > lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 145 > ++++++++++++++++++++++++++++++++++- > lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 27 ++++++- > 12 files changed, 573 insertions(+), 16 deletions(-) > > --
Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>