Re: [PATCH v2 02/15] net/zxdh: zxdh np uninit implementation

2024-12-13 Thread Stephen Hemminger
On Tue, 10 Dec 2024 13:53:20 +0800 Junlong Wang wrote: > (np)network processor release resources in host. > > Signed-off-by: Junlong Wang > --- > drivers/net/zxdh/zxdh_ethdev.c | 48 > drivers/net/zxdh/zxdh_np.c | 494 - > drivers/net/zxdh/zxdh_np.h

Re: [PATCH v2 02/15] net/zxdh: zxdh np uninit implementation

2024-12-13 Thread Stephen Hemminger
On Tue, 10 Dec 2024 13:53:20 +0800 Junlong Wang wrote: > +static uint32_t > +zxdh_np_comm_read_bits(uint8_t *p_base, uint32_t base_size_bit, > + uint32_t *p_data, uint32_t start_bit, uint32_t end_bit) > +{ > + uint32_t len = 0; > + uint32_t start_byte_index