igb: fix max RX packet size and support dual VLAN
authorIntel <intel.com>
Mon, 3 Jun 2013 00:00:00 +0000 (00:00 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 17 Sep 2013 12:16:07 +0000 (14:16 +0200)
commite51abef393824b73906a80eea5c81f90c7e5dc08
treef89ae6ceda6827547e2e9215b16e7d6f8d5286f0
parentdec6f7a6450fda99673c48794491e434931e6909
igb: fix max RX packet size and support dual VLAN

When in 'normal' mode, hardware is designed to receive up to 1522 bytes.
When in 'jumbo' mode, RLPML register must be updated so that hardware accepts
a 802.1q vlan header. If dual vlan is enabled, then a second vlan header is
expected, so update RLPML register according to dual vlan support.

Signed-off-by: Intel
lib/librte_pmd_e1000/igb_ethdev.c
lib/librte_pmd_e1000/igb_rxtx.c