ibmvnic: Insert header on VLAN tagged received frame
authorMurilo Fossa Vicentini <muvic@linux.vnet.ibm.com>
Fri, 21 Apr 2017 19:38:46 +0000 (15:38 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Apr 2017 16:52:12 +0000 (12:52 -0400)
commit6052d5e2a1961b59dd942b52d3bf2b395d023644
tree4f8f82dc4be3ae488cdb4b36a643efb9a681a5f1
parent7f3c6e6b905018d07228fe0f43f0ef1359e7196d
ibmvnic: Insert header on VLAN tagged received frame

This patch addresses a modification in the PAPR+ specification which now
defines a previously reserved value for vNIC capabilities. It indicates
whether the system firmware performs a VLAN header stripping on all VLAN
tagged received frames, in case it does, the behavior expected is for
the ibmvnic driver to be responsible for inserting the VLAN header.

Reported-by: Manvanthara B. Puttashankar <mputtash@in.ibm.com>
Signed-off-by: Murilo Fossa Vicentini <muvic@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c
drivers/net/ethernet/ibm/ibmvnic.h