numam-dpdk/lib
Declan Doherty 7b00a204bb bond: fix vlan flag interpretation
This patch contains a fix for link bonding handling of vlan tagged packets in mode 3 and 5.
Currently xmit_slave_hash function misinterprets the PKT_RX_VLAN_PKT flag to mean that
there is a vlan tag within the packet when in actually means that there is a valid entry
in the vlan_tci field in the mbuf.

- Fixed VLAN tag support in hashing functions.
- Adds support for TCP in layer 4 header hashing.
- Splits transmit hashing function into separate functions for each policy to
  reduce branching and to make the code clearer.
- Fixed incorrect flag set in test application packet generator.

Test report: http://dpdk.org/ml/archives/dev/2015-January/010792.html

Signed-off-by: Declan Doherty <declan.doherty@intel.com>
Acked-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Tested-by: SunX Jiajia <sunx.jiajia@intel.com>
2015-01-15 13:41:39 +01:00
..
librte_acl add prefix to cache line macros 2014-11-27 16:21:11 +01:00
librte_cfgfile cfgfile: fix read of empty file 2014-12-17 00:40:37 +01:00
librte_cmdline cmdline: fix overflow on bsd 2014-12-05 16:54:53 +01:00
librte_distributor lib: fix cache alignment of structures 2014-12-11 01:42:02 +01:00
librte_eal vfio: avoid enabling while the module is not loaded 2015-01-15 13:41:39 +01:00
librte_ether ethdev: fix missing parenthesis in mac check 2015-01-15 13:41:39 +01:00
librte_hash add prefix to cache line macros 2014-11-27 16:21:11 +01:00
librte_ip_frag lib: fix cache alignment of structures 2014-12-11 01:42:02 +01:00
librte_ivshmem eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
librte_kni kni: add build-time checks for mbuf mapping 2014-11-10 10:28:46 +01:00
librte_kvargs kvargs: fix build with gcc 4.5.1 2014-06-17 19:01:59 +02:00
librte_lpm add prefix to cache line macros 2014-11-27 16:21:11 +01:00
librte_malloc lib: fix cache alignment of structures 2014-12-11 01:42:02 +01:00
librte_mbuf lib: fix cache alignment of structures 2014-12-11 01:42:02 +01:00
librte_mempool mempool: avoid dump crash with null pointer 2014-11-27 17:30:20 +01:00
librte_meter remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_net bond: fix vlan flag interpretation 2015-01-15 13:41:39 +01:00
librte_pipeline add prefix to cache line macros 2014-11-27 16:21:11 +01:00
librte_pmd_af_packet af_packet: fix possible memory leak 2014-12-19 23:30:25 +01:00
librte_pmd_bond bond: fix vlan flag interpretation 2015-01-15 13:41:39 +01:00
librte_pmd_e1000 add prefix to cache line macros 2014-11-27 16:21:11 +01:00
librte_pmd_enic enic: use eal to manage interrupts 2014-12-19 23:30:25 +01:00
librte_pmd_i40e i40e: fix build with some toolchains 2014-12-18 00:26:08 +01:00
librte_pmd_ixgbe ixgbevf: fix link state 2014-12-19 23:30:26 +01:00
librte_pmd_pcap pcap: fix double stop error 2014-10-09 20:02:35 +02:00
librte_pmd_ring ring: remove extra devices creation with --vdev option 2014-07-22 16:43:04 +02:00
librte_pmd_virtio add prefix to cache line macros 2014-11-27 16:21:11 +01:00
librte_pmd_vmxnet3 vmxnet3: fix default Tx configuration 2014-12-17 01:04:06 +01:00
librte_pmd_xenvirt xenvirt: fix build break on ethernet address parsing 2014-12-18 22:52:39 +01:00
librte_port lib: fix cache alignment of structures 2014-12-11 01:42:02 +01:00
librte_power power: integration of vm power management 2014-11-26 17:27:04 +01:00
librte_ring ring: fix return type in enqueue and dequeue burst functions 2014-12-17 00:40:37 +01:00
librte_sched add prefix to cache line macros 2014-11-27 16:21:11 +01:00
librte_table lib: fix cache alignment of structures 2014-12-11 01:42:02 +01:00
librte_timer fix unix permissions for source files 2014-08-28 17:04:01 +02:00
librte_vhost vhost: add interface name for virtio 2014-12-18 22:52:38 +01:00
Makefile eal: no more bare metal environment 2014-11-27 13:09:51 +01:00