netdev: introduce new NETIF_F_HW_SWITCH_OFFLOAD feature flag for switch device offloads
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Fri, 30 Jan 2015 06:40:11 +0000 (22:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Feb 2015 07:16:33 +0000 (23:16 -0800)
commitaafb3e98b27977148c8c86499684f8f5c3decfbb
tree1631426bd0ee61064a8404ebf7d9dcc02d9dcb54
parentb2dec116fb9f3d8c7dd2e878fa1b9b88262985f7
netdev: introduce new NETIF_F_HW_SWITCH_OFFLOAD feature flag for switch device offloads

This is a high level feature flag for all switch asic offloads

switch drivers set this flag on switch ports. Logical devices like
bridge, bonds, vxlans can inherit this flag from their slaves/ports.

The patch also adds the flag to NETIF_F_ONE_FOR_ALL, so that it gets
propagated to the upperdevices (bridges and bonds).

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdev_features.h