Searched refs:calc_x (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.h | 711 #define calc_x(x, k, v) ((x) = (~(k) & (v))) macro
|
D | hclge_main.c | 5105 calc_x(key_x[ETH_ALEN - 1 - i], rule->tuples.dst_mac[i], in hclge_fd_convert_tuple() 5114 calc_x(key_x[ETH_ALEN - 1 - i], rule->tuples.src_mac[i], in hclge_fd_convert_tuple() 5122 calc_x(tmp_x_s, rule->tuples.vlan_tag1, in hclge_fd_convert_tuple() 5131 calc_x(tmp_x_s, rule->tuples.ether_proto, in hclge_fd_convert_tuple() 5140 calc_x(*key_x, rule->tuples.ip_tos, rule->tuples_mask.ip_tos); in hclge_fd_convert_tuple() 5145 calc_x(*key_x, rule->tuples.ip_proto, in hclge_fd_convert_tuple() 5152 calc_x(tmp_x_l, rule->tuples.src_ip[IPV4_INDEX], in hclge_fd_convert_tuple() 5161 calc_x(tmp_x_l, rule->tuples.dst_ip[IPV4_INDEX], in hclge_fd_convert_tuple() 5170 calc_x(tmp_x_s, rule->tuples.src_port, in hclge_fd_convert_tuple() 5179 calc_x(tmp_x_s, rule->tuples.dst_port, in hclge_fd_convert_tuple() [all …]
|