63
63
#include "qed_sp.h"
64
64
#include "qed_rdma.h"
65
65
66
- #define QED_LL2_RX_REGISTERED (ll2 ) ((ll2)->rx_queue.b_cb_registred )
67
- #define QED_LL2_TX_REGISTERED (ll2 ) ((ll2)->tx_queue.b_cb_registred )
66
+ #define QED_LL2_RX_REGISTERED (ll2 ) ((ll2)->rx_queue.b_cb_registered )
67
+ #define QED_LL2_TX_REGISTERED (ll2 ) ((ll2)->tx_queue.b_cb_registered )
68
68
69
69
#define QED_LL2_TX_SIZE (256)
70
70
#define QED_LL2_RX_SIZE (4096)
@@ -1404,7 +1404,7 @@ int qed_ll2_acquire_connection(void *cxt, struct qed_ll2_acquire_data *data)
1404
1404
& p_hwfn -> p_ll2_info [i ],
1405
1405
& p_ll2_info -> rx_queue .rx_sb_index ,
1406
1406
& p_ll2_info -> rx_queue .p_fw_cons );
1407
- p_ll2_info -> rx_queue .b_cb_registred = true;
1407
+ p_ll2_info -> rx_queue .b_cb_registered = true;
1408
1408
}
1409
1409
1410
1410
if (data -> input .tx_num_desc ) {
@@ -1413,7 +1413,7 @@ int qed_ll2_acquire_connection(void *cxt, struct qed_ll2_acquire_data *data)
1413
1413
& p_hwfn -> p_ll2_info [i ],
1414
1414
& p_ll2_info -> tx_queue .tx_sb_index ,
1415
1415
& p_ll2_info -> tx_queue .p_fw_cons );
1416
- p_ll2_info -> tx_queue .b_cb_registred = true;
1416
+ p_ll2_info -> tx_queue .b_cb_registered = true;
1417
1417
}
1418
1418
1419
1419
* data -> p_connection_handle = i ;
@@ -1929,7 +1929,7 @@ int qed_ll2_terminate_connection(void *cxt, u8 connection_handle)
1929
1929
1930
1930
/* Stop Tx & Rx of connection, if needed */
1931
1931
if (QED_LL2_TX_REGISTERED (p_ll2_conn )) {
1932
- p_ll2_conn -> tx_queue .b_cb_registred = false;
1932
+ p_ll2_conn -> tx_queue .b_cb_registered = false;
1933
1933
smp_wmb (); /* Make sure this is seen by ll2_lb_rxq_completion */
1934
1934
rc = qed_sp_ll2_tx_queue_stop (p_hwfn , p_ll2_conn );
1935
1935
if (rc )
@@ -1940,7 +1940,7 @@ int qed_ll2_terminate_connection(void *cxt, u8 connection_handle)
1940
1940
}
1941
1941
1942
1942
if (QED_LL2_RX_REGISTERED (p_ll2_conn )) {
1943
- p_ll2_conn -> rx_queue .b_cb_registred = false;
1943
+ p_ll2_conn -> rx_queue .b_cb_registered = false;
1944
1944
smp_wmb (); /* Make sure this is seen by ll2_lb_rxq_completion */
1945
1945
rc = qed_sp_ll2_rx_queue_stop (p_hwfn , p_ll2_conn );
1946
1946
if (rc )
0 commit comments