Thread (20 messages) flat view 20 messages, 3 authors, 2020-08-04

Re: [iproute2-next v2 5/5] devlink: support setting the overwrite mask

From: Jacob Keller <jacob.e.keller@intel.com>
Date: 2020-08-04 18:31:07


On 8/3/2020 4:54 PM, David Ahern wrote:
On 8/3/20 5:30 PM, Jacob Keller wrote:
quoted
Slightly unrelated: but the recent change to using a bitfield32 results
in a "GENMASK is undefined".. I'm not sure what the proper way to fix
this is, since we'd like to still use GENMASK to define the supported
bitfields. I guess we need to pull in more headers? Or define something
in include/utils.h?
I see that include/linux/bits.h has been pulled into the tools directory
for perf and power tools (ie., works fine in userspace).

iproute2 is GPL so should be good from a licensing perspective to copy
into iproute2. Stephen: any objections?

Hmm... Actually, no other uapi header uses GENMASK.. Perhaps its better
to just avoid using it in the uapi/linux/devlink.h header...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help