Skip to content

Commit feaf751

Browse files
committed
Merge branch 'hns3-fixes-for-configuration-lost-problems'
Peng Li says: ==================== fixes for configuration lost problems This patchset refactors some functions and some bugs in order to fix the configuration loss problem when resetting and setting channel number. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
2 parents 0623951 + 7a242b2 commit feaf751

File tree

8 files changed

+351
-202
lines changed

8 files changed

+351
-202
lines changed

drivers/net/ethernet/hisilicon/hns3/hnae3.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,8 @@ struct hnae3_ae_dev {
265265
* Get tc size of handle
266266
* get_vector()
267267
* Get vector number and vector information
268+
* put_vector()
269+
* Put the vector in hdev
268270
* map_ring_to_vector()
269271
* Map rings to vector
270272
* unmap_ring_from_vector()
@@ -375,6 +377,7 @@ struct hnae3_ae_ops {
375377

376378
int (*get_vector)(struct hnae3_handle *handle, u16 vector_num,
377379
struct hnae3_vector_info *vector_info);
380+
int (*put_vector)(struct hnae3_handle *handle, int vector_num);
378381
int (*map_ring_to_vector)(struct hnae3_handle *handle,
379382
int vector_num,
380383
struct hnae3_ring_chain_node *vr_chain);

0 commit comments

Comments
 (0)