Unverified Commit ddbb3ee7 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!9862 ipvlan: Modify the value of ipvlan modes

parents 15f539c4 02b9f90a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ int sysctl_ipvlan_loop_qlen = 131072;
int sysctl_ipvlan_loop_delay = 10;
static int ipvlan_default_mode = IPVLAN_MODE_L3;
module_param(ipvlan_default_mode, int, 0400);
MODULE_PARM_DESC(ipvlan_default_mode, "set ipvlan default mode: 0 for l2, 1 for l3, 2 for l2e, 3 for l3s, others invalid now");
MODULE_PARM_DESC(ipvlan_default_mode, "set ipvlan default mode: 0 for l2, 1 for l3, 2 for l3s, 3 for l2e, others invalid now");

static struct ctl_table_header *ipvlan_table_hrd;
static struct ctl_table ipvlan_table[] = {
+1 −1
Original line number Diff line number Diff line
@@ -741,8 +741,8 @@ enum {
enum ipvlan_mode {
	IPVLAN_MODE_L2 = 0,
	IPVLAN_MODE_L3,
	IPVLAN_MODE_L2E,
	IPVLAN_MODE_L3S,
	IPVLAN_MODE_L2E,
	IPVLAN_MODE_MAX
};