Re: [PATCH net 1/2] net: netcp: ethss: fix errors in ethtool ops

From: David Miller
Date: Tue Dec 20 2016 - 14:11:17 EST


From: Murali Karicheri <m-karicheri2@xxxxxx>
Date: Mon, 19 Dec 2016 17:55:56 -0500

> From: WingMan Kwok <w-kwok2@xxxxxx>
>
> In ethtool ops, it needs to retrieve the corresponding
> ethss module (gbe or xgbe) from the net_device structure.
> Prior to this patch, the retrieving procedure only
> checks for the gbe module. This patch fixes the issue
> by checking the xgbe module if the net_device structure
> does not correspond to the gbe module.
>
> Signed-off-by: WingMan Kwok <w-kwok2@xxxxxx>
> Signed-off-by: Murali Karicheri <m-karicheri2@xxxxxx>
> Signed-off-by: Sekhar Nori <nsekhar@xxxxxx>

Applied.