lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 9 Mar 2015 07:25:03 +0100
From:	Jiri Pirko <jiri@...nulli.us>
To:	roopa <roopa@...ulusnetworks.com>
Cc:	Scott Feldman <sfeldma@...il.com>,
	"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	"stephen@...workplumber.org" <stephen@...workplumber.org>,
	Jamal Hadi Salim <jhs@...atatu.com>,
	Andy Gospodarek <gospo@...ulusnetworks.com>
Subject: Re: [PATCH iproute2] route: label externally offloaded routes

Mon, Mar 09, 2015 at 01:27:09AM CET, roopa@...ulusnetworks.com wrote:
>On 3/8/15, 3:10 PM, Scott Feldman wrote:
>>On Sun, Mar 8, 2015 at 6:35 AM, Roopa Prabhu <roopa@...ulusnetworks.com> wrote:
>>>
>>>On Sat, Mar 7, 2015 at 10:57 PM, Jiri Pirko <jiri@...nulli.us> wrote:
>>>>Sun, Mar 08, 2015 at 07:15:35AM CET, sfeldma@...il.com wrote:
>>>>>From: Scott Feldman <sfeldma@...il.com>
>>>>>
>>>>>On ip route print dump, label externally offloaded routes with
>>>>>"external".
>>>>>Offloaded routes are flagged with RTNH_F_EXTERNAL, a recent additon to
>>>>>net-next.  For example:
>>>>>
>>>>>$ ip route
>>>>>default via 192.168.0.2 dev eth0
>>>>>11.0.0.0/30 dev swp1  proto kernel  scope link  src 11.0.0.2 external
>>>>>11.0.0.4/30 via 11.0.0.1 dev swp1  proto zebra  metric 20 external
>>>>>11.0.0.8/30 dev swp2  proto kernel  scope link  src 11.0.0.10 external
>>>>>11.0.0.12/30 via 11.0.0.9 dev swp2  proto zebra  metric 20 external
>>>>>12.0.0.2  proto zebra  metric 30 external
>>>>>        nexthop via 11.0.0.1  dev swp1 weight 1
>>>>>        nexthop via 11.0.0.9  dev swp2 weight 1
>>>>>12.0.0.3 via 11.0.0.1 dev swp1  proto zebra  metric 20 external
>>>>>12.0.0.4 via 11.0.0.9 dev swp2  proto zebra  metric 20 external
>>>>>192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.15
>>>>>
>>>>>Signed-off-by: Scott Feldman <sfeldma@...il.com>
>>>No objections to the patch.
>>>
>>>since this is now getting exposed to userspace and there were suggestions in
>>>the past to use words like 'hw' or 'offload' in place of 'external' here,
>>>checking to see if you are taking suggestions. If yes, would 'hw' or
>>>'offloaded' be a better name for the flag ?.
>>We used "external" because that's what was used for marking FDB
>>entries.  I personally have no preference other than we be consistent
>>for each object offloaded externally.  There will be other objects
>>we'll need to tag, such as bonds, so if there is enough objection to
>>"external", we should make the change now for FIB abd FDB objects, and
>>be consistent with future objects.
>agree, we should make the change now if needed to suite all types of object
>offloads.
>I would vote for 'hw' or 'offload' or 'hwoffload'.

I think that exnernal sounds much better then offload. You can see
rightaway that the entry has been handled externaly. What "offload" or
"hw" would mean is not clear to me. I think it's too generic. And since we
use "external" already for fdbs, I would stick with it.

>
>Thanks,
>Roopa
>
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ