Home
last modified time | relevance | path

Searched refs:opts2 (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/ethernet/realtek/rtase/
H A Drtase_main.c201 desc->opts2 = 0x00; in rtase_unmap_tx_skb()
249 desc->desc_status.opts2 = 0; in rtase_mark_to_asic()
452 u32 opts2 = le32_to_cpu(desc->desc_status.opts2); in rtase_rx_csum() local
455 if (((opts2 & RTASE_RX_V4F) && !(opts2 & RTASE_RX_IPF)) || in rtase_rx_csum()
456 (opts2 & RTASE_RX_V6F)) { in rtase_rx_csum()
457 if (((opts2 & RTASE_RX_TCPT) && !(opts2 & RTASE_RX_TCPF)) || in rtase_rx_csum()
458 ((opts2 & RTASE_RX_UDPT) && !(opts2 & RTASE_RX_UDPF))) in rtase_rx_csum()
469 u32 opts2 = le32_to_cpu(desc->desc_status.opts2); in rtase_rx_vlan_skb() local
471 if (!(opts2 & RTASE_RX_VLAN_TAG)) in rtase_rx_vlan_skb()
475 swab16(opts2 & RTASE_VLAN_TAG_MASK)); in rtase_rx_vlan_skb()
[all …]
H A Drtase.h195 __le32 opts2; member
233 __le32 opts2; member
/linux/drivers/net/ethernet/realtek/
H A D8139cp.c298 __le32 opts2; member
421 u32 opts2 = le32_to_cpu(desc->opts2); in cp_rx_skb() local
428 if (opts2 & RxVlanTagged) in cp_rx_skb()
429 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), swab16(opts2 & 0xffff)); in cp_rx_skb()
542 cp->rx_ring[rx_tail].opts2 = 0; in cp_rx_poll()
738 __le32 opts2; in cp_start_xmit() local
761 opts2 = cpu_to_le32(cp_tx_vlan_tag(skb)); in cp_start_xmit()
788 txd->opts2 = opts2; in cp_start_xmit()
843 txd->opts2 = opts2; in cp_start_xmit()
855 txd->opts2 = opts2; in cp_start_xmit()
[all …]
/linux/drivers/net/ethernet/dec/tulip/
H A Dde2104x.c271 __le32 opts2; member
478 de->rx_ring[rx_tail].opts2 = in de_rx()
481 de->rx_ring[rx_tail].opts2 = cpu_to_le32(de->rx_buf_sz); in de_rx()
634 txd->opts2 = cpu_to_le32(flags); in de_start_xmit()
760 dummy_txd->opts2 = (entry == (DE_TX_RING_SIZE - 1)) ? in __de_set_rx_mode()
777 txd->opts2 = cpu_to_le32(SetupFrame | RingEnd | sizeof (de->setup_frame)); in __de_set_rx_mode()
779 txd->opts2 = cpu_to_le32(SetupFrame | sizeof (de->setup_frame)); in __de_set_rx_mode()
1295 de->rx_ring[i].opts2 = in de_refill_rx()
1298 de->rx_ring[i].opts2 = cpu_to_le32(de->rx_buf_sz); in de_refill_rx()
1313 de->tx_ring[DE_TX_RING_SIZE - 1].opts2 = cpu_to_le32(RingEnd); in de_init_rings()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxfrm_info.c76 LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1, .priority = 1, in attach_tc_prog()
95 ret = bpf_tc_attach(hook, &opts2); in attach_tc_prog()
H A Dtest_tunnel.c
/linux/drivers/net/usb/
H A Dr8152.c821 __le32 opts2; member
848 __le32 opts2; member
867 __le32 opts2; member
884 __le32 opts2; member
2602 u32 opts2; in r8152_tx_vlan_tag() local
2604 opts2 = TX_VLAN_TAG | swab16(skb_vlan_tag_get(skb)); in r8152_tx_vlan_tag()
2605 desc->opts2 |= cpu_to_le32(opts2); in r8152_tx_vlan_tag()
2613 u32 opts2 = le32_to_cpu(desc->opts2); in r8152_rx_vlan_tag() local
2615 if (opts2 & RX_VLAN_TAG) in r8152_rx_vlan_tag()
2617 swab16(opts2 & 0xffff)); in r8152_rx_vlan_tag()
[all …]
/linux/tools/testing/selftests/bpf/
H A Dnetwork_helpers.c790 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1, in tc_prog_attach()
808 ret = bpf_tc_attach(&hook, &opts2); in tc_prog_attach()