From: Ivan Vecera Date: Mon, 6 Oct 2014 17:02:37 +0000 (+0200) Subject: bna: allow transmit tagged frames X-Git-Tag: fixes-against-v3.18-rc2~144^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6654cf60ab888170693084a06dfb7c00977ad964;p=pandora-kernel.git bna: allow transmit tagged frames When Tx VLAN offloading is disabled frames with size ~ MTU are not transmitted as the driver does not account 4 bytes of VLAN header added by stack. It should use VLAN_ETH_HLEN instead of ETH_HLEN. The second problem is with newer BNA chips (BNA 1860). These chips filter out any VLAN tagged frames in Tx path. This is a problem when Tx VLAN offloading is disabled and frames are tagged by stack. Older chips like 1010/1020 are not affected as they probably don't do such filtering. Cc: Rasesh Mody Signed-off-by: Ivan Vecera Signed-off-by: David S. Miller --- Reading git-diff-tree failed