Re: [PATCH] xdp: use common helper for netlink extended ack reporting

2017-05-03 Thread David Miller
From: Daniel Borkmann Date: Wed, 3 May 2017 00:39:17 +0200 > Small follow-up to d74a32acd59a ("xdp: use netlink extended ACK reporting") > in order to let drivers all use the same NL_SET_ERR_MSG_MOD() helper macro > for reporting. This also ensures that we consistently add

Re: [PATCH] xdp: use common helper for netlink extended ack reporting

2017-05-02 Thread Johannes Berg
On Wed, 2017-05-03 at 00:39 +0200, Daniel Borkmann wrote: > Small follow-up to d74a32acd59a ("xdp: use netlink extended ACK > reporting") > in order to let drivers all use the same NL_SET_ERR_MSG_MOD() helper > macro > for reporting. This also ensures that we consistently add the > driver's >

Re: [PATCH] xdp: use common helper for netlink extended ack reporting

2017-05-02 Thread Jakub Kicinski
On Wed, 3 May 2017 00:39:17 +0200, Daniel Borkmann wrote: > Small follow-up to d74a32acd59a ("xdp: use netlink extended ACK reporting") > in order to let drivers all use the same NL_SET_ERR_MSG_MOD() helper macro > for reporting. This also ensures that we consistently add the driver's > prefix

[PATCH] xdp: use common helper for netlink extended ack reporting

2017-05-02 Thread Daniel Borkmann
Small follow-up to d74a32acd59a ("xdp: use netlink extended ACK reporting") in order to let drivers all use the same NL_SET_ERR_MSG_MOD() helper macro for reporting. This also ensures that we consistently add the driver's prefix for dumping the report in user space to indicate that the error