We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92234c8 commit 50a3e67Copy full SHA for 50a3e67
tools/include/uapi/linux/if_link.h
@@ -960,11 +960,12 @@ enum {
960
#define XDP_FLAGS_SKB_MODE (1U << 1)
961
#define XDP_FLAGS_DRV_MODE (1U << 2)
962
#define XDP_FLAGS_HW_MODE (1U << 3)
963
+#define XDP_FLAGS_REPLACE (1U << 4)
964
#define XDP_FLAGS_MODES (XDP_FLAGS_SKB_MODE | \
965
XDP_FLAGS_DRV_MODE | \
966
XDP_FLAGS_HW_MODE)
967
#define XDP_FLAGS_MASK (XDP_FLAGS_UPDATE_IF_NOEXIST | \
- XDP_FLAGS_MODES)
968
+ XDP_FLAGS_MODES | XDP_FLAGS_REPLACE)
969
970
/* These are stored into IFLA_XDP_ATTACHED on dump. */
971
enum {
@@ -984,6 +985,7 @@ enum {
984
985
IFLA_XDP_DRV_PROG_ID,
986
IFLA_XDP_SKB_PROG_ID,
987
IFLA_XDP_HW_PROG_ID,
988
+ IFLA_XDP_EXPECTED_FD,
989
__IFLA_XDP_MAX,
990
};
991
0 commit comments