Re: [dpdk-dev] [PATCH v1] net/mlx: control netdevices through ioctl only

2018-02-28 Thread Shahaf Shuler
Friday, February 9, 2018 10:34 PM, Marcelo Ricardo Leitner: > > On Thu, Feb 08, 2018 at 05:37:06PM +0100, Adrien Mazarguil wrote: > > Several control operations implemented by these PMDs affect netdevices > > through sysfs, itself subject to file system permission checks > > enforced by the kernel

Re: [dpdk-dev] [PATCH v1] net/mlx: control netdevices through ioctl only

2018-02-12 Thread Adrien Mazarguil
Hi Shahaf, On Sun, Feb 11, 2018 at 11:55:44AM +, Shahaf Shuler wrote: > Hi Adrien, > > Small doc issues. > > -/** > > * Perform ifreq ioctl() on associated Ethernet device. > > * > > * @param[in] priv > > @@ -361,12 +200,12 @@ mlx4_get_mac(struct priv *priv, uint8_t > > (*mac)[ETHER_AD

Re: [dpdk-dev] [PATCH v1] net/mlx: control netdevices through ioctl only

2018-02-11 Thread Shahaf Shuler
Hi Adrien, Small doc issues. Thursday, February 8, 2018 6:37 PM, Adrien Mazarguil: > Subject: [PATCH v1] net/mlx: control netdevices through ioctl only > > Several control operations implemented by these PMDs affect netdevices > through sysfs, itself subject to file system permission checks enfo

Re: [dpdk-dev] [PATCH v1] net/mlx: control netdevices through ioctl only

2018-02-09 Thread Marcelo Ricardo Leitner
On Thu, Feb 08, 2018 at 05:37:06PM +0100, Adrien Mazarguil wrote: > Several control operations implemented by these PMDs affect netdevices > through sysfs, itself subject to file system permission checks enforced by > the kernel, which limits their use for most purposes to applications > running wi

[dpdk-dev] [PATCH v1] net/mlx: control netdevices through ioctl only

2018-02-08 Thread Adrien Mazarguil
Several control operations implemented by these PMDs affect netdevices through sysfs, itself subject to file system permission checks enforced by the kernel, which limits their use for most purposes to applications running with root privileges. Since performing the same operations through ioctl()