[PATCH] Adding support for MAC filtering in the FEC IP implementation

2019-11-28 Thread Wasim, Bilal
Adding support for MAC filtering in the FEC IP implementation. This addition ensures that the IP does NOT boot up in promiscuous mode by default, and so the software only receives the desired packets(Unicast, Broadcast, Unicast / Multicast hashed) by default. The software running on-top of QEM

[PATCH] Updating the GEM MAC IP to properly filter out the multicast addresses

2019-11-28 Thread Wasim, Bilal
[PATCH] Updating the GEM MAC IP to properly filter out the multicast addresses. The current code makes a bad assumption that the most-significant byte of the MAC address is used to determine if the address is multicast or unicast, but in reality only a single bit is used to determine this. This cau

RE: [PATCH] Updating the GEM MAC IP to properly filter out the multicast addresses

2019-11-28 Thread Wasim, Bilal
Thanks for the pointers.. I will incorporate all these changes and post an updated thread asap.. -Original Message- From: Edgar E. Iglesias [mailto:edgar.igles...@gmail.com] Sent: Thursday, November 28, 2019 10:32 PM To: Wasim, Bilal Cc: qemu-devel@nongnu.org; alist...@alistair23.me

RE: [PATCH] Updating the GEM MAC IP to properly filter out the multicast addresses

2019-11-28 Thread Wasim, Bilal
_NWCFG] & GEM_NWCFG_UCAST_HASH))) { unsigned hash_index; hash_index = calc_mac_hash(packet); if (hash_index < 32) { if (s->regs[GEM_HASHLO] & (1<regs[GEM_HASHHI] & (1<mailto:edgar.igles...@gmail.com] Sent: Thursday, November 28,

RE: [PATCH] Updating the GEM MAC IP to properly filter out the multicast addresses

2019-11-29 Thread Wasim, Bilal
arm-bounces+bilal_wasim=mentor....@nongnu.org] On Behalf Of Wasim, Bilal Sent: Thursday, November 28, 2019 10:35 PM To: Edgar E. Iglesias Cc: peter.mayd...@linaro.org; alist...@alistair23.me; qemu-devel@nongnu.org; qemu-...@nongnu.org Subject: RE: [PATCH] Updating the GEM MAC IP to properly filte

RE: [PATCH v3] net/cadence_gem: Updating the GEM MAC IP to properly filter out multicast addresses.

2019-11-29 Thread Wasim, Bilal
ail.com Cc: qemu-devel@nongnu.org; qemu-...@nongnu.org; alist...@alistair23.me; Wasim, Bilal ; peter.mayd...@linaro.org Subject: Re: [PATCH v3] net/cadence_gem: Updating the GEM MAC IP to properly filter out multicast addresses. On Fri, Nov 29, 2019 at 03:24:14PM +0500, bilalwasim...@gmail.com wro

RE: [PATCH] net/imx_fec: Updating the IMX_FEC IP to support loopback mode.

2019-11-29 Thread Wasim, Bilal
...@gmail.com; qemu-devel@nongnu.org Cc: peter.mayd...@linaro.org; aa1ron...@gmail.com; j...@tribudubois.net; qemu-...@nongnu.org; Wasim, Bilal ; li...@roeck-us.net; Jason Wang Subject: Re: [PATCH] net/imx_fec: Updating the IMX_FEC IP to support loopback mode. Hi Bilal, Cc'ing Jason, the maintain

RE: [PATCH v2] Adding support for MAC filtering in the FEC IP implementation.

2019-12-10 Thread Wasim, Bilal
...@linaro.org; phi...@redhat.com; jasow...@redhat.com; qemu-...@nongnu.org; Wasim, Bilal Subject: Re: [PATCH v2] Adding support for MAC filtering in the FEC IP implementation. On 07/12/2019 21:56, bilalwasim...@gmail.com wrote: > From: Bilal Wasim > > This addition ensures that th