numam-dpdk/lib/librte_ether
Samuel Gauthier 59d0ecdbf0 ethdev: MTU accessors
This patch adds two new functions in ethdev api to retrieve current MTU and
change MTU of a port.
Only .mtu_set function is pmd specific.
pmd should update its max_rx_pkt_len if needed.

This operation has been implemented for rte_em_pmd, rte_igb_pmd and
rte_ixgbe_pmd.

Signed-off-by: Samuel Gauthier <samuel.gauthier@6wind.com>
Signed-off-by: Ivan Boule <ivan.boule@6wind.com>
Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2014-06-18 00:55:05 +02:00
..
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte_ethdev.c ethdev: MTU accessors 2014-06-18 00:55:05 +02:00
rte_ethdev.h ethdev: MTU accessors 2014-06-18 00:55:05 +02:00
rte_ether.h ethdev: MTU accessors 2014-06-18 00:55:05 +02:00