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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160702063010.GA1995@nanopsycho.orion>
Date:	Sat, 2 Jul 2016 08:30:10 +0200
From:	Jiri Pirko <jiri@...nulli.us>
To:	David Ahern <dsa@...ulusnetworks.com>
Cc:	netdev@...r.kernel.org, davem@...emloft.net, idosch@...lanox.com,
	yotamg@...lanox.com, eladr@...lanox.com, nogahf@...lanox.com,
	ogerlitz@...lanox.com, sfeldma@...il.com,
	roopa@...ulusnetworks.com, andy@...yhouse.net, tgraf@...g.ch,
	jhs@...atatu.com, linville@...driver.com, ivecera@...hat.com
Subject: Re: [patch net-next 23/42] mlxsw: spectrum_router: Implement fib4
 add/del switchdev obj ops

Fri, Jul 01, 2016 at 06:10:58PM CEST, dsa@...ulusnetworks.com wrote:
>On 7/1/16 8:04 AM, Jiri Pirko wrote:
>
>>+static int
>>+mlxsw_sp_router_fib4_entry_init(struct mlxsw_sp *mlxsw_sp,
>>+				const struct switchdev_obj_ipv4_fib *fib4,
>>+				struct mlxsw_sp_fib_entry *fib_entry)
>>+{
>>+	struct fib_info *fi = fib4->fi;
>>+
>>+	if (fib4->type == RTN_LOCAL || fib4->type == RTN_BROADCAST) {
>>+		fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP;
>>+		return 0;
>>+	}
>>+	if (fib4->type != RTN_UNICAST)
>>+		return -EINVAL;
>
>This is going to cause offload to fail b/c is a user has RTN_UNREACHABLE or
>RTN_PROHIBIT default route in a table. Those routes are needed per VRF/table
>to keep lookups from dropping to the another table.

We plan to support vfr offload as a follow-up

>
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ