numam-dpdk/lib
Olivier Matz e3f0151fc6 i40e: enable Tx checksum only for offloaded packets
From i40e datasheet:

  The IP header type and its offload. In case of tunneling, the IIPT
  relates to the inner IP header. See also EIPT field for the outer
  (External) IP header offload.

  00 - non IP packet or packet type is not defined by software
  01 - IPv6 packet
  10 - IPv4 packet with no IP checksum offload
  11 - IPv4 packet with IP checksum offload

Therefore it is not needed to fill the IIPT field if no offload is
requested (we can keep the value to 00). For instance, the linux driver
code does not set it when (skb->ip_summed != CHECKSUM_PARTIAL). We can
do the same in the dpdk driver.

The function i40e_txd_enable_checksum() that fills the offload registers
can only be called for packets requiring an offload.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
2015-02-16 19:21:17 +01:00
..
librte_acl mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_cfgfile mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_cmdline cmdline: fix link due to missing symbol in version map 2015-02-04 23:24:44 +01:00
librte_compat mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_distributor mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_eal pci: fix max VFs for non igb_uio drivers 2015-02-13 14:48:16 +01:00
librte_ether mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_hash mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_ip_frag mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_ivshmem mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_kni mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_kvargs mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_lpm mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_malloc mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_mbuf mbuf: enhance the API documentation of offload flags 2015-02-16 19:21:17 +01:00
librte_mempool mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_meter mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_net bond: fix vlan flag interpretation 2015-01-15 13:41:39 +01:00
librte_pipeline mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_pmd_af_packet mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_pmd_bond mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_pmd_e1000 mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_pmd_enic mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_pmd_i40e i40e: enable Tx checksum only for offloaded packets 2015-02-16 19:21:17 +01:00
librte_pmd_ixgbe ixgbe: fix link issue in loopback mode 2015-02-15 17:09:31 +01:00
librte_pmd_pcap mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_pmd_ring mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_pmd_virtio mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_pmd_vmxnet3 mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_pmd_xenvirt mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_port mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_power mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_ring mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_sched mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_table mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_timer mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_vhost mk: add library version extension 2015-02-03 16:56:58 +01:00
Makefile compat: add infrastructure to support symbol versioning 2015-02-03 16:56:58 +01:00