ethdev: add min/max MTU to device info
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 11 repliesIn review
- v16 patches 10 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | ethdev: add min/max MTU to device infodoc/ doc/ lib/ +3 more | +56 | 1 reply | |
| 2/7 | net/i40e: set min and max MTU for i40e devicesdrivers/ | +2 | 0 replies | |
| 3/7 | net/i40e: set min and max MTU for i40e VF devicesdrivers/ | +2 | 0 replies | |
| 4/7 | net/ixgbe: set min and max MTU for ixgbe devicesdrivers/ drivers/ | +6 | 0 replies | |
| 5/7 | net/ixgbe: set min and max MTU for ixgbe VF devicesdrivers/ | +2 | 0 replies | |
| 6/7 | net/e1000: set min and max MTU for igb devicesdrivers/ drivers/ | +11 | 7 replies | |
| 7/7 | app/testpmd: verify mtu with rte_eth_dev_info_get()app/ | +4 | 2 replies |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Andrew Rybchenko | Ferruh Yigit |
|---|---|---|
| Series | A-b | R-b R-b |
| 1/7 | A-b | R-b |
| 2/7 | ||
| 3/7 | ||
| 4/7 | ||
| 5/7 | ||
| 6/7 | ||
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/7] ethdev: add min/max MTU to device info
Building upon the discussion around [1], this series introduces MTU min and MTU max variables. It also provides updates to PMD implementations for ixgbe, i40e and IGB devices so that these variables are populated for use when retrieving device info.
This series was tested with OVS DPDK and functions as expected for the drivers listed below. But a wider selection of PMD drivers would have to adopt this to ensure jumbo frames functionality remains for drivers not modified in the series.
There is also ongoing discussion in [2] regarding overhead to be considered with MTU and how this may change from device to device, this series uses existing overhead assumptions.
This series was previously posted as an RFC in [3] and a v1 in [4], this revision implements changes received in feedback on v1.
[1] http://mails.dpdk.org/archives/dev/2018-September/110959.html
[2] http://mails.dpdk.org/archives/dev/2019-February/124457.html
[3] http://mails.dpdk.org/archives/dev/2019-February/124938.html
[4] http://mails.dpdk.org/archives/dev/2019-February/125319.html
Ian Stokes (6):
net/i40e: set min and max MTU for i40e devices net/i40e: set min and max MTU for i40e VF devices net/ixgbe: set min and max MTU for ixgbe devices net/ixgbe: set min and max MTU for ixgbe VF devices net/e1000: set min and max MTU for igb devices app/testpmd: verify mtu with rte_eth_dev_info_get()
Stephen Hemminger (1):
ethdev: add min/max MTU to device info
app/test-pmd/config.c | 4 ++++ doc/guides/rel_notes/deprecation.rst | 12 ------------ doc/guides/rel_notes/release_19_05.rst | 8 +++++++- drivers/net/e1000/e1000_ethdev.h | 6 ++++++ drivers/net/e1000/igb_ethdev.c | 7 +++++-- drivers/net/i40e/i40e_ethdev.c | 2 ++ drivers/net/i40e/i40e_ethdev_vf.c | 2 ++ drivers/net/ixgbe/ixgbe_ethdev.c | 7 +++++-- drivers/net/ixgbe/ixgbe_ethdev.h | 3 +++ lib/librte_ethdev/Makefile | 2 +- lib/librte_ethdev/meson.build | 2 +- lib/librte_ethdev/rte_ethdev.c | 15 +++++++++++++++ lib/librte_ethdev/rte_ethdev.h | 33 ++++++++++++++++++++++++++++++++- 13 files changed, 83 insertions(+), 20 deletions(-)
Signature · 1 line
2.13.6