RE: [RFC 1/5] net/ethtool: introduce a new ioctl for per queue setting

2015-12-21 Thread Liang, Kan
> > +#define MAX_QUEUE 4096 > > +#define MAX_QUEUE_MASK (MAX_QUEUE / 64) > > + > > +/** > > + * struct ethtool_per_queue_op - apply sub command to the queues in > mask. > > + * @cmd: ETHTOOL_PERQUEUE > > + * @queue_mask: Mask the queues which sub command apply to > > + *

Re: [RFC 1/5] net/ethtool: introduce a new ioctl for per queue setting

2015-12-18 Thread Ben Hutchings
On Thu, 2015-12-17 at 06:51 +, kan.li...@intel.com wrote: > From: Kan Liang > > Introduce a new ioctl ETHTOOL_PERQUEUE for per queue parameters setting. > The following patches will enable some SUB_COMMANDs for per queue > setting. > > Signed-off-by: Kan Liang

Re: [RFC 1/5] net/ethtool: introduce a new ioctl for per queue setting

2015-12-18 Thread Ben Hutchings
On Sat, 2015-12-19 at 03:27 +, Ben Hutchings wrote: > On Thu, 2015-12-17 at 06:51 +, kan.li...@intel.com wrote: > > From: Kan Liang > > > > Introduce a new ioctl ETHTOOL_PERQUEUE for per queue parameters setting. > > The following patches will enable some

[RFC 1/5] net/ethtool: introduce a new ioctl for per queue setting

2015-12-17 Thread kan . liang
From: Kan Liang Introduce a new ioctl ETHTOOL_PERQUEUE for per queue parameters setting. The following patches will enable some SUB_COMMANDs for per queue setting. Signed-off-by: Kan Liang --- include/uapi/linux/ethtool.h | 18 ++