Thread (72 messages) 72 messages, 4 authors, 2023-10-03

Re: [RFCv8 PATCH net-next 00/55] net: extend the type of netdev_features_t to bitmap

From: Alexander Lobakin <hidden>
Date: 2022-11-25 15:44:51

From: Jian Shen <shenjian15@huawei.com>
Date: Sun, 18 Sep 2022 09:42:41 +0000
For the prototype of netdev_features_t is u64, and the number
of netdevice feature bits is 64 now. So there is no space to
introduce new feature bit.

This patchset try to solve it by change the prototype of
netdev_features_t from u64 to structure below:
	typedef struct {
		DECLARE_BITMAP(bits, NETDEV_FEATURE_COUNT);
	} netdev_features_t;

With this change, it's necessary to introduce a set of bitmap
operation helpers for netdev features. [patch 1]
Hey,

what's the current status, how's going?

[...]
-- 
2.33.0
Thanks,
Olek
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help