[dpdk-dev] [PATCH v4 5/5] ixgbe: Add LRO support

2015-03-08 Thread Thomas Monjalon
2015-03-08 16:04, Vlad Zolotarov: > --- a/lib/librte_ether/rte_ethdev.h > +++ b/lib/librte_ether/rte_ethdev.h > @@ -312,6 +312,9 @@ enum rte_eth_tx_mq_mode { > #define ETH_VMDQ_DCB_TX ETH_MQ_TX_VMDQ_DCB > #define ETH_DCB_TX ETH_MQ_TX_DCB > > +/* TODO: Remove this wh

[dpdk-dev] Memory issues seen while running pktgen with DPDK sample application

2015-03-08 Thread Wiles, Keith
On 3/8/15, 5:11 PM, "Wiles, Keith" wrote: >Hi Shankari, > >Please show the command lines you are using for the two applications. Sorry, you did show the command lines. > > > >On 3/8/15, 11:10 AM, "Shankari Vaidyalingam" >wrote: > >>Hi, >> >>I'm trying to send packets from pktgen to exception

[dpdk-dev] [PATCH v4 2/5] ixgbe: Bug fix: Properly configure Rx CRC stripping for x540 devices

2015-03-08 Thread Thomas Monjalon
Hi Vlad, 2015-03-08 16:04, Vlad Zolotarov: > According to x540 spec chapter 8.2.4.8.9 CRCSTRIP field of RDRXCTL should > be configured to the same value as HLREG0.RXCRCSTRP. > > Clearing the RDRXCTL.RSCFRSTSIZE field for x540 is not required by the spec > but seems harmless. > > Signed-off-by: V

[dpdk-dev] Memory issues seen while running pktgen with DPDK sample application

2015-03-08 Thread Wiles, Keith
Hi Shankari, Please show the command lines you are using for the two applications. On 3/8/15, 11:10 AM, "Shankari Vaidyalingam" wrote: >Hi, > >I'm trying to send packets from pktgen to exception path sample >application. >My configuration is like this: > >|--Terminal 1---

[dpdk-dev] Memory issues seen while running pktgen with DPDK sample application

2015-03-08 Thread Shankari Vaidyalingam
Hi, I'm trying to send packets from pktgen to exception path sample application. My configuration is like this: |--Terminal 1--- ---Terminal 2 | | | | | Pktgen |--> NIC port 0

[dpdk-dev] [PATCH v3 2/2] doc: Update for new HW vlan command

2015-03-08 Thread Butler, Siobhan A
> -Original Message- > From: Ouyang, Changchun > Sent: Friday, March 6, 2015 8:10 AM > To: dev at dpdk.org > Cc: Butler, Siobhan A; De Lara Guarch, Pablo; Cao, Waterman; Ouyang, > Changchun > Subject: [PATCH v3 2/2] doc: Update for new HW vlan command > > Update the testpmd doc as there

[dpdk-dev] [PATCH v4 5/5] ixgbe: Add LRO support

2015-03-08 Thread Vlad Zolotarov
- Only x540 and 82599 devices support LRO. - Add the appropriate HW configuration. - Add RSC aware rx_pkt_burst() handlers: - Implemented bulk allocation and non-bulk allocation versions. - Add LRO-specific fields to rte_eth_rxmode, to rte_eth_dev_data and to igb_

[dpdk-dev] [PATCH v4 4/5] ixgbe: Unify the rx_pkt_bulk callback initialization

2015-03-08 Thread Vlad Zolotarov
- Set the callback in a single function that is called from ixgbe_dev_rx_init() for a primary process and from eth_ixgbe_dev_init() for a secondary processes. This is instead of multiple, hard to track places. - Added ixgbe_hw.rx_bulk_alloc_allowed - see ixgbe_hw.rx_vec_allowed de

[dpdk-dev] [PATCH v4 3/5] ixgbe: Code refactoring

2015-03-08 Thread Vlad Zolotarov
- ixgbe_rx_alloc_bufs(): - Reset the rte_mbuf fields only when requested. - Take the RDT update out of the function. - Add the stub when RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC is not defined. - ixgbe_recv_scattered_pkts(): - Take the code that updates the fields of

[dpdk-dev] [PATCH v4 2/5] ixgbe: Bug fix: Properly configure Rx CRC stripping for x540 devices

2015-03-08 Thread Vlad Zolotarov
According to x540 spec chapter 8.2.4.8.9 CRCSTRIP field of RDRXCTL should be configured to the same value as HLREG0.RXCRCSTRP. Clearing the RDRXCTL.RSCFRSTSIZE field for x540 is not required by the spec but seems harmless. Signed-off-by: Vlad Zolotarov --- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 3

[dpdk-dev] [PATCH v4 1/5] ixgbe: Cleanups

2015-03-08 Thread Vlad Zolotarov
- Removed the not needed casting. - Use the rte_le_to_cpu_xx()/rte_cpu_to_le_xx() when reading/setting HW ring descriptor fields. There were a few places where fields were accessed/written directly, which would break on big endian platforms like Power PC. - ixgbe_dev_rx_init():

[dpdk-dev] [PATCH v4 0/5]: Add LRO support to ixgbe PMD

2015-03-08 Thread Vlad Zolotarov
This series adds the missing flow for enabling the LRO in the ethdev and adds a support for this feature in the ixgbe PMD. There is a big hope that this initiative is going to be picked up by some Intel developer that would add the LRO support to other Intel PMDs. ;) The series starts with some c

[dpdk-dev] [PATCH v3 01/10] vmxnet3: fix link state handling

2015-03-08 Thread Stephen Hemminger
On Fri, 6 Mar 2015 17:21:36 + "Sanford, Robert" wrote: > Hi Stephen, > > Have you considered supporting LSC interrupts in vmxnet3? > > -- > Thanks, > Robert I tried implementing it but it is not possible since the VMXNET3 device API does not have an interrupt mask. Therefore there is no wa