Subject: Re: [PATCH net-next v3] Add support of Cavium Liquidio ethernet adapters

From: Stephen Hemminger <[email-masked]>
Date: Thu, 18 Dec 2014 23:21:09 -0800

On Thu, 18 Dec 2014 19:25:19 -0800
Raghu Vatsavayi <[email-masked]> wrote:

> +static int liquidio_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd)
> +{
> +	switch (cmd) {
> +	case SIOCSHWTSTAMP:
> +		return hwtstamp_ioctl(netdev, ifr, cmd);
> +	default:
> +		return -EINVAL

Standard error code for unsupported ioctl is -EOPNOTSUPP