src/dpdk/drivers/net/ixgbe/base/ixgbe_82599.c
s32 ixgbe_init_fdir_signature_82599(struct ixgbe_hw *hw, u32 fdirctrl)
{
	DEBUGFUNC("ixgbe_init_fdir_signature_82599");

	/*
	 * Continue setup of fdirctrl register bits:
	 *  Move the flexible bytes to use the ethertype - shift 6 words
	 *  Set the maximum length per hash bucket to 0xA filters
	 *  Send interrupt when 64 filters are left
	 */
	fdirctrl |= (0x6 << IXGBE_FDIRCTRL_FLEX_SHIFT) |
		    (0xA << IXGBE_FDIRCTRL_MAX_LENGTH_SHIFT) |
		    (4 << IXGBE_FDIRCTRL_FULL_THRESH_SHIFT);

	/* write hashes and fdirctrl register, poll for completion */
	ixgbe_fdir_enable_82599(hw, fdirctrl);

	return IXGBE_SUCCESS;
}
/**
 * ixgbe_init_fdir_signature_82599 - Initialize Flow Director signature filters
 * @hw: pointer to hardware structure
 * @fdirctrl: value to write to flow director control register, initially
 *	     contains just the value of the Rx packet buffer allocation
 **/
Initialize Flow Director signature filters
@hw: pointer to hardware structure
@fdirctrl: value to write to flow director control register, initially
contains just the value of the Rx packet buffer allocation
Initialize Flow Director signature filters @hw : pointer to hardware structure @fdirctrl : value to write to flow director control register initially contains just the value of the Rx packet buffer allocation
s32 ixgbe_init_fdir_signature_82599(struct ixgbe_hw *hw, u32 fdirctrl)
{
	DEBUGFUNC("ixgbe_init_fdir_signature_82599");
	fdirctrl |= (0x6 << IXGBE_FDIRCTRL_FLEX_SHIFT) |
		    (0xA << IXGBE_FDIRCTRL_MAX_LENGTH_SHIFT) |
		    (4 << IXGBE_FDIRCTRL_FULL_THRESH_SHIFT);
	ixgbe_fdir_enable_82599(hw, fdirctrl);
	return IXGBE_SUCCESS;
}
s32 ixgbe_init_fdir_signature_82599 ( struct ixgbe_hw * hw , u32 fdirctrl ) { DEBUGFUNC ( " " ) ; fdirctrl |= ( 0x6 << IXGBE_FDIRCTRL_FLEX_SHIFT ) | ( 0xA << IXGBE_FDIRCTRL_MAX_LENGTH_SHIFT ) | ( 4 << IXGBE_FDIRCTRL_FULL_THRESH_SHIFT ) ; ixgbe_fdir_enable_82599 ( hw , fdirctrl ) ; return IXGBE_SUCCESS ; }
ixgbe_init_fdir_signature_82599 - Initialize Flow Director signature filters
 @hw: pointer to hardware structure
 @fdirctrl: value to write to flow director control register, initially
           contains just the value of the Rx packet buffer allocation
ixgbe_init_fdir_signature_82599 - Initialize Flow Director signature filters @hw : pointer to hardware structure @fdirctrl : value to write to flow director control register initially contains just the value of the Rx packet buffer allocation
/*
	 * Continue setup of fdirctrl register bits:
	 *  Move the flexible bytes to use the ethertype - shift 6 words
	 *  Set the maximum length per hash bucket to 0xA filters
	 *  Send interrupt when 64 filters are left
	 */ /* write hashes and fdirctrl register, poll for completion */