diff options
Diffstat (limited to 'net/switchdev')
-rw-r--r-- | net/switchdev/switchdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/switchdev/switchdev.c b/net/switchdev/switchdev.c index ac853acbe211..e008057dab46 100644 --- a/net/switchdev/switchdev.c +++ b/net/switchdev/switchdev.c | |||
@@ -803,7 +803,7 @@ static struct net_device *switchdev_get_dev_by_nhs(struct fib_info *fi) | |||
803 | } | 803 | } |
804 | 804 | ||
805 | /** | 805 | /** |
806 | * switchdev_fib_ipv4_add - Add IPv4 route entry to switch | 806 | * switchdev_fib_ipv4_add - Add/modify switch IPv4 route entry |
807 | * | 807 | * |
808 | * @dst: route's IPv4 destination address | 808 | * @dst: route's IPv4 destination address |
809 | * @dst_len: destination address length (prefix length) | 809 | * @dst_len: destination address length (prefix length) |
@@ -813,7 +813,7 @@ static struct net_device *switchdev_get_dev_by_nhs(struct fib_info *fi) | |||
813 | * @nlflags: netlink flags passed in (NLM_F_*) | 813 | * @nlflags: netlink flags passed in (NLM_F_*) |
814 | * @tb_id: route table ID | 814 | * @tb_id: route table ID |
815 | * | 815 | * |
816 | * Add IPv4 route entry to switch device. | 816 | * Add/modify switch IPv4 route entry. |
817 | */ | 817 | */ |
818 | int switchdev_fib_ipv4_add(u32 dst, int dst_len, struct fib_info *fi, | 818 | int switchdev_fib_ipv4_add(u32 dst, int dst_len, struct fib_info *fi, |
819 | u8 tos, u8 type, u32 nlflags, u32 tb_id) | 819 | u8 tos, u8 type, u32 nlflags, u32 tb_id) |