From: Alexander Duyck Date: Sat, 20 Sep 2014 23:51:15 +0000 (-0400) Subject: fm10k: Add support for MACVLAN acceleration X-Git-Tag: fixes-against-v3.18-rc2~144^2~138^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cd5e2e98205df377d93fb8dd15c6f3ed4bfa1d6;p=pandora-kernel.git fm10k: Add support for MACVLAN acceleration This patch adds support for L2 MACVLAN by making use of the fact that the RRC provides a unique tag per filter called a Global Resource Tag, or GLORT. In the case of this offload what I have done is assigned a linear block of these so that each GLORT represents one of the MACVLAN netdevs. By doing this I can share the Rx queues and Tx queues for all of the MACVLAN netdevs while allowing them to be demuxed in the Rx cleanup path. Signed-off-by: Alexander Duyck Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed