[dpdk-dev] [PATCH 3/5] ethdev: add mtu accessors

2014-06-12 Thread David Marchand
Hello Konstantin, Mmm, good points. I am looking into them. I will send new patches by tomorrow (hopefully). On 06/10/2014 07:23 PM, Ananyev, Konstantin wrote: > Hi David, > >> This patch adds two new functions in ethdev api to retrieve current MTU and >> change MTU of a port. >> These operation

[dpdk-dev] [PATCH 3/5] ethdev: add mtu accessors

2014-06-10 Thread Ananyev, Konstantin
Hi David, >This patch adds two new functions in ethdev api to retrieve current MTU and >change MTU of a port. >These operations have been implemented for rte_em_pmd, rte_igb_pmd and >rte_ixgbe_pmd. >+ >+void ixgbe_dev_set_rx_scatter_mode(struct rte_eth_dev *dev) >+{ >+ if (dev->rx_pkt_burst

[dpdk-dev] [PATCH 3/5] ethdev: add mtu accessors

2014-05-26 Thread David Marchand
From: Samuel Gauthier This patch adds two new functions in ethdev api to retrieve current MTU and change MTU of a port. These operations have been implemented for rte_em_pmd, rte_igb_pmd and rte_ixgbe_pmd. Signed-off-by: Samuel Gauthier Signed-off-by: Ivan Boule Signed-off-by: David Marchand