From: Stephen Hemminger Date: Mon, 13 Apr 2015 17:47:00 +0000 (-0700) Subject: update kernel headers and add tc_connmark.h X-Git-Tag: v4.1.0~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94f665387e31233d77c6aba8ad8264265cd6f166;p=thirdparty%2Fiproute2.git update kernel headers and add tc_connmark.h Needed for later tc action patches --- diff --git a/include/linux/fou.h b/include/linux/fou.h index 13a78e413..744c32380 100644 --- a/include/linux/fou.h +++ b/include/linux/fou.h @@ -25,6 +25,7 @@ enum { FOU_CMD_UNSPEC, FOU_CMD_ADD, FOU_CMD_DEL, + FOU_CMD_GET, __FOU_CMD_MAX, }; diff --git a/include/linux/if_link.h b/include/linux/if_link.h index 6689e8fdf..3d0d61317 100644 --- a/include/linux/if_link.h +++ b/include/linux/if_link.h @@ -463,6 +463,9 @@ enum { IFLA_VF_SPOOFCHK, /* Spoof Checking on/off switch */ IFLA_VF_LINK_STATE, /* link state enable/disable/auto switch */ IFLA_VF_RATE, /* Min and Max TX Bandwidth Allocation */ + IFLA_VF_RSS_QUERY_EN, /* RSS Redirection Table and Hash Key query + * on/off switch + */ __IFLA_VF_MAX, }; @@ -507,6 +510,11 @@ struct ifla_vf_link_state { __u32 link_state; }; +struct ifla_vf_rss_query_en { + __u32 vf; + __u32 setting; +}; + /* VF ports management section * * Nested layout of set/get msg is: diff --git a/include/linux/tc_act/tc_connmark.h b/include/linux/tc_act/tc_connmark.h new file mode 100644 index 000000000..994b0971b --- /dev/null +++ b/include/linux/tc_act/tc_connmark.h @@ -0,0 +1,22 @@ +#ifndef __UAPI_TC_CONNMARK_H +#define __UAPI_TC_CONNMARK_H + +#include +#include + +#define TCA_ACT_CONNMARK 14 + +struct tc_connmark { + tc_gen; + __u16 zone; +}; + +enum { + TCA_CONNMARK_UNSPEC, + TCA_CONNMARK_PARMS, + TCA_CONNMARK_TM, + __TCA_CONNMARK_MAX +}; +#define TCA_CONNMARK_MAX (__TCA_CONNMARK_MAX - 1) + +#endif