]> git.proxmox.com Git - mirror_ovs.git/commitdiff
trivial: Fix erspan coding style.
authorWilliam Tu <u9012063@gmail.com>
Tue, 3 Dec 2019 21:37:56 +0000 (13:37 -0800)
committerWilliam Tu <u9012063@gmail.com>
Wed, 4 Dec 2019 00:24:25 +0000 (16:24 -0800)
Fix indentation and whitespace.

Signed-off-by: William Tu <u9012063@gmail.com>
Acked-by: Ben Pfaff <blp@ovn.org>
lib/match.c
lib/netdev-native-tnl.c
lib/odp-util.c

index 052daee146f24802aba815b0dbf5e4c53fb9588c..ae568280a2bb49e009d421ac9bc6169edf550670 100644 (file)
@@ -1311,7 +1311,7 @@ format_flow_tunnel(struct ds *s, const struct match *match)
         ds_put_format(s, "tun_erspan_ver=%"PRIu8",", tnl->erspan_ver);
     }
     if (wc->masks.tunnel.erspan_idx && tnl->erspan_ver == 1) {
-       ds_put_format(s, "tun_erspan_idx=%#"PRIx32",", tnl->erspan_idx); 
+       ds_put_format(s, "tun_erspan_idx=%#"PRIx32",", tnl->erspan_idx);
     }
     if (wc->masks.tunnel.erspan_dir && tnl->erspan_ver == 2) {
         ds_put_format(s, "tun_erspan_dir=%"PRIu8",", tnl->erspan_dir);
index 56baaa217a5df31b2aad1df7fb3ea3e6d9a808af..a78972888e333687050324b54f00d172611a7e9f 100644 (file)
@@ -618,8 +618,8 @@ netdev_erspan_push_header(const struct netdev *netdev,
 
 int
 netdev_erspan_build_header(const struct netdev *netdev,
-                        struct ovs_action_push_tnl *data,
-                        const struct netdev_tnl_build_header_params *params)
+                           struct ovs_action_push_tnl *data,
+                           const struct netdev_tnl_build_header_params *params)
 {
     struct netdev_vport *dev = netdev_vport_cast(netdev);
     struct netdev_tunnel_config *tnl_cfg;
index b9600b4d5cba1220a2f32ed8277de40aa0342d78..c3be2a59697f08a70d080fb066187b032be5b33b 100644 (file)
@@ -3602,8 +3602,8 @@ format_odp_tun_vxlan_opt(const struct nlattr *attr,
 
 static void
 format_odp_tun_erspan_opt(const struct nlattr *attr,
-                         const struct nlattr *mask_attr, struct ds *ds,
-                         bool verbose)
+                          const struct nlattr *mask_attr, struct ds *ds,
+                          bool verbose)
 {
     const struct erspan_metadata *opts, *mask;
     uint8_t ver, ver_ma, dir, dir_ma, hwid, hwid_ma;