driver: net : adapt packet split for igb driver

adapt packet split for igb driver when TRILL is enabled

Signed-off-by: Ahmed Amamou <ahmed@gandi.net>
igb: fix possible wrong return value for igb_get_headlen

avoid igb_get_headlen overflow which may create skb_pull problem

Signed-off-by: Pascal Bouchareine <pascal@gandi.net>
Signed-off-by: Ahmed Amamou <ahmed@gandi.net>
net: igb: fixing trill decapsulation

sizeof was returning the size of the pointer and not the size of the
pointed object

Signed-off-by: Jean-Loup Colautti <jloup@gandi.net>
Signed-off-by: William Dauchy <william@gandi.net>
Signed-off-by: Ahmed Amamou <ahmed@gandi.net>
net: igb: trill_opt is not used anymore

Signed-off-by: Jean-Loup Colautti <jloup@gandi.net>
Signed-off-by: William Dauchy <william@gandi.net>
Signed-off-by: Ahmed Amamou <ahmed@gandi.net>
net: igb: cleaning duplicated pointer to the same type in union

it was used during development

Signed-off-by: Jean-Loup Colautti <jloup@gandi.net>
Signed-off-by: William Dauchy <william@gandi.net>
Signed-off-by: Ahmed Amamou <ahmed@gandi.net>
net: igb: missing ntohs convertion when getting th_flags

Signed-off-by: Jean-Loup Colautti <jloup@gandi.net>
Signed-off-by: William Dauchy <william@gandi.net>
Signed-off-by: Ahmed Amamou <ahmed@gandi.net>
net: rbridge: add sysfs for trill_state

in order to activate trill port without need for brctl
add a sysfs for trill_state for net_bridge_port

Signed-off-by: Ahmed Amamou <ahmed@gandi.net>
Signed-off-by: William Dauchy <william@gandi.net>