]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
net: ixgbe: add minimal parser details for ixgbe
authorJohn Fastabend <john.fastabend@gmail.com>
Wed, 17 Feb 2016 05:18:28 +0000 (21:18 -0800)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:20:22 +0000 (10:20 +0100)
commit413fd2172a972ff3f7f23fcca4f475e897225d4d
tree5b505b06093e2a333666a27667fb551b831e6b56
parent51b5e963bd2d96f85a579ea73d87965d932a6936
net: ixgbe: add minimal parser details for ixgbe

BugLink: http://bugs.launchpad.net/bugs/1547674
This adds an ixgbe data structure that is used to determine what
headers:fields can be matched and in what order they are supported.

For hardware devices this can be a bit tricky because typically
only pre-programmed (firmware, ucode, rtl) parse graphs will be
supported and we don't yet have an interface to change these from
the OS. So its sort of a you get whatever your friendly vendor
provides affair at the moment.

In the future we can add the get routines and set routines to
update this data structure. One interesting thing to note here
is the data structure here identifies ethernet, ip, and tcp
fields without having to hardcode them as enumerations or use
other identifiers.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from net-next commit 9d35cf062e05be8b8b2b7dbc943cd95352cd90cb)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_model.h [new file with mode: 0644]