Searched refs:NPC_WRITE_FLOW (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/ |
| D | rvu_npc_fs.c | 820 #define NPC_WRITE_FLOW(field, member, val_lo, val_hi, mask_lo, mask_hi) \ in npc_update_flow() macro 830 NPC_WRITE_FLOW(NPC_DMAC, dmac, dmac_val, 0, dmac_mask, 0); in npc_update_flow() 831 NPC_WRITE_FLOW(NPC_SMAC, smac, smac_val, 0, smac_mask, 0); in npc_update_flow() 832 NPC_WRITE_FLOW(NPC_ETYPE, etype, ntohs(pkt->etype), 0, in npc_update_flow() 834 NPC_WRITE_FLOW(NPC_TOS, tos, pkt->tos, 0, mask->tos, 0); in npc_update_flow() 835 NPC_WRITE_FLOW(NPC_SIP_IPV4, ip4src, ntohl(pkt->ip4src), 0, in npc_update_flow() 837 NPC_WRITE_FLOW(NPC_DIP_IPV4, ip4dst, ntohl(pkt->ip4dst), 0, in npc_update_flow() 839 NPC_WRITE_FLOW(NPC_SPORT_TCP, sport, ntohs(pkt->sport), 0, in npc_update_flow() 841 NPC_WRITE_FLOW(NPC_SPORT_UDP, sport, ntohs(pkt->sport), 0, in npc_update_flow() 843 NPC_WRITE_FLOW(NPC_DPORT_TCP, dport, ntohs(pkt->dport), 0, in npc_update_flow() [all …]
|