diff options
author | David S. Miller <davem@davemloft.net> | 2019-06-30 18:41:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-30 18:41:13 -0700 |
commit | 954a5a029472568845a25cd1c59e02e09db3316c (patch) | |
tree | 6e77c71c4d1154ca4bb195ed155942108af9a0bb /net | |
parent | 11697cfc7108dc0e8b677c2fc391289bfbc080ee (diff) | |
parent | f6dc1264f1c01976a84239d1038359604ee42001 (diff) | |
download | linux-954a5a029472568845a25cd1c59e02e09db3316c.tar.gz linux-954a5a029472568845a25cd1c59e02e09db3316c.tar.bz2 linux-954a5a029472568845a25cd1c59e02e09db3316c.zip |
Merge tag 'mlx5e-updates-2019-06-28' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux
Saeed Mahameed says:
====================
mlx5e-updates-2019-06-28
This series adds some misc updates for mlx5e driver
1) Allow adding the same mac more than once in MPFS table
2) Move to HW checksumming advertising
3) Report netdevice MPLS features
4) Correct physical port name of the PF representor
5) Reduce stack usage in mlx5_eswitch_termtbl_create
6) Refresh TIR improvement for representors
7) Expose same physical switch_id for all representors
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/devlink.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/core/devlink.c b/net/core/devlink.c index 4baf716e535e..89c533778135 100644 --- a/net/core/devlink.c +++ b/net/core/devlink.c @@ -1549,7 +1549,8 @@ static int devlink_nl_eswitch_fill(struct sk_buff *msg, struct devlink *devlink, u32 seq, int flags) { const struct devlink_ops *ops = devlink->ops; - u8 inline_mode, encap_mode; + enum devlink_eswitch_encap_mode encap_mode; + u8 inline_mode; void *hdr; int err = 0; u16 mode; @@ -1625,7 +1626,8 @@ static int devlink_nl_cmd_eswitch_set_doit(struct sk_buff *skb, { struct devlink *devlink = info->user_ptr[0]; const struct devlink_ops *ops = devlink->ops; - u8 inline_mode, encap_mode; + enum devlink_eswitch_encap_mode encap_mode; + u8 inline_mode; int err = 0; u16 mode; |