Home
last modified time | relevance | path

Searched refs:rfse (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c327 struct enetc_cmd_rfse rfse = { {0} }; in enetc_set_cls_entry() local
345 rfse.sip_h[0] = l4ip4_h->ip4src; in enetc_set_cls_entry()
346 rfse.sip_m[0] = l4ip4_m->ip4src; in enetc_set_cls_entry()
347 rfse.dip_h[0] = l4ip4_h->ip4dst; in enetc_set_cls_entry()
348 rfse.dip_m[0] = l4ip4_m->ip4dst; in enetc_set_cls_entry()
349 rfse.sport_h = ntohs(l4ip4_h->psrc); in enetc_set_cls_entry()
350 rfse.sport_m = ntohs(l4ip4_m->psrc); in enetc_set_cls_entry()
351 rfse.dport_h = ntohs(l4ip4_h->pdst); in enetc_set_cls_entry()
352 rfse.dport_m = ntohs(l4ip4_m->pdst); in enetc_set_cls_entry()
355 rfse.ethtype_h = ETH_P_IP; /* IPv4 */ in enetc_set_cls_entry()
[all …]
Denetc_cbdr.c117 int enetc_set_fs_entry(struct enetc_si *si, struct enetc_cmd_rfse *rfse, in enetc_set_fs_entry() argument
129 cbd.length = cpu_to_le16(sizeof(*rfse)); in enetc_set_fs_entry()
132 tmp = dma_alloc_coherent(&si->pdev->dev, sizeof(*rfse) + RFSE_ALIGN, in enetc_set_fs_entry()
141 memcpy(tmp_align, rfse, sizeof(*rfse)); in enetc_set_fs_entry()
150 dma_free_coherent(&si->pdev->dev, sizeof(*rfse) + RFSE_ALIGN, in enetc_set_fs_entry()
Denetc.h316 int enetc_set_fs_entry(struct enetc_si *si, struct enetc_cmd_rfse *rfse,