[dpdk-dev] [PATCH v3] bond: inherit maximum rx packet length

Eric Kinzie ehkinzie at gmail.com
Sat May 7 05:45:23 CEST 2016


v2 changes:
 - remove type cast on constant
 - check max_rx_pktlen when adding a slave to make sure it is >= max
   packet length of existing slave interfaces

v3 changes:
 - allow slaves with any max rx packet length to be added to the bonding
   interface until it is configured.  After bond_ethdev_configure()
   only slaves with max pktlen greater than that of the bond device
   can be added.  The bond device assumes the smallest of the slave max
   pktlen values.
 - reset bond device's max_rx_pktlen when last slave removed

Eric Kinzie (1):
  bond: inherit maximum rx packet length

 drivers/net/bonding/rte_eth_bond_api.c     | 18 +++++++++++++++++-
 drivers/net/bonding/rte_eth_bond_pmd.c     |  6 +++++-
 drivers/net/bonding/rte_eth_bond_private.h |  3 +++
 3 files changed, 25 insertions(+), 2 deletions(-)

-- 
2.1.4



More information about the dev mailing list